USB 2.0 External Disk Wont Work, but almost in USB 1.1
I would be so apprecitive if someone could help out on this one. I just registered and this is my first post. I usually try hard to resolve by myself, but I'm getting pretty frustrated.
I have read many many posts here about USB external drives and nothing seems to exactly help.
I have just gotten a SmartDisk FireLite 40GB external USB 2 disk (indicated to work well according to a review at this site).
I'm trying to get it working on my Redhat 9 system - which is under redhat basic support and fully up2date patched, kernel 2.4.20-30.9 etc.
It's a SOYO Dragon Plus KT333 MB w/1.4Ghz AMD, 768MB Ram, mid range Nvida Video etc. I tried this setup once before with the same usb disk and had failures and found here some messages about possible problems with the VIA chipsets and I dropped the effort. Since then I'm now re-trying with a new PCI card USB 2.0 controller (thinking it would avoid the onboard VIA based USB controller). Anyhow, it has the same problem.
With the ehci-hcd module loaded, I get these errors when connecting the disk:
Mar 11 22:17:46 mainserver kernel: hub.c: new USB device 00:0a.3-4, assigned address 2
Mar 11 22:17:46 mainserver kernel: usb.c: USB device not accepting new address=2 (error=-71)
Some things I've done.
I do a rmmod of ehci-hcd and the drive comes to life and had shown in /var/log/messages info about the drive (see below). The lite on the drive comes on green (green=USB 1.1, blue is 2.0) but I cannot actually mount it. I can listen to the drive up close and can hear it sounding sort of like it is spinning up and then stopping(quickly) repeatedly at about 1.0 second intervals.
The first time I manually did the rmmod of the ehci-hcd module, I got the following in /var/log/messages. You can see the remove message followed by the disk being seen and setup, then it dies with a timeout. Since then, it refuses to work. I never got it mounted and the timout seen below occurred within 4 minutes. The drive does in fact work well on a twin system (same MB,cpu etc) but running Windows 2000 (I copied about 50MB of date to the disk easily). Interestingly though, it also runs there at USB 1.1 (indicated by the busy lite showing green, not blue). The drive is brand new and I've tried two of them, so I'm confident the disk is okay. I have gotten the same results using the onboard USB as well as the separate USB 2.0 PCI card combo with firewire on it (details shown below).
Mar 11 21:32:34 mainserver kernel: ehci-hcd 00:0a.3: remove state 1
Mar 11 21:32:34 mainserver kernel: usb.c: USB disconnect on device 00:0a.3-0 address 1
Mar 11 21:32:34 mainserver kernel: usb.c: USB bus 1 deregistered
Mar 11 21:32:35 mainserver devlabel: devlabel service started/restarted
Mar 11 21:32:35 mainserver kernel: hub.c: new USB device 00:0a.1-2, assigned address 2
Mar 11 21:32:35 mainserver kernel: usb.c: USB device 2 (vend/prod 0x917/0x201) is not claimed by any active driver.
Mar 11 21:32:38 mainserver /etc/hotplug/usb.agent: Setup usb-storage for USB product 917/201/1101
Mar 11 21:32:38 mainserver kernel: Initializing USB Mass Storage driver...
Mar 11 21:32:38 mainserver kernel: usb.c: registered new driver usb-storage
Mar 11 21:32:38 mainserver kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Mar 11 21:32:38 mainserver kernel: Vendor: FUJITSU Model: MHT2040AT Rev: 0022
Mar 11 21:32:38 mainserver kernel: Type: Direct-Access ANSI SCSI revision: 02
Mar 11 21:32:38 mainserver kernel: Attached scsi disk sda at scsi2, channel 0, id 0, lun 0
Mar 11 21:32:38 mainserver kernel: SCSI device sda: 78140160 512-byte hdwr sectors (40008 MB)
Mar 11 21:32:38 mainserver kernel: sda: sda1
Mar 11 21:32:38 mainserver kernel: USB Mass Storage support registered.
Mar 11 21:32:39 mainserver devlabel: devlabel service started/restarted
Mar 11 21:36:32 mainserver kernel: usb_control/bulk_msg: timeout
Mar 11 21:36:47 mainserver kernel: scsi: device set offline - not ready or command retry failed after bus reset: host 2 channel 0 id 0 lun 0
Mar 11 21:36:47 mainserver kernel: SCSI disk error : host 2 channel 0 id 0 lun 0 return code = 50000
The disply in the usbview utility shows the following:
FireLite (USB 2.0)
Manufacturer: SmartDisk Corp.
Serial Number: 0000000100003cd6
Speed: 12Mb/s (full)
USB Version: 2.00
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 64
Number of Configurations: 1
Vendor Id: 0917
Product Id: 0201
Revision Number: 11.01
Config Number: 2
Number of Interfaces: 1
MaxPower Needed: 98mA
Interface Number: 0
Alternate Number: 0
Sub Class: 6
Number of Endpoints: 3
Endpoint Address: 01
Max Packet Size: 64
Endpoint Address: 82
Max Packet Size: 64
Endpoint Address: 83
Max Packet Size: 2
Info reported in /var/log/messages during boot looks like the following (clips for both OHCI and EHCI):
Mar 11 21:03:56 mainserver kernel: ehci-hcd 00:0a.3: ALi Corporation. [ALi] USB 2.0 Controller
Mar 11 21:03:56 mainserver kernel: ehci-hcd 00:0a.3: irq 5, pci mem f088a000
Mar 11 21:03:56 mainserver kernel: usb.c: new USB bus registered, assigned bus number 1
Mar 11 21:03:56 mainserver kernel: ehci-hcd 00:0a.3: USB 2.0 enabled, EHCI 1.00, driver 2003-Jan-22
Mar 11 21:03:56 mainserver kernel: hub.c: USB hub found
Mar 11 21:03:56 mainserver kernel: hub.c: 6 ports detected
Mar 11 21:03:56 mainserver kernel: usb-uhci.c: $Revision: 1.275 $ time 20:58:58 Feb 4 2004
Mar 11 21:03:56 mainserver kernel: usb-uhci.c: High bandwidth mode enabled
Mar 11 21:03:56 mainserver kernel: usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
Mar 11 21:13:54 mainserver kernel: usb-ohci.c: USB OHCI at membase 0xf0893000, IRQ 10
Mar 11 21:13:54 mainserver kernel: usb-ohci.c: usb-00:0a.0, ALi Corporation. [ALi] USB 1.1 Controller
I am now at the point where, if I connect the disk, I get the following messages in /var/log/messages and I can hear the disk spin up and shutdown at fast 1 second intervals yet.
Mar 11 23:54:16 mainserver kernel: hub.c: new USB device 00:0a.0-2, assigned address 6
Mar 11 23:54:20 mainserver /etc/hotplug/usb.agent: Setup usb-storage for USB product 917/201/1101
Mar 11 23:54:20 mainserver devlabel: devlabel service started/restarted
Mar 11 23:55:24 mainserver kernel: usb.c: USB disconnect on device 00:0a.0-2 address 6
Mar 11 23:55:25 mainserver devlabel: devlabel service started/restarted
I can do the following and yet the drive is still spinning up and down at 1 second intervals:
[root@mainserver root]# cat /proc/scsi/usb-storage-0/1
Host scsi1: usb-storage
Vendor: SmartDisk Corp.
Product: FireLite (USB 2.0)
Serial Number: 0000000100003CD6
Protocol: Transparent SCSI
I try to mount or access the device and get nothing useful...
[root@mainserver root]# mount /dev/sda /mnt/usbdisk
mount: /dev/sda is not a valid block device
[root@mainserver root]# dd if=/dev/sda of=/dev/null
dd: opening `/dev/sda': No such device or address
If I go back to doing an insmod on ehci-hcd, I get the following message. The disk light turns off and the disk sounds like it tries to start up every approx. 6 seconds.
[root@mainserver /]# insmod ehci-hcd
I have tried rebooting with the drive connected.
I have tried removing the entry in /etc/modules.conf for ehci-hcd.
When ehci-hcd is removed, a lsmod command shows the following:
Module Size Used by Not tainted
cmpci 35400 0 (autoclean)
soundcore 6468 4 (autoclean) [cmpci]
vfat 12780 0 (autoclean)
fat 38488 0 (autoclean) [vfat]
parport_pc 18788 1 (autoclean)
lp 8804 0 (autoclean)
parport 36800 1 (autoclean) [parport_pc lp]
iptable_filter 2412 0 (autoclean) (unused)
ip_tables 14648 1 [iptable_filter]
autofs 13108 0 (autoclean) (unused)
tulip 43488 1
via-rhine 15984 1
mii 3976 0 [via-rhine]
sg 35852 0 (autoclean)
sr_mod 17720 0 (autoclean)
ide-scsi 11984 0
ide-cd 35424 0
cdrom 33216 0 [sr_mod ide-cd]
usb-storage 73536 0
keybdev 2912 0 (unused)
mousedev 5428 1
hid 21892 0 (unused)
input 5792 0 [keybdev mousedev hid]
usb-ohci 21320 0 (unused)
usbcore 78272 1 [usb-storage hid usb-ohci]
ext3 69984 5
jbd 51508 5 [ext3]
raid1 14732 1
sbp2 20608 0
ohci1394 19848 0 (unused)
ieee1394 48748 0 [sbp2 ohci1394]
sd_mod 13420 0 (unused)
scsi_mod 106488 6 [sg sr_mod ide-scsi usb-storage sbp2 sd_mod]
What else can I look at to helpd chase this problem down????
Thanks in advance for reading all this and offering whatever you can (beyond pity :-))