Bug 36102

Summary: Plug-in of USB HDD crashes system
Product: IO/Storage Reporter: Arno Wagner (arno)
Component: OtherAssignee: io_other
Severity: high    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: - Subsystem:
Regression: No Bisected commit-id:
Attachments: crash log
csash log via serial

Description Arno Wagner 2011-05-28 14:08:10 UTC
Created attachment 59802 [details]
crash log

It seems I messed up the first submission, so here goes again:

With kernels - 2.6.39, plug-in of a specific WD Elements USB HDD (see crash log for details) crashes my system. Plugging the drive in is enough, takes a few seconds to lock up the filesystem and the rest of the system with it. With two other WD USB HDDs this does not happen, but these are earlier models.

Attached are
- crash log captured via serial console
- .config for
- lspci
- lsusb with the disk in question plugged in

If you need anything else, please let me know.
Comment 1 Arno Wagner 2011-05-28 14:09:16 UTC
Created attachment 59812 [details]
Comment 2 Arno Wagner 2011-05-28 14:09:33 UTC
Created attachment 59822 [details]
Comment 3 Arno Wagner 2011-05-28 14:09:53 UTC
Created attachment 59832 [details]
Comment 4 Arno Wagner 2011-05-29 04:09:06 UTC
Created attachment 59902 [details]
csash log via serial
Comment 5 Arno Wagner 2011-06-02 10:01:03 UTC
Yesterday I has a hard filesystem lockup that looked much the same as the issuse I reported here. This was on a different system with after an UML instance running with user permission crashed. It seems there is some fundamental show-stopper in the filesystem code or the SMP code that causes hard system crashes and was introduced in or before. The lockup on USB plugin in and later may just be a symptom or a secondary effect. It can however serve as a valuable debugging aid, as it reliably causes the system to crash.

For the moment, I am back to, as I really cannot have my mail-server crash at random times. 

Is anybody looking at this? Hard filesystem crashes caused by software are something I did not have for a long, long time. Scary.

BTW, I know that these are hard filesystem crashes, as I observed software RAID1 partitions resyncing after reboot and had one instance of a file containing nonsense at the end (I had that open in an editor during the crash), where the ext3 log seems to already have contained the medadata but not the file data itself.
Comment 6 Arno Wagner 2011-06-06 16:00:05 UTC
Kernel No change, still hard crash on plug-in of the specific WD USB disk.
Comment 7 Arno Wagner 2011-06-09 10:21:43 UTC
Due to bugzilla flakiness, this is a duplicate of my original submission. Marked as such.

*** This bug has been marked as a duplicate of bug 36092 ***