Hi,

I have a cheap USB hard disk enclosure with a rather sad IDE disk in it.
It all seems to work fine, once I get Linux to recognize the disk.  The
problem is that if I power on the enclosure while it's plugged into my
USB hub, it looks like Linux times out and decides to ignore the device.

If I just power it on and leave it for a bit, and then plug it in, it
seems to work fine.

I'm using a rather old 2.6.11.7 kernel.  Will upgrading help?  It seems like
the problem is just that Linux gives up on the device much too early.
Alternatively, is there some way to ask Linux to scan this device again?

Here's the device powering on while plugged in:

usb 3-1.3: new high speed USB device using ehci_hcd and address 9
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 9
usb-storage: waiting for device to settle before scanning
usb 3-1.3: reset high speed USB device using ehci_hcd and address 9
scsi: Device offlined - not ready after error recovery: host 2 channel 0 id 0 
lun 0
usb-storage: device scan complete


Here's me pulling the cable out and plugging it back in after it's been on for
30 seconds:

usb 3-1.3: USB disconnect, address 9
usb 3-1.3: new high speed USB device using ehci_hcd and address 10
scsi3 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 10
usb-storage: waiting for device to settle before scanning
  Vendor: USB 2.0   Model: Storage Device    Rev: 0111
  Type:   Direct-Access                      ANSI SCSI revision: 00
sdc : very big device. try to use READ CAPACITY(16).
sdc : READ CAPACITY(16) failed.
sdc : status=0, message=00, host=5, driver=00 
sdc : use 0xffffffff as device size
SCSI device sdc: 4294967296 512-byte hdwr sectors (2199023 MB)
sdc: assuming drive cache: write through
SCSI device sdc: 4294967295 512-byte hdwr sectors (2199023 MB)
sdc: assuming drive cache: write through
 sdc: sdc1
Attached scsi disk sdc at scsi3, channel 0, id 0, lun 0
Attached scsi generic sg2 at scsi3, channel 0, id 0, lun 0,  type 0
usb-storage: device scan complete

Thanks,
-J


_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to