Skip to contentSkip to conversation

udevd should wait longer for sysfs

DISCUSSION Jochen Eisinger 2 participants 2 messages Nov 13, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

I experienced problems with automounting devices, and tracked it down to missing sysfs files during processing of udev events.

It turned out that udevd gave up waiting fir sysfs after 3 seconds, while sysfs took like 5 seconds.

I've increased this value to 10 seconds which fixed my problems. Maybe a better solution was to have this value configurable?

I'm using udev-113 btw.

regards
-- jochen

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 7 lines · Jochen Eisinger

I experienced problems with automounting devices, and tracked it down to missing sysfs files during processing of udev events.

It turned out that udevd gave up waiting fir sysfs after 3 seconds, while sysfs took like 5 seconds.

I've increased this value to 10 seconds which fixed my problems.

We did this more than 2 months ago:
http://git.kernel.org/?p=linux/hotplug/udev.git;a=commit;h9ea7c6c67de69379b603196a0eff6f7ce2e469a

Quoted 1 line

Maybe a better solution was to have this value configurable?

All WAIT_FOR_SYSFS need should be obsolete soon:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h¿d129445f23c037d9a440ebfa4109e11c220301

Kay

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel