Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2008 13:50:06 GMT
From:      Kostik Belousov <kostikbel@gmail.com>
To:        freebsd-amd64@FreeBSD.org
Subject:   Re: amd64/125873: Repeated kernel panics, trap 12 page fault while in kernel mode (always with smbd).
Message-ID:  <200807241350.m6ODo5Ag042510@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR amd64/125873; it has been noted by GNATS.

From: Kostik Belousov <kostikbel@gmail.com>
To: Sean Cody <sean@franticfilms.com>
Cc: bug-followup@freebsd.org, dfr@freebsd.org
Subject: Re: amd64/125873: Repeated kernel panics, trap 12 page fault while in kernel mode (always with smbd).
Date: Thu, 24 Jul 2008 16:47:09 +0300

 On Tue, Jul 22, 2008 at 03:29:28PM +0000, Sean Cody wrote:
 > 
 > Fatal trap 12: page fault while in kernel mode
 > cpuid = 0; apic id = 00
 > fault virtual address	= 0x0
 > fault code		= supervisor read data, page not present
 > instruction pointer	= 0x8:0xffffffff80468dff
 > stack pointer	        = 0x10:0xffffffffa2c339c0
 > frame pointer	        = 0x10:0xffffff0013e4f8d0
 > code segment		= base 0x0, limit 0xfffff, type 0x1b
 > 			= DPL 0, pres 1, long 1, def32 0, gran 1
 > processor eflags	= resume, IOPL = 0
 > current process		= 34088 (smbd)
 > trap number		= 12
 > panic: page fault
 > cpuid = 0
 > Uptime: 8h13m17s
 > Physical memory: 1011 MB
 > Dumping 162 MB: 147 131 115 99 83 67 51 35 19 3
 > 
 > #0  doadump () at pcpu.h:194
 > 194	pcpu.h: No such file or directory.
 > 	in pcpu.h
 > (kgdb) bt
 > #0  doadump () at pcpu.h:194
 > #1  0x0000000000000004 in ?? ()
 > #2  0xffffffff80477699 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
 > #3  0xffffffff80477a9d in panic (fmt=0x104 <Address 0x104 out of bounds>) at /usr/src/sys/kern/kern_shutdown.c:563
 > #4  0xffffffff8072ec94 in trap_fatal (frame=0xffffff00152b9000, eva=18446742974531694592) at /usr/src/sys/amd64/amd64/trap.c:724
 > #5  0xffffffff8072f90f in trap (frame=0xffffffffa2c33910) at /usr/src/sys/amd64/amd64/trap.c:251
 > #6  0xffffffff8071560e in calltrap () at /usr/src/sys/amd64/amd64/exception.S:169
 > #7  0xffffffff80468dff in lf_advlock (ap=Variable "ap" is not available.
 > ) at /usr/src/sys/kern/kern_lockf.c:294
 > #8  0xffffffff8044ec5b in kern_fcntl (td=0xffffff00152b9000, fd=Variable "fd" is not available.
 > ) at vnode_if.h:1036
 > #9  0xffffffff8044f01f in fcntl (td=0xffffff00152b9000, uap=0xffffffffa2c33be0) at /usr/src/sys/kern/kern_descrip.c:336
 > #10 0xffffffff8072f2e7 in syscall (frame=0xffffffffa2c33c70) at /usr/src/sys/amd64/amd64/trap.c:852
 > #11 0xffffffff8071581b in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:290
 > #12 0x0000000801af707c in ?? ()
 > Previous frame inner to this frame (corrupt stack?)
 > (kgdb) 
 
 Exactly this code was heavily rewritten after 7.0 was released.
 Could you reproduce the problem on the latest 7-STABLE ?



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