From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell Senior Date: Mon, 03 Apr 2006 03:02:00 +0000 Subject: (on Knoppix 5.0DVD) plugging second usb-storage device removes the first one! Message-Id: <86d5fzl5uf.fsf@coulee.tdb.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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: 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&kid0944&bid$1720&dat1642 _______________________________________________ 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