February 17, 2009

Linux debugging: Dazed and confused, but trying to continue

I got this rather curious kernel debug message, I assumed in was caused by my laptop going into standby, with a mounted sshfs share (using FUSE). But after reading the kernel source, it seems like it was caused by unplugging my Ethernet cable (with a mounted sshfs share(?))

It seems to be an ‘nmi-error’ found in the linux kernel at: 2.6.26-1-686/arch/x86/kernel/traps_32.c (Debian Lenny)

Kernel messages

static notrace __kprobes void mem_parity_error(unsigned char reason, struct pt_regs *regs)
  "Uhhuh. NMI received for unknown reason %02x on CPU %d.\n",
  reason, smp_processor_id());

  "You have some hardware problem, likely on the PCI bus.\n");

  #if defined(CONFIG_EDAC)
  if (edac_handler_set()) {

  if (panic_on_unrecovered_nmi)
    panic("NMI: Not continuing");

  printk(KERN_EMERG "Dazed and confused, but trying to continue\n");

  /* Clear and disable the memory parity error line. */