* Problem hotplugging USB flashdrive (race?)
@ 2003-12-13 12:58 Bertrik Sikken
2003-12-15 22:01 ` Greg KH
` (12 more replies)
0 siblings, 13 replies; 14+ messages in thread
From: Bertrik Sikken @ 2003-12-13 12:58 UTC (permalink / raw)
To: linux-hotplug
Hi all,
I'm seeing some weird messages in /var/log/messages when
inserting my USB2.0 flashdrive. Apparently scsi.agent cannot
determine the type of scsi device that is created by usb-storage.
When I leave the stick in during boot, it works fine.
Software:
* Mandrake 9.2 base system with some modifications:
* Kernel 2.6.0-test11 (also tried kernel 2.6.0-test11-bk8)
SCSI and USB compiled as modules.
* Hotplug 20030805
* udev 008
* sysfs mounted on /sys
Hardware:
* Canyon USB2.0 (high speed) 128 MB flashdrive, with
an embedded hub.
* EHCI controller (UHCI controller gives same problem)
I think what happens when inserting the flash drive is this:
hotplug sees the embedded hub and mass-storage device in the
USB stick and loads usb-storage and SCSI modules. Then it
seems that scsi.agent tries to extract a number from the file
/sys/devices/<.....>/type
which appears to be an empty string according to the log.
When I try to cat this file manually, it exists and it
results in the number 0, which correctly indicates a
SCSI disk with associated module sd_mod.
I can imagine that this is some kind of race condition,
where the script looks too soon for the file or its contents.
Is this a known problem?
What kind of logging / information is required to investigate this?
Kind regards,
Bertrik Sikken
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click
_______________________________________________
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] 14+ messages in thread
* Re: Problem hotplugging USB flashdrive (race?)
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
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Greg KH @ 2003-12-15 22:01 UTC (permalink / raw)
To: linux-hotplug
On Sat, Dec 13, 2003 at 01:58:57PM +0100, Bertrik Sikken wrote:
> I think what happens when inserting the flash drive is this:
> hotplug sees the embedded hub and mass-storage device in the
> USB stick and loads usb-storage and SCSI modules. Then it
> seems that scsi.agent tries to extract a number from the file
> /sys/devices/<.....>/type
> which appears to be an empty string according to the log.
Yeah, I've seen this a lot too. userspace is a lot faster than the
kernel in this instance :)
> When I try to cat this file manually, it exists and it
> results in the number 0, which correctly indicates a
> SCSI disk with associated module sd_mod.
> I can imagine that this is some kind of race condition,
> where the script looks too soon for the file or its contents.
Exactly. Try putting a sleep before reading the file, or loop on the
file for a bit before reading it.
thanks,
greg k-h
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click
_______________________________________________
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] 14+ messages in thread
* Re: Problem hotplugging USB flashdrive (race?)
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
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Bertrik Sikken @ 2003-12-17 17:28 UTC (permalink / raw)
To: linux-hotplug
Greg KH wrote:
> On Sat, Dec 13, 2003 at 01:58:57PM +0100, Bertrik Sikken wrote:
>
>>I think what happens when inserting the flash drive is this:
>>hotplug sees the embedded hub and mass-storage device in the
>>USB stick and loads usb-storage and SCSI modules. Then it
>>seems that scsi.agent tries to extract a number from the file
>>/sys/devices/<.....>/type
>>which appears to be an empty string according to the log.
>
>
> Yeah, I've seen this a lot too. userspace is a lot faster than the
> kernel in this instance :)
>
>
>>When I try to cat this file manually, it exists and it
>>results in the number 0, which correctly indicates a
>>SCSI disk with associated module sd_mod.
>>I can imagine that this is some kind of race condition,
>>where the script looks too soon for the file or its contents.
>
>
> Exactly. Try putting a sleep before reading the file, or loop on the
> file for a bit before reading it.
I can confirm that the sleep works (added a sleep 1 at the start
of the script). Does this suggest an issue in the kernel?
B.T.W. I forgot to mention that the pre-empt was enabled in the
kernel.
Thanks,
Bertrik
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click
_______________________________________________
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] 14+ messages in thread
* Re: Problem hotplugging USB flashdrive (race?)
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
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Greg KH @ 2003-12-17 17:47 UTC (permalink / raw)
To: linux-hotplug
On Wed, Dec 17, 2003 at 06:28:13PM +0100, Bertrik Sikken wrote:
> >Exactly. Try putting a sleep before reading the file, or loop on the
> >file for a bit before reading it.
>
> I can confirm that the sleep works (added a sleep 1 at the start
> of the script). Does this suggest an issue in the kernel?
No, it's not a problem with the kernel, it's just something that you
need to be aware of in your hotplug scripts.
thanks,
greg k-h
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click
_______________________________________________
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] 14+ messages in thread
* Re: Problem hotplugging USB flashdrive (race?)
2003-12-13 12:58 Problem hotplugging USB flashdrive (race?) Bertrik Sikken
` (2 preceding siblings ...)
2003-12-17 17:47 ` Greg KH
@ 2003-12-18 8:53 ` Oliver Neukum
2003-12-18 18:04 ` Matthew Dharm
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Oliver Neukum @ 2003-12-18 8:53 UTC (permalink / raw)
To: linux-hotplug
Am Mittwoch, 17. Dezember 2003 18:47 schrieb Greg KH:
> On Wed, Dec 17, 2003 at 06:28:13PM +0100, Bertrik Sikken wrote:
> > >Exactly. Try putting a sleep before reading the file, or loop on the
> > >file for a bit before reading it.
> >
> > I can confirm that the sleep works (added a sleep 1 at the start
> > of the script). Does this suggest an issue in the kernel?
>
> No, it's not a problem with the kernel, it's just something that you
> need to be aware of in your hotplug scripts.
Technically, it is a race condition.
You need to make sure that user space loses the race.
Regards
Oliver
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click
_______________________________________________
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] 14+ messages in thread
* Re: Problem hotplugging USB flashdrive (race?)
2003-12-13 12:58 Problem hotplugging USB flashdrive (race?) Bertrik Sikken
` (3 preceding siblings ...)
2003-12-18 8:53 ` Oliver Neukum
@ 2003-12-18 18:04 ` Matthew Dharm
2003-12-18 21:13 ` Greg KH
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Matthew Dharm @ 2003-12-18 18:04 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 1143 bytes --]
On Thu, Dec 18, 2003 at 09:53:03AM +0100, Oliver Neukum wrote:
> Am Mittwoch, 17. Dezember 2003 18:47 schrieb Greg KH:
> > On Wed, Dec 17, 2003 at 06:28:13PM +0100, Bertrik Sikken wrote:
> > > >Exactly. Try putting a sleep before reading the file, or loop on the
> > > >file for a bit before reading it.
> > >
> > > I can confirm that the sleep works (added a sleep 1 at the start
> > > of the script). Does this suggest an issue in the kernel?
> >
> > No, it's not a problem with the kernel, it's just something that you
> > need to be aware of in your hotplug scripts.
>
> Technically, it is a race condition.
> You need to make sure that user space loses the race.
Shouldn't this actually be two separate hotplug events?
One when the unit is physically attached, to load the usb-storage driver.
The second when the SCSI layer has initalized the device, to run the
scsi.agent?
Matt
--
Matthew Dharm Home: mdharm-usb@one-eyed-alien.net
Maintainer, Linux USB Mass Storage Driver
A female who groks UNIX? My universe is collapsing.
-- Mike
User Friendly, 10/11/1998
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Problem hotplugging USB flashdrive (race?)
2003-12-13 12:58 Problem hotplugging USB flashdrive (race?) Bertrik Sikken
` (4 preceding siblings ...)
2003-12-18 18:04 ` Matthew Dharm
@ 2003-12-18 21:13 ` Greg KH
2004-01-02 13:26 ` Olaf Hering
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Greg KH @ 2003-12-18 21:13 UTC (permalink / raw)
To: linux-hotplug
On Thu, Dec 18, 2003 at 10:04:20AM -0800, Matthew Dharm wrote:
> On Thu, Dec 18, 2003 at 09:53:03AM +0100, Oliver Neukum wrote:
> > Am Mittwoch, 17. Dezember 2003 18:47 schrieb Greg KH:
> > > On Wed, Dec 17, 2003 at 06:28:13PM +0100, Bertrik Sikken wrote:
> > > > >Exactly. Try putting a sleep before reading the file, or loop on the
> > > > >file for a bit before reading it.
> > > >
> > > > I can confirm that the sleep works (added a sleep 1 at the start
> > > > of the script). Does this suggest an issue in the kernel?
> > >
> > > No, it's not a problem with the kernel, it's just something that you
> > > need to be aware of in your hotplug scripts.
> >
> > Technically, it is a race condition.
> > You need to make sure that user space loses the race.
>
> Shouldn't this actually be two separate hotplug events?
>
> One when the unit is physically attached, to load the usb-storage driver.
>
> The second when the SCSI layer has initalized the device, to run the
> scsi.agent?
Actually, udev cares about the _third_ event :)
The one where the block device is created in sysfs. The problem is that
the block device is created, hotplug is called, but the scsi core hasn't
finished populating the sysfs tree with the files for the scsi device
yet. It's not that big of a deal, as it's easy to detect in userspace,
I just haven't added it to udev yet...
thanks,
greg k-h
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click
_______________________________________________
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] 14+ messages in thread
* Re: Problem hotplugging USB flashdrive (race?)
2003-12-13 12:58 Problem hotplugging USB flashdrive (race?) Bertrik Sikken
` (5 preceding siblings ...)
2003-12-18 21:13 ` Greg KH
@ 2004-01-02 13:26 ` Olaf Hering
2004-01-05 23:47 ` Olaf Hering
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Olaf Hering @ 2004-01-02 13:26 UTC (permalink / raw)
To: linux-hotplug
On Sat, Dec 13, Bertrik Sikken wrote:
> Hi all,
>
> I'm seeing some weird messages in /var/log/messages when
> inserting my USB2.0 flashdrive. Apparently scsi.agent cannot
> determine the type of scsi device that is created by usb-storage.
> When I leave the stick in during boot, it works fine.
>
> Software:
> * Mandrake 9.2 base system with some modifications:
> * Kernel 2.6.0-test11 (also tried kernel 2.6.0-test11-bk8)
> SCSI and USB compiled as modules.
> * Hotplug 20030805
> * udev 008
> * sysfs mounted on /sys
>
> Hardware:
> * Canyon USB2.0 (high speed) 128 MB flashdrive, with
> an embedded hub.
> * EHCI controller (UHCI controller gives same problem)
>
> I think what happens when inserting the flash drive is this:
> hotplug sees the embedded hub and mass-storage device in the
> USB stick and loads usb-storage and SCSI modules. Then it
> seems that scsi.agent tries to extract a number from the file
> /sys/devices/<.....>/type
> which appears to be an empty string according to the log.
> When I try to cat this file manually, it exists and it
> results in the number 0, which correctly indicates a
> SCSI disk with associated module sd_mod.
> I can imagine that this is some kind of race condition,
> where the script looks too soon for the file or its contents.
>
> Is this a known problem?
> What kind of logging / information is required to investigate this?
Is your device seen as a block device? If so, do you react on the block
event or on the events before the block event? I'm almost sure you care
about stuff like 'sdX' or similar. So doing something from usb.agent or
scsi.agent is obviously wrong. Use a block.agent script.
--
USB is for mice, FireWire is for men!
sUse lINUX ag, n√úRNBERG
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click
_______________________________________________
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] 14+ messages in thread
* Re: Problem hotplugging USB flashdrive (race?)
2003-12-13 12:58 Problem hotplugging USB flashdrive (race?) Bertrik Sikken
` (6 preceding siblings ...)
2004-01-02 13:26 ` Olaf Hering
@ 2004-01-05 23:47 ` Olaf Hering
2004-01-07 18:29 ` Patrick Mansfield
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Olaf Hering @ 2004-01-05 23:47 UTC (permalink / raw)
To: linux-hotplug
On Fri, Jan 02, Bertrik Sikken wrote:
> I don't see why doing something from usb.agent or scsi.agent is
> obviously wrong. As far as I understand, plugging in the device
> causes a USB hotplug event which triggers loading of the usb-storage
> module. This in turn fires off a SCSI hotplug event which should
> load the sd_mod module and create a block device. From then on,
> its up to the user (me) to mount the device.
I see the same. The reason is probably in scsi_probe_and_add_lun(). It
calls scsi_alloc_sdev() which seems to generate the event, and later it
calls scsi_probe_lun() which seems to set the type.
> I can not find a block.agent script in the default hotplug script.
> Why do you think I need it?
block.agent is (eventually) needed for other reasons. You need sd_mod to
get a block event.
--
USB is for mice, FireWire is for men!
sUse lINUX ag, n√úRNBERG
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click
_______________________________________________
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] 14+ messages in thread
* Re: Problem hotplugging USB flashdrive (race?)
2003-12-13 12:58 Problem hotplugging USB flashdrive (race?) Bertrik Sikken
` (7 preceding siblings ...)
2004-01-05 23:47 ` Olaf Hering
@ 2004-01-07 18:29 ` Patrick Mansfield
2004-01-07 18:32 ` Olaf Hering
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Patrick Mansfield @ 2004-01-07 18:29 UTC (permalink / raw)
To: linux-hotplug
On Tue, Jan 06, 2004 at 12:47:12AM +0100, Olaf Hering wrote:
> On Fri, Jan 02, Bertrik Sikken wrote:
>
> > I don't see why doing something from usb.agent or scsi.agent is
> > obviously wrong. As far as I understand, plugging in the device
> > causes a USB hotplug event which triggers loading of the usb-storage
> > module. This in turn fires off a SCSI hotplug event which should
> > load the sd_mod module and create a block device. From then on,
> > its up to the user (me) to mount the device.
I can't find the email you're replying to (in my inbox or the archives,
anything dated Jan 02 from Bertrik).
> I see the same. The reason is probably in scsi_probe_and_add_lun(). It
> calls scsi_alloc_sdev() which seems to generate the event, and later it
> calls scsi_probe_lun() which seems to set the type.
scsi_add_lun() calls scsi_sysfs_add_sdev() for the scsi_device after it
has set the type, and there we have the race between the hotplug event
generated via the call to device_add() and the addition of the attributes
for multiple calls to attr_add().
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.
Are you hitting the problem even after adding the sleep 1 hack?
-- Patrick Mansfield
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Problem hotplugging USB flashdrive (race?)
2003-12-13 12:58 Problem hotplugging USB flashdrive (race?) Bertrik Sikken
` (8 preceding siblings ...)
2004-01-07 18:29 ` Patrick Mansfield
@ 2004-01-07 18:32 ` Olaf Hering
2004-01-07 20:01 ` Olaf Hering
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Olaf Hering @ 2004-01-07 18:32 UTC (permalink / raw)
To: linux-hotplug
On Wed, Jan 07, Patrick Mansfield wrote:
> Are you hitting the problem even after adding the sleep 1 hack?
sleep 1 cures it, sometimes it does even work without the delay.
I check it again in a few hours.
--
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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Problem hotplugging USB flashdrive (race?)
2003-12-13 12:58 Problem hotplugging USB flashdrive (race?) Bertrik Sikken
` (9 preceding siblings ...)
2004-01-07 18:32 ` Olaf Hering
@ 2004-01-07 20:01 ` Olaf Hering
2004-01-07 20:37 ` Olaf Hering
2004-02-01 22:48 ` Olaf Hering
12 siblings, 0 replies; 14+ messages in thread
From: Olaf Hering @ 2004-01-07 20:01 UTC (permalink / raw)
To: linux-hotplug
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:
=> /var/run/hotplug/debug.scsi.agent.146.add.930 <=
-r--r--r-- 1 root root 4096 Jan 7 19:40 /sys//devices/platform/host0/0:0:0:0/type
0
-r--r--r-- 1 root root 4096 Jan 7 19:40 /sys//devices/platform/host0/0:0:0:0/type
0
=> /var/run/hotplug/debug.scsi.agent.148.add.992 <=
-r--r--r-- 1 root root 4096 Jan 7 19:40 /sys//devices/platform/host0/0:0:1:0/type
0
-r--r--r-- 1 root root 4096 Jan 7 19:40 /sys//devices/platform/host0/0:0:1:0/type
0
=> /var/run/hotplug/debug.scsi.agent.165.add.1571 <=
ls: /sys//devices/pci0001:01/0001:01:17.0/0.80000000:mac-io/0.0001f000:ata-4/ide0/0.1/host1/1:0:0:0/type: No such file or directory
cat: /sys//devices/pci0001:01/0001:01:17.0/0.80000000:mac-io/0.0001f000:ata-4/ide0/0.1/host1/1:0:0:0/type: No such file or directory
-r--r--r-- 1 root root 4096 Jan 7 20:45 /sys//devices/pci0001:01/0001:01:17.0/0.80000000:mac-io/0.0001f000:ata-4/ide0/0.1/host1/1:0:0:0/type
5
ls -l /sys/$DEVPATH/type > /var/run/hotplug/debug.scsi.agent.$SEQNUM.$ACTION.$$ 2>&1
cat /sys/$DEVPATH/type >> /var/run/hotplug/debug.scsi.agent.$SEQNUM.$ACTION.$$ 2>&1
sleep 1
ls -l /sys/$DEVPATH/type >>/var/run/hotplug/debug.scsi.agent.$SEQNUM.$ACTION.$$ 2>&1
cat /sys/$DEVPATH/type >> /var/run/hotplug/debug.scsi.agent.$SEQNUM.$ACTION.$$ 2>&1
--
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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Problem hotplugging USB flashdrive (race?)
2003-12-13 12:58 Problem hotplugging USB flashdrive (race?) Bertrik Sikken
` (10 preceding siblings ...)
2004-01-07 20:01 ` Olaf Hering
@ 2004-01-07 20:37 ` Olaf Hering
2004-02-01 22:48 ` Olaf Hering
12 siblings, 0 replies; 14+ messages in thread
From: Olaf Hering @ 2004-01-07 20:37 UTC (permalink / raw)
To: linux-hotplug
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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Problem hotplugging USB flashdrive (race?)
2003-12-13 12:58 Problem hotplugging USB flashdrive (race?) Bertrik Sikken
` (11 preceding siblings ...)
2004-01-07 20:37 ` Olaf Hering
@ 2004-02-01 22:48 ` Olaf Hering
12 siblings, 0 replies; 14+ messages in thread
From: Olaf Hering @ 2004-02-01 22:48 UTC (permalink / raw)
To: linux-hotplug
On Wed, Jan 07, Patrick Mansfield wrote:
> On Tue, Jan 06, 2004 at 12:47:12AM +0100, Olaf Hering wrote:
> > On Fri, Jan 02, Bertrik Sikken wrote:
> >
> > > I don't see why doing something from usb.agent or scsi.agent is
> > > obviously wrong. As far as I understand, plugging in the device
> > > causes a USB hotplug event which triggers loading of the usb-storage
> > > module. This in turn fires off a SCSI hotplug event which should
> > > load the sd_mod module and create a block device. From then on,
> > > its up to the user (me) to mount the device.
>
> I can't find the email you're replying to (in my inbox or the archives,
> anything dated Jan 02 from Bertrik).
>
> > I see the same. The reason is probably in scsi_probe_and_add_lun(). It
> > calls scsi_alloc_sdev() which seems to generate the event, and later it
> > calls scsi_probe_lun() which seems to set the type.
>
> scsi_add_lun() calls scsi_sysfs_add_sdev() for the scsi_device after it
> has set the type, and there we have the race between the hotplug event
> generated via the call to device_add() and the addition of the attributes
> for multiple calls to attr_add().
>
> 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.
Hello,
I'm not sure if this bug was fixed or not. But I see a related race
(block hotplug events triggered too early).
If the partition table is not yet scanned (according to syslog output),
udev fails to detect the main device sda as a scsi device and falls back
to usb. all partitions on that drive match the BUS="scsi" rule, just not
the main device, it matches BUS="usb".
Creating a block.agent and putting a 'sleep 2; /sbin/udev block' in
there will fix it, sleep 1 is not enough.
kernel is 2.6.2-rc2-mm2
BUS="scsi", PROGRAM="/bin/echo a-%M:%m", NAME="%k" SYMLINK="debug-scsi-1-%1c debug-scsi-2-%2c "
BUS="usb", PROGRAM="/bin/echo b-%M:%m", NAME="%k" SYMLINK="debug-usb-1-%1c debug-usb-2-%2c"
sleep 1
Feb 1 23:29:06 ibook kernel: hub 1-0:1.0: new USB device on port 1, assigned address 9
Feb 1 23:29:07 ibook kernel: scsi12 : SCSI emulation for USB Mass Storage devices
Feb 1 23:29:08 ibook kernel: Vendor: QDI Model: U2Disk Rev: 0.33
Feb 1 23:29:08 ibook kernel: Type: Direct-Access ANSI SCSI revision: 02
Feb 1 23:29:09 ibook kernel: SCSI device sda: 256000 512-byte hdwr sectors (131 MB)
Feb 1 23:29:09 ibook kernel: sda: assuming Write Enabled
Feb 1 23:29:09 ibook kernel: sda: assuming drive cache: write through
Feb 1 23:29:11 ibook kernel: sda:<7>udev[14787]: main: version 015_bk
Feb 1 23:29:11 ibook kernel: udev[14787]: udev_hotplug: looking at '/block/sda'
Feb 1 23:29:11 ibook kernel: udev[14787]: get_dirs: sysfs_path='/sys'
Feb 1 23:29:11 ibook kernel: udev[14787]: parse_config_file: reading '/etc/udev/udev.conf' as config file
Feb 1 23:29:11 ibook kernel: udev[14787]: namedev_init_rules: reading '/etc/udev/udev.rules' as rules file
Feb 1 23:29:11 ibook kernel: udev[14787]: namedev_init_permissions: reading '/etc/udev/udev.permissions' as permissions file
Feb 1 23:29:11 ibook kernel: udev[14787]: sleep_for_dev: looking for '/sys/block/sda/dev'
Feb 1 23:29:11 ibook kernel: udev[14787]: get_class_dev: looking at '/sys/block/sda'
Feb 1 23:29:11 ibook kernel: udev[14787]: get_class_dev: class_dev->name='sda'
Feb 1 23:29:11 ibook kernel: udev[14787]: get_major_minor: dev='8:0
Feb 1 23:29:11 ibook kernel: '
Feb 1 23:29:11 ibook kernel: udev[14787]: get_major_minor: found major=8, minor=0
Feb 1 23:29:11 ibook kernel: udev[14787]: get_sysfs_device: timed out waiting to find the device bus, continuing on anyway
Feb 1 23:29:11 ibook kernel: udev[14787]: namedev_name_device: sysfs_device->path='/sys/devices/pci0001:01/0001:01:18.0/usb1/1-1/1-1:1.0/host12/12:0:0:0'
Feb 1 23:29:11 ibook kernel: udev[14787]: namedev_name_device: sysfs_device->bus_id='12:0:0:0'
Feb 1 23:29:11 ibook kernel: udev[14787]: namedev_name_device: sysfs_device->bus=''
Feb 1 23:29:11 ibook kernel: udev[14787]: wait_for_device_to_initialize: did not find bus type '' on list of bus_id_files, contact greg@kroah.com
Feb 1 23:29:11 ibook kernel: udev[14787]: namedev_name_device: kernel_number=''
Feb 1 23:29:11 ibook kernel: udev[14787]: namedev_name_device: process rule
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: check for BUS dev->bus='scsi' sysfs_device->bus=''
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: BUS is not matching
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->path='/sys/devices/pci0001:01/0001:01:18.0/usb1/1-1/1-1:1.0/host12'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->bus_id='host12'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->bus=''
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: check for BUS dev->bus='scsi' sysfs_device->bus=''
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: BUS is not matching
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->path='/sys/devices/pci0001:01/0001:01:18.0/usb1/1-1/1-1:1.0'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->bus_id='1-1:1.0'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->bus=''
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: check for BUS dev->bus='scsi' sysfs_device->bus=''
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: BUS is not matching
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->path='/sys/devices/pci0001:01/0001:01:18.0/usb1/1-1'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->bus_id='1-1'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->bus='usb'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: check for BUS dev->bus='scsi' sysfs_device->bus='usb'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: BUS is not matching
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->path='/sys/devices/pci0001:01/0001:01:18.0/usb1'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->bus_id='usb1'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->bus='usb'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: check for BUS dev->bus='scsi' sysfs_device->bus='usb'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: BUS is not matching
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->path='/sys/devices/pci0001:01/0001:01:18.0'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->bus_id='0001:01:18.0'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->bus='pci'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: check for BUS dev->bus='scsi' sysfs_device->bus='pci'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: BUS is not matching
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->path='/sys/devices/pci0001:01'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->bus_id='pci0001:01'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->bus=''
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: check for BUS dev->bus='scsi' sysfs_device->bus=''
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: BUS is not matching
Feb 1 23:29:11 ibook kernel: udev[14787]: namedev_name_device: process rule
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: check for BUS dev->bus='usb' sysfs_device->bus=''
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: BUS is not matching
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->path='/sys/devices/pci0001:01/0001:01:18.0/usb1/1-1/1-1:1.0/host12'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->bus_id='host12'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->bus=''
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: check for BUS dev->bus='usb' sysfs_device->bus=''
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: BUS is not matching
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->path='/sys/devices/pci0001:01/0001:01:18.0/usb1/1-1/1-1:1.0'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->bus_id='1-1:1.0'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->bus=''
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: check for BUS dev->bus='usb' sysfs_device->bus=''
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: BUS is not matching
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->path='/sys/devices/pci0001:01/0001:01:18.0/usb1/1-1'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->bus_id='1-1'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: sysfs_device->bus='usb'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: check for BUS dev->bus='usb' sysfs_device->bus='usb'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: BUS matches
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: check PROGRAM
Feb 1 23:29:11 ibook kernel: udev[14787]: apply_format: substitute major number '8'
Feb 1 23:29:11 ibook kernel: udev[14787]: apply_format: substitute minor number '0'
Feb 1 23:29:11 ibook kernel: udev[14787]: execute_program: executing '/bin/echo b-8:0'
Feb 1 23:29:11 ibook kernel: udev[14787]: execute_program: result is 'b-8:0'
Feb 1 23:29:11 ibook kernel: udev[14787]: match_rule: PROGRAM returned successful
Feb 1 23:29:11 ibook kernel: udev[14787]: configured rule in '/etc/udev/udev.rules' at line 2 applied, 'sda' becomes '%%k'
Feb 1 23:29:11 ibook kernel: udev[14787]: apply_format: substitute kernel name 'sda'
Feb 1 23:29:11 ibook kernel: udev[14787]: apply_format: substitute part of result string 'b-8:0'
Feb 1 23:29:11 ibook kernel: udev[14787]: apply_format: requested part of result string not found
Feb 1 23:29:11 ibook kernel: udev[14787]: namedev_name_device: name, 'sda' is going to have owner='root', group='disk', mode = 0660
Feb 1 23:29:11 ibook kernel: udev[14787]: udev_add_device: name='sda'
Feb 1 23:29:11 ibook kernel: udev[14787]: creating device node '/dev/sda'
Feb 1 23:29:11 ibook kernel: udev[14787]: create_node: mknod(/dev/sda, 060660, 8, 0)
Feb 1 23:29:11 ibook kernel: udev[14787]: create_node: chmod(/dev/sda, 060660)
Feb 1 23:29:11 ibook kernel: udev[14787]: create_node: specified user unknown 'root'
Feb 1 23:29:11 ibook kernel: udev[14787]: create_node: specified group unknown 'disk'
Feb 1 23:29:11 ibook kernel: udev[14787]: create_node: symlink '/dev/debug-usb-1-b-8:0' to node 'sda' requested
Feb 1 23:29:11 ibook kernel: udev[14787]: create_node: symlink(./sda, /dev/debug-usb-1-b-8:0)
Feb 1 23:29:11 ibook kernel: udev[14787]: create_node: symlink '/dev/debug-usb-2-' to node 'sda' requested
Feb 1 23:29:11 ibook kernel: udev[14787]: create_node: symlink(./sda, /dev/debug-usb-2-)
Feb 1 23:29:11 ibook kernel: [mac] sda1 sda2 sda3
Feb 1 23:29:12 ibook kernel: Attached scsi removable disk sda at scsi12, channel 0, id 0, lun 0
Feb 1 23:29:12 ibook kernel: WARNING: USB Mass Storage data integrity not assured
Feb 1 23:29:12 ibook kernel: USB Mass Storage device found at 9
Feb 1 23:29:12 ibook kernel: udev[14828]: main: version 015_bk
Feb 1 23:29:12 ibook kernel: udev[14828]: udev_hotplug: looking at '/block/sda/sda1'
Feb 1 23:29:12 ibook kernel: udev[14828]: get_dirs: sysfs_path='/sys'
Feb 1 23:29:12 ibook kernel: udev[14828]: parse_config_file: reading '/etc/udev/udev.conf' as config file
Feb 1 23:29:12 ibook kernel: udev[14828]: namedev_init_rules: reading '/etc/udev/udev.rules' as rules file
Feb 1 23:29:12 ibook kernel: udev[14828]: namedev_init_permissions: reading '/etc/udev/udev.permissions' as permissions file
Feb 1 23:29:12 ibook kernel: udev[14828]: sleep_for_dev: looking for '/sys/block/sda/sda1/dev'
Feb 1 23:29:12 ibook kernel: udev[14828]: get_class_dev: looking at '/sys/block/sda/sda1'
Feb 1 23:29:12 ibook kernel: udev[14828]: get_class_dev: class_dev->name='sda1'
Feb 1 23:29:12 ibook kernel: udev[14828]: get_major_minor: dev='8:1
Feb 1 23:29:12 ibook kernel: '
Feb 1 23:29:12 ibook kernel: udev[14828]: get_major_minor: found major=8, minor=1
Feb 1 23:29:12 ibook kernel: udev[14828]: get_sysfs_device: Really a partition
Feb 1 23:29:12 ibook kernel: udev[14828]: get_sysfs_device: device 12:0:0:0 is registered with bus 'scsi'
Feb 1 23:29:12 ibook kernel: udev[14828]: namedev_name_device: sysfs_device->path='/sys/devices/pci0001:01/0001:01:18.0/usb1/1-1/1-1:1.0/host12/12:0:0:0'
Feb 1 23:29:12 ibook kernel: udev[14828]: namedev_name_device: sysfs_device->bus_id='12:0:0:0'
Feb 1 23:29:12 ibook kernel: udev[14828]: namedev_name_device: sysfs_device->bus='scsi'
Feb 1 23:29:12 ibook kernel: udev[14828]: wait_for_device_to_initialize: looking for file 'vendor' on bus 'scsi'
Feb 1 23:29:12 ibook kernel: udev[14828]: namedev_name_device: kernel_number='1'
Feb 1 23:29:12 ibook kernel: udev[14828]: namedev_name_device: process rule
Feb 1 23:29:12 ibook kernel: udev[14828]: match_rule: check for BUS dev->bus='scsi' sysfs_device->bus='scsi'
Feb 1 23:29:12 ibook kernel: udev[14828]: match_rule: BUS matches
Feb 1 23:29:12 ibook kernel: udev[14828]: match_rule: check PROGRAM
Feb 1 23:29:12 ibook kernel: udev[14828]: apply_format: substitute major number '8'
Feb 1 23:29:12 ibook kernel: udev[14828]: apply_format: substitute minor number '1'
Feb 1 23:29:12 ibook kernel: udev[14828]: execute_program: executing '/bin/echo a-8:1'
Feb 1 23:29:12 ibook kernel: udev[14828]: execute_program: result is 'a-8:1'
Feb 1 23:29:12 ibook kernel: udev[14828]: match_rule: PROGRAM returned successful
Feb 1 23:29:12 ibook kernel: udev[14828]: configured rule in '/etc/udev/udev.rules' at line 1 applied, 'sda1' becomes '%%k'
Feb 1 23:29:12 ibook kernel: udev[14828]: apply_format: substitute kernel name 'sda1'
Feb 1 23:29:12 ibook kernel: udev[14828]: apply_format: substitute part of result string 'a-8:1'
Feb 1 23:29:12 ibook kernel: udev[14828]: apply_format: requested part of result string not found
Feb 1 23:29:12 ibook kernel: udev[14828]: namedev_name_device: name, 'sda1' is going to have owner='root', group='disk', mode = 0660
Feb 1 23:29:12 ibook kernel: udev[14828]: udev_add_device: name='sda1'
Feb 1 23:29:12 ibook kernel: udev[14828]: creating device node '/dev/sda1'
Feb 1 23:29:12 ibook kernel: udev[14828]: create_node: mknod(/dev/sda1, 060660, 8, 1)
Feb 1 23:29:12 ibook kernel: udev[14828]: create_node: chmod(/dev/sda1, 060660)
Feb 1 23:29:12 ibook kernel: udev[14828]: create_node: specified user unknown 'root'
Feb 1 23:29:12 ibook kernel: udev[14828]: create_node: specified group unknown 'disk'
Feb 1 23:29:12 ibook kernel: udev[14828]: create_node: symlink '/dev/debug-scsi-1-a-8:1' to node 'sda1' requested
Feb 1 23:29:12 ibook kernel: udev[14828]: create_node: symlink(./sda1, /dev/debug-scsi-1-a-8:1)
Feb 1 23:29:12 ibook kernel: udev[14828]: create_node: symlink '/dev/debug-scsi-2-' to node 'sda1' requested
Feb 1 23:29:12 ibook kernel: udev[14828]: create_node: symlink(./sda1, /dev/debug-scsi-2-)
Feb 1 23:29:12 ibook kernel: udev[14831]: main: version 015_bk
Feb 1 23:29:12 ibook kernel: udev[14831]: udev_hotplug: looking at '/block/sda/sda2'
Feb 1 23:29:12 ibook kernel: udev[14831]: get_dirs: sysfs_path='/sys'
Feb 1 23:29:12 ibook kernel: udev[14831]: parse_config_file: reading '/etc/udev/udev.conf' as config file
Feb 1 23:29:12 ibook kernel: udev[14831]: namedev_init_rules: reading '/etc/udev/udev.rules' as rules file
Feb 1 23:29:12 ibook kernel: udev[14831]: namedev_init_permissions: reading '/etc/udev/udev.permissions' as permissions file
Feb 1 23:29:12 ibook kernel: udev[14831]: sleep_for_dev: looking for '/sys/block/sda/sda2/dev'
Feb 1 23:29:12 ibook kernel: udev[14831]: get_class_dev: looking at '/sys/block/sda/sda2'
Feb 1 23:29:12 ibook kernel: udev[14831]: get_class_dev: class_dev->name='sda2'
Feb 1 23:29:12 ibook kernel: udev[14831]: get_major_minor: dev='8:2
Feb 1 23:29:12 ibook kernel: '
Feb 1 23:29:12 ibook kernel: udev[14831]: get_major_minor: found major=8, minor=2
Feb 1 23:29:12 ibook kernel: udev[14831]: get_sysfs_device: Really a partition
Feb 1 23:29:13 ibook kernel: udev[14831]: get_sysfs_device: device 12:0:0:0 is registered with bus 'scsi'
Feb 1 23:29:13 ibook kernel: udev[14831]: namedev_name_device: sysfs_device->path='/sys/devices/pci0001:01/0001:01:18.0/usb1/1-1/1-1:1.0/host12/12:0:0:0'
Feb 1 23:29:13 ibook kernel: udev[14831]: namedev_name_device: sysfs_device->bus_id='12:0:0:0'
Feb 1 23:29:13 ibook kernel: udev[14831]: namedev_name_device: sysfs_device->bus='scsi'
Feb 1 23:29:13 ibook kernel: udev[14831]: wait_for_device_to_initialize: looking for file 'vendor' on bus 'scsi'
Feb 1 23:29:13 ibook kernel: udev[14831]: namedev_name_device: kernel_number='2'
Feb 1 23:29:13 ibook kernel: udev[14831]: namedev_name_device: process rule
Feb 1 23:29:13 ibook kernel: udev[14831]: match_rule: check for BUS dev->bus='scsi' sysfs_device->bus='scsi'
Feb 1 23:29:13 ibook kernel: udev[14831]: match_rule: BUS matches
Feb 1 23:29:13 ibook kernel: udev[14831]: match_rule: check PROGRAM
Feb 1 23:29:13 ibook kernel: udev[14831]: apply_format: substitute major number '8'
Feb 1 23:29:13 ibook kernel: udev[14831]: apply_format: substitute minor number '2'
Feb 1 23:29:13 ibook kernel: udev[14831]: execute_program: executing '/bin/echo a-8:2'
Feb 1 23:29:13 ibook kernel: udev[14831]: execute_program: result is 'a-8:2'
Feb 1 23:29:13 ibook kernel: udev[14831]: match_rule: PROGRAM returned successful
Feb 1 23:29:13 ibook kernel: udev[14831]: configured rule in '/etc/udev/udev.rules' at line 1 applied, 'sda2' becomes '%%k'
Feb 1 23:29:13 ibook kernel: udev[14831]: apply_format: substitute kernel name 'sda2'
Feb 1 23:29:13 ibook kernel: udev[14831]: apply_format: substitute part of result string 'a-8:2'
Feb 1 23:29:13 ibook kernel: udev[14831]: apply_format: requested part of result string not found
Feb 1 23:29:13 ibook kernel: udev[14831]: namedev_name_device: name, 'sda2' is going to have owner='root', group='disk', mode = 0660
Feb 1 23:29:13 ibook kernel: udev[14831]: udev_add_device: name='sda2'
Feb 1 23:29:13 ibook kernel: udev[14831]: creating device node '/dev/sda2'
Feb 1 23:29:13 ibook kernel: udev[14831]: create_node: mknod(/dev/sda2, 060660, 8, 2)
Feb 1 23:29:13 ibook kernel: udev[14831]: create_node: chmod(/dev/sda2, 060660)
Feb 1 23:29:13 ibook kernel: udev[14831]: create_node: specified user unknown 'root'
Feb 1 23:29:13 ibook kernel: udev[14831]: create_node: specified group unknown 'disk'
Feb 1 23:29:13 ibook kernel: udev[14831]: create_node: symlink '/dev/debug-scsi-1-a-8:2' to node 'sda2' requested
Feb 1 23:29:13 ibook kernel: udev[14831]: create_node: symlink(./sda2, /dev/debug-scsi-1-a-8:2)
Feb 1 23:29:13 ibook kernel: udev[14831]: create_node: symlink '/dev/debug-scsi-2-' to node 'sda2' requested
Feb 1 23:29:13 ibook kernel: udev[14831]: create_node: symlink(./sda2, /dev/debug-scsi-2-)
Feb 1 23:29:13 ibook kernel: udev[14834]: main: version 015_bk
Feb 1 23:29:13 ibook kernel: udev[14834]: udev_hotplug: looking at '/block/sda/sda3'
Feb 1 23:29:13 ibook kernel: udev[14834]: get_dirs: sysfs_path='/sys'
Feb 1 23:29:13 ibook kernel: udev[14834]: parse_config_file: reading '/etc/udev/udev.conf' as config file
Feb 1 23:29:13 ibook kernel: udev[14834]: namedev_init_rules: reading '/etc/udev/udev.rules' as rules file
Feb 1 23:29:13 ibook kernel: udev[14834]: namedev_init_permissions: reading '/etc/udev/udev.permissions' as permissions file
Feb 1 23:29:13 ibook kernel: udev[14834]: sleep_for_dev: looking for '/sys/block/sda/sda3/dev'
Feb 1 23:29:13 ibook kernel: udev[14834]: get_class_dev: looking at '/sys/block/sda/sda3'
Feb 1 23:29:13 ibook kernel: udev[14834]: get_class_dev: class_dev->name='sda3'
Feb 1 23:29:13 ibook kernel: udev[14834]: get_major_minor: dev='8:3
Feb 1 23:29:13 ibook kernel: '
Feb 1 23:29:13 ibook kernel: udev[14834]: get_major_minor: found major=8, minor=3
Feb 1 23:29:13 ibook kernel: udev[14834]: get_sysfs_device: Really a partition
Feb 1 23:29:13 ibook kernel: udev[14834]: get_sysfs_device: device 12:0:0:0 is registered with bus 'scsi'
Feb 1 23:29:13 ibook kernel: udev[14834]: namedev_name_device: sysfs_device->path='/sys/devices/pci0001:01/0001:01:18.0/usb1/1-1/1-1:1.0/host12/12:0:0:0'
Feb 1 23:29:13 ibook kernel: udev[14834]: namedev_name_device: sysfs_device->bus_id='12:0:0:0'
Feb 1 23:29:13 ibook kernel: udev[14834]: namedev_name_device: sysfs_device->bus='scsi'
Feb 1 23:29:13 ibook kernel: udev[14834]: wait_for_device_to_initialize: looking for file 'vendor' on bus 'scsi'
Feb 1 23:29:13 ibook kernel: udev[14834]: namedev_name_device: kernel_number='3'
Feb 1 23:29:13 ibook kernel: udev[14834]: namedev_name_device: process rule
Feb 1 23:29:13 ibook kernel: udev[14834]: match_rule: check for BUS dev->bus='scsi' sysfs_device->bus='scsi'
Feb 1 23:29:13 ibook kernel: udev[14834]: match_rule: BUS matches
Feb 1 23:29:13 ibook kernel: udev[14834]: match_rule: check PROGRAM
Feb 1 23:29:13 ibook kernel: udev[14834]: apply_format: substitute major number '8'
Feb 1 23:29:13 ibook kernel: udev[14834]: apply_format: substitute minor number '3'
Feb 1 23:29:13 ibook kernel: udev[14834]: execute_program: executing '/bin/echo a-8:3'
Feb 1 23:29:13 ibook kernel: udev[14834]: execute_program: result is 'a-8:3'
Feb 1 23:29:13 ibook kernel: udev[14834]: match_rule: PROGRAM returned successful
Feb 1 23:29:13 ibook kernel: udev[14834]: configured rule in '/etc/udev/udev.rules' at line 1 applied, 'sda3' becomes '%%k'
Feb 1 23:29:13 ibook kernel: udev[14834]: apply_format: substitute kernel name 'sda3'
Feb 1 23:29:13 ibook kernel: udev[14834]: apply_format: substitute part of result string 'a-8:3'
Feb 1 23:29:13 ibook kernel: udev[14834]: apply_format: requested part of result string not found
Feb 1 23:29:13 ibook kernel: udev[14834]: namedev_name_device: name, 'sda3' is going to have owner='root', group='disk', mode = 0660
Feb 1 23:29:13 ibook kernel: udev[14834]: udev_add_device: name='sda3'
Feb 1 23:29:13 ibook kernel: udev[14834]: creating device node '/dev/sda3'
Feb 1 23:29:13 ibook kernel: udev[14834]: create_node: mknod(/dev/sda3, 060660, 8, 3)
Feb 1 23:29:13 ibook kernel: udev[14834]: create_node: chmod(/dev/sda3, 060660)
Feb 1 23:29:13 ibook kernel: udev[14834]: create_node: specified user unknown 'root'
Feb 1 23:29:13 ibook kernel: udev[14834]: create_node: specified group unknown 'disk'
Feb 1 23:29:13 ibook kernel: udev[14834]: create_node: symlink '/dev/debug-scsi-1-a-8:3' to node 'sda3' requested
Feb 1 23:29:13 ibook kernel: udev[14834]: create_node: symlink(./sda3, /dev/debug-scsi-1-a-8:3)
Feb 1 23:29:13 ibook kernel: udev[14834]: create_node: symlink '/dev/debug-scsi-2-' to node 'sda3' requested
Feb 1 23:29:13 ibook kernel: udev[14834]: create_node: symlink(./sda3, /dev/debug-scsi-2-)
Feb 1 23:29:47 ibook kernel: usb 1-1: USB disconnect, address 9
Feb 1 23:29:48 ibook kernel: udev[14913]: main: version 015_bk
Feb 1 23:29:48 ibook kernel: udev[14913]: udev_hotplug: looking at '/block/sda/sda3'
Feb 1 23:29:48 ibook kernel: udev[14913]: get_dirs: sysfs_path='/sys'
Feb 1 23:29:48 ibook kernel: udev[14913]: parse_config_file: reading '/etc/udev/udev.conf' as config file
Feb 1 23:29:48 ibook kernel: udev[14913]: namedev_init_rules: reading '/etc/udev/udev.rules' as rules file
Feb 1 23:29:48 ibook kernel: udev[14913]: namedev_init_permissions: reading '/etc/udev/udev.permissions' as permissions file
Feb 1 23:29:48 ibook kernel: udev[14913]: udev_remove_device: name is 'sda3'
Feb 1 23:29:48 ibook kernel: udev[14913]: removing device node '/dev/sda3'
Feb 1 23:29:48 ibook kernel: udev[14913]: delete_node: unlinking symlink '/dev/debug-scsi-1-a-8:3'
Feb 1 23:29:48 ibook kernel: udev[14913]: delete_node: unlinking symlink '/dev/debug-scsi-2-'
Feb 1 23:29:48 ibook kernel: udev[14913]: delete_node: unlinking symlink '/dev/'
Feb 1 23:29:48 ibook kernel: udev[14913]: delete_node: unlink(/dev/) failed with error '21'
Feb 1 23:29:48 ibook kernel: udev[14915]: main: version 015_bk
Feb 1 23:29:48 ibook kernel: udev[14915]: udev_hotplug: looking at '/block/sda/sda2'
Feb 1 23:29:48 ibook kernel: udev[14915]: get_dirs: sysfs_path='/sys'
Feb 1 23:29:48 ibook kernel: udev[14915]: parse_config_file: reading '/etc/udev/udev.conf' as config file
Feb 1 23:29:48 ibook kernel: udev[14915]: namedev_init_rules: reading '/etc/udev/udev.rules' as rules file
Feb 1 23:29:48 ibook kernel: udev[14915]: namedev_init_permissions: reading '/etc/udev/udev.permissions' as permissions file
Feb 1 23:29:48 ibook kernel: udev[14915]: udev_remove_device: name is 'sda2'
Feb 1 23:29:48 ibook kernel: udev[14915]: removing device node '/dev/sda2'
Feb 1 23:29:48 ibook kernel: udev[14915]: delete_node: unlinking symlink '/dev/debug-scsi-1-a-8:2'
Feb 1 23:29:48 ibook kernel: udev[14915]: delete_node: unlinking symlink '/dev/debug-scsi-2-'
Feb 1 23:29:48 ibook kernel: udev[14915]: delete_node: unlink(/dev/debug-scsi-2-) failed with error '2'
Feb 1 23:29:48 ibook kernel: udev[14917]: main: version 015_bk
Feb 1 23:29:48 ibook kernel: udev[14917]: udev_hotplug: looking at '/block/sda/sda1'
Feb 1 23:29:48 ibook kernel: udev[14917]: get_dirs: sysfs_path='/sys'
Feb 1 23:29:48 ibook kernel: udev[14917]: parse_config_file: reading '/etc/udev/udev.conf' as config file
Feb 1 23:29:48 ibook kernel: udev[14917]: namedev_init_rules: reading '/etc/udev/udev.rules' as rules file
Feb 1 23:29:48 ibook kernel: udev[14917]: namedev_init_permissions: reading '/etc/udev/udev.permissions' as permissions file
Feb 1 23:29:48 ibook kernel: udev[14917]: udev_remove_device: name is 'sda1'
Feb 1 23:29:48 ibook kernel: udev[14917]: removing device node '/dev/sda1'
Feb 1 23:29:48 ibook kernel: udev[14917]: delete_node: unlinking symlink '/dev/debug-scsi-1-a-8:1'
Feb 1 23:29:48 ibook kernel: udev[14917]: delete_node: unlinking symlink '/dev/debug-scsi-2-'
Feb 1 23:29:48 ibook kernel: udev[14917]: delete_node: unlink(/dev/debug-scsi-2-) failed with error '2'
Feb 1 23:29:48 ibook kernel: udev[14919]: main: version 015_bk
Feb 1 23:29:48 ibook kernel: udev[14919]: udev_hotplug: looking at '/block/sda'
Feb 1 23:29:48 ibook kernel: udev[14919]: get_dirs: sysfs_path='/sys'
Feb 1 23:29:48 ibook kernel: udev[14919]: parse_config_file: reading '/etc/udev/udev.conf' as config file
Feb 1 23:29:48 ibook kernel: udev[14919]: namedev_init_rules: reading '/etc/udev/udev.rules' as rules file
Feb 1 23:29:48 ibook kernel: udev[14919]: namedev_init_permissions: reading '/etc/udev/udev.permissions' as permissions file
Feb 1 23:29:48 ibook kernel: udev[14919]: udev_remove_device: name is 'sda'
Feb 1 23:29:48 ibook kernel: udev[14919]: removing device node '/dev/sda'
Feb 1 23:29:48 ibook kernel: udev[14919]: delete_node: unlinking symlink '/dev/debug-usb-1-b-8:0'
Feb 1 23:29:48 ibook kernel: udev[14919]: delete_node: unlinking symlink '/dev/debug-usb-2-'
sleep 3
Feb 1 23:29:57 ibook kernel: hub 1-0:1.0: new USB device on port 1, assigned address 10
Feb 1 23:29:58 ibook kernel: scsi13 : SCSI emulation for USB Mass Storage devices
Feb 1 23:29:58 ibook kernel: Vendor: QDI Model: U2Disk Rev: 0.33
Feb 1 23:29:58 ibook kernel: Type: Direct-Access ANSI SCSI revision: 02
Feb 1 23:30:00 ibook kernel: SCSI device sda: 256000 512-byte hdwr sectors (131 MB)
Feb 1 23:30:00 ibook kernel: sda: assuming Write Enabled
Feb 1 23:30:00 ibook kernel: sda: assuming drive cache: write through
Feb 1 23:30:02 ibook kernel: sda: [mac] sda1 sda2 sda3
Feb 1 23:30:02 ibook kernel: Attached scsi removable disk sda at scsi13, channel 0, id 0, lun 0
Feb 1 23:30:02 ibook kernel: WARNING: USB Mass Storage data integrity not assured
Feb 1 23:30:02 ibook kernel: USB Mass Storage device found at 10
Feb 1 23:30:03 ibook kernel: udev[15021]: main: version 015_bk
Feb 1 23:30:03 ibook kernel: udev[15021]: udev_hotplug: looking at '/block/sda'
Feb 1 23:30:03 ibook kernel: udev[15021]: get_dirs: sysfs_path='/sys'
Feb 1 23:30:03 ibook kernel: udev[15021]: parse_config_file: reading '/etc/udev/udev.conf' as config file
Feb 1 23:30:03 ibook kernel: udev[15021]: namedev_init_rules: reading '/etc/udev/udev.rules' as rules file
Feb 1 23:30:03 ibook kernel: udev[15021]: namedev_init_permissions: reading '/etc/udev/udev.permissions' as permissions file
Feb 1 23:30:03 ibook kernel: udev[15021]: sleep_for_dev: looking for '/sys/block/sda/dev'
Feb 1 23:30:03 ibook kernel: udev[15021]: get_class_dev: looking at '/sys/block/sda'
Feb 1 23:30:03 ibook kernel: udev[15021]: get_class_dev: class_dev->name='sda'
Feb 1 23:30:03 ibook kernel: udev[15021]: get_major_minor: dev='8:0
Feb 1 23:30:03 ibook kernel: '
Feb 1 23:30:03 ibook kernel: udev[15021]: get_major_minor: found major=8, minor=0
Feb 1 23:30:03 ibook kernel: udev[15021]: get_sysfs_device: device 13:0:0:0 is registered with bus 'scsi'
Feb 1 23:30:03 ibook kernel: udev[15021]: namedev_name_device: sysfs_device->path='/sys/devices/pci0001:01/0001:01:18.0/usb1/1-1/1-1:1.0/host13/13:0:0:0'
Feb 1 23:30:03 ibook kernel: udev[15021]: namedev_name_device: sysfs_device->bus_id='13:0:0:0'
Feb 1 23:30:03 ibook kernel: udev[15021]: namedev_name_device: sysfs_device->bus='scsi'
Feb 1 23:30:03 ibook kernel: udev[15021]: wait_for_device_to_initialize: looking for file 'vendor' on bus 'scsi'
Feb 1 23:30:03 ibook kernel: udev[15021]: namedev_name_device: kernel_number=''
Feb 1 23:30:03 ibook kernel: udev[15021]: namedev_name_device: process rule
Feb 1 23:30:03 ibook kernel: udev[15021]: match_rule: check for BUS dev->bus='scsi' sysfs_device->bus='scsi'
Feb 1 23:30:03 ibook kernel: udev[15021]: match_rule: BUS matches
Feb 1 23:30:03 ibook kernel: udev[15021]: match_rule: check PROGRAM
Feb 1 23:30:03 ibook kernel: udev[15021]: apply_format: substitute major number '8'
Feb 1 23:30:03 ibook kernel: udev[15021]: apply_format: substitute minor number '0'
Feb 1 23:30:03 ibook kernel: udev[15021]: execute_program: executing '/bin/echo a-8:0'
Feb 1 23:30:03 ibook kernel: udev[15021]: execute_program: result is 'a-8:0'
Feb 1 23:30:03 ibook kernel: udev[15021]: match_rule: PROGRAM returned successful
Feb 1 23:30:03 ibook kernel: udev[15021]: configured rule in '/etc/udev/udev.rules' at line 1 applied, 'sda' becomes '%%k'
Feb 1 23:30:03 ibook kernel: udev[15021]: apply_format: substitute kernel name 'sda'
Feb 1 23:30:03 ibook kernel: udev[15021]: apply_format: substitute part of result string 'a-8:0'
Feb 1 23:30:03 ibook kernel: udev[15021]: apply_format: requested part of result string not found
Feb 1 23:30:03 ibook kernel: udev[15021]: namedev_name_device: name, 'sda' is going to have owner='root', group='disk', mode = 0660
Feb 1 23:30:03 ibook kernel: udev[15021]: udev_add_device: name='sda'
Feb 1 23:30:03 ibook kernel: udev[15021]: creating device node '/dev/sda'
Feb 1 23:30:03 ibook kernel: udev[15021]: create_node: mknod(/dev/sda, 060660, 8, 0)
Feb 1 23:30:03 ibook kernel: udev[15021]: create_node: chmod(/dev/sda, 060660)
Feb 1 23:30:03 ibook kernel: udev[15021]: create_node: specified user unknown 'root'
Feb 1 23:30:03 ibook kernel: udev[15021]: create_node: specified group unknown 'disk'
Feb 1 23:30:03 ibook kernel: udev[15021]: create_node: symlink '/dev/debug-scsi-1-a-8:0' to node 'sda' requested
Feb 1 23:30:03 ibook kernel: udev[15021]: create_node: symlink(./sda, /dev/debug-scsi-1-a-8:0)
Feb 1 23:30:03 ibook kernel: udev[15021]: create_node: symlink '/dev/debug-scsi-2-' to node 'sda' requested
Feb 1 23:30:03 ibook kernel: udev[15021]: create_node: symlink(./sda, /dev/debug-scsi-2-)
Feb 1 23:30:05 ibook kernel: udev[15024]: main: version 015_bk
Feb 1 23:30:05 ibook kernel: udev[15024]: udev_hotplug: looking at '/block/sda/sda1'
Feb 1 23:30:05 ibook kernel: udev[15024]: get_dirs: sysfs_path='/sys'
Feb 1 23:30:05 ibook kernel: udev[15024]: parse_config_file: reading '/etc/udev/udev.conf' as config file
Feb 1 23:30:05 ibook kernel: udev[15024]: namedev_init_rules: reading '/etc/udev/udev.rules' as rules file
Feb 1 23:30:05 ibook kernel: udev[15024]: namedev_init_permissions: reading '/etc/udev/udev.permissions' as permissions file
Feb 1 23:30:05 ibook kernel: udev[15024]: sleep_for_dev: looking for '/sys/block/sda/sda1/dev'
Feb 1 23:30:05 ibook kernel: udev[15024]: get_class_dev: looking at '/sys/block/sda/sda1'
Feb 1 23:30:05 ibook kernel: udev[15024]: get_class_dev: class_dev->name='sda1'
Feb 1 23:30:05 ibook kernel: udev[15024]: get_major_minor: dev='8:1
Feb 1 23:30:05 ibook kernel: '
Feb 1 23:30:05 ibook kernel: udev[15024]: get_major_minor: found major=8, minor=1
Feb 1 23:30:05 ibook kernel: udev[15024]: get_sysfs_device: Really a partition
Feb 1 23:30:05 ibook kernel: udev[15024]: get_sysfs_device: device 13:0:0:0 is registered with bus 'scsi'
Feb 1 23:30:05 ibook kernel: udev[15024]: namedev_name_device: sysfs_device->path='/sys/devices/pci0001:01/0001:01:18.0/usb1/1-1/1-1:1.0/host13/13:0:0:0'
Feb 1 23:30:05 ibook kernel: udev[15024]: namedev_name_device: sysfs_device->bus_id='13:0:0:0'
Feb 1 23:30:05 ibook kernel: udev[15024]: namedev_name_device: sysfs_device->bus='scsi'
Feb 1 23:30:05 ibook kernel: udev[15024]: wait_for_device_to_initialize: looking for file 'vendor' on bus 'scsi'
Feb 1 23:30:05 ibook kernel: udev[15024]: namedev_name_device: kernel_number='1'
Feb 1 23:30:05 ibook kernel: udev[15024]: namedev_name_device: process rule
Feb 1 23:30:05 ibook kernel: udev[15024]: match_rule: check for BUS dev->bus='scsi' sysfs_device->bus='scsi'
Feb 1 23:30:05 ibook kernel: udev[15024]: match_rule: BUS matches
Feb 1 23:30:05 ibook kernel: udev[15024]: match_rule: check PROGRAM
Feb 1 23:30:05 ibook kernel: udev[15024]: apply_format: substitute major number '8'
Feb 1 23:30:05 ibook kernel: udev[15024]: apply_format: substitute minor number '1'
Feb 1 23:30:05 ibook kernel: udev[15024]: execute_program: executing '/bin/echo a-8:1'
Feb 1 23:30:05 ibook kernel: udev[15024]: execute_program: result is 'a-8:1'
Feb 1 23:30:05 ibook kernel: udev[15024]: match_rule: PROGRAM returned successful
Feb 1 23:30:05 ibook kernel: udev[15024]: configured rule in '/etc/udev/udev.rules' at line 1 applied, 'sda1' becomes '%%k'
Feb 1 23:30:05 ibook kernel: udev[15024]: apply_format: substitute kernel name 'sda1'
Feb 1 23:30:05 ibook kernel: udev[15024]: apply_format: substitute part of result string 'a-8:1'
Feb 1 23:30:05 ibook kernel: udev[15024]: apply_format: requested part of result string not found
Feb 1 23:30:05 ibook kernel: udev[15024]: namedev_name_device: name, 'sda1' is going to have owner='root', group='disk', mode = 0660
Feb 1 23:30:05 ibook kernel: udev[15024]: udev_add_device: name='sda1'
Feb 1 23:30:05 ibook kernel: udev[15024]: creating device node '/dev/sda1'
Feb 1 23:30:05 ibook kernel: udev[15024]: create_node: mknod(/dev/sda1, 060660, 8, 1)
Feb 1 23:30:05 ibook kernel: udev[15024]: create_node: chmod(/dev/sda1, 060660)
Feb 1 23:30:05 ibook kernel: udev[15024]: create_node: specified user unknown 'root'
Feb 1 23:30:05 ibook kernel: udev[15024]: create_node: specified group unknown 'disk'
Feb 1 23:30:05 ibook kernel: udev[15024]: create_node: symlink '/dev/debug-scsi-1-a-8:1' to node 'sda1' requested
Feb 1 23:30:05 ibook kernel: udev[15024]: create_node: symlink(./sda1, /dev/debug-scsi-1-a-8:1)
Feb 1 23:30:05 ibook kernel: udev[15024]: create_node: symlink '/dev/debug-scsi-2-' to node 'sda1' requested
Feb 1 23:30:05 ibook kernel: udev[15024]: create_node: symlink(./sda1, /dev/debug-scsi-2-)
Feb 1 23:30:05 ibook kernel: udev[15027]: main: version 015_bk
Feb 1 23:30:05 ibook kernel: udev[15027]: udev_hotplug: looking at '/block/sda/sda2'
Feb 1 23:30:05 ibook kernel: udev[15027]: get_dirs: sysfs_path='/sys'
Feb 1 23:30:05 ibook kernel: udev[15027]: parse_config_file: reading '/etc/udev/udev.conf' as config file
Feb 1 23:30:05 ibook kernel: udev[15027]: namedev_init_rules: reading '/etc/udev/udev.rules' as rules file
Feb 1 23:30:05 ibook kernel: udev[15027]: namedev_init_permissions: reading '/etc/udev/udev.permissions' as permissions file
Feb 1 23:30:05 ibook kernel: udev[15027]: sleep_for_dev: looking for '/sys/block/sda/sda2/dev'
Feb 1 23:30:05 ibook kernel: udev[15027]: get_class_dev: looking at '/sys/block/sda/sda2'
Feb 1 23:30:05 ibook kernel: udev[15027]: get_class_dev: class_dev->name='sda2'
Feb 1 23:30:05 ibook kernel: udev[15027]: get_major_minor: dev='8:2
Feb 1 23:30:05 ibook kernel: '
Feb 1 23:30:05 ibook kernel: udev[15027]: get_major_minor: found major=8, minor=2
Feb 1 23:30:05 ibook kernel: udev[15027]: get_sysfs_device: Really a partition
Feb 1 23:30:05 ibook kernel: udev[15027]: get_sysfs_device: device 13:0:0:0 is registered with bus 'scsi'
Feb 1 23:30:05 ibook kernel: udev[15027]: namedev_name_device: sysfs_device->path='/sys/devices/pci0001:01/0001:01:18.0/usb1/1-1/1-1:1.0/host13/13:0:0:0'
Feb 1 23:30:05 ibook kernel: udev[15027]: namedev_name_device: sysfs_device->bus_id='13:0:0:0'
Feb 1 23:30:05 ibook kernel: udev[15027]: namedev_name_device: sysfs_device->bus='scsi'
Feb 1 23:30:05 ibook kernel: udev[15027]: wait_for_device_to_initialize: looking for file 'vendor' on bus 'scsi'
Feb 1 23:30:05 ibook kernel: udev[15027]: namedev_name_device: kernel_number='2'
Feb 1 23:30:05 ibook kernel: udev[15027]: namedev_name_device: process rule
Feb 1 23:30:05 ibook kernel: udev[15027]: match_rule: check for BUS dev->bus='scsi' sysfs_device->bus='scsi'
Feb 1 23:30:05 ibook kernel: udev[15027]: match_rule: BUS matches
Feb 1 23:30:05 ibook kernel: udev[15027]: match_rule: check PROGRAM
Feb 1 23:30:05 ibook kernel: udev[15027]: apply_format: substitute major number '8'
Feb 1 23:30:05 ibook kernel: udev[15027]: apply_format: substitute minor number '2'
Feb 1 23:30:05 ibook kernel: udev[15027]: execute_program: executing '/bin/echo a-8:2'
Feb 1 23:30:05 ibook kernel: udev[15027]: execute_program: result is 'a-8:2'
Feb 1 23:30:05 ibook kernel: udev[15027]: match_rule: PROGRAM returned successful
Feb 1 23:30:05 ibook kernel: udev[15027]: configured rule in '/etc/udev/udev.rules' at line 1 applied, 'sda2' becomes '%%k'
Feb 1 23:30:05 ibook kernel: udev[15027]: apply_format: substitute kernel name 'sda2'
Feb 1 23:30:05 ibook kernel: udev[15027]: apply_format: substitute part of result string 'a-8:2'
Feb 1 23:30:05 ibook kernel: udev[15027]: apply_format: requested part of result string not found
Feb 1 23:30:05 ibook kernel: udev[15027]: namedev_name_device: name, 'sda2' is going to have owner='root', group='disk', mode = 0660
Feb 1 23:30:05 ibook kernel: udev[15027]: udev_add_device: name='sda2'
Feb 1 23:30:05 ibook kernel: udev[15027]: creating device node '/dev/sda2'
Feb 1 23:30:05 ibook kernel: udev[15027]: create_node: mknod(/dev/sda2, 060660, 8, 2)
Feb 1 23:30:05 ibook kernel: udev[15029]: main: version 015_bk
Feb 1 23:30:05 ibook kernel: udev[15029]: udev_hotplug: looking at '/block/sda/sda3'
Feb 1 23:30:05 ibook kernel: udev[15029]: get_dirs: sysfs_path='/sys'
Feb 1 23:30:05 ibook kernel: udev[15029]: parse_config_file: reading '/etc/udev/udev.conf' as config file
Feb 1 23:30:05 ibook kernel: udev[15029]: namedev_init_rules: reading '/etc/udev/udev.rules' as rules file
Feb 1 23:30:05 ibook kernel: udev[15029]: namedev_init_permissions: reading '/etc/udev/udev.permissions' as permissions file
Feb 1 23:30:05 ibook kernel: udev[15027]: create_node: chmod(/dev/sda2, 060660)
Feb 1 23:30:05 ibook kernel: udev[15027]: create_node: specified user unknown 'root'
Feb 1 23:30:05 ibook kernel: udev[15027]: create_node: specified group unknown 'disk'
Feb 1 23:30:05 ibook kernel: udev[15027]: create_node: symlink '/dev/debug-scsi-1-a-8:2' to node 'sda2' requested
Feb 1 23:30:05 ibook kernel: udev[15027]: create_node: symlink(./sda2, /dev/debug-scsi-1-a-8:2)
Feb 1 23:30:05 ibook kernel: udev[15027]: create_node: symlink '/dev/debug-scsi-2-' to node 'sda2' requested
Feb 1 23:30:05 ibook kernel: udev[15027]: create_node: symlink(./sda2, /dev/debug-scsi-2-)
Feb 1 23:30:05 ibook kernel: udev[15029]: sleep_for_dev: looking for '/sys/block/sda/sda3/dev'
Feb 1 23:30:05 ibook kernel: udev[15029]: get_class_dev: looking at '/sys/block/sda/sda3'
Feb 1 23:30:05 ibook kernel: udev[15029]: get_class_dev: class_dev->name='sda3'
Feb 1 23:30:05 ibook kernel: udev[15029]: get_major_minor: dev='8:3
Feb 1 23:30:05 ibook kernel: '
Feb 1 23:30:05 ibook kernel: udev[15029]: get_major_minor: found major=8, minor=3
Feb 1 23:30:05 ibook kernel: udev[15029]: get_sysfs_device: Really a partition
Feb 1 23:30:05 ibook kernel: udev[15029]: get_sysfs_device: device 13:0:0:0 is registered with bus 'scsi'
Feb 1 23:30:05 ibook kernel: udev[15029]: namedev_name_device: sysfs_device->path='/sys/devices/pci0001:01/0001:01:18.0/usb1/1-1/1-1:1.0/host13/13:0:0:0'
Feb 1 23:30:05 ibook kernel: udev[15029]: namedev_name_device: sysfs_device->bus_id='13:0:0:0'
Feb 1 23:30:05 ibook kernel: udev[15029]: namedev_name_device: sysfs_device->bus='scsi'
Feb 1 23:30:05 ibook kernel: udev[15029]: wait_for_device_to_initialize: looking for file 'vendor' on bus 'scsi'
Feb 1 23:30:05 ibook kernel: udev[15029]: namedev_name_device: kernel_number='3'
Feb 1 23:30:05 ibook kernel: udev[15029]: namedev_name_device: process rule
Feb 1 23:30:05 ibook kernel: udev[15029]: match_rule: check for BUS dev->bus='scsi' sysfs_device->bus='scsi'
Feb 1 23:30:05 ibook kernel: udev[15029]: match_rule: BUS matches
Feb 1 23:30:05 ibook kernel: udev[15029]: match_rule: check PROGRAM
Feb 1 23:30:05 ibook kernel: udev[15029]: apply_format: substitute major number '8'
Feb 1 23:30:05 ibook kernel: udev[15029]: apply_format: substitute minor number '3'
Feb 1 23:30:05 ibook kernel: udev[15029]: execute_program: executing '/bin/echo a-8:3'
Feb 1 23:30:05 ibook kernel: udev[15029]: execute_program: result is 'a-8:3'
Feb 1 23:30:05 ibook kernel: udev[15029]: match_rule: PROGRAM returned successful
Feb 1 23:30:05 ibook kernel: udev[15029]: configured rule in '/etc/udev/udev.rules' at line 1 applied, 'sda3' becomes '%%k'
Feb 1 23:30:05 ibook kernel: udev[15029]: apply_format: substitute kernel name 'sda3'
Feb 1 23:30:05 ibook kernel: udev[15029]: apply_format: substitute part of result string 'a-8:3'
Feb 1 23:30:05 ibook kernel: udev[15029]: apply_format: requested part of result string not found
Feb 1 23:30:05 ibook kernel: udev[15029]: namedev_name_device: name, 'sda3' is going to have owner='root', group='disk', mode = 0660
Feb 1 23:30:05 ibook kernel: udev[15029]: udev_add_device: name='sda3'
Feb 1 23:30:05 ibook kernel: udev[15029]: creating device node '/dev/sda3'
Feb 1 23:30:05 ibook kernel: udev[15029]: create_node: mknod(/dev/sda3, 060660, 8, 3)
Feb 1 23:30:05 ibook kernel: udev[15029]: create_node: chmod(/dev/sda3, 060660)
Feb 1 23:30:05 ibook kernel: udev[15029]: create_node: specified user unknown 'root'
Feb 1 23:30:05 ibook kernel: udev[15029]: create_node: specified group unknown 'disk'
Feb 1 23:30:05 ibook kernel: udev[15029]: create_node: symlink '/dev/debug-scsi-1-a-8:3' to node 'sda3' requested
Feb 1 23:30:05 ibook kernel: udev[15029]: create_node: symlink(./sda3, /dev/debug-scsi-1-a-8:3)
Feb 1 23:30:05 ibook kernel: udev[15029]: create_node: symlink '/dev/debug-scsi-2-' to node 'sda3' requested
Feb 1 23:30:05 ibook kernel: udev[15029]: create_node: symlink(./sda3, /dev/debug-scsi-2-)
Feb 1 23:30:35 ibook kernel: usb 1-1: USB disconnect, address 10
Feb 1 23:30:36 ibook kernel: udev[15109]: main: version 015_bk
Feb 1 23:30:36 ibook kernel: udev[15109]: udev_hotplug: looking at '/block/sda/sda2'
Feb 1 23:30:36 ibook kernel: udev[15109]: get_dirs: sysfs_path='/sys'
Feb 1 23:30:36 ibook kernel: udev[15109]: parse_config_file: reading '/etc/udev/udev.conf' as config file
Feb 1 23:30:36 ibook kernel: udev[15109]: namedev_init_rules: reading '/etc/udev/udev.rules' as rules file
Feb 1 23:30:36 ibook kernel: udev[15109]: namedev_init_permissions: reading '/etc/udev/udev.permissions' as permissions file
Feb 1 23:30:36 ibook kernel: udev[15109]: udev_remove_device: name is 'sda2'
Feb 1 23:30:36 ibook kernel: udev[15109]: removing device node '/dev/sda2'
Feb 1 23:30:36 ibook kernel: udev[15109]: delete_node: unlinking symlink '/dev/debug-scsi-1-a-8:2'
Feb 1 23:30:36 ibook kernel: udev[15109]: delete_node: unlinking symlink '/dev/debug-scsi-2-'
Feb 1 23:30:36 ibook kernel: udev[15109]: delete_node: unlinking symlink '/dev/'
Feb 1 23:30:36 ibook kernel: udev[15109]: delete_node: unlink(/dev/) failed with error '21'
Feb 1 23:30:36 ibook kernel: udev[15111]: main: version 015_bk
Feb 1 23:30:36 ibook kernel: udev[15111]: udev_hotplug: looking at '/block/sda/sda1'
Feb 1 23:30:36 ibook kernel: udev[15111]: get_dirs: sysfs_path='/sys'
Feb 1 23:30:36 ibook kernel: udev[15111]: parse_config_file: reading '/etc/udev/udev.conf' as config file
Feb 1 23:30:36 ibook kernel: udev[15111]: namedev_init_rules: reading '/etc/udev/udev.rules' as rules file
Feb 1 23:30:36 ibook kernel: udev[15111]: namedev_init_permissions: reading '/etc/udev/udev.permissions' as permissions file
Feb 1 23:30:36 ibook kernel: udev[15111]: udev_remove_device: name is 'sda1'
Feb 1 23:30:36 ibook kernel: udev[15111]: removing device node '/dev/sda1'
Feb 1 23:30:36 ibook kernel: udev[15111]: delete_node: unlinking symlink '/dev/debug-scsi-1-a-8:1'
Feb 1 23:30:36 ibook kernel: udev[15111]: delete_node: unlinking symlink '/dev/debug-scsi-2-'
Feb 1 23:30:36 ibook kernel: udev[15111]: delete_node: unlink(/dev/debug-scsi-2-) failed with error '2'
Feb 1 23:30:37 ibook kernel: udev[15113]: main: version 015_bk
Feb 1 23:30:37 ibook kernel: udev[15113]: udev_hotplug: looking at '/block/sda'
Feb 1 23:30:37 ibook kernel: udev[15113]: get_dirs: sysfs_path='/sys'
Feb 1 23:30:37 ibook kernel: udev[15113]: parse_config_file: reading '/etc/udev/udev.conf' as config file
Feb 1 23:30:37 ibook kernel: udev[15113]: namedev_init_rules: reading '/etc/udev/udev.rules' as rules file
Feb 1 23:30:37 ibook kernel: udev[15113]: namedev_init_permissions: reading '/etc/udev/udev.permissions' as permissions file
Feb 1 23:30:37 ibook kernel: udev[15113]: udev_remove_device: name is 'sda'
Feb 1 23:30:37 ibook kernel: udev[15113]: removing device node '/dev/sda'
Feb 1 23:30:37 ibook kernel: udev[15113]: delete_node: unlinking symlink '/dev/debug-scsi-1-a-8:0'
Feb 1 23:30:37 ibook kernel: udev[15113]: delete_node: unlinking symlink '/dev/debug-scsi-2-'
Feb 1 23:30:37 ibook kernel: udev[15113]: delete_node: unlink(/dev/debug-scsi-2-) failed with error '2'
Feb 1 23:30:37 ibook kernel: udev[15115]: main: version 015_bk
Feb 1 23:30:37 ibook kernel: udev[15115]: udev_hotplug: looking at '/block/sda/sda3'
Feb 1 23:30:37 ibook kernel: udev[15115]: get_dirs: sysfs_path='/sys'
Feb 1 23:30:37 ibook kernel: udev[15115]: parse_config_file: reading '/etc/udev/udev.conf' as config file
Feb 1 23:30:37 ibook kernel: udev[15115]: namedev_init_rules: reading '/etc/udev/udev.rules' as rules file
Feb 1 23:30:37 ibook kernel: udev[15115]: namedev_init_permissions: reading '/etc/udev/udev.permissions' as permissions file
Feb 1 23:30:37 ibook kernel: udev[15115]: udev_remove_device: name is 'sda3'
Feb 1 23:30:37 ibook kernel: udev[15115]: removing device node '/dev/sda3'
Feb 1 23:30:37 ibook kernel: udev[15115]: delete_node: unlinking symlink '/dev/debug-scsi-1-a-8:3'
Feb 1 23:30:37 ibook kernel: udev[15115]: delete_node: unlinking symlink '/dev/debug-scsi-2-'
Feb 1 23:30:37 ibook kernel: udev[15115]: delete_node: unlink(/dev/debug-scsi-2-) failed with error '2'
sleep 2
Feb 1 23:30:51 ibook kernel: hub 1-0:1.0: new USB device on port 1, assigned address 11
Feb 1 23:30:52 ibook kernel: scsi14 : SCSI emulation for USB Mass Storage devices
Feb 1 23:30:52 ibook kernel: Vendor: QDI Model: U2Disk Rev: 0.33
Feb 1 23:30:52 ibook kernel: Type: Direct-Access ANSI SCSI revision: 02
Feb 1 23:30:54 ibook kernel: SCSI device sda: 256000 512-byte hdwr sectors (131 MB)
Feb 1 23:30:54 ibook kernel: sda: assuming Write Enabled
Feb 1 23:30:54 ibook kernel: sda: assuming drive cache: write through
Feb 1 23:30:56 ibook kernel: sda: [mac] sda1 sda2 sda3
Feb 1 23:30:56 ibook kernel: Attached scsi removable disk sda at scsi14, channel 0, id 0, lun 0
Feb 1 23:30:56 ibook kernel: udev[15215]: main: version 015_bk
Feb 1 23:30:56 ibook kernel: udev[15215]: udev_hotplug: looking at '/block/sda'
Feb 1 23:30:56 ibook kernel: udev[15215]: get_dirs: sysfs_path='/sys'
Feb 1 23:30:56 ibook kernel: udev[15215]: parse_config_file: reading '/etc/udev/udev.conf' as config file
Feb 1 23:30:56 ibook kernel: udev[15215]: namedev_init_rules: reading '/etc/udev/udev.rules' as rules file
Feb 1 23:30:56 ibook kernel: udev[15215]: namedev_init_permissions: reading '/etc/udev/udev.permissions' as permissions file
Feb 1 23:30:56 ibook kernel: udev[15215]: sleep_for_dev: looking for '/sys/block/sda/dev'
Feb 1 23:30:56 ibook kernel: udev[15215]: get_class_dev: looking at '/sys/block/sda'
Feb 1 23:30:56 ibook kernel: udev[15215]: get_class_dev: class_dev->name='sda'
Feb 1 23:30:56 ibook kernel: udev[15215]: get_major_minor: dev='8:0
Feb 1 23:30:56 ibook kernel: '
Feb 1 23:30:56 ibook kernel: udev[15215]: get_major_minor: found major=8, minor=0
Feb 1 23:30:56 ibook kernel: udev[15215]: get_sysfs_device: device 14:0:0:0 is registered with bus 'scsi'
Feb 1 23:30:56 ibook kernel: udev[15215]: namedev_name_device: sysfs_device->path='/sys/devices/pci0001:01/0001:01:18.0/usb1/1-1/1-1:1.0/host14/14:0:0:0'
Feb 1 23:30:56 ibook kernel: udev[15215]: namedev_name_device: sysfs_device->bus_id='14:0:0:0'
Feb 1 23:30:56 ibook kernel: udev[15215]: namedev_name_device: sysfs_device->bus='scsi'
Feb 1 23:30:56 ibook kernel: udev[15215]: wait_for_device_to_initialize: looking for file 'vendor' on bus 'scsi'
Feb 1 23:30:56 ibook kernel: WARNING: USB Mass Storage data integrity not assured
Feb 1 23:30:56 ibook kernel: USB Mass Storage device found at 11
Feb 1 23:30:57 ibook kernel: udev[15215]: wait_for_device_to_initialize: looking for file 'vendor' on bus 'scsi'
Feb 1 23:30:57 ibook kernel: udev[15215]: namedev_name_device: kernel_number=''
Feb 1 23:30:57 ibook kernel: udev[15215]: namedev_name_device: process rule
Feb 1 23:30:57 ibook kernel: udev[15215]: match_rule: check for BUS dev->bus='scsi' sysfs_device->bus='scsi'
Feb 1 23:30:57 ibook kernel: udev[15215]: match_rule: BUS matches
Feb 1 23:30:57 ibook kernel: udev[15215]: match_rule: check PROGRAM
Feb 1 23:30:57 ibook kernel: udev[15215]: apply_format: substitute major number '8'
Feb 1 23:30:57 ibook kernel: udev[15215]: apply_format: substitute minor number '0'
Feb 1 23:30:57 ibook kernel: udev[15215]: execute_program: executing '/bin/echo a-8:0'
Feb 1 23:30:57 ibook kernel: udev[15215]: execute_program: result is 'a-8:0'
Feb 1 23:30:57 ibook kernel: udev[15215]: match_rule: PROGRAM returned successful
Feb 1 23:30:57 ibook kernel: udev[15215]: configured rule in '/etc/udev/udev.rules' at line 1 applied, 'sda' becomes '%%k'
Feb 1 23:30:57 ibook kernel: udev[15215]: apply_format: substitute kernel name 'sda'
Feb 1 23:30:57 ibook kernel: udev[15215]: apply_format: substitute part of result string 'a-8:0'
Feb 1 23:30:57 ibook kernel: udev[15215]: apply_format: requested part of result string not found
Feb 1 23:30:57 ibook kernel: udev[15215]: namedev_name_device: name, 'sda' is going to have owner='root', group='disk', mode = 0660
Feb 1 23:30:57 ibook kernel: udev[15215]: udev_add_device: name='sda'
Feb 1 23:30:57 ibook kernel: udev[15215]: creating device node '/dev/sda'
Feb 1 23:30:57 ibook kernel: udev[15215]: create_node: mknod(/dev/sda, 060660, 8, 0)
Feb 1 23:30:57 ibook kernel: udev[15215]: create_node: chmod(/dev/sda, 060660)
Feb 1 23:30:57 ibook kernel: udev[15215]: create_node: specified user unknown 'root'
Feb 1 23:30:57 ibook kernel: udev[15215]: create_node: specified group unknown 'disk'
Feb 1 23:30:57 ibook kernel: udev[15215]: create_node: symlink '/dev/debug-scsi-1-a-8:0' to node 'sda' requested
Feb 1 23:30:57 ibook kernel: udev[15215]: create_node: symlink(./sda, /dev/debug-scsi-1-a-8:0)
Feb 1 23:30:57 ibook kernel: udev[15215]: create_node: symlink '/dev/debug-scsi-2-' to node 'sda' requested
Feb 1 23:30:57 ibook kernel: udev[15215]: create_node: symlink(./sda, /dev/debug-scsi-2-)
Feb 1 23:30:58 ibook kernel: udev[15227]: main: version 015_bk
Feb 1 23:30:58 ibook kernel: udev[15227]: udev_hotplug: looking at '/block/sda/sda1'
Feb 1 23:30:58 ibook kernel: udev[15227]: get_dirs: sysfs_path='/sys'
Feb 1 23:30:58 ibook kernel: udev[15227]: parse_config_file: reading '/etc/udev/udev.conf' as config file
Feb 1 23:30:58 ibook kernel: udev[15227]: namedev_init_rules: reading '/etc/udev/udev.rules' as rules file
Feb 1 23:30:58 ibook kernel: udev[15227]: namedev_init_permissions: reading '/etc/udev/udev.permissions' as permissions file
Feb 1 23:30:58 ibook kernel: udev[15227]: sleep_for_dev: looking for '/sys/block/sda/sda1/dev'
Feb 1 23:30:58 ibook kernel: udev[15227]: get_class_dev: looking at '/sys/block/sda/sda1'
Feb 1 23:30:58 ibook kernel: udev[15227]: get_class_dev: class_dev->name='sda1'
Feb 1 23:30:58 ibook kernel: udev[15227]: get_major_minor: dev='8:1
Feb 1 23:30:58 ibook kernel: '
Feb 1 23:30:58 ibook kernel: udev[15227]: get_major_minor: found major=8, minor=1
Feb 1 23:30:58 ibook kernel: udev[15227]: get_sysfs_device: Really a partition
Feb 1 23:30:58 ibook kernel: udev[15227]: get_sysfs_device: device 14:0:0:0 is registered with bus 'scsi'
Feb 1 23:30:58 ibook kernel: udev[15227]: namedev_name_device: sysfs_device->path='/sys/devices/pci0001:01/0001:01:18.0/usb1/1-1/1-1:1.0/host14/14:0:0:0'
Feb 1 23:30:58 ibook kernel: udev[15227]: namedev_name_device: sysfs_device->bus_id='14:0:0:0'
Feb 1 23:30:58 ibook kernel: udev[15227]: namedev_name_device: sysfs_device->bus='scsi'
Feb 1 23:30:58 ibook kernel: udev[15227]: wait_for_device_to_initialize: looking for file 'vendor' on bus 'scsi'
Feb 1 23:30:58 ibook kernel: udev[15227]: namedev_name_device: kernel_number='1'
Feb 1 23:30:58 ibook kernel: udev[15227]: namedev_name_device: process rule
Feb 1 23:30:58 ibook kernel: udev[15227]: match_rule: check for BUS dev->bus='scsi' sysfs_device->bus='scsi'
Feb 1 23:30:58 ibook kernel: udev[15227]: match_rule: BUS matches
Feb 1 23:30:58 ibook kernel: udev[15227]: match_rule: check PROGRAM
Feb 1 23:30:58 ibook kernel: udev[15227]: apply_format: substitute major number '8'
Feb 1 23:30:58 ibook kernel: udev[15227]: apply_format: substitute minor number '1'
Feb 1 23:30:58 ibook kernel: udev[15227]: execute_program: executing '/bin/echo a-8:1'
Feb 1 23:30:58 ibook kernel: udev[15227]: execute_program: result is 'a-8:1'
Feb 1 23:30:58 ibook kernel: udev[15227]: match_rule: PROGRAM returned successful
Feb 1 23:30:58 ibook kernel: udev[15227]: configured rule in '/etc/udev/udev.rules' at line 1 applied, 'sda1' becomes '%%k'
Feb 1 23:30:58 ibook kernel: udev[15227]: apply_format: substitute kernel name 'sda1'
Feb 1 23:30:58 ibook kernel: udev[15227]: apply_format: substitute part of result string 'a-8:1'
Feb 1 23:30:58 ibook kernel: udev[15227]: apply_format: requested part of result string not found
Feb 1 23:30:58 ibook kernel: udev[15227]: namedev_name_device: name, 'sda1' is going to have owner='root', group='disk', mode = 0660
Feb 1 23:30:58 ibook kernel: udev[15227]: udev_add_device: name='sda1'
Feb 1 23:30:58 ibook kernel: udev[15227]: creating device node '/dev/sda1'
Feb 1 23:30:58 ibook kernel: udev[15227]: create_node: mknod(/dev/sda1, 060660, 8, 1)
Feb 1 23:30:58 ibook kernel: udev[15227]: create_node: chmod(/dev/sda1, 060660)
Feb 1 23:30:58 ibook kernel: udev[15227]: create_node: specified user unknown 'root'
Feb 1 23:30:58 ibook kernel: udev[15227]: create_node: specified group unknown 'disk'
Feb 1 23:30:58 ibook kernel: udev[15227]: create_node: symlink '/dev/debug-scsi-1-a-8:1' to node 'sda1' requested
Feb 1 23:30:58 ibook kernel: udev[15227]: create_node: symlink(./sda1, /dev/debug-scsi-1-a-8:1)
Feb 1 23:30:58 ibook kernel: udev[15227]: create_node: symlink '/dev/debug-scsi-2-' to node 'sda1' requested
Feb 1 23:30:58 ibook kernel: udev[15227]: create_node: symlink(./sda1, /dev/debug-scsi-2-)
Feb 1 23:30:58 ibook kernel: udev[15230]: main: version 015_bk
Feb 1 23:30:58 ibook kernel: udev[15230]: udev_hotplug: looking at '/block/sda/sda2'
Feb 1 23:30:58 ibook kernel: udev[15230]: get_dirs: sysfs_path='/sys'
Feb 1 23:30:58 ibook kernel: udev[15230]: parse_config_file: reading '/etc/udev/udev.conf' as config file
Feb 1 23:30:58 ibook kernel: udev[15230]: namedev_init_rules: reading '/etc/udev/udev.rules' as rules file
Feb 1 23:30:58 ibook kernel: udev[15230]: namedev_init_permissions: reading '/etc/udev/udev.permissions' as permissions file
Feb 1 23:30:58 ibook kernel: udev[15230]: sleep_for_dev: looking for '/sys/block/sda/sda2/dev'
Feb 1 23:30:58 ibook kernel: udev[15230]: get_class_dev: looking at '/sys/block/sda/sda2'
Feb 1 23:30:58 ibook kernel: udev[15230]: get_class_dev: class_dev->name='sda2'
Feb 1 23:30:58 ibook kernel: udev[15230]: get_major_minor: dev='8:2
Feb 1 23:30:58 ibook kernel: '
Feb 1 23:30:58 ibook kernel: udev[15230]: get_major_minor: found major=8, minor=2
Feb 1 23:30:58 ibook kernel: udev[15230]: get_sysfs_device: Really a partition
Feb 1 23:30:58 ibook kernel: udev[15230]: get_sysfs_device: device 14:0:0:0 is registered with bus 'scsi'
Feb 1 23:30:58 ibook kernel: udev[15230]: namedev_name_device: sysfs_device->path='/sys/devices/pci0001:01/0001:01:18.0/usb1/1-1/1-1:1.0/host14/14:0:0:0'
Feb 1 23:30:58 ibook kernel: udev[15230]: namedev_name_device: sysfs_device->bus_id='14:0:0:0'
Feb 1 23:30:58 ibook kernel: udev[15230]: namedev_name_device: sysfs_device->bus='scsi'
Feb 1 23:30:58 ibook kernel: udev[15230]: wait_for_device_to_initialize: looking for file 'vendor' on bus 'scsi'
Feb 1 23:30:58 ibook kernel: udev[15230]: namedev_name_device: kernel_number='2'
Feb 1 23:30:58 ibook kernel: udev[15230]: namedev_name_device: process rule
Feb 1 23:30:58 ibook kernel: udev[15230]: match_rule: check for BUS dev->bus='scsi' sysfs_device->bus='scsi'
Feb 1 23:30:58 ibook kernel: udev[15230]: match_rule: BUS matches
Feb 1 23:30:58 ibook kernel: udev[15230]: match_rule: check PROGRAM
Feb 1 23:30:58 ibook kernel: udev[15230]: apply_format: substitute major number '8'
Feb 1 23:30:58 ibook kernel: udev[15230]: apply_format: substitute minor number '2'
Feb 1 23:30:58 ibook kernel: udev[15230]: execute_program: executing '/bin/echo a-8:2'
Feb 1 23:30:58 ibook kernel: udev[15230]: execute_program: result is 'a-8:2'
Feb 1 23:30:58 ibook kernel: udev[15230]: match_rule: PROGRAM returned successful
Feb 1 23:30:58 ibook kernel: udev[15230]: configured rule in '/etc/udev/udev.rules' at line 1 applied, 'sda2' becomes '%%k'
Feb 1 23:30:58 ibook kernel: udev[15230]: apply_format: substitute kernel name 'sda2'
Feb 1 23:30:58 ibook kernel: udev[15230]: apply_format: substitute part of result string 'a-8:2'
Feb 1 23:30:58 ibook kernel: udev[15230]: apply_format: requested part of result string not found
Feb 1 23:30:58 ibook kernel: udev[15230]: namedev_name_device: name, 'sda2' is going to have owner='root', group='disk', mode = 0660
Feb 1 23:30:58 ibook kernel: udev[15230]: udev_add_device: name='sda2'
Feb 1 23:30:58 ibook kernel: udev[15230]: creating device node '/dev/sda2'
Feb 1 23:30:58 ibook kernel: udev[15230]: create_node: mknod(/dev/sda2, 060660, 8, 2)
Feb 1 23:30:58 ibook kernel: udev[15230]: create_node: chmod(/dev/sda2, 060660)
Feb 1 23:30:58 ibook kernel: udev[15232]: main: version 015_bk
Feb 1 23:30:58 ibook kernel: udev[15232]: udev_hotplug: looking at '/block/sda/sda3'
Feb 1 23:30:58 ibook kernel: udev[15232]: get_dirs: sysfs_path='/sys'
Feb 1 23:30:58 ibook kernel: udev[15232]: parse_config_file: reading '/etc/udev/udev.conf' as config file
Feb 1 23:30:58 ibook kernel: udev[15232]: namedev_init_rules: reading '/etc/udev/udev.rules' as rules file
Feb 1 23:30:58 ibook kernel: udev[15232]: namedev_init_permissions: reading '/etc/udev/udev.permissions' as permissions file
Feb 1 23:30:58 ibook kernel: udev[15230]: create_node: specified user unknown 'root'
Feb 1 23:30:58 ibook kernel: udev[15230]: create_node: specified group unknown 'disk'
Feb 1 23:30:58 ibook kernel: udev[15230]: create_node: symlink '/dev/debug-scsi-1-a-8:2' to node 'sda2' requested
Feb 1 23:30:58 ibook kernel: udev[15230]: create_node: symlink(./sda2, /dev/debug-scsi-1-a-8:2)
Feb 1 23:30:58 ibook kernel: udev[15230]: create_node: symlink '/dev/debug-scsi-2-' to node 'sda2' requested
Feb 1 23:30:58 ibook kernel: udev[15230]: create_node: symlink(./sda2, /dev/debug-scsi-2-)
Feb 1 23:30:58 ibook kernel: udev[15232]: sleep_for_dev: looking for '/sys/block/sda/sda3/dev'
Feb 1 23:30:58 ibook kernel: udev[15232]: get_class_dev: looking at '/sys/block/sda/sda3'
Feb 1 23:30:58 ibook kernel: udev[15232]: get_class_dev: class_dev->name='sda3'
Feb 1 23:30:58 ibook kernel: udev[15232]: get_major_minor: dev='8:3
Feb 1 23:30:58 ibook kernel: '
Feb 1 23:30:58 ibook kernel: udev[15232]: get_major_minor: found major=8, minor=3
Feb 1 23:30:58 ibook kernel: udev[15232]: get_sysfs_device: Really a partition
Feb 1 23:30:58 ibook kernel: udev[15232]: get_sysfs_device: device 14:0:0:0 is registered with bus 'scsi'
Feb 1 23:30:58 ibook kernel: udev[15232]: namedev_name_device: sysfs_device->path='/sys/devices/pci0001:01/0001:01:18.0/usb1/1-1/1-1:1.0/host14/14:0:0:0'
Feb 1 23:30:58 ibook kernel: udev[15232]: namedev_name_device: sysfs_device->bus_id='14:0:0:0'
Feb 1 23:30:58 ibook kernel: udev[15232]: namedev_name_device: sysfs_device->bus='scsi'
Feb 1 23:30:58 ibook kernel: udev[15232]: wait_for_device_to_initialize: looking for file 'vendor' on bus 'scsi'
Feb 1 23:30:58 ibook kernel: udev[15232]: namedev_name_device: kernel_number='3'
Feb 1 23:30:58 ibook kernel: udev[15232]: namedev_name_device: process rule
Feb 1 23:30:58 ibook kernel: udev[15232]: match_rule: check for BUS dev->bus='scsi' sysfs_device->bus='scsi'
Feb 1 23:30:58 ibook kernel: udev[15232]: match_rule: BUS matches
Feb 1 23:30:58 ibook kernel: udev[15232]: match_rule: check PROGRAM
Feb 1 23:30:58 ibook kernel: udev[15232]: apply_format: substitute major number '8'
Feb 1 23:30:58 ibook kernel: udev[15232]: apply_format: substitute minor number '3'
Feb 1 23:30:58 ibook kernel: udev[15232]: execute_program: executing '/bin/echo a-8:3'
Feb 1 23:30:58 ibook kernel: udev[15232]: execute_program: result is 'a-8:3'
Feb 1 23:30:58 ibook kernel: udev[15232]: match_rule: PROGRAM returned successful
Feb 1 23:30:58 ibook kernel: udev[15232]: configured rule in '/etc/udev/udev.rules' at line 1 applied, 'sda3' becomes '%%k'
Feb 1 23:30:58 ibook kernel: udev[15232]: apply_format: substitute kernel name 'sda3'
Feb 1 23:30:58 ibook kernel: udev[15232]: apply_format: substitute part of result string 'a-8:3'
Feb 1 23:30:58 ibook kernel: udev[15232]: apply_format: requested part of result string not found
Feb 1 23:30:58 ibook kernel: udev[15232]: namedev_name_device: name, 'sda3' is going to have owner='root', group='disk', mode = 0660
Feb 1 23:30:58 ibook kernel: udev[15232]: udev_add_device: name='sda3'
Feb 1 23:30:58 ibook kernel: udev[15232]: creating device node '/dev/sda3'
Feb 1 23:30:58 ibook kernel: udev[15232]: create_node: mknod(/dev/sda3, 060660, 8, 3)
Feb 1 23:30:58 ibook kernel: udev[15232]: create_node: chmod(/dev/sda3, 060660)
Feb 1 23:30:58 ibook kernel: udev[15232]: create_node: specified user unknown 'root'
Feb 1 23:30:58 ibook kernel: udev[15232]: create_node: specified group unknown 'disk'
Feb 1 23:30:58 ibook kernel: udev[15232]: create_node: symlink '/dev/debug-scsi-1-a-8:3' to node 'sda3' requested
Feb 1 23:30:58 ibook kernel: udev[15232]: create_node: symlink(./sda3, /dev/debug-scsi-1-a-8:3)
Feb 1 23:30:58 ibook kernel: udev[15232]: create_node: symlink '/dev/debug-scsi-2-' to node 'sda3' requested
Feb 1 23:30:58 ibook kernel: udev[15232]: create_node: symlink(./sda3, /dev/debug-scsi-2-)
--
USB is for mice, FireWire is for men!
sUse lINUX ag, n√úRNBERG
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
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] 14+ messages in thread
end of thread, other threads:[~2004-02-01 22:48 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2004-02-01 22:48 ` Olaf Hering
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).