Re: [crash] BUG: unable to handle kernel NULL pointer dereferenceat 0000000000000370
From: Linus Torvalds
Date: Mon Jul 21 2008 - 15:48:34 EST
On Mon, 21 Jul 2008, Larry Finger wrote:
> Yes, I'm chasing a distinct bug. The header for mine is
> Jul 21 12:19:37 larrylap kernel: kernel BUG at net/core/dev.c:1328!
Ok, that one is fixed now in my tree. Or at least it's turned into a
warning, so the machine should work.
> With an invalid opcode, mine is likely due to stack corruption.
No, invalid opcode is because we use the "ud2" instruction for BUG(),
which causes an invalid op exception. So any BUG[_ON]() will always cause
that on x86.
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/