FreeBSD-4.9.0-release, "page fault while in kernel mode"

John Baldwin jhb at FreeBSD.org
Wed Nov 5 15:17:33 PST 2003


On 04-Nov-2003 Juan Rodriguez Hervella wrote:
> Hello,
> 
> I've got this fault when my machine was rebooting.
> 
> Fortunately I've got the "kernel.0" and "vmcore.0"
> files on /var/crash. 
> 
> If you need more info please ask me, I'm not an expert
> on kgdb....
> 
> PS: If you want more info, reply to me directly because I'm not subscribe to 
> the list !
> 
> Thanks!
> 
> 
> Fatal trap 12: page fault while in kernel mode
> fault virtual address   = 0x70
> fault code              = supervisor read, page not present
> instruction pointer     = 0x8:0xc025577c
> stack pointer           = 0x10:0xc0461628
> frame pointer           = 0x10:0xc046164c
> 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         = Idle
> interrupt mask          = net tty bio cam
> trap number             = 12
> panic: page fault
> 
> syncing disks...

BTW, if you have a kernel.debug for this kernel, if you can pop into
gdb and do 'l *0xc02577c' that might help figure out where it is breaking
and help it get fixed.   If you don't have a kernel.debug (kernel built
with config -g) but this is easily reproducible, then you can build a debug
kernel, reproduce it, and use the instruction pointer address for the
first fault from that panic in the gdb command instead.

-- 

John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


More information about the freebsd-bugs mailing list