From: "Justin Mattock" <justinmattock@gmail.com>
To: "Venki Pallipadi" <venkatesh.pallipadi@intel.com>
Cc: "Bob Copeland" <me@bobcopeland.com>,
"Ingo Molnar" <mingo@elte.hu>,
"Andrew Morton" <akpm@linux-foundation.org>,
"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
hugh@veritas.com
Subject: Re: spinlock lockup on CPU#0
Date: Mon, 28 Apr 2008 22:02:06 +0000 [thread overview]
Message-ID: <dd18b0c30804281502k694b30ferfd79217c1da458f0@mail.gmail.com> (raw)
In-Reply-To: <20080428203824.GA14044@linux-os.sc.intel.com>
On Mon, Apr 28, 2008 at 8:38 PM, Venki Pallipadi
<venkatesh.pallipadi@intel.com> wrote:
> On Sat, Apr 26, 2008 at 09:48:55PM +0000, Justin Mattock wrote:
> > On Sat, Apr 26, 2008 at 9:06 PM, Bob Copeland <me@bobcopeland.com> wrote:
> > > On Sat, Apr 26, 2008 at 3:14 PM, Ingo Molnar <mingo@elte.hu> wrote:
> > > > > Can you add this please, see if it triggers?
> > > >
> > > > there's fixes pending in this area. The main fix would be the one below.
> > > >
> > > > Ingo
> > > >
> > > > ---------------->
> > > > Subject: idle (arch, acpi and apm) and lockdep
> > >
> > > FWIW, I was seeing the same lockdep trace with eventual hangs, and
> > > this patch (applied with some fuzz) fixed the problem.
> > >
> > > --
> > > Bob Copeland %% www.bobcopeland.com
> > >
> >
> > Just out of curiosity I put the kernel back to it's original state,
> > were the freezing occurs, then booted with nohz=off, then added
> > WARN_ON(!irqs_disabled()); to sched.c only to the kernel, no other
> > patches, upon rebooting
> > I received different results: The screen from what I could tell was
> > spitting out the spinlock messages, but instead of printing that out,
> > and going on to the next task it just keep't printing, from what I
> > could tell something with ehci, uhci, agpgart, ieee1394 etc... too
> > fast to really make anything out, the numbers on the left side keept
> > moving upward, the fans started hauling ass, I waitied a few minuetes
> > hopeing this would stop
> > so I can grab dmesg, but it would'nt. is there a way to use the boot
> > param to write date to a file? so I could capture this event.
> > regards
> >
>
> OK. Hunted this bug down to
> commit 3b22ec7b13cb31e0d87fbc0aabe14caaaad309e8
>
> which for some reason enables interrupt in mwait_idle_with_hints(), which
> eventually causes interrupts to be enabled in acpi idle call, resulting in
> sched_clock_idle_wakeup_event() with interrupts enabled. This bug
> was only in x86 32 bit version.
>
> Peter's patch below which is already in git fixes this. So we don't need any
> additional fixes here...
>
> Thanks,
> Venki
>
>
Alright, I was concerned about having additional fixes.
regards;
--
Justin P. Mattock
next prev parent reply other threads:[~2008-04-28 22:02 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-24 1:41 Justin Mattock
2008-04-26 18:29 ` Andrew Morton
2008-04-26 18:39 ` Justin Mattock
2008-04-26 19:14 ` Ingo Molnar
2008-04-26 19:32 ` Justin Mattock
2008-04-26 21:06 ` Bob Copeland
2008-04-26 21:48 ` Justin Mattock
2008-04-28 20:38 ` Venki Pallipadi
2008-04-28 22:02 ` Justin Mattock [this message]
2008-04-26 23:04 ` Hugh Dickins
2008-04-26 21:33 Bernard Pidoux
2008-04-27 0:15 ` Bernard Pidoux
2008-04-27 2:00 ` Justin Mattock
2008-04-27 2:13 ` Bob Copeland
2008-04-27 2:20 ` Justin Mattock
2008-04-27 2:41 ` Bob Copeland
2008-04-27 6:11 ` Justin Mattock
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=dd18b0c30804281502k694b30ferfd79217c1da458f0@mail.gmail.com \
--to=justinmattock@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=hugh@veritas.com \
--cc=linux-kernel@vger.kernel.org \
--cc=me@bobcopeland.com \
--cc=mingo@elte.hu \
--cc=venkatesh.pallipadi@intel.com \
/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
all inboxes | Powered by JetHome®