external usb2 drive enclosure on 5.3

Xian ian at codepad.net
Fri May 6 00:08:55 PDT 2005


On Wednesday 04 May 2005 03:20, dave wrote:
> Hello,
> I've got a 5.3 box that i'd like to plug a usb2 drive enclosure in to. I'm
> concerned about 5.3's detection of my usb ports, they're all usb2 ports,
> yet some of them are showing up as only usb1. Here's my usb information:
>
> uhci0: <VIA 83C572 USB controller> port 0xde00-0xde1f irq 11 at device 16.0
> on pci0
> 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 0xdf00-0xdf1f irq 11 at device 16.1
> on pci0
> 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 11 at device 16.2
> on pci0
> 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 0xe100-0xe11f irq 11 at device 16.3
> on pci0
> 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 0xe8115000-0xe81150ff irq 10 at
> device 16.4 on pci0
> ehci_pci_attach: companion usb0
> ehci_pci_attach: companion usb1
> ehci_pci_attach: companion usb2
> ehci_pci_attach: companion usb3
> 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: single transaction translator
> uhub4: 8 ports with 8 removable, self powered

From the ehci man page:

"EHCI controllers are peculiar in that they can only handle the USB 2.0 
protocol. This means that they normally have one or more companion 
controllers (i.e., ohci(4) or uhci(4)) handling USB 1.x devices. Consequently 
each USB connector is electrically connected to two USB controllers. The 
handling of this is totally automatic, but can be noticed since USB 1.x and 
USB 2.0 devices plugged in to the same connector appear to connect to 
different USB busses."

That's why there are USB 1 hubs detected. Your dmesg looks normal to me. The 
ehci driver is still quite buggy and caused me problems so I stopped using 
it.

>
> The enclosure itself is for a 20 gb 2.5 inch laptop hard drive, and it has
> two cables coming out of it, one for power the other data. I'm wondering if
> it matters which controller one should plug them into or if that doesn't
> matter at all? The enclosure was purchased from CompUSA and all i can say
> is that at least this one shows up, the sandisk one, was a no show.
> When i plug in the enclosure here's the output i get:
>
> (da0:umass-sim0:0:0:0): SCSI Status: Check Condition
> (da0:umass-sim0:0:0:0): MEDIUM ERROR info?:202020 asc:11,20
> (da0:umass-sim0:0:0:0): Reserved ASC/ASCQ pair
> (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
> (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0
> (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
> (da0:umass-sim0:0:0:0): SCSI Status: Check Condition
> (da0:umass-sim0:0:0:0): MEDIUM ERROR info?:202020 asc:11,20
> (da0:umass-sim0:0:0:0): Reserved ASC/ASCQ pair
> (da0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
> (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 0 0 0 1 0
> (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
> (da0:umass-sim0:0:0:0): SCSI Status: Check Condition
> (da0:umass-sim0:0:0:0): MEDIUM ERROR info?:202020 asc:11,20

I get this when I use my USB flash drive. I don't know anything about it 
except my drive just works normally after this.

>
> That repeats. Any help appreciated.
> Thanks.
> Dave.
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"

-- 
/Xian

"In order to form an immaculate member of a flock of sheep one must, above 
all, be a sheep."
Albert Einstein


More information about the freebsd-questions mailing list