[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sysvinit-devel] init hangs on select()
From: |
Dr. Werner Fink |
Subject: |
Re: [sysvinit-devel] init hangs on select() |
Date: |
Fri, 28 Jan 2011 13:32:04 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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
--
System V style init programs - http://savannah.nongnu.org/projects/sysvinit/