Date: Sat, 12 Jul 2003 11:02:00 +0100 From: Michael McGoldrick <michael@mcgoldrick.org> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: current@freebsd.org Subject: Re: USB mass storage device oddness Message-ID: <20030712100200.GA865@uriel.mcgoldrick.org> In-Reply-To: <9835.1057954973@critter.freebsd.dk> References: <20030711131218.O8593@root.org> <9835.1057954973@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 11, 2003 at 10:22:53PM +0200, Poul-Henning Kamp wrote: > In message <20030711131218.O8593@root.org>, Nate Lawson writes: > >The important part of your error message is "Medium not present". > >Obviously, when you insert the flash reader into the USB port without any > >flash media in it, that is the right error to return. I believe our umass > >driver and/or your reader do not generate the proper CAM event when the > >media is inserted. > > > >The easy workaround is to always insert the flash in the reader and then > >the reader into the USB port. > > It may be possible to trigger a reexamination of the device by > doing a > true > /dev/da0 > > (for correct value of 0 obviously) > > -- > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe > Never attribute to malice what can adequately be explained by incompetence. Unfortunately, when I remove a card, the whole umass0 device vanishes, never to reappear. Actually, I can live with removing and reattaching the whole reader every time I change card, the thing that was really concerning me was the way the system sometimes 'forgets' how to open any files at all when I remove and reinsert a card. Sadly, this problem is intermittent and I haven't worked out the circumstances that trigger it yet. I will update when the whole GCC thing has blown over and build a debug kernel to see if that sheds any light on the matter. -- Michael McGoldrick: mmcgoldrick@linuxdriven.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030712100200.GA865>