sysvinit-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sysvinit-devel] init hangs on select()


From: Jason
Subject: Re: [sysvinit-devel] init hangs on select()
Date: Mon, 31 Jan 2011 11:35:34 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7

On 1/28/2011 5:32 AM, Dr. Werner Fink wrote:
On Thu, Jan 27, 2011 at 01:33:45PM -0700, Jason wrote:
I went from kernel 2.6.23.5 to 2.6.37 and init hangs before
switching to run level 3.  It executes all initial system scripts
via "rc sysinit" at sysinit runlevel but never switches to run level
3 which is my initdefault.  This was first seen with sysvinit-2.86
so I upgraded to sysvinit-2.88dsf and still I have the same issue.

I then enabled debug and added my own debug statements and found
that it's hanging on select() inside check_init_fifo().  Why would
select() hang when it has a five second timeout set?

Kernels 2.6.23.17 and 2.6.25.20 work fine.  Kernels 2.6.35.10,
2.6.37, 2.6.38-rc1 all have the init hang issue.

I am compiling init on a 2.6.23.5 system so I don't know if that is
an issue or not.  The system has gcc 4.0.1 and glibc-2.3.5.  Is
there a requirement to have glibc compiled against newer kernel
headers?
IMHO this could be also a kernel problem. On the other hand
here we have 2.6.37 around with glibc 2.11.3 in this does boot
with sysvinit 2.88dsf all conmpiled with gcc 4.5.1

    Werner
It looks like it has something to do with udev. If I use the kernel option CONFIG_SYSFS_DEPRECATED, sysvinit does not hang on kernel 2.6.35.10 and earlier but still hangs with 2.6.37 or 2.6.38-rc1. I tried to update udevd but my glibc is too old. So at this point I would say my only option is to rebuild my Linux system with an updated toolchain.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]