Re: system gets stuck in a lock during boot

From: Steven Rostedt
Date: Tue Aug 18 2009 - 19:29:13 EST



On Tue, 18 Aug 2009, Justin Mattock wrote:

> On Tue, Aug 18, 2009 at 9:09 AM, Steven Rostedt<rostedt@xxxxxxxxxxx> wrote:
> > On Tue, Aug 18, 2009 at 12:49:06PM +0200, Frederic Weisbecker wrote:
> >> On Thu, Aug 13, 2009 at 08:42:21AM -0700, Justin P. Mattock wrote:
> >> > I posted already and had no reply,
> >> > I cannot boot my system with the latest git
> >> >
> >> > seems to be stuck in some lock:

BTW, it does not look like it got stuck in a lock. The backtrace shows
that it paniced inside event_create_dir due to a bad pointer.

> >> >
> >> > [   0.655640] [<ffffffff81440c33>] panic+0x84/0x129
> >> > [   0.655883] [<ffffffff81063f96>]  do_exit+0x84/0x67e
> >> > [   0.656125] [<ffffffff81445044>] oops_end+0x9c/0xb7
> >> > [   0.656368] [<ffffffff81044a6c>] no_context+0x200/0x223
> >> > [   0.656611] [<ffffffff81442d3d>] ? __mutex_lock_slowpath+0x226/0x249
> >> > [   0.656848] [<ffffffff81044c36>] __bad_area_nosemaphore+0x1a7/0x1e1
> >> > [   0.657097] [<ffffffff81442b01>]? mutex_unlock+0x1c/0x32
> >> > [   0.657097] [<ffffffff811ce094>] ? inode_doinit_with_dentry+0x533/0x5be
> >> > [   0.657579] [<ffffffff81443ee0>] ? _spin_unlock+0x1c/0x32
> >> > [   0.657822] [<ffffffff81044c91>] bad_area_nosemaphore+0x2a/0x40
> >> > [   0.658066] [<ffffffff811ce149>] ? selinux_d_instantiate+0x2a/0x40
> >> > [   0.658309] [<ffffffff8144687d>] do_page_fault+0x192/0x2dd
> >> > [   0.658549] [<ffffffff814444cf>] page_fault+0x1f/0x30
> >> > [   0.658791] [<ffffffff8120e856>] ? strcmp+0x17/0x46
> >> > [   0.659040] [<ffffffff810b9ca0>] event_create_dir+0x49/0x37b
> >>
> >>
> >>
> >> Ouch...
> >>
> >> I've never seen such panic. Could you send me your config, hopefully
> >> I could reproduce it?
> >
> > Send me the config too please.
> >
> > -- Steve
> >
> >
>
> yeah this happens with rc6 but not with rc5.
>
> The system is a linux from scratch build
> x86_64 I used these flags for building everything:
>
> CFLAGS=" -m64 -mtune=core2 -march=core2 -mfpmath=both -O2 -pipe
> -fomit-frame-pointer -fstack-protector" CXXFLAGS="${CFLAGS}" MAKEOPTS="{-j3}"
>
> also: I have a macbook(not x86_64) that is running rc6 that seems
> to be fine.(I can double check).
>
> attached is .config, dmesg as well.

BTW, how did you get the dmesg? Is it from a clean boot?

Since it works fine in -rc5 but breaks in -rc6, could you do a git bisect
on it? It shouldn't take too long.

Thanks,

-- Steve