Re: [dm-devel] Re: 2.6.24 Kernel Soft Lock Up with heavy I/O in dm-crypt

From: Tomasz Chmielewski
Date: Sat Mar 01 2008 - 10:45:26 EST


Ritesh Raj Sarraf wrote:

(...)

Meanwhile I was able to reproduce the bug again with the same configuration and the same scenario. So I believe that the bug can be reproduced consistently.

Here are the steps:

1) Initialize a device using dm-crypt and LUKS
2) Create a filesystem on top of it and mount it.
3) Write huge amount of data (as a normal user). Something like 150GB.

As the load goes hight (to something like 12-14), the kernel lock-up is logged into dmesg.
At that moment, the OS is barely responsive.

I tried to reproduce it on two machines running 2.6.24.2, with cfq scheduler.

One machine, with 5x HDD, RAID-5, dm-crypt/LUKS, LVM, ext3 on top of it all - I created a 250 GB file, the load was 4-5. No lockups or anything.
Later, removing that 250 GB file took over 7 minutes, but that's a different story.


Second machine, dm-crypt on a USB-connected drive, LVM, ext3 on top of it, X with nvidia binary blob (version 169.09). I created a 190 GB file, the load was indeed pretty high - up to about 14. But still, no lockups of any kind.


--
Tomasz Chmielewski
http://wpkg.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/