From: Peter Zijlstra <a.p.zijlstra@chello.nl>
To: Dave Hansen <haveblue@us.ibm.com>
Cc: Tilman Schmidt <tilman@imap.cc>,
Eric Piel <eric.piel@tremplin-utc.net>,
Andrew Morton <akpm@linux-foundation.org>,
linux-kernel@vger.kernel.org, Thomas Renninger <trenn@suse.de>,
Len Brown <len.brown@intel.com>,
Linus Torvalds <torvalds@osdl.org>,
Christoph Hellwig <hch@infradead.org>,
Markus Gaugusch <dsdt@gaugusch.at>,
linux-acpi@vger.kernel.org, Al Viro <viro@ZenIV.linux.org.uk>
Subject: Re: [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot
Date: Mon, 17 Mar 2008 13:23:35 +0100 [thread overview]
Message-ID: <1205756615.8514.311.camel@twins> (raw)
In-Reply-To: <1205698279.8167.44.camel@nimitz.home.sr71.net>
On Sun, 2008-03-16 at 13:11 -0700, Dave Hansen wrote:
> > ACPI: Core revision 20070126
> > +INFO: trying to register non-static key.
> > +the code is fine but needs lockdep annotation.
> > +turning off the locking correctness validator.
> > +Pid: 0, comm: swapper Not tainted 2.6.25-rc5-mm1-testing #3
> > + [<c014321e>] __lock_acquire+0x144/0xb6e
> > + [<c010b1a2>] ? native_sched_clock+0xe0/0xff
> > + [<c017fc57>] ? kmem_cache_alloc+0x89/0xc9
> > + [<c0142ce0>] ? trace_hardirqs_on+0xe8/0x11d
> > + [<c014404f>] lock_acquire+0x6a/0x90
> > + [<c013b460>] ? down_trylock+0xc/0x27
> > + [<c03016cb>] _spin_lock_irqsave+0x42/0x72
> > + [<c013b460>] ? down_trylock+0xc/0x27
> > + [<c013b460>] down_trylock+0xc/0x27
> > + [<c021fa65>] acpi_os_wait_semaphore+0x67/0x13d
> > + [<c023a39e>] acpi_ut_acquire_mutex+0x65/0xcf
> > + [<c0230261>] acpi_ns_root_initialize+0x1a/0x289
> > + [<c043ad54>] acpi_initialize_subsystem+0x47/0x6a
> > + [<c043afd4>] acpi_early_init+0x57/0xf8
> > + [<c04248ff>] start_kernel+0x34d/0x35a
> > + [<c0424019>] i386_start_kernel+0x8/0xa
> > + =======================
> > ACPI: Checking initramfs for custom DSDT
> > Parsing all Control Methods:
> > Table [DSDT](id 0001) - 637 Objects with 63 Devices 160 Methods 41
> > Regions
>
> Hi Tim,
>
> Again, thanks for the excellent bug reporting.
>
> This is actually a different problem (and not my code again, thank
> goodness). I think a few of these got fixed in current -mm. According
> to Peter Z, these mean:
>
> > It means the lock_class_key ended up in non-static storage.
> >
> > In practise it often means you initialized a on-stack structure
> > incorrectly. DECLARE_WAIT_QUEUE_HEAD() vs
> > DECLARE_WAIT_QUEUE_HEAD_ONSTACK() for example.
>
> So, this looks like an on-stack ACPI structure that got initialized
> wrongly. At least we already have those dudes on the cc. :)
Actually looks like the semaphore thing again, its a spinlock inside of
down_tylock().
> But, this might also get fixed by reverting the patch as Linus just did.
> It might just be best to wait for another -mm release and see how it
> settles out.
Looks like another of the semaphore thingies.. Does this go away once
you apply the semaphore lockdep fixup from here:
http://lkml.org/lkml/2008/3/12/63
next prev parent reply other threads:[~2008-03-17 12:23 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20080311011434.ad8c8d7d.akpm@linux-foundation.org>
2008-03-12 1:14 ` 2.6.25-rc5-mm1 Dave Young
[not found] ` <47D87238.8080305@imap.cc>
[not found] ` <20080313183439.GA12798@suse.de>
2008-03-13 19:57 ` [2.6.25-rc5-mm1] WARNING: at drivers/base/sys.c:173 Dave Jones
[not found] ` <20080313195656.GA32463@codemonkey.org.uk>
2008-03-14 0:01 ` Tilman Schmidt
2008-03-14 0:44 ` Dave Jones
2008-03-14 0:57 ` Zhao Yakui
2008-03-14 9:58 ` Tilman Schmidt
2008-03-15 12:16 ` Tilman Schmidt
[not found] ` <47D86D43.2060108@imap.cc>
[not found] ` <1205441216.4971.65.camel@nimitz.home.sr71.net>
[not found] ` <47D9C853.3040701@imap.cc>
[not found] ` <1205517802.12763.18.camel@nimitz.home.sr71.net>
2008-03-14 20:06 ` [2.6.25-rc5-mm1] BUG: spinlock bad magic early during boot Dave Hansen
2008-03-14 20:20 ` Linus Torvalds
2008-03-14 20:51 ` Eric Piel
2008-03-14 21:35 ` Dave Hansen
2008-03-14 22:50 ` Eric Piel
2008-03-14 23:29 ` Dave Hansen
2008-03-15 12:47 ` Tilman Schmidt
2008-03-15 19:21 ` Linus Torvalds
2008-03-15 19:42 ` Éric Piel
2008-03-15 20:19 ` Linus Torvalds
2008-03-16 0:15 ` Éric Piel
2008-03-17 17:27 ` Len Brown
[not found] ` <1205858252.21619.233.camel@queen.suse.de>
2008-03-18 20:32 ` Len Brown
2008-03-20 14:28 ` Thomas Renninger
2008-03-17 17:59 ` Len Brown
2008-03-21 13:17 ` Pavel Machek
2008-03-23 16:00 ` Dave Hansen
2008-03-24 16:03 ` Pavel Machek
2008-03-24 17:05 ` Eric Piel
2008-03-24 17:19 ` Pavel Machek
2008-03-24 17:23 ` Dave Hansen
2008-03-27 9:23 ` Helge Hafting
2008-03-17 18:05 ` Len Brown
2008-03-16 20:11 ` Dave Hansen
2008-03-17 12:23 ` Peter Zijlstra [this message]
2008-03-19 23:50 ` Tilman Schmidt
2008-03-17 17:48 ` Len Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1205756615.8514.311.camel@twins \
--to=a.p.zijlstra@chello.nl \
--cc=akpm@linux-foundation.org \
--cc=dsdt@gaugusch.at \
--cc=eric.piel@tremplin-utc.net \
--cc=haveblue@us.ibm.com \
--cc=hch@infradead.org \
--cc=len.brown@intel.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tilman@imap.cc \
--cc=torvalds@osdl.org \
--cc=trenn@suse.de \
--cc=viro@ZenIV.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox