Subject: USB Zip umass0: BBB reset failed
To: None <tech-kern@netbsd.org>
From: Rolf Neugebauer <neugebar@dcs.gla.ac.uk>
List: tech-kern
Date: 11/24/2001 15:31:04
[ posted to netbsd-help a week ago without response. ]

Hi,

I am running 1.5.2 on my ix86 laptop and use a Belkin USB BusPort Mobile 
cardbus card for USB devices, namely a ZIP100 drive.

If the ZIP drive is attached at boot time everything works fine and I can 
mount the zip drive as sd0e.

However, if I detach and then attach the ZIP drive again I get the 
attached TIMEOUT error message.

Is this a known problem or does a fix exist?

Also, insertion of cardbus cards after boot does not seem to work. Is this 
also a known problem?

Thanks
Rolf


# dmesg (slightly edited)
5.2 (BUCKLE) #1: Sat Nov 10 16:44:42 GMT 2001
    root@buckle:/usr/src/sys/arch/i386/compile/BUCKLE
cpu0: Intel Pentium/MMX (586-class), 166.67 MHz
total memory = 65152 KB
avail memory = 56548 KB
using 840 buffers containing 3360 KB of memory
BIOS32 rev. 0 found at 0xeb590
PCI BIOS rev. 2.1 found at 0xeb5d0
pcibios: config mechanism [1][x], special cycles [1][x], last bus 0
PCI IRQ Routing Table rev. 1.0 found at 0xf2450, size 96 bytes (4 entries)
PCI Interrupt Router at 000:05:0 (unknown vendor 0x8002 product 0x1066)
pci_intr_fixup: no compatible PCI ICU found: ICU vendor 0x1066 product 
0x0002
[snip]
cbb0 at pci0 dev 7 function 0: Texas Instruments PCI1131 PCI-CardBus 
Bridge (rev. 0x01)
cbb1 at pci0 dev 7 function 1: Texas Instruments PCI1131 PCI-CardBus 
Bridge (rev. 0x01)
[snip]
cbb0: interrupting at irq 9
cbb0: cacheline 0x0 lattimer 0x20
cbb0: bhlc 0x821000 lscp 0x20010100
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 1 device 0 cacheline 0x0, lattimer 0x20
pcmcia0 at cardslot0
cbb1: interrupting at irq 10
cbb1: cacheline 0x0 lattimer 0x20
cbb1: bhlc 0x821000 lscp 0x20020200
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 2 device 0 cacheline 0x0, lattimer 0x20
pcmcia1 at cardslot1
[snip]
ohci0 at cardbus1 dev 0 function 0: Opti RM861HA (rev. 0x10)
ohci0: interrupting at 10
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Opti OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
umass0 at uhub0 port 1 configuration 1 interface 0
umass0: Iomega USB Zip 100, rev 1.10/1.00, addr 2
umass0: using SCSI over BBB-P
scsibus0 at umass0: 2 targets, 1 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 1 lun 0: <IOMEGA, ZIP 100, 11.V> SCSI0 0/direct 
removable
sd0: 98304 KB, 96 cyl, 64 head, 32 sec, 512 bytes/sect x 196608 sectors
sd0: no disk label
[snip]

# mount -t ext2fs /dev/sd0e /mnt/zipext2

sd0: no disk label

# umount /dev/sd0e

unplug

uhub0: port error, restarting port 1
umass0: at uhub0 port 1 (addr 2) disconnected
sd0 detached
scsibus0 detached
umass0 detached

ZIP plug in

umass0 at uhub0 port 1 configuration 1 interface 0
umass0: Iomega USB Zip 100, rev 1.10/1.00, addr 2
umass0: using SCSI over BBB-P
scsibus0 at umass0: 2 targets, 1 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 1 lun 0: <IOMEGA, ZIP 100, 11.V> SCSI0 0/direct 
removable

# mount -t ext2fs /dev/sd0e /mnt/zipext2

umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
sd0: drive offline
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT

error of mount
mount_ext2fs: /dev/sd0e on /mnt/zipext2: Input/output error