Some people (4 at least) have reported this same problem
when using a USB disk (mass storage device): the system
freezes at shutdown.
I tell you some more details:
- kernel 2.4.16
- distribution: Red Hat 7.2
I made the following:
- partitioned the device (with fdisk): OK
- mke2fs /dev/sda1 : OK but it takes a long (15 sec)
when writing super-block information
- tune2fs -j /dev/sda1 : OK, but again it takes
a long (20 sec)
When I use the disk:
- mount /dev/sda1 /mnt/mnt1 : OK, it mounts it as ext3
- echo hello > /mnt/mnt1 : OK
- ls /mnt/mnt1 : OK
- umount /dev/sda1 : OK, no problem
- umount /proc/bus/usb : OK, no problem
The problem appears at shutdown (note that the usb file systems are
already umounted):
- halt: everything seems OK but then, this is shown:
<7>: usb-storage: queuecommand() called
and everthing blocks for at least 1 minute
Then, after that minute:
scsi: device set offline - not ready or command
retry failed after bus reset: host 1 channel 1 : id 0 lun 0
That seems that the queuecommand() never returns, so
a timeout from the scsi subsystem is fired.
Any idea?
Some people told me to move from usbmgr to hotplug.
Well, I'm using a recent distribution (RedHat 7.2) and
my system has /sbin/hotplug and /etc/hotplug.
It seems that I have hotplug, but I don't know
if I'm using hotplug for something. I didn't use
it in the above commands.
Thanks in advance,
Jordi Bataller
SPAIN
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users