Created attachment 51872 [details] screenshot of the kernel panic To reproduce: 1) Attach a SATA drive to a SATA/USB bridge. 2) dd if=/dev/urandom of=/dev/sdf bs=4k 3) detach the drive drom the bridge Bus 002 Device 003: ID 152d:2338 JMicron Technology Corp. / JMicron USA Technology Corp. JM20337 Hi-Speed USB to SATA & PATA Combo Bridge
I can reproduce it with 2.6.38.3 too.
Should be fixed as of 3.0
Fixed by v3.1-rc1~241^2~121 (ipc/sem.c: fix race with concurrent semtimedop() timeouts and IPC_RMID, 2011-07-25)?
(In reply to comment #3) > Fixed by v3.1-rc1~241^2~121 (ipc/sem.c: fix race with concurrent semtimedop() > timeouts and IPC_RMID, 2011-07-25)? I don't think so! I think this one was finally fixed by: commit 777eb1bf15b8532c396821774bf6451e563438f5 Author: Hannes Reinecke <hare@suse.de> Date: Wed Sep 28 08:07:01 2011 -0600 block: Free queue resources at blk_release_queue() included in 3.1 and 3.0.5.
Thanks, that one makes more sense. Closing again, but confirmation either way about the fix (from testing any newish kernel) would be welcome.