Re: [crash] BUG: unable to handle kernel NULL pointer dereferenceat 0000000000000370

From: Larry Finger
Date: Mon Jul 21 2008 - 16:28:44 EST


Linus Torvalds wrote:

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.

Thanks for the explanation.

With your latest tree, I do get the warning. Unfortunately, it still breaks my wireless and I still need to do the bisection. That is complicated by getting a kernel that won't build after the first try. I think I now have a workaround.

Larry
--
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/