I recently purchased a LaCie 20GB Hard drive to store my digital movies and
to store my prototype applications on (Linux). I have been trying for the
last 3 days to get it working without any luck. First of all the usb-storage
module hung in an Initialising state. This was remedied by adding
"post-install usb-controller modprobe usb-uhci" to /etc/module.conf.
Then the device came up unrecognised. I remedied this by changing the
"driver/usb-storage/usb.c" file by including "unusual_dev.h" and removing
the various "undefs".
Now the device is coming up recognised as a LaCie but is not allocated a
device, so I cannot mount it.
Here is all the information you need to help me out. I believe is the
USB-STORAGE code that is causing the problem.
Machine Details
Redhat Linux 7.1, Kernel 2.4.4 (yes almost the latest)
Intel TX-board, 200MMX,
TDK 12x10x32 CDRW which is correctly assign /dev/scd0 and works using scsi
emulation
Belkin 4 USB, 2 Serial, 1 Parallel port Hub
LaCie 20GB Desktop USB Drive with 9GB under under Windows 98 (i.e. vfat)
OUTPUT FROM lsusb
OUTPUT FROM dmesg
Linux version 2.4.4 ([EMAIL PROTECTED]) (gcc version 2.96
20000731 (Red Hat Linux 7.1 2.96-81)) #8 Tue Jun 12 08:36:18 GMT 2001
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000002000000 (usable)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
On node 0 totalpages: 8192
zone(0): 4096 pages.
zone(1): 4096 pages.
zone(2): 0 pages.
Kernel command line: auto BOOT_IMAGE=RH_Linux244 ro root=345
BOOT_FILE=/boot/vmlinuz-2.4.4 hdc=ide-scsi
ide_setup: hdc=ide-scsi
Initializing CPU#0
Detected 200.458 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 399.76 BogoMIPS
Memory: 29944k/32768k available (1073k kernel code, 2440k reserved, 422k
data, 180k init, 0k highmem)
Dentry-cache hash table entries: 4096 (order: 3, 32768 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 2048 (order: 2, 16384 bytes)
CPU: Before vendor init, caps: 008001bf 00000000 00000000, vendor = 0
Intel Pentium with F0 0F bug - workaround enabled.
CPU: After vendor init, caps: 008001bf 00000000 00000000 00000000
CPU: After generic, caps: 008001bf 00000000 00000000 00000000
CPU: Common caps: 008001bf 00000000 00000000 00000000
CPU: Intel Pentium MMX stepping 04
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
PCI: PCI BIOS revision 2.10 entry at 0xfb430, last bus=0
PCI: Using configuration type 1
PCI: Probing PCI hardware
Limiting direct PCI/PCI transfers.
isapnp: Scanning for PnP cards...
isapnp: Calling quirk for 01:00
isapnp: SB audio device quirk - increasing port range
isapnp: Calling quirk for 01:02
isapnp: AWE32 quirk - adding two ports
isapnp: Card 'Creative SB AWE64 PnP'
isapnp: 1 Plug & Play card detected total
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd v1.8
i2c-core.o: i2c core module
Detected PS/2 Mouse Port.
pty: 256 Unix98 ptys configured
Linux video capture interface: v1.00
block: queued sectors max/low 19813kB/6604kB, 64 slots per queue
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller on PCI bus 00 dev 39
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
hda: FUJITSU MPA3035AT, ATA DISK drive
hdb: WDC AC38400L, ATA DISK drive
hdc: TDK CDRW121032, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 6835952 sectors (3500 MB), CHS=847/128/63
hdb: 16514064 sectors (8455 MB) w/256KiB Cache, CHS=1027/255/63
Partition check:
hda: hda1
hdb: hdb1 hdb2 hdb3 < hdb5 hdb6 >
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Serial driver version 5.05a (2001-03-20) with MANY_PORTS SHARE_IRQ
SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
PPP generic driver version 2.4.1
[drm] Initialized tdfx 1.0.0 20000928 on minor 63
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: TDK Model: CDRW121032 Rev: 1.07
Type: CD-ROM ANSI SCSI revision: 02
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 2048)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 180k freed
Adding Swap: 200772k swap-space (priority -1)
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.259 $ time 01:01:51 Jun 12 2001
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0x6300, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
usb.c: kmalloc IF c1cc66a0, numif 1
usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
usb.c: USB device number 1 default language ID 0x0
Product: USB UHCI Root Hub
SerialNumber: 6300
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: global over-current protection
hub.c: power on to power good time: 2ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: RR
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: hub driver claimed interface c1cc66a0
usb.c: kusbd: /sbin/hotplug add 1
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
usb-ohci.c: USB OHCI at membase 0xc2845000, IRQ 11
usb-ohci.c: usb-00:10.0, PCI device 11c1:5802 (Lucent Microelectronics)
usb.c: new USB bus registered, assigned bus number 2
usb.c: kmalloc IF c1cc68a0, numif 1
usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
usb.c: USB device number 1 default language ID 0x0
Product: USB OHCI Root Hub
SerialNumber: c2845000
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: individual port over-current protection
hub.c: power on to power good time: 32ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: RR
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: hub driver claimed interface c1cc68a0
usb.c: kusbd: /sbin/hotplug add 1
hub.c: port 1 connection change
hub.c: port 1, portstatus 101, change 1, 12 Mb/s
hub.c: port 1, portstatus 103, change 10, 12 Mb/s
hub.c: USB new device connect on bus2/1, assigned device number 2
usb.c: kmalloc IF c1cc68e0, numif 1
usb.c: new device strings: Mfr=0, Product=0, SerialNumber=0
hub.c: USB hub found
hub.c: 7 ports detected
hub.c: standalone hub
hub.c: individual port power switching
hub.c: individual port over-current protection
hub.c: power on to power good time: 100ms
hub.c: hub controller current requirement: 100mA
hub.c: port removable status: RRRRRRR
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: hub driver claimed interface c1cc68e0
usb.c: kusbd: /sbin/hotplug add 2
hub.c: port 2 connection change
hub.c: port 2, portstatus 101, change 1, 12 Mb/s
hub.c: port 2, portstatus 103, change 10, 12 Mb/s
hub.c: USB new device connect on bus2/1/2, assigned device number 3
usb.c: kmalloc IF c1cc6a80, numif 1
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3
usb.c: USB device number 3 default language ID 0x409
Manufacturer: UC-1284B
Product: UC-1284B Printer Cable
usb.c: unhandled interfaces on device
usb.c: USB device 3 (vend/prod 0x557/0x2006) is not claimed by any active
driver.
Length = 18
DescriptorType = 01
USB version = 1.00
Vendor:Product = 0557:2006
MaxPacketSize0 = 8
NumConfigurations = 1
Device version = 1.04
Device Class:SubClass:Protocol = 00:00:00
Per-interface classes
Configuration:
bLength = 9
bDescriptorType = 02
wTotalLength = 004e
bNumInterfaces = 01
bConfigurationValue = 01
iConfiguration = 00
bmAttributes = a0
MaxPower = 100mA
Interface: 0
Alternate Setting: 0
bLength = 9
bDescriptorType = 04
bInterfaceNumber = 00
bAlternateSetting = 00
bNumEndpoints = 01
bInterface Class:SubClass:Protocol = 07:01:01
iInterface = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 01 (out)
bmAttributes = 02 (Bulk)
wMaxPacketSize = 0040
bInterval = 00
Alternate Setting: 1
bLength = 9
bDescriptorType = 04
bInterfaceNumber = 00
bAlternateSetting = 01
bNumEndpoints = 02
bInterface Class:SubClass:Protocol = 07:01:02
iInterface = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 01 (out)
bmAttributes = 02 (Bulk)
wMaxPacketSize = 0040
bInterval = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 82 (in)
bmAttributes = 02 (Bulk)
wMaxPacketSize = 0040
bInterval = 00
Alternate Setting: 2
bLength = 9
bDescriptorType = 04
bInterfaceNumber = 00
bAlternateSetting = 02
bNumEndpoints = 03
bInterface Class:SubClass:Protocol = ff:00:ff
iInterface = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 01 (out)
bmAttributes = 02 (Bulk)
wMaxPacketSize = 0040
bInterval = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 82 (in)
bmAttributes = 02 (Bulk)
wMaxPacketSize = 0040
bInterval = 00
Endpoint:
bLength = 7
bDescriptorType = 05
bEndpointAddress = 83 (in)
bmAttributes = 03 (Interrupt)
wMaxPacketSize = 0004
bInterval = 01
usb.c: kusbd: /sbin/hotplug add 3
hub.c: port 3 connection change
hub.c: port 3, portstatus 101, change 1, 12 Mb/s
hub.c: port 3, portstatus 103, change 10, 12 Mb/s
hub.c: USB new device connect on bus2/1/3, assigned device number 4
usb.c: kmalloc IF c1cc6aa0, numif 1
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=0
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
usb-storage: act_altsettting is 0
usb-storage: id_index calculated to be: 15
usb-storage: Array length appears to be: 71
usb-storage: Vendor: LaCie
usb-storage: Product: USB Hard Disk
usb-storage: USB Mass Storage device detected
usb-storage: Endpoints: In: 0xc10efd20 Out: 0xc10efd34 Int: 0xc10efd48
(Period 100)
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
usb-storage: New GUID 059fa6010000000000000000
usb-storage: Transport: Control/Bulk
usb-storage: Protocol: Reduced Block Commands (RBC)
usb-storage: *** thread sleeping.
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: queuecommand() called
usb-storage: *** thread awakened.
usb-storage: Command INQUIRY (6 bytes)
usb-storage: 12 00 00 00 ff 00 00 00 00 00 00 00
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
usb-storage: command_abort() called
usb-storage: Call to usb_stor_control_msg() returned -104
usb-storage: -- CB transport device requiring auto-sense
usb-storage: CB_reset() called
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
usb_control/bulk_msg: timeout
usb-storage: CB[I] soft reset failed -110
usb-storage: -- transport indicates transport failure
usb-storage: Fixing INQUIRY data to show SCSI rev 2
usb-storage: scsi cmd done, result=0x70000
usb-storage: *** thread sleeping.
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
sb: Creative SB AWE64 PnP detected
sb: ISAPnP reports 'Creative SB AWE64 PnP' at i/o 0x220, irq 5, dma 1, 5
SB 4.16 detected OK (220)
<Sound Blaster 16 (4.16)> at 0x220 irq 5 dma 1,5
<Sound Blaster 16> at 0x330 irq 5 dma 0,0
sb: 1 Soundblaster PnP card(s) found.
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
usb_control/bulk_msg: timeout
usb.c: error getting string descriptor 0 (error=-110)
0x378: FIFO is 16 bytes
0x378: writeIntrThreshold is 16
0x378: readIntrThreshold is 16
0x378: PWord is 8 bits
0x378: Interrupts are ISA-Pulses
0x378: ECP port cfgA=0x10 cfgB=0x4b
0x378: ECP settings irq=7 dma=3
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,COMPAT,EPP,ECP]
parport0: irq 7 detected
parport0: cpp_daisy: aa5500ff(38)
parport0: assign_addrs: aa5500ff(38)
parport0: cpp_daisy: aa5500ff(38)
parport0: assign_addrs: aa5500ff(38)
eth0: 3c5x9 at 0x230, 10baseT port, address 00 20 af b7 96 4d, IRQ 9.
3c509.c:1.18 12Mar2001 [EMAIL PROTECTED]
http://www.scyld.com/network/3c509.html
eth0: Setting Rx mode to 1 addresses.
0x378: FIFO is 16 bytes
0x378: writeIntrThreshold is 16
0x378: readIntrThreshold is 16
0x378: PWord is 8 bits
0x378: Interrupts are ISA-Pulses
0x378: ECP port cfgA=0x10 cfgB=0x4b
0x378: ECP settings irq=7 dma=3
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,COMPAT,EPP,ECP]
parport0: irq 7 detected
parport0: cpp_daisy: aa5500ff(38)
parport0: assign_addrs: aa5500ff(38)
parport0: cpp_daisy: aa5500ff(38)
parport0: assign_addrs: aa5500ff(38)
lp0: using parport0 (polling).
lp0: console ready
OUTPUT FROM /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: TDK Model: CDRW121032 Rev: 1.07
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: Model: Rev:
Type: <NULL> ANSI SCSI revision: ffffffff
OUTPUT FROM /proc/bus/usb/devices
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 11/900 us ( 1%), #Int= 1, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB OHCI Root Hub
S: SerialNumber=c2845000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 7
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0451 ProdID=1446 Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=255ms
T: Bus=02 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0557 ProdID=2006 Rev= 1.04
S: Manufacturer=UC-1284B
S: Product=UC-1284B Printer Cable
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=07(print) Sub=01 Prot=01 Driver=(none)
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
I: If#= 0 Alt= 1 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=(none)
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
I: If#= 0 Alt= 2 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=(none)
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 4 Ivl= 1ms
T: Bus=02 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=059f ProdID=a601 Rev= 2.00
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=288mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=01 Prot=01 Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 2 Ivl=100ms
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB UHCI Root Hub
S: SerialNumber=6300
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
OUTPUT FROM lsmod
Module Size Used by
vfat 9072 1 (autoclean)
fat 32192 0 (autoclean) [vfat]
parport_pc 13424 1 (autoclean)
lp 6224 1 (autoclean)
parport 24416 1 (autoclean) [parport_pc lp]
3c509 7504 1 (autoclean)
sb 7504 0
sb_lib 34048 0 [sb]
uart401 6320 0 [sb_lib]
sound 58304 0 [sb_lib uart401]
usb-ohci 18640 0 (unused)
usb-storage 49904 0
usb-uhci 22096 0 (unused)
usbcore 52976 1 [usb-ohci usb-storage usb-uhci]
Thanks for your forthcoming assistance, at this rate I'll be throwing it out
the window!
CIRO
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-users