Bug 182645 - 05-udev-early rules needs updating
Summary: 05-udev-early rules needs updating
Alias: None
Product: Fedora
Classification: Fedora
Component: udev
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact:
Depends On:
Blocks: FC5Blocker
TreeView+ depends on / blocked
Reported: 2006-02-23 20:39 UTC by David Zeuthen
Modified: 2013-03-06 03:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2006-03-01 16:30:51 UTC
Type: ---

Attachments (Terms of Use)

Description David Zeuthen 2006-02-23 20:39:50 UTC
I'm using

 Kernel 2.6.15-1.1975_FC5
 udev 084-4

It seems this kernel no longer export 'bus' symlinks in sysfs but we didn't
update udev to wait for other files. Result we send the hotplug further up the
stack before the files we need are ready. This means hald pukes on my USB stick

15:36:34.027 [E] util.c:463: Cannot open
15:36:34.028 [E] util.c:463: Cannot open
15:36:34.029 [E] util.c:322: Cannot open

Of course, extra points for fixing the kernel to not send out events before all
sysfs files are actually ready. But I'll settle for some updated udev rules instead.

I'm marking this is a FC5 Blocker as it breaks hotplugging USB sticks. I'm also
marking this as high priority.


Comment 1 David Zeuthen 2006-02-23 20:44:42 UTC
Adding kernel folks as this is probably due to kernel ABI 'breakage'

Comment 2 David Zeuthen 2006-02-23 21:24:43 UTC
Reverting back to udev-084-1.1 made things work for me.

Comment 3 David Zeuthen 2006-02-23 21:40:37 UTC
Changing summary to something more appropriate.

Comment 4 Sammy 2006-02-23 23:06:13 UTC
I am seeing the same thing on old kernel FC5test2 kernel on two machines.
Going back to the FC5test2 udev fixes it. It is breaking some scsi stuff
too in addition to usb mouse.

Comment 6 Harald Hoyer 2006-02-24 07:32:32 UTC
> Reverting back to udev-084-1.1 made things work for me.


* Tue Jan 24 2006 Harald Hoyer <harald@redhat.com> - 078-7
- put WAIT_FOR_SYSFS rules in 05-udev-early.rules

Comment 7 Harald Hoyer 2006-02-24 07:36:59 UTC
Diff from udev-084-1.1 to current udev... This means we have to wait for usb
devices, too, which fails on some devices.

-ACTION=="add", DEVPATH=="/devices/*", ENV{PHYSDEVBUS}=="?*", WAIT_FOR_SYSFS="b
+ACTION=="add", DEVPATH=="/devices/*", DEVPATH!="*usb*", ENV{PHYSDEVBUS}=="?*",

Comment 8 Harald Hoyer 2006-02-24 07:40:42 UTC
> It is breaking some scsi stuff too in addition to usb mouse.

Details please!

Comment 10 Harald Hoyer 2006-02-24 14:04:24 UTC
on the other side, there is bug #182723

Comment 11 Harald Hoyer 2006-02-24 16:04:29 UTC
and bug #182674

Note You need to log in before you can comment on or make changes to this bug.