From owner-freebsd-current@FreeBSD.ORG Sat May 29 23:07:19 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 45FD216A4CE for ; Sat, 29 May 2004 23:07:19 -0700 (PDT) Received: from auk1.snu.ac.kr (auk1.snu.ac.kr [147.46.100.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id C863D43D39 for ; Sat, 29 May 2004 23:07:18 -0700 (PDT) (envelope-from stopspam@users.sourceforge.net) Received: from [147.46.44.181] (stopspam@users.sourceforge.net) by auk1.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004053014:48:01:748270.24301.2406009776 for ; Sun, 30 May 2004 14:48:01 +0900 (KST) Message-ID: <40B97A11.8070007@users.sourceforge.net> Date: Sun, 30 May 2004 15:07:13 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040507 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <40B94AFB.3010209@truffula.net> In-Reply-To: <40B94AFB.3010209@truffula.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: NO (SR:19.61) (by Terrace) X-Mailman-Approved-At: Mon, 31 May 2004 05:08:50 -0700 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: Sun, 30 May 2004 06:07:19 -0000 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. Regards, Rob.