All of lore.kernel.org
 help / color / mirror / Atom feed
* Kernel 2.6.34-2.6.38.4: Intermittently hang on boot in kernel/irq/autoprobe?
@ 2011-04-27  2:33 Tim Burress
  0 siblings, 0 replies; only message in thread
From: Tim Burress @ 2011-04-27  2:33 UTC (permalink / raw)
  To: linux-kernel

Hello,

I've been seeing an occasional problem in which the kernel hangs very 
early in the boot process. Just inserting printk()'s it seems that this 
occurs in kernel/irq/autoprobe.c, function probe_irq_on() in the loop 
immediately after the comment

         /*
          * enable any unassigned irqs
          * (we must startup again here because if a longstanding irq
          * happened in the previous stage, it may have masked itself)
          */

This occurs the first time the function is called during boot. I first 
noticed it in 2.6.34 but then it seemed to disappear after upgrading to 
the (then current) 2.6.37.2. But then after a while I started seeing it 
again, perhaps once every 15 reboots. I've since rebuild with 2.6.38.4 
and some of the lock debugging options turned on:

CONFIG_LOCKUP_DETECTOR=y
CONFIG_HARDLOCKUP_DETECTOR=y
# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_LOCK_ALLOC=y
CONFIG_PROVE_LOCKING=y
CONFIG_LOCKDEP=y
# CONFIG_LOCK_STAT is not set
# CONFIG_DEBUG_LOCKDEP is not set
CONFIG_DEBUG_SPINLOCK_SLEEP=y

but the problem remains (and I get no lock debugging output), so I 
thought I would post something.

The kernel is compiled with CONFIG_SMP but the hardware I'm testing on 
has a single, single-core (VIA Nehemiah) CPU. The hardware appears to 
have no NMI support, so that watchdog seems to be disabled on boot, and 
when the system hangs, it hangs forever. What's the best way to track 
this down? Or if there's information/tests that would be helpful, just 
let me know. Puzzling...

Thanks!

Tim


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-27  3:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-27  2:33 Kernel 2.6.34-2.6.38.4: Intermittently hang on boot in kernel/irq/autoprobe? Tim Burress

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.