Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Sep 2008 15:08:01 -0400
From:      "Jonathan Bond-Caron" <>
To:        <>
Subject:   Fatal trap 12: page fault while in kernel mode
Message-ID:  <000001c915d4$0b37dbf0$21a793d0$@com>

Next in thread | Raw E-Mail | Index | Archive | Help
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


I can reboot with no crash using:

shutdown -r now


But when : 



shutdown -r now


As it's shutting down, I always get a crash that looks like:


It's seems to be related to threads, rebuilding the kernel with makeoptions


[root@martini] $ cd /usr/obj/usr/src/sys/WWW

[root@martini] $ kgdb kernel.debug /var/crash/vmcore.10

[GDB will not be able to debug user-mode threads: /usr/lib/
Undefined symbol "ps_pglobal_lookup"]

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

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".

kgdb: kvm_read: invalid address (0x0)

Attempt to extract a component of a value that is not a structure pointer.


I am building the kernel wrong? I've never had to use kgdb before. 



This is a dell 1750 (poweredge). I'm 99% sure it's not hardware related
since putting the drive into other stable machines (other dell 1750's) makes
them crash as well using:


shutdown -r now


Note: I also get the same crash when trying to install python from the ports
(crash at: configure: checking for pthreads..)

cd /usr/ports/lang/python24; make install


Want to link to this message? Use this URL: <$0b37dbf0$21a793d0$>