From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: do not disconnect
Date: Thu, 21 Oct 2004 13:09:46 +0000 [thread overview]
Message-ID: <20041021130946.GB17227@vrfy.org> (raw)
In-Reply-To: <1097995104.3180.18.camel@rivendell.home.local>
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
prev parent reply other threads:[~2004-10-21 13:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-17 6:38 do not disconnect Florin Andrei
2004-10-17 11:06 ` Kay Sievers
2004-10-21 7:13 ` Florin Andrei
2004-10-21 8:05 ` Matthew Dharm
2004-10-21 13:09 ` Kay Sievers [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041021130946.GB17227@vrfy.org \
--to=kay.sievers@vrfy.org \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).