Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Jan 2008 01:36:26 +0200
From:      Zinevich Denis <link@ngc.net.ua>
To:        freebsd-questions@freebsd.org
Subject:   kernel: Fatal trap 12: page fault while in kernel mode
Message-ID:  <477EC2FA.7000108@ngc.net.ua>

next in thread | raw e-mail | index | archive | help
Hi all.
Some problem with free.
I`ve got such mess in log:

Jan  4 22:47:09 fs kernel: Fatal trap 12: page fault while in kernel mode
Jan  4 22:47:09 fs kernel: fault virtual address        = 0x3e
Jan  4 22:47:09 fs kernel: fault code = supervisor read, page not present
Jan  4 22:47:09 fs kernel: instruction pointer  = 0x20:0xc060cc24
Jan  4 22:47:09 fs kernel: stack pointer                = 0x28:0xe529ac30
Jan  4 22:47:09 fs kernel: frame pointer                = 0x28:0xe529ac34
Jan  4 22:47:09 fs kernel: code segment   = base 0x0, limit 0xfffff, 
type 0x1b
Jan  4 22:47:09 fs kernel: = DPL 0, pres 1, def32 1, gran 1
Jan  4 22:47:09 fs kernel: processor eflags = interrupt enabled, 
resume,IOPL = 0
Jan  4 22:47:09 fs kernel: current process              = 9 (thread taskq)
Jan  4 22:47:09 fs kernel: trap number          = 12
Jan  4 22:47:09 fs kernel: panic: page fault
Jan  4 22:47:09 fs kernel: Uptime: 4d0h37m10s
Jan  4 22:47:09 fs kernel: Physical memory: 2013 MB
Jan  4 22:47:09 fs kernel: Dumping 243 MB: 228 212 196 180 164 148 132 
116 100 84 68 52 36 20 4
Jan  4 22:47:09 fs kernel: Dump complete
Jan  4 22:47:09 fs kernel: Automatic reboot in 15 seconds - press a key 
on the console to abort
Jan  4 22:47:09 fs kernel: Rebooting...

Problem repeats for 6.2-RELEASE.

kgdb kernel.debug /var/crash/vmcore.0  - returns this:

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x3e
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc060cc24
stack pointer           = 0x28:0xe529ac30
frame pointer           = 0x28:0xe529ac34
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         = 9 (thread taskq)
trap number             = 12
panic: page fault
Uptime: 4d0h37m10s
Physical memory: 2013 MB
Dumping 243 MB: 228 212 196 180 164 148 132 116 100 84 68 52 36 20 4

#0  doadump () at pcpu.h:195
195             __asm __volatile("movl %%fs:0,%0" : "=r" (td));

I think it`s hardware problem. This machine has been working for about 9 
months with no problems.... but I dont know how to correctly find the 
problem.

uname -a:
FreeBSD fs.ngc.net.ua 8.0-CURRENT FreeBSD 8.0-CURRENT #3: Mon Dec 31 
05:07:25 EET 2007     root@fs.myhost.net.ua:/usr/obj/usr/src/sys/FS  i386



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?477EC2FA.7000108>