Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755808AbZJFBU6 (ORCPT ); Mon, 5 Oct 2009 21:20:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754584AbZJFBU5 (ORCPT ); Mon, 5 Oct 2009 21:20:57 -0400 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.123]:57004 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753869AbZJFBU5 (ORCPT ); Mon, 5 Oct 2009 21:20:57 -0400 Subject: Re: system gets stuck in a lock during boot From: Steven Rostedt Reply-To: rostedt@goodmis.org To: "Justin P. Mattock" Cc: Ingo Molnar , Jason Baron , Peter Zijlstra , Li Zefan , Frederic Weisbecker , Linux Kernel Mailing List In-Reply-To: <4ACA96B9.7000909@gmail.com> References: <4A922F82.9080000@cn.fujitsu.com> <4A9251EB.8040805@gmail.com> <20090825085919.GB14003@elte.hu> <4A94803A.5060408@gmail.com> <20090826073351.GE23435@elte.hu> <4A9549E5.5020002@gmail.com> <20091002211211.GA2633@redhat.com> <20091004174113.GB24418@elte.hu> <4ACA96B9.7000909@gmail.com> Content-Type: text/plain Organization: Kihon Technologies Inc. Date: Mon, 05 Oct 2009 21:18:58 -0400 Message-Id: <1254791938.13160.211.camel@gandalf.stny.rr.com> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1693 Lines: 45 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] [] panic+0x75/0x120 > [ 2.525119] [] init_post+0xef/0xf5 Strange. This panic is just telling you it could not find an "init" to execute. -- Steve > [ 2.525357] [] kernel_init+0x198/0x1a3 > [ 2.525600] [] child_rip+0xa/0x20 > [ 2.525842] [] ? 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/