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): kernel-2.6.18-1.2849.fc6 How reproducible: Always 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 Actual results: 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. Expected results: No system hang. Additional info: A minimal kernel built from kernel.org version 2.6.18.3 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 .