Kernel 2.6.25-rc4: lock up when writing onto DM-Crypt volume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!


Maybe this is the same issue as reported in thread
"Re: [dm-devel] Re: 2.6.24 Kernel Soft Lock Up with heavy I/O in
dm-crypt". Because I've been subscribed to this mailing list just for a
few days, and there doesn't seem to be a mailing list archive on gmane,
I don't have the first posting of that thread.


Anyway:

I observed a reproducible bug after switching from Linux 2.6.24 to the
latest 2.6.25-rc4 kernel. On Linux 2.6.24 I had no such problem.

When writing to a slightly bigger DM-Crypt-LUKS volume, I experience
lock-ups in the form of stuck, non-terminating, non-"kill -9"-able
processes.


These are the steps to reproduce it on my Debian-like system with a
vanilla 2.6.25-rc4 kernel; no X-windows, no 3rd party or non-GPL modules
installed (more system details below):

*****
root@mymachine:/$ ....

# Create an empty 3000 MiB container file in /tmp:
cd /tmp
dd if=/dev/zero of=crypt.img bs=1M count=3000

# setup loop-device:
LOOP=`losetup -s -f crypt.img`
echo "Using loop device $LOOP"

# creating DM-LUKS-volume:
cryptsetup -c aes-xts-plain -s 384 luksFormat $LOOP

cryptsetup luksOpen $LOOP test-mapping

# I used an ext2-FS
mkfs.ext2 -m 0 /dev/mapper/test-mapping

mount /dev/mapper/test-mapping /mnt


# Now, to reproduce the hang, I have to write to a file
# on the mounted volume, but more than once:

dd if=/dev/zero of=/mnt/testFile bs=1M count=2500
# seems to work.... And again:

dd if=/dev/zero of=/mnt/testFile bs=1M count=2500
# .... .... ... Nothing. Hangs....
# (If not: trying a few more times seems to always work
# producing the hang...

******

CTRL-C ... nothing
Other terminal:
killall dd ... nothing
killall -9 dd ... nothing

ps -aux shows dd in state "D" or "D+"...

******

Here are a few details describing my computer setup:

PC style system
  AMD64 (64-Bit-mode)
  SATA harddisk
  3GiB RAM
running a
  Kubuntu 7.10 (Gutsy) with a
  Vanilla Linux 2.6.25-rc4


If the above behavior can't easily be reproduced, I'd be happy to
provide more information as requested.
(File-attachements seem not to work on this list)


HTH,
Ulrich


---------------------------------------------------------------------
dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/
To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx
For additional commands, e-mail: dm-crypt-help@xxxxxxxx


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux