From owner-freebsd-current@FreeBSD.ORG Fri Jul 11 13:23:03 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BEB8137B404 for ; Fri, 11 Jul 2003 13:23:03 -0700 (PDT) Received: from phk.freebsd.dk (phk.freebsd.dk [212.242.86.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0BCC43FB1 for ; Fri, 11 Jul 2003 13:23:02 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (port757.uc1-esp.isdn-lan.cybercity.dk [212.242.98.245]) by phk.freebsd.dk (8.12.8/8.12.8) with ESMTP id h6BKN0V3088845; Fri, 11 Jul 2003 20:23:00 GMT (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h6BKMrLa009836; Fri, 11 Jul 2003 22:22:54 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Nate Lawson From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 11 Jul 2003 13:15:42 PDT." <20030711131218.O8593@root.org> Date: Fri, 11 Jul 2003 22:22:53 +0200 Message-ID: <9835.1057954973@critter.freebsd.dk> cc: Michael McGoldrick cc: current@freebsd.org Subject: Re: USB mass storage device oddness X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2003 20:23:04 -0000 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.