Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Sep 2008 07:45:39 -0400
From:      "Jonathan Bond-Caron" <jbondc@openmv.com>
To:        "'Polytropon'" <freebsd@edvax.de>
Cc:        freebsd-bugs@freebsd.org
Subject:   RE: Fatal trap 12: page fault while in kernel mode
Message-ID:  <003601c91728$93c87b50$bb5971f0$@com>
In-Reply-To: <20080914003136.e779e9f6.freebsd@edvax.de>
References:  <000001c915d4$0b37dbf0$21a793d0$@com> <20080914003136.e779e9f6.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat Sep 13 06:31 PM, Polytropon wrote:
> On Sat, 13 Sep 2008 15:08:01 -0400, "Jonathan Bond-Caron"
> <jbondc@openmv.com> wrote:
>> Hi everyone,
>> 
>> 
>> 
>> After cvsup to the latest freebsd 7 STABLE,  I did a make 
>> buildkernel, installkernel. no issues so far
>> 
>> 7.0-STABLE FreeBSD 7.0-STABLE #1: Sat Sep 13 14:08:08 EDT 2008     ..
>> :/usr/obj/usr/src/sys/WWW  i386
>  Just a question: Did you rebuild world as well (to match the updated 
> kernel)?
> 

You're right on, I had skipped it (make buildworld) - kernel and core were
out of sync

To be safe, I rebuilt everything once again. Same procedure:

bacula-fd
shutdown -r now # panic

Now I get the kgdb output:

[root@martini] $ kgdb kernel.debug /var/crash/vmcore.14
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...

Unread portion of the kernel message buffer:
<118>.
<118>Terminated
<118>.
<118>Sep 13 18:19:42 martini syslogd: exiting on signal 15


Fatal trap 12: page fault while in kernel mode
cpuid = 3; apic id = 07
fault virtual address   = 0x4
fault code              = supervisor write, page not present
instruction pointer     = 0x20:0xc052ae70
stack pointer           = 0x28:0xe389ab5c
frame pointer           = 0x28:0xe389ab78
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         = 1 (init)
trap number             = 12
panic: page fault
cpuid = 3
Uptime: 49s
Physical memory: 2039 MB
Dumping 69 MB: 54 38 22 6

Reading symbols from /boot/kernel/geom_mirror.ko...Reading symbols from
/boot/kernel/geom_mirror.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/geom_mirror.ko
Reading symbols from /boot/kernel/ipmi.ko...Reading symbols from
/boot/kernel/ipmi.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ipmi.ko
Reading symbols from /boot/kernel/smbus.ko...Reading symbols from
/boot/kernel/smbus.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/smbus.ko
Reading symbols from /boot/kernel/acpi.ko...Reading symbols from
/boot/kernel/acpi.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/acpi.ko
Reading symbols from /boot/kernel/ipfw.ko...Reading symbols from
/boot/kernel/ipfw.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/ipfw.ko
#0  doadump () at pcpu.h:195
195             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) backtrace
#0  doadump () at pcpu.h:195
#1  0xc05605c7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0xc0560889 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:572
#3  0xc0781d4c in trap_fatal (frame=0xe389ab1c, eva=4) at
/usr/src/sys/i386/i386/trap.c:899
#4  0xc0781fb0 in trap_pfault (frame=0xe389ab1c, usermode=0, eva=4) at
/usr/src/sys/i386/i386/trap.c:812
#5  0xc0782932 in trap (frame=0xe389ab1c) at
/usr/src/sys/i386/i386/trap.c:490
#6  0xc0768f6b in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc052ae70 in cpuset_rel (set=0x0) at atomic.h:175
#8  0xc056d958 in thread_free (td=0xc50b6cc0) at
/usr/src/sys/kern/kern_thread.c:344
#9  0xc056da8d in thread_reap () at /usr/src/sys/kern/kern_thread.c:308
#10 0xc056deae in thread_wait (p=0xc5014ad0) at
/usr/src/sys/kern/kern_thread.c:534
#11 0xc053ba3c in kern_wait (td=0xc4d0fcc0, pid=-1, status=0xe389ac2c,
options=0, rusage=0x0) at /usr/src/sys/kern/kern_exit.c:787
#12 0xc053c09b in wait4 (td=0xc4d0fcc0, uap=0xe389acfc) at
/usr/src/sys/kern/kern_exit.c:654
#13 0xc0782305 in syscall (frame=0xe389ad38) at
/usr/src/sys/i386/i386/trap.c:1035
#14 0xc0768fd0 in Xint0x80_syscall () at
/usr/src/sys/i386/i386/exception.s:196
#15 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003601c91728$93c87b50$bb5971f0$>