Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 216371 - mkfs on dm-crypt device backed by loop device hangs system
mkfs on dm-crypt device backed by loop device hangs system
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
x86_64 Linux
medium Severity high
: ---
: ---
Assigned To: Milan Broz
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2006-11-19 20:07 EST by Robin Green
Modified: 2013-02-28 23:04 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-12-09 12:18:50 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Robin Green 2006-11-19 20:07:08 EST
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):

How reproducible:

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 does not exhibit this issue.
Comment 1 Milan Broz 2007-12-09 12:18:50 EST
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 .

Note You need to log in before you can comment on or make changes to this bug.