Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2007 22:03:19 +0200
From:      Andrea Venturoli <ml@netfence.it>
To:        freebsd-questions@freebsd.org
Subject:   USB HD Problems
Message-ID:  <46082707.9010307@netfence.it>

next in thread | raw e-mail | index | archive | help
Hello.
I've attached an USB HD to my 6.2/i386 box and I'm having troubles.
At boot I get:

> uhci0: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 21 at device 16.0 on pci0
> uhci0: [GIANT-LOCKED]
> usb0: <VIA 83C572 USB controller> on uhci0
> usb0: USB revision 1.0
> uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> uhci1: <VIA 83C572 USB controller> port 0xdc00-0xdc1f irq 21 at device 16.1 on pci0
> uhci1: [GIANT-LOCKED]
> usb1: <VIA 83C572 USB controller> on uhci1
> usb1: USB revision 1.0
> uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> uhci2: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 21 at device 16.2 on pci0
> uhci2: [GIANT-LOCKED]
> usb2: <VIA 83C572 USB controller> on uhci2
> usb2: USB revision 1.0
> uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub2: 2 ports with 2 removable, self powered
> uhci3: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 21 at device 16.3 on pci0
> uhci3: [GIANT-LOCKED]
> usb3: <VIA 83C572 USB controller> on uhci3
> usb3: USB revision 1.0
> uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub3: 2 ports with 2 removable, self powered
> ehci0: <VIA VT6202 USB 2.0 controller> mem 0xe5012000-0xe50120ff irq 21 at device 16.4 on pci0
> ehci0: [GIANT-LOCKED]
> usb4: EHCI version 1.0
> usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
> usb4: <VIA VT6202 USB 2.0 controller> on ehci0
> usb4: USB revision 2.0
> uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
> uhub4: 8 ports with 8 removable, self powered
> umass0: JMicron USB to ATA/ATAPI Bridge, rev 2.00/1.00, addr 2
 > ...
> da2 at umass-sim0 bus 0 target 0 lun 0
> da2: <SAMSUNG HD160JJ 0-41> Fixed Direct Access SCSI-2 device
> da2: 40.000MB/s transfers
> da2: 152627MB (312581808 512 byte sectors: 255H 63S/T 19457C)



I can mount this HD right and use it for a while, but then I'll get:

> umass0: BBB reset failed, IOERROR
> umass0: BBB bulk-in clear stall failed, IOERROR
> umass0: BBB bulk-out clear stall failed, IOERROR
> umass0: BBB reset failed, IOERROR
> umass0: BBB bulk-in clear stall failed, IOERROR
> umass0: BBB bulk-out clear stall failed, IOERROR
> umass0: BBB reset failed, IOERROR
> umass0: BBB bulk-in clear stall failed, IOERROR
> umass0: BBB bulk-out clear stall failed, IOERROR
> umass0: BBB reset failed, IOERROR
> umass0: BBB bulk-in clear stall failed, IOERROR
> umass0: BBB bulk-out clear stall failed, IOERROR
> umass0: BBB reset failed, IOERROR
> umass0: BBB bulk-in clear stall failed, IOERROR
> umass0: BBB bulk-out clear stall failed, IOERROR
> g_vfs_done():da2s1d[READ(offset=8165818368, length=131072)]error = 5
 > ...
and so on.

Here's usbdevs -v:

> alamar# usbdevs -v
> Controller /dev/usb0:
> addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00
>  port 1 addr 2: low speed, power 100 mA, config 1, Logitech USB Keyboard(0xc30a), Logitech(0x046d), rev 15.00
>  port 2 powered
> Controller /dev/usb1:
> addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00
>  port 1 addr 2: low speed, self powered, config 1, Smart-UPS 1500 FW:653.13.I USB FW:7.3(0x0002), American Power Conversion(0x051d), rev 0.06
>  port 2 powered
> Controller /dev/usb2:
> addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00
>  port 1 addr 2: low speed, power 100 mA, config 1, Trackball(0xc404), Logitech(0x046d), rev 2.20
>  port 2 powered
> Controller /dev/usb3:
> addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00
>  port 1 powered
>  port 2 powered
> Controller /dev/usb4:
> addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), VIA(0x0000), rev 1.00
>  port 1 powered
>  port 2 addr 2: high speed, power 2 mA, config 1, product 0x2338(0x2338), vendor 0x152d(0x152d), rev 1.00
>  port 3 powered
>  port 4 powered
>  port 5 powered
>  port 6 powered
>  port 7 powered
>  port 8 powered

camcontrol devlist:

> <SEAGATE ST39205LW 0105>           at scbus0 target 0 lun 0 (pass0,da0)
> <PLEXTOR CD-ROM PX-40TS 1.12>      at scbus0 target 4 lun 0 (pass1,cd0)
> <IOMEGA ZIP 100 E.08>              at scbus0 target 5 lun 0 (pass2,da1)
> <YAMAHA CRW8824S 1.0a>             at scbus0 target 6 lun 0 (pass3,cd1)
> <SAMSUNG HD160JJ 0-41>             at scbus1 target 0 lun 0 (pass4,da2)
> <BENQ DVD DC DW1670 101>           at scbus2 target 0 lun 0 (pass5,cd2)


Where do I start?
Any hint?
Are USB controllers/external HDs fully supported in 6.2?

  bye & Thanks
	av.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46082707.9010307>