[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080911195708.f975e9b6.akpm@linux-foundation.org>
Date: Thu, 11 Sep 2008 19:57:08 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: j_kernel@...litt.com
Cc: linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...e.hu>,
Thomas Gleixner <tglx@...utronix.de>,
bugme-daemon@...zilla.kernel.org
Subject: Re: [Bugme-new] [Bug 11543] New: kernel panic: softlockup in
tick_periodic() ???
On Thu, 11 Sep 2008 16:54:58 -1000 j_kernel@...litt.com wrote:
> > The panic code called the kexec code which called mutex_trylock() which
> > called spin_lock_mutex() which then stupidly went and blurted a load of
> > debug stuff because of in_interrupt().
> >
> > Something like this:
> >
> > --- a/include/linux/debug_locks.h~a
> > +++ a/include/linux/debug_locks.h
> > @@ -17,7 +17,7 @@ extern int debug_locks_off(void);
> > ({ \
> > int __ret = 0; \
> > \
> > - if (unlikely(c)) { \
> > + if (!oops_in_progress && unlikely(c)) { \
> > if (debug_locks_off() && !debug_locks_silent) \
> > WARN_ON(1); \
> > __ret = 1; \
> > _
> >
> > might prevent the debugging code from preventing us from finding bugs :(
>
> Do you want me to give that patch a try or sit tight for a bit?
It's be good if you can try it please, see if we can get a cleaner
trace.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists