From owner-freebsd-current@FreeBSD.ORG Mon May 31 05:18:45 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A84FE16A4CE for ; Mon, 31 May 2004 05:18:45 -0700 (PDT) Received: from hex.athame.co.uk (guru164.netsonic.fi [194.29.193.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E79343D39 for ; Mon, 31 May 2004 05:18:44 -0700 (PDT) (envelope-from andy@athame.co.uk) Received: from hex.int.athame.co.uk ([192.168.1.1] helo=localhost) by hex.athame.co.uk with esmtp (Exim 4.30; FreeBSD) id 1BUljv-0009oE-96; Mon, 31 May 2004 15:18:03 +0300 From: Andy Fawcett To: freebsd-current@freebsd.org Date: Mon, 31 May 2004 15:18:01 +0300 User-Agent: KMail/1.6.1 References: <40B94AFB.3010209@truffula.net> <40B97A11.8070007@users.sourceforge.net> In-Reply-To: <40B97A11.8070007@users.sourceforge.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200405311518.02187.andy@athame.co.uk> cc: Rob Subject: Re: Attache USB flash drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2004 12:18:45 -0000 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: port 0xd800-0xd81f irq 21 at > > device 16.0 on pci0 uhci0: [GIANT-LOCKED] > > usb0: 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: port 0xdc00-0xdc1f irq 21 at > > device 16.1 on pci0 uhci1: [GIANT-LOCKED] > > usb1: 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: port 0xe000-0xe01f irq 21 at > > device 16.2 on pci0 uhci2: [GIANT-LOCKED] > > usb2: 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