linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Russell Senior <seniorr@aracnet.com>
To: linux-hotplug@vger.kernel.org
Subject: (on Knoppix 5.0DVD) plugging second usb-storage device removes the first one!
Date: Mon, 03 Apr 2006 03:02:00 +0000	[thread overview]
Message-ID: <86d5fzl5uf.fsf@coulee.tdb.com> (raw)


I am having a problem with hotplugging two usb storage devices.  This
is using the new Knoppix 5.0DVD recently released.  I'd like to fix
or, barring that, workaround it.  Here's the outline of what happens:

  a) i plug a usb-storage device;

  b) a desktop icon for the device appears, i get a dialog box asking
     me what I want to do with the device (open or "do nothing"), I
     say do nothing;
 
  c) from a shell, i manually mount the device: 
      # mount /dev/sda1 /media/sda1

  d) /proc/mounts shows /dev/sda1 mounted

  e) i plug a second usb-storage device;

  f) the desktop icon for the first device disappears for a few
     moments, then it reappears with a second desktop icon for the second
     usb-storage device.  I get two more dialog boxes asking me what I
     want to do with the devices.  I look in /proc/mounts and my
     /dev/sda1 mount is gone.  Ouch.

I've attached an strace to udevd during this procedure, you can find
it at:

  <http://www.personaltelco.net/~russell/strace-udevd.log>

On line 6887, I see a recv(4, "remove@/class/scsi-device/[...]
which I presume is udevd receiving a request to remove the /dev/sda1.
How do I figure out where that remove request is coming from?
  
Any other clues about debugging this?

Thanks!


-- 
Russell Senior         ``I have nine fingers; you have ten.''
seniorr@aracnet.com


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x110944&bid$1720&dat\x121642
_______________________________________________
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

             reply	other threads:[~2006-04-03  3:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-03  3:02 Russell Senior [this message]
2006-04-03 11:31 ` (on Knoppix 5.0DVD) plugging second usb-storage device removes the first one! Russell Senior
2006-04-03 11:39 ` Duncan Sands

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=86d5fzl5uf.fsf@coulee.tdb.com \
    --to=seniorr@aracnet.com \
    --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).