Description of problem:
I tried to create a dm-crypt device backed by a file (via /dev/loop3), but when
trying to make a filesystem on it, the system kept crashing.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
losetup /dev/loop3 baslag.img
cryptsetup -y -c aes-cbc-essiv:sha256 create home /dev/loop3
mkfs.ext3 -b 4096 /dev/mapper/home
System hangs at "Writing superblocks and filesystem accounting information: " or
earlier; X hangs, and progs run from serial console hang too. No printks on
serial console; no messages found in /var/log after reboot, either.
No system hang.
A minimal kernel built from kernel.org version 126.96.36.199 does not exhibit this issue.
This problem should be solved in 2.6.24-rc kernels (in Fedora rawhide).
For more information see http://bugzilla.kernel.org/show_bug.cgi?id=8020 .