Re: Attache USB flash drive

From: Rob <stopspam_at_users.sourceforge.net>
Date: Sun, 30 May 2004 15:07:13 +0900
Brian Rogers wrote:
> I recently got a 128 MB USB flash drive, and when I plug it in, nothing 
> shows up in /dev.  It does show up in dmesg, however.  Then, slowly over 
> time, I get a repeating sequence of three error messages.  If I unplug 
> the device, it panics in uhci_device_ctrl_start with a null 
> dereference.  It looks like xfer->pipe is null.
> 
> The system fails to sync and doesn't make a crash dump, but I'm guessing 
> the real problem occurs earlier anyway.  What can I do?
> 
> 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
> ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/11.10, addr 2, iclass 3/1
> ums0: 3 buttons and Z dir.
> ulpt0: EPSON USB Printer, rev 1.10/1.00, addr 3, iclass 7/1
> ulpt0: using bi-directional mode
> 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
[...]
> umass0: PNY Attache 2.0, rev 2.00/2.00, addr 2
> umass0: BBB reset failed, TIMEOUT
> umass0: BBB bulk-in clear stall failed, TIMEOUT
> umass0: BBB bulk-out clear stall failed, TIMEOUT

I've seen similar problems on one of my 4-stable PCs.
Not being an expert on USB stuff, I googled a bit around and
came to the conclusion that the VIA 83C572 USB controller is
the reason of the problem. You also have that one.
Mounting my USB mass storage toy as a umass device works fine,
however, unmounting it hangs/freezes the whole system.

Another 4-Stable PC of mine has an Intel 82801BA/BAM (ICH2) USB
controller, and that works like a charm.

If, by any chance, you've got another FreeBSD PC that has an
Intell (or any other than VIA) USB controller, you may also
see it work there.

I haven't tried all this out with CURRENT, but I guess it has the
same problems.

Regards,
Rob.
Received on Sat May 29 2004 - 21:07:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:55 UTC