Messages in this thread | | | Date | Thu, 11 Sep 2008 19:57:08 -0700 | From | Andrew Morton <> | Subject | Re: [Bugme-new] [Bug 11543] New: kernel panic: softlockup in tick_periodic() ??? |
| |
On Thu, 11 Sep 2008 16:54:58 -1000 j_kernel@hoblitt.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.
| |