Re: Kernel Panic

From: Robert Watson <rwatson_at_FreeBSD.org>
Date: Mon, 12 Jun 2006 19:47:32 +0100 (BST)
On Mon, 12 Jun 2006, Lars Engels wrote:

> During the last weeks I am getting sporadic kernel panics. It seems that 
> they only occur when I am using X. I didn't get any when I was on the 
> console.
>
> I attached the kgdb output and can give additional information when it's 
> needed.
>
> Thanks in advance,

Lars,

It looks like there is a problem with the stack trace from kgdb.  Is there any 
chance your kernel and kernel.debug are out of sync?

> Fatal trap 18: integer divide fault while in kernel mode
> instruction pointer     = 0x20:0xc0a480a9
> stack pointer           = 0x28:0xe39e9b00
> frame pointer           = 0x28:0xe39e9b44
> code segment            = base 0x0, limit 0xfffff, type 0x1b
>                         = DPL 0, pres 1, def32 1, gran 1
> processor eflags        = interrupt enabled, resume, IOPL = 0
> current process         = 8029 (sysctl)
> trap number             = 18
> panic: integer divide fault
> Uptime: 3m13s
> Physical memory: 1006 MB

Does this box have a serial port?  If so, you might want to try setting up a 
serial console for it with a null modem cable to an adjacent box.  DDB may be 
able to get a more reliable stack trace than the kernel dump.  Looks like a 
bug in some or another sysctl handler -- a stack trace from DDB may be 
sufficient to debug it without a working core.

Robert N M Watson
Computer Laboratory
Universty of Cambridge
Received on Mon Jun 12 2006 - 16:47:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:57 UTC