From owner-freebsd-usb@FreeBSD.ORG Wed Sep 22 16:30:09 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 518351065674 for ; Wed, 22 Sep 2010 16:30:09 +0000 (UTC) (envelope-from donaldcallen@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id DFEFB8FC23 for ; Wed, 22 Sep 2010 16:30:08 +0000 (UTC) Received: by wyb33 with SMTP id 33so873285wyb.13 for ; Wed, 22 Sep 2010 09:30:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=dY2iuRtOg2dzktkO/w7Tf2fJ1Lp6inA9xYxHStA3AWM=; b=lu6nSylTpa4ZKxx1f7/aNr6N46UCd9WTVjo4Oy9ozXK3+pHHabujgN1xzrexXgeAhH KYvrs7gGPZ3sLjusDnsxQtWoFW0cGSMkihvLMTfTKCfu/z9FFdmcveAB0+NJK2FdsyvF DkxFQvLQzlarjrct+y2KJzwPHT25zfO497mao= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=QuTHYvjtEHH4NWDDUlaFbqBkyMZhs4zKB5PGi89gb+rNjcrxIfQl92F+apkf4kYvqL aXGFz9T3ExDP2eU3JU9k3HQWepTSpSvbzoLUdvunfbBSg/ffBnUwyabYhjdeedIyIdg1 3KpTJQ8RM+kZUJYFetIxDUEKbWDDzj+YylZYc= MIME-Version: 1.0 Received: by 10.216.158.12 with SMTP id p12mr344449wek.48.1285171391645; Wed, 22 Sep 2010 09:03:11 -0700 (PDT) Received: by 10.216.82.69 with HTTP; Wed, 22 Sep 2010 09:03:11 -0700 (PDT) Date: Wed, 22 Sep 2010 12:03:11 -0400 Message-ID: From: Donald Allen To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: 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: Wed, 22 Sep 2010 16:30:09 -0000 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 -- /Don Allen