From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Tue, 04 May 2010 23:41:36 +0000 Subject: Re: udevd hang Message-Id: <20100504234136.GA11762@kroah.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, May 04, 2010 at 04:14:03PM -0700, Kyle Hubert wrote: > On Tue, May 4, 2010 at 3:41 PM, Greg KH 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