* Re: udevd hang
2010-05-04 21:42 udevd hang Kyle Hubert
@ 2010-05-04 22:41 ` Greg KH
2010-05-04 23:14 ` Kyle Hubert
2010-05-04 23:41 ` Greg KH
2 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2010-05-04 22:41 UTC (permalink / raw)
To: linux-hotplug
On Tue, May 04, 2010 at 02:42:27PM -0700, Kyle Hubert wrote:
> I'm cross posting this:
>
> http://lkml.org/lkml/2010/5/4/8
>
> Can anyone help me? At the very least is there a way to stall the init
> script until udevd is fully up?
Use devtmpfs?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: udevd hang
2010-05-04 21:42 udevd hang Kyle Hubert
2010-05-04 22:41 ` Greg KH
@ 2010-05-04 23:14 ` Kyle Hubert
2010-05-04 23:41 ` Greg KH
2 siblings, 0 replies; 4+ messages in thread
From: Kyle Hubert @ 2010-05-04 23:14 UTC (permalink / raw)
To: linux-hotplug
On Tue, May 4, 2010 at 3:41 PM, Greg KH <greg@kroah.com> wrote:
> On Tue, May 04, 2010 at 02:42:27PM -0700, Kyle Hubert wrote:
>> I'm cross posting this:
>>
>> http://lkml.org/lkml/2010/5/4/8
>>
>> Can anyone help me? At the very least is there a way to stall the init
>> script until udevd is fully up?
>
> Use devtmpfs?
Well... cough cough, it's an older kernel. 2.6.32 was when devtmpfs
was merged, right? Upgrading the kernel isn't a solution right now,
for various reasons. Or, if devtmpfs is only 300 lines of code, truly,
then is it easy to backport?
Is there any way to have a barrier for when udev has walked /sys and
is fully up? I just don't like beating the race by inserting 'sleep
1'...
Thank you very much for your response.
-Kyle Hubert
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: udevd hang
2010-05-04 21:42 udevd hang Kyle Hubert
2010-05-04 22:41 ` Greg KH
2010-05-04 23:14 ` Kyle Hubert
@ 2010-05-04 23:41 ` Greg KH
2 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2010-05-04 23:41 UTC (permalink / raw)
To: linux-hotplug
On Tue, May 04, 2010 at 04:14:03PM -0700, Kyle Hubert wrote:
> On Tue, May 4, 2010 at 3:41 PM, Greg KH <greg@kroah.com> wrote:
> > On Tue, May 04, 2010 at 02:42:27PM -0700, Kyle Hubert wrote:
> >> I'm cross posting this:
> >>
> >> http://lkml.org/lkml/2010/5/4/8
> >>
> >> Can anyone help me? At the very least is there a way to stall the init
> >> script until udevd is fully up?
> >
> > Use devtmpfs?
>
> Well... cough cough, it's an older kernel. 2.6.32 was when devtmpfs
> was merged, right? Upgrading the kernel isn't a solution right now,
> for various reasons. Or, if devtmpfs is only 300 lines of code, truly,
> then is it easy to backport?
>
> Is there any way to have a barrier for when udev has walked /sys and
> is fully up? I just don't like beating the race by inserting 'sleep
> 1'...
Yes, read the man page for 'udevadm'
good luck,
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread