Re: system gets stuck in a lock during boot
From: Steven Rostedt
Date: Mon Oct 05 2009 - 21:21:37 EST
On Mon, 2009-10-05 at 18:00 -0700, Justin P. Mattock wrote:
> Justin Mattock wrote:
> o.k. I put back on that system, and
> hit the error. I add your patch to 2.6.31-rc6,
> and the latest git(a few days old).
> I still am hitting this, but with your patch
> I'm able to see the beginning of this panic:
> (Ill write it manually)
>
> [ 2.523966] kernel panic - not syncing: No init found. try passing
> init= option
> to the kernel
> [ 2.524394] Pid: 1, comm: swapper Not tainted 2.6.31-rc6 #6
> [ 2.524633] Call Trace:
> [ 2.524875] [<ffffffff813a5b72>] panic+0x75/0x120
> [ 2.525119] [<ffffffff8100910f>] init_post+0xef/0xf5
Strange. This panic is just telling you it could not find an "init" to
execute.
-- Steve
> [ 2.525357] [<ffffffff815f6cf0>] kernel_init+0x198/0x1a3
> [ 2.525600] [<ffffffff8102410a>] child_rip+0xa/0x20
> [ 2.525842] [<ffffffff815f6b58>] ? kernel_init+0x0/0x1a3
> [ 2.526084] [>ffffffff810224100>] ? child_rip+0x0/0x20
>
> Seems I only hit this with using gcc 4.5.0 and compiling
> sysvinit with SELinux support to load the policy at boot.
> (here's the patch I used
> http://readlist.com/lists/tycho.nsa.gov/selinux/3/15451.html).
>
> Sound's like gcc is doing something(correct me if I'm
> wrong) because the other systems I have are using the same
> packages except for and older version of gcc.
> maybe I should update sysvinit with a better patch to load the policy.
>
> Justin P. Mattock
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/