From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Thu, 21 Oct 2004 13:09:46 +0000 Subject: Re: do not disconnect Message-Id: <20041021130946.GB17227@vrfy.org> List-Id: References: <1097995104.3180.18.camel@rivendell.home.local> In-Reply-To: <1097995104.3180.18.camel@rivendell.home.local> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, Oct 21, 2004 at 01:05:59AM -0700, Matthew Dharm wrote: > On Thu, Oct 21, 2004 at 12:13:57AM -0700, Florin Andrei wrote: > > On Sun, 2004-10-17 at 04:06, Kay Sievers wrote: > > > On Sat, Oct 16, 2004 at 11:38:24PM -0700, Florin Andrei wrote: > > > > I keep my iPod hooked up to the computer via a 1394 cable, in order to > > > > recharge the battery. Once i hook it up, the iPod displays the "Do Not > > > > Disconnect" message. > > > > > > > > So, how can i kick it out? Is there a way to tell the 1394 bus to detach > > > > this node, or?... > > > > > > You may try "eject". > > > > eject -s /dev/sda indeed turns the iPod into the "OK to disconnect" > > state, but the command itself hangs and does not respond to CTRL-C. I > > had to kill the xterm in order to kill eject. > > > > Buffer I/O error on device sda, logical block 3662189 > > Buffer I/O error on device sda, logical block 0 > > unable to read partition table > > These messages happened _after_ you used the eject command? > > This looks like SCSI is trying to revalidate the device immediately. It > shouldn't do that -- it should only revalidate on the next open. Or, at > least, that's what I think it used to do.... Good point. Florin, please look if you have some daemon running, that opens the device continiously. Something like an automounter or famd, which keeps the device busy. Just try it again with everything suspicious shut down. Thanks, Kay ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel