From owner-freebsd-usb@FreeBSD.ORG Mon Dec 6 13:45:39 2004 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E60516A4CE for ; Mon, 6 Dec 2004 13:45:39 +0000 (GMT) Received: from dastardly.newsbastards.org.72.27.172.IN-addr.ARPA.NOSPAM.dyndns.dk (84-72-24-102.dclient.hispeed.ch [84.72.24.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8399A43D1D for ; Mon, 6 Dec 2004 13:45:37 +0000 (GMT) (envelope-from bounce@NOSPAM.dyndns.dk) Received: from Mail.NOSPAM.DynDNS.dK (ipv6.NOSPAM.dyndns.dk [2002:5448:1866:0:20e:2eff:fe06:2376]) (8.11.6/8.11.6-SPAMMERS-DeLiGHt) with ESMTP id iB6DjSW14912 verified NO); Mon, 6 Dec 2004 14:45:32 +0100 (CET) (envelope-from bounce@NOSPAM.dyndns.dk) Received: (from beer@localhost) by Mail.NOSPAM.DynDNS.dK (8.11.6/FNORD) id iB6DjRw14911; Mon, 6 Dec 2004 14:45:27 +0100 (CET) (envelope-from bounce@NOSPAM.dyndns.dk) Date: Mon, 6 Dec 2004 14:45:27 +0100 (CET) Message-Id: <200412061345.iB6DjRw14911@Mail.NOSPAM.DynDNS.dK> X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: beer set sender to bounce@NOSPAM.dyndns.dk using -f X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed from queue /tmp X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed by beer with -C /etc/mail/sendmail.cf-LOCAL From: Barry Bouwsma To: freebsd-usb@freebsd.org References: <41B33A20.29965.9F16D546@localhost> <6.2.0.14.0.20041205164630.0316d8e0@64.7.153.2> <41B34DBF.13262.9F637925@localhost> cc: Dan Langille Subject: Re: lexar usb media failure to attach X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2004 13:45:39 -0000 > > At 04:41 PM 05/12/2004, Dan Langille wrote: > > >I purchased a USB memory device last week. It looks like it won't > > >work with FreeBSD 4.10-STABLE #1: Sun Jul 25 00:53:29 EDT 2004 > > >Nov 30 22:03:05 laptop /kernel: umass0: LEXAR MEDIA JUMPDRIVE ELITE, rev > Can anyone recommend a USB thumb drive that they know works with > FreeBSD 4.10 and 5.*? I'll return this one ASAP. I hope I don't sound like an advocate or anything, but is there a chance that you can try this with, say, NetBSD? I've attached a good number of devices to my FreeBSD systems that have required me to patch under the hood, that when attached to a recent NetBSD, have Just Worked. As the FreeBSD USB code is largely taken from NetBSD, but has over time lagged somewhat behind, doing something like this can help you determine if it should be relatively easy to fix FreeBSD. Also, I've noticed that I experience problems that are very dependent on the particular combination of hardware (like controllers) I use, so the more juggling you can do, the better. Also, a handy thing you can do, if you don't already, is to build your USB support as kernel modules, and then try out modules built from more recent source if there have been recent commits, or try building modules with code adapted from -current or even NetBSD to see if that can solve the problem. My present kernel was built on 08.Jun and I have no problems with more recent usb.ko and umass.ko modules. You can build individual modules in your source tree by `cd /path-to-src/src/sys/modules/usb && make -m /path-to-src/src/share/mk' replacing modules/usb with modules/umass or whatever you want to build (which writes in your source tree; I use unionfs to write these into a source-hacks tree atop my virginal source tree) -- a timesaver on my slow system that may help you if you feel like experimenting. Just a few hints, that I hope could be helpful, if not for you, then hopefully for someone reading this sometime... thanks barry bouwmsa (drop me from replies and I'll catch up from the list)