USB mass storage device oddness

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Jul 11 13:23:04 PDT 2003


In message <20030711131218.O8593 at 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 at 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.


More information about the freebsd-current mailing list