* timeout in wait_for_sysfs
@ 2004-11-22 4:22 Tom Holroyd
2004-11-22 6:10 ` Kay Sievers
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Tom Holroyd @ 2004-11-22 4:22 UTC (permalink / raw)
To: linux-hotplug
2.6.9-1.678_FC3, yum-updated as of 11/20, including new udev and kernel.
I plugged this USB flash disk in (bus 3 dev 2):
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 090a:1941 Trumpion Microelectronics, Inc.
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 002: ID 058f:9254 Alcor Micro Corp. Hub
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
It got successfully mounted, type vfat. I umounted it, and removed the device.
Then I plugged it in again, and got these timeouts. 100% reproducible, also
with the stock FC3 kernel.
Nov 21 23:08:01 kaiba kernel: usb 3-2: new full speed USB device using address 2
Nov 21 23:08:02 kaiba kernel: SCSI subsystem initialized
Nov 21 23:08:02 kaiba kernel: Initializing USB Mass Storage driver...
Nov 21 23:08:02 kaiba kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Nov 21 23:08:02 kaiba kernel: Vendor: WD Model: Flash Disk Rev: 2000
Nov 21 23:08:02 kaiba kernel: Type: Direct-Access ANSI SCSI revision: 02
Nov 21 23:08:02 kaiba kernel: usbcore: registered new driver usb-storage
Nov 21 23:08:02 kaiba kernel: USB Mass Storage support registered.
Nov 21 23:08:02 kaiba scsi.agent[3725]: disk at /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host0/0:0:0:0
Nov 21 23:08:02 kaiba kernel: SCSI device sda: 256000 512-byte hdwr sectors (131 MB)
Nov 21 23:08:02 kaiba kernel: sda: Write Protect is off
Nov 21 23:08:02 kaiba kernel: sda: assuming drive cache: write through
Nov 21 23:08:02 kaiba kernel: sda: sda1
Nov 21 23:08:02 kaiba kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Nov 21 23:08:03 kaiba fstab-sync[3800]: added mount point /media/NO_NAME for /dev/sda1
Nov 21 23:08:03 kaiba kernel: SELinux: initialized (dev sda1, type vfat), uses genfs_contexts
At this point I did umount /media/NO_NAME, and removed the device ...
Nov 21 23:09:48 kaiba kernel: usb 3-2: USB disconnect, address 2
Nov 21 23:09:48 kaiba fstab-sync[3935]: removed mount point /media/NO_NAME for /dev/sda1
... and then plugged it in again.
Nov 21 23:10:03 kaiba kernel: usb 3-2: new full speed USB device using address 3
Nov 21 23:10:03 kaiba kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Nov 21 23:10:03 kaiba kernel: Vendor: WD Model: Flash Disk Rev: 2000
Nov 21 23:10:03 kaiba kernel: Type: Direct-Access ANSI SCSI revision: 02
Nov 21 23:10:03 kaiba kernel: SCSI device sda: 256000 512-byte hdwr sectors (131 MB)
Nov 21 23:10:03 kaiba kernel: sda: Write Protect is off
Nov 21 23:10:03 kaiba kernel: sda: assuming drive cache: write through
Nov 21 23:10:05 kaiba hald[2675]: Timed out waiting for hotplug event 323. Rebasing to 325
Nov 21 23:10:08 kaiba kernel: sda:<4>usb 3-2: control timeout on ep0in
Nov 21 23:10:08 kaiba wait_for_sysfs[3959]: either wait_for_sysfs (udev 039) needs an update to handle the device '/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0' properly (no bus device link) or the sysfs-support of your device's driver needs to be fixed, please report to <linux-hotplug-devel@lists.sourceforge.net>
Nov 21 23:10:08 kaiba wait_for_sysfs[3965]: either wait_for_sysfs (udev 039) needs an update to handle the device '/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host1/1:0:0:0' properly (no bus device link) or the sysfs-support of your device's driver needs to be fixed, please report to <linux-hotplug-devel@lists.sourceforge.net>
Nov 21 23:10:08 kaiba wait_for_sysfs[3967]: either wait_for_sysfs (udev 039) needs an update to handle the device '/block/sda' properly (no bus device link) or the sysfs-support of your device's driver needs to be fixed, please report to <linux-hotplug-devel@lists.sourceforge.net>
Nov 21 23:10:13 kaiba kernel: usb 3-2: control timeout on ep0in
Nov 21 23:10:18 kaiba kernel: usb 3-2: control timeout on ep0in
Nov 21 23:10:18 kaiba hal.hotplug[3975]: timout(10000 ms) waiting for /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0
Nov 21 23:10:18 kaiba hal.hotplug[3977]: timout(10000 ms) waiting for /devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host1/1:0:0:0
Nov 21 23:10:23 kaiba kernel: usb 3-2: control timeout on ep0in
Nov 21 23:10:28 kaiba kernel: usb 3-2: control timeout on ep0in
Nov 21 23:10:28 kaiba scsi.agent[3992]: Attribute /sys/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host1/1:0:0:0/type does not exist
Nov 21 23:10:33 kaiba kernel: usb 3-2: control timeout on ep0in
Nov 21 23:10:38 kaiba kernel: usb 3-2: control timeout on ep0in
Here I removed the device again ...
Nov 21 23:10:40 kaiba kernel: SCSI error : <1 0 0 0> return code = 0x70000
Nov 21 23:10:40 kaiba kernel: end_request: I/O error, dev sda, sector 0
Nov 21 23:10:40 kaiba kernel: Buffer I/O error on device sda, logical block 0
Nov 21 23:10:40 kaiba kernel: SCSI error : <1 0 0 0> return code = 0x70000
Nov 21 23:10:40 kaiba kernel: end_request: I/O error, dev sda, sector 0
Nov 21 23:10:40 kaiba kernel: Buffer I/O error on device sda, logical block 0
Nov 21 23:10:40 kaiba kernel: SCSI error : <1 0 0 0> return code = 0x70000
Nov 21 23:10:40 kaiba kernel: end_request: I/O error, dev sda, sector 255992
Nov 21 23:10:40 kaiba kernel: Buffer I/O error on device sda, logical block 31999
Nov 21 23:10:40 kaiba kernel: SCSI error : <1 0 0 0> return code = 0x70000
Nov 21 23:10:40 kaiba kernel: end_request: I/O error, dev sda, sector 255992
Nov 21 23:10:40 kaiba kernel: Buffer I/O error on device sda, logical block 31999
Nov 21 23:10:40 kaiba kernel: SCSI error : <1 0 0 0> return code = 0x70000
Nov 21 23:10:40 kaiba kernel: end_request: I/O error, dev sda, sector 0
Nov 21 23:10:40 kaiba kernel: Buffer I/O error on device sda, logical block 0
Nov 21 23:10:40 kaiba kernel: unable to read partition table
Nov 21 23:10:40 kaiba kernel: Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
Nov 21 23:10:41 kaiba kernel: usb 3-2: USB disconnect, address 3
Nov 21 23:10:54 kaiba su(pam_unix)[4141]: session opened for user root by tomh(uidP0)
Nov 21 23:11:00 kaiba shutdown: shutting down for system reboot
Nov 21 23:11:00 kaiba init: Switching to runlevel: 6
... and rebooted.
Dr. Tom Holroyd
"A man of genius makes no mistakes. His errors are volitional and
are the portals of discovery." -- James Joyce
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
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] 4+ messages in thread
* Re: timeout in wait_for_sysfs
2004-11-22 4:22 timeout in wait_for_sysfs Tom Holroyd
@ 2004-11-22 6:10 ` Kay Sievers
2004-11-22 12:35 ` Tom Holroyd
2004-11-22 15:15 ` Kay Sievers
2 siblings, 0 replies; 4+ messages in thread
From: Kay Sievers @ 2004-11-22 6:10 UTC (permalink / raw)
To: linux-hotplug
On Sun, 2004-11-21 at 23:22 -0500, Tom Holroyd wrote:
> 2.6.9-1.678_FC3, yum-updated as of 11/20, including new udev and kernel.
>
> I plugged this USB flash disk in (bus 3 dev 2):
> It got successfully mounted, type vfat. I umounted it, and removed the device.
> Then I plugged it in again, and got these timeouts. 100% reproducible, also
> with the stock FC3 kernel.
> Nov 21 23:09:48 kaiba fstab-sync[3935]: removed mount point /media/NO_NAME for /dev/sda1
>
> ... and then plugged it in again.
> Nov 21 23:10:08 kaiba wait_for_sysfs[3959]: either wait_for_sysfs (udev 039) needs an update to handle the device '/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0' properly (no bus device link) or the sysfs-support of your device's driver needs to be fixed, please report to <linux-hotplug-devel@lists.sourceforge.net>
> Nov 21 23:10:08 kaiba wait_for_sysfs[3965]: either wait_for_sysfs (udev 039) needs an update to handle the device '/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0/host1/1:0:0:0' properly (no bus device link) or the sysfs-support of your device's driver needs to be fixed, please report to <linux-hotplug-devel@lists.sourceforge.net>
> Nov 21 23:10:08 kaiba wait_for_sysfs[3967]: either wait_for_sysfs (udev 039) needs an update to handle the device '/block/sda' properly (no bus device link) or the sysfs-support of your device's driver needs to be fixed, please report to <linux-hotplug-devel@lists.sourceforge.net>
Other users reported the same problem here. You may try:
eject <device>
before you unplug the device.
Do you have anything running which has files opened on the device,
something like fam?
Kay
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
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] 4+ messages in thread
* Re: timeout in wait_for_sysfs
2004-11-22 4:22 timeout in wait_for_sysfs Tom Holroyd
2004-11-22 6:10 ` Kay Sievers
@ 2004-11-22 12:35 ` Tom Holroyd
2004-11-22 15:15 ` Kay Sievers
2 siblings, 0 replies; 4+ messages in thread
From: Tom Holroyd @ 2004-11-22 12:35 UTC (permalink / raw)
To: linux-hotplug
On Mon, 22 Nov 2004, Kay Sievers wrote:
> On Sun, 2004-11-21 at 23:22 -0500, Tom Holroyd wrote:
> > 2.6.9-1.678_FC3, yum-updated as of 11/20, including new udev and kernel.
> > Nov 21 23:10:08 kaiba wait_for_sysfs[3967]: either wait_for_sysfs (udev 039) needs an update to handle the device '/block/sda' properly (no bus device link) or the sysfs-support of your device's driver needs to be fixed, please report to <linux-hotplug-devel@lists.sourceforge.net>
>
> Other users reported the same problem here. You may try:
> eject <device>
>
> before you unplug the device.
OK, I su'ed (eject didn't work otherwise), and said
'eject /media/NO_NAME' -- it unmounted, and I unplugged it,
then plugged it back in.
Same error as before.
> Do you have anything running which has files opened on the device,
> something like fam?
No; it doesn't let me unmount it if I do.
I found that if I rmmod the usb_storage, and scsi modules, then
it does NOT give me the error when I plug it in the second time.
It didn't automount right away, though. I think the disk-mounter
panel applet mounted it about 10 seconds later...
Yeah, all I need to remove is usb_storage, and when I plug it in
again it's fine. Automounts OK too if the scsi modules are still
in there.
Dr. Tom Holroyd
"A man of genius makes no mistakes. His errors are volitional and
are the portals of discovery." -- James Joyce
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
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] 4+ messages in thread
* Re: timeout in wait_for_sysfs
2004-11-22 4:22 timeout in wait_for_sysfs Tom Holroyd
2004-11-22 6:10 ` Kay Sievers
2004-11-22 12:35 ` Tom Holroyd
@ 2004-11-22 15:15 ` Kay Sievers
2 siblings, 0 replies; 4+ messages in thread
From: Kay Sievers @ 2004-11-22 15:15 UTC (permalink / raw)
To: linux-hotplug
On Mon, 2004-11-22 at 07:35 -0500, Tom Holroyd wrote:
> On Mon, 22 Nov 2004, Kay Sievers wrote:
>
> > On Sun, 2004-11-21 at 23:22 -0500, Tom Holroyd wrote:
> > > 2.6.9-1.678_FC3, yum-updated as of 11/20, including new udev and kernel.
> > > Nov 21 23:10:08 kaiba wait_for_sysfs[3967]: either wait_for_sysfs (udev 039) needs an update to handle the device '/block/sda' properly (no bus device link) or the sysfs-support of your device's driver needs to be fixed, please report to <linux-hotplug-devel@lists.sourceforge.net>
> >
> > Other users reported the same problem here. You may try:
> > eject <device>
> >
> > before you unplug the device.
>
> OK, I su'ed (eject didn't work otherwise), and said
> 'eject /media/NO_NAME' -- it unmounted, and I unplugged it,
> then plugged it back in.
>
> Same error as before.
You may try "eject /dev/sda". Some people reported that this was
working.
> > Do you have anything running which has files opened on the device,
> > something like fam?
>
> No; it doesn't let me unmount it if I do.
>
> I found that if I rmmod the usb_storage, and scsi modules, then
> it does NOT give me the error when I plug it in the second time.
> It didn't automount right away, though. I think the disk-mounter
> panel applet mounted it about 10 seconds later...
>
> Yeah, all I need to remove is usb_storage, and when I plug it in
> again it's fine. Automounts OK too if the scsi modules are still
> in there.
Yes, seems like a kernel bug. There is currently no fix for it. You may
look here:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id\x136255
Thanks,
Kay
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
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] 4+ messages in thread
end of thread, other threads:[~2004-11-22 15:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-22 4:22 timeout in wait_for_sysfs Tom Holroyd
2004-11-22 6:10 ` Kay Sievers
2004-11-22 12:35 ` Tom Holroyd
2004-11-22 15:15 ` Kay Sievers
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).