i've only used the generic 6.0 kernel

# kgdb kernel.debug /var/crash/vmcore.1
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so:
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
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:


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x10
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc0a7cf08
stack pointer           = 0x28:0xd56a694c
frame pointer           = 0x28:0x0
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         = 29 (swi1: net)
trap number             = 12
panic: page fault
Uptime: 1d23h40m51s
Dumping 511 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 511MB (130800 pages) 495 479 463 447 431 415 399 383 367 351 335
319 303 287 271 255 239 223 207 (CTRL-C to abort)  (CTRL-C to abort)
(CTRL-C to abort)  191 175 159 143 127 111 95 79 63 47 31 15

#0  doadump () at pcpu.h:165
165     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) where
#0  doadump () at pcpu.h:165
#1  0xc0638202 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399
#2  0xc0638498 in panic (fmt=0xc084e5a2 "%s")
    at /usr/src/sys/kern/kern_shutdown.c:555
#3  0xc0807c30 in trap_fatal (frame=0xd56a690c, eva=16)
    at /usr/src/sys/i386/i386/trap.c:831
#4  0xc080799b in trap_pfault (frame=0xd56a690c, usermode=0, eva=16)
    at /usr/src/sys/i386/i386/trap.c:742
#5  0xc08075d9 in trap (frame=
      {tf_fs = -1038680056, tf_es = 40, tf_ds = 40, tf_edi = 0, tf_esi =
-646886620, tf_ebp = 0, tf_isp = -714446536, tf_ebx = -646862464, tf_edx =
791735, tf_ecx = -1073475471, tf_eax = 1, tf_trapno = 12, tf_err = 0, tf_eip
= -1062744312, tf_cs = 32, tf_eflags = 66050, tf_esp = 16798208, tf_ss = 0})
    at /usr/src/sys/i386/i386/trap.c:432
#6  0xc07f6dca in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc0a7cf08 in ?? ()


On 12/13/05, Peter Jeremy <[EMAIL PROTECTED]> wrote:
>
> On Tue, 2005-Dec-13 13:43:13 -0400, fredthetree wrote:
> >[/var/crash/vmcore.1]
> >----------------------------------
> >Unread portion of the kernel message buffer:
> >
> >
> >Fatal trap 12: page fault while in kernel mode
> >fault virtual address   = 0x10
>
> That's a NULL pointer de-reference - it Shouldn't Happen(TM).  Can you
> get a backtrace from kgdb ("where")?
>
> >[vmcore.0]
> >----------------------------------
> >Unread portion of the kernel message buffer:
> >ÃwÄ0¿Á0ÂÁ"ÀíÁÀJðÂÄüÂ3ÄÓÂÀíÁÀóÂDþÁÀóÂðCÂÀíÁ1Ä
> >ÃðÚÃÀíÁ´ÂÄBð°ÄÁÀíÁ"[EMAIL PROTECTED]@
> >----------------------------------
>
> The most likely problem is that your vmcore file doesn't match your
> kernel.
> Are you running kgdb with the same kernel as was running when the system
> crashed?  (If you don't have that kernel handy, you might as well delete
> vmcore.0).
>
> --
> Peter Jeremy
>
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to