From: Olaf Hering <olh@suse.de>
To: linux-hotplug@vger.kernel.org
Subject: Re: Problem hotplugging USB flashdrive (race?)
Date: Wed, 07 Jan 2004 20:37:47 +0000 [thread overview]
Message-ID: <20040107203747.GA16832@suse.de> (raw)
In-Reply-To: <marc-linux-hotplug-107132041630956@msgid-missing>
On Wed, Jan 07, Olaf Hering wrote:
> On Wed, Jan 07, Patrick Mansfield wrote:
>
> > The type is initialized to -1 in scsi_alloc_sdev, so at worst you might
> > see a -1 there, but that would be a bug.
>
> No, its -ENODEV here. I just rebooted and this is the result:
>
> the two firewire drives worked ok, output before and after the sleep 1.
> But rmmod ide-cd ; modprobe ide-scsi failed:
And if I unplug the two disks and plug them in again, same error:
=> /var/run/hotplug/debug.scsi.agent.191.add.2259 <=
ls: /sys//devices/platform/host0/0:0:0:0/type: No such file or directory
cat: /sys//devices/platform/host0/0:0:0:0/type: No such file or directory
-r--r--r-- 1 root root 4096 Jan 7 21:35 /sys//devices/platform/host0/0:0:0:0/type
0
=> /var/run/hotplug/debug.scsi.agent.200.add.2349 <=
ls: /sys//devices/platform/host0/0:0:1:0/type: No such file or directory
cat: /sys//devices/platform/host0/0:0:1:0/type: No such file or directory
-r--r--r-- 1 root root 4096 Jan 7 21:35 /sys//devices/platform/host0/0:0:1:0/type
0
--
USB is for mice, FireWire is for men!
sUse lINUX ag, nÜRNBERG
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
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
next prev parent reply other threads:[~2004-01-07 20:37 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-13 12:58 Problem hotplugging USB flashdrive (race?) Bertrik Sikken
2003-12-15 22:01 ` Greg KH
2003-12-17 17:28 ` Bertrik Sikken
2003-12-17 17:47 ` Greg KH
2003-12-18 8:53 ` Oliver Neukum
2003-12-18 18:04 ` Matthew Dharm
2003-12-18 21:13 ` Greg KH
2004-01-02 13:26 ` Olaf Hering
2004-01-05 23:47 ` Olaf Hering
2004-01-07 18:29 ` Patrick Mansfield
2004-01-07 18:32 ` Olaf Hering
2004-01-07 20:01 ` Olaf Hering
2004-01-07 20:37 ` Olaf Hering [this message]
2004-02-01 22:48 ` Olaf Hering
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=20040107203747.GA16832@suse.de \
--to=olh@suse.de \
--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).