linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* udevd should wait longer for sysfs
@ 2007-11-13 18:01 Jochen Eisinger
  2007-11-13 18:24 ` Kay Sievers
  0 siblings, 1 reply; 2+ messages in thread
From: Jochen Eisinger @ 2007-11-13 18:01 UTC (permalink / raw)
  To: linux-hotplug

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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: udevd should wait longer for sysfs
  2007-11-13 18:01 udevd should wait longer for sysfs Jochen Eisinger
@ 2007-11-13 18:24 ` Kay Sievers
  0 siblings, 0 replies; 2+ messages in thread
From: Kay Sievers @ 2007-11-13 18:24 UTC (permalink / raw)
  To: linux-hotplug

On Nov 13, 2007 7:01 PM, Jochen Eisinger <jochen@penguin-breeder.org> wrote:
> 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

> 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
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-13 18:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-13 18:01 udevd should wait longer for sysfs Jochen Eisinger
2007-11-13 18:24 ` 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).