Re: [Bugme-new] [Bug 11543] New: kernel panic: softlockup intick_periodic() ???

From: Andrew Morton
Date: Thu Sep 11 2008 - 22:58:22 EST


On Thu, 11 Sep 2008 16:54:58 -1000 j_kernel@xxxxxxxxxxx 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/