Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 May 2004 15:18:01 +0300
From:      Andy Fawcett <andy@athame.co.uk>
To:        freebsd-current@freebsd.org
Cc:        Rob <stopspam@users.sourceforge.net>
Subject:   Re: Attache USB flash drive
Message-ID:  <200405311518.02187.andy@athame.co.uk>
In-Reply-To: <40B97A11.8070007@users.sourceforge.net>
References:  <40B94AFB.3010209@truffula.net> <40B97A11.8070007@users.sourceforge.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 30 May 2004 09:07, Rob wrote:
> 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.

Just as a data point, my Buffalo 256MB umass device works fine with 
5.2.1R-p8 and VIA 83572 controller. YMMV

A.

-- 
Andy Fawcett                                     | andy@athame.co.uk
                                                 | tap@kde.org
"In an open world without walls and fences,      | tap@lspace.org
  we wouldn't need Windows and Gates."  -- anon  | tap@fruitsalad.org



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