Red Hat Bugzilla – Bug 111285
Lock up when unmounting USB disk-on-key.
Last modified: 2007-11-30 17:10:34 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Description of problem:
I can mount my USB disk-on-key and move files to and from the device
fine. If I run unmount on the device, the machine locks hard with no
imput taken from the mouse or keyboard. X even stops updating. I can
ping the machine and if I try to ssh to the box, the connection is
made but that is all. The only recourse is to power the machine off.
Here is the message log from the device being added:
Dec 1 10:27:16 cobra kernel: hub.c: new USB device 00:1d.3-2,
Dec 1 10:27:16 cobra kernel: usb.c: USB device 2 (vend/prod
0x5dc/0x80) is not
claimed by any active driver.
Dec 1 10:27:19 cobra kernel: Initializing USB Mass Storage driver...
Dec 1 10:27:19 cobra kernel: usb.c: registered new driver usb-storage
Dec 1 10:27:19 cobra kernel: scsi3 : SCSI emulation for USB Mass
Dec 1 10:27:19 cobra kernel: Vendor: LEXAR Model: DIGITAL FILM
Dec 1 10:27:19 cobra kernel: Type: Direct-Access
SCSI revision: 02
Dec 1 10:27:19 cobra kernel: Attached scsi removable disk sda at
scsi3, channel 0, id 0, lun 0
Dec 1 10:27:20 cobra kernel: SCSI device sda: 125952 512-byte hdwr
Dec 1 10:27:20 cobra kernel: sda: Write Protect is off
Dec 1 10:27:20 cobra kernel: sda: sda1
Dec 1 10:27:20 cobra kernel: USB Mass Storage support registered.
There is nothing in the log from where I unmounted it.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Attach disk-on-key to usb port
2. mount /dev/sda1 /mnt/diskonkey
3. umount /dev/sda1
Actual Results: The machine locked up.
Expected Results: The device would have unmounted and the machine
Please do this:
- Switch to text with <Alt>F1.
- Log in as root
- echo 8 > /proc/sys/kernel/printk
- echo 1 > /proc/sys/kernel/sysrq
- Reproduce the problem
Let me know if anything interesting was printed.
If an oops happens, its top is most valuable and
it usually scrolls away. But on a pingable machine,
<Shift>PgUp should work.
Just to confirm this has happened to me, repeatedly, until I started
trying to debug it using your suggestion, at which point it vanished
without a trace, and works flawlessly everytime...
kernel: Vendor: Generic Model: STORAGE DEVICE Rev: 0113
kernel: Type: Direct-Access ANSI SCSI revision: 02
Thanks for the bug report. However, Red Hat no longer maintains this version of
the product. Please upgrade to the latest version and open a new bug if the problem
The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases,
and if you believe this bug is interesting to them, please report the problem in
the bug tracker at: http://bugzilla.fedora.us/