linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* (on Knoppix 5.0DVD) plugging second usb-storage device removes the first one!
@ 2006-04-03  3:02 Russell Senior
  2006-04-03 11:31 ` Russell Senior
  2006-04-03 11:39 ` Duncan Sands
  0 siblings, 2 replies; 3+ messages in thread
From: Russell Senior @ 2006-04-03  3:02 UTC (permalink / raw)
  To: linux-hotplug


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-04-03 11:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-03  3:02 (on Knoppix 5.0DVD) plugging second usb-storage device removes the first one! Russell Senior
2006-04-03 11:31 ` Russell Senior
2006-04-03 11:39 ` Duncan Sands

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).