From owner-freebsd-usb@FreeBSD.ORG Thu Sep 23 06:33:03 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B85FE106564A for ; Thu, 23 Sep 2010 06:33:03 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.freebsd.org (Postfix) with ESMTP id 473C68FC13 for ; Thu, 23 Sep 2010 06:33:02 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=mP0fIXPs66IAoGKMhYEg+JOAm42C+ILCAHtGwqW+990= c=1 sm=1 a=8L1WbdCadtwA:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=iFLgImIb7hi7Z1CeQMMA:9 a=3tEYb8eV0RytpSzeQ-IA:7 a=WLnMocAbtlH7823tCg4shn250isA:4 a=wPNLvfGTeEIA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:117 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe02.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 25291467; Thu, 23 Sep 2010 08:33:00 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Thu, 23 Sep 2010 08:34:12 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: In-Reply-To: X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201009230834.12501.hselasky@c2i.net> Cc: Subject: Re: USB drives still don't work correctly X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2010 06:33:03 -0000 On Wednesday 22 September 2010 18:03:11 Donald Allen wrote: > I have tried periodically to use FreeBSD -- a couple of the 7.x > releases, 8.0 and now 8.1. I do my backups on Seagate SATA drives in > USB shoeboxes with ext2 filesystems. These drives work fine with Linux > (Slackware) and OpenBSD. But with FreeBSD, absolutely no luck. The 7.x > releases would freeze or crash. The much-needed reimplementation of > the USB layer in 8.x gave me new hope, but I'm still experiencing > problems. > > I have 8.1 RELEASE installed on a Thinkpad G41, an old system I use > for experimenting. When I plug in one of the USB drives directly to > the machine, I get the following in /var/log/messages: > > Sep 22 09:53:10 elektra kernel: ugen3.2: at > usbus3 Sep 22 09:53:10 elektra kernel: umass0: on > usbus3 Sep 22 09:53:10 elektra kernel: umass0: SCSI over Bulk-Only; > quirks = 0x4000 Sep 22 09:53:10 elektra root: Unknown USB device: vendor > 0x04fc > product 0x0c15 bus uhub3 > Sep 22 09:53:12 elektra kernel: umass0:0:0:-1: Attached to scbus0 > Sep 22 09:53:37 elektra kernel: (da0:umass-sim0:0:0:0): AutoSense failed > Sep 22 09:53:37 elektra kernel: (da0:umass-sim0:0:0:0): got CAM status 0x10 > Sep 22 09:53:37 elektra kernel: (da0:umass-sim0:0:0:0): fatal error, > failed to attach to device > Sep 22 09:53:37 elektra kernel: (da0:umass-sim0:0:0:0): lost device > Sep 22 09:53:47 elektra kernel: (da0:umass-sim0:0:0:0): AutoSense failed > Sep 22 09:53:47 elektra kernel: (da0:umass-sim0:0:0:0): removing device > entry > > After the above, if I remove the USB connector and plug it back in, X > freezes (the cursor moves with the mouse, but no response to clicks, > or to keyboard gestures) until I remove the connector. > > Interestingly, if I plug the drive in prior to booting the system, the > system recognizes it properly and I can mount it and display its root > directory. So there is a workaround. But after all this time that I've > been trying to use FreeBSD and all the effort that's gone into getting > the USB layer right, it's discouraging to still be running into issues > like this. Hopefully, one of you will have a bright (configuration?) > idea that will allow me to use the USB drives as I do on other > systems, without the need for the reboot workaround. > > Thanks -- > Hi, Maybe your drive needs an USB quirk to work properly. See: usbconfig -h Look for "quirk". --HPS