USB Storage devices
Duane Morin
dmorin at lear.morinfamily.com
Tue Mar 2 16:38:02 EST 2004
I just picked up a usb enclosure for my old 2.5" IDE drives. Trying
to get it working under Linux. It appears to be recognized in
/var/log/messages:
Mar 2 15:59:00 localhost kernel: hub.c: new USB device 00:1d.1-1,
assigned address 3
Mar 2 15:59:00 localhost kernel: Product: USB TO IDE
Mar 2 15:59:00 localhost /sbin/hotplug: arguments (usb) env
(DEVFS=/proc/bus/usb OLDPWD=/ PATH=/bin:/sbin:/usr/sbin:/usr/bin
ACTION=add PWD=/etc/hotplug SHLVL=1 HOME=/ DEVICE=/proc/bus/usb/002/003
INTERFACE=8/6/80 PRODUCT=5e3/702/2 TYPE=0/0/0 DEBUG=kernel _=/bin/env)
Mar 2 15:59:00 localhost /sbin/hotplug: invoke /etc/hotplug/usb.agent ()
Mar 2 15:59:03 localhost /etc/hotplug/usb.agent: Setup usb-storage for
USB product 5e3/702/2
Mar 2 15:59:03 localhost devlabel: devlabel service started/restarted
But dmesg tells a different story;
usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 128 rq 6 len 18 ret -110
host/uhci.c: uhci_result_control() failed with status 440000
[dfdc70f0] link (1fdc7062) element (1fdc41e0)
0: [dfdc41e0] link (1fdc4210) e0 Stalled CRC/Timeo Length=7 MaxLen=7 DT0
EndPt=0 Dev=2, PID=2d(SETUP) (buf=12ff8700)
1: [dfdc4210] link (1fdc4240) e3 SPD Active Length=0 MaxLen=11 DT1
EndPt=0 Dev=2, PID=69(IN) (buf=0aea2000)
2: [dfdc4240] link (00000001) e3 IOC Active Length=0 MaxLen=7ff DT1
EndPt=0 Dev=2, PID=e1(OUT) (buf=00000000)
What's the "right" way to determine if my device is recognized properly?
For the record, I have a ZIO card reader that works just fine - plug it
in, mount it as /dev/sda1, everybody happy. It is not currently plugged
in when I'm doing this. So I would expetc my hard drive (which I
know is linux partitioned, btw) to reside at /dev/sdaX as well. But
no go.
Duane
More information about the Discuss
mailing list