Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Feb 2002 20:17:50 -0500
From:      Bill Kish <kish@coyotepoint.com>
To:        hackers <freebsd-hackers@FreeBSD.ORG>
Subject:   Debugging double page fault
Message-ID:  <3C6478BE.BE6F5A70@coyotepoint.com>

next in thread | raw e-mail | index | archive | help

Hi All,

 I've recently started seeing "double fault" panics on a formerly FreeBSD
2.2.8 based system (It's running 2.2.8 as a somewhat embedded OS, so please
don't flame me about being back rev!)

 The stack trace looks like:

$ gdb -k  kernel.0 vmcore.0
GDB is free software and you are welcome to 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.
GDB 4.16 (i386-unknown-freebsd),
Copyright 1996 Free Software Foundation, Inc...(no debugging symbols
found)...
IdlePTD 1aa000
current pcb at 1967a0
panic: double fault
#0  0xf010cf63 in boot ()
(kgdb) bt
#0  0xf010cf63 in boot ()
#1  0xf010d232 in panic ()
#2  0xf0176f5a in trap_fatal ()
#3  0xf0176a1c in trap_pfault ()
#4  0xf01766df in trap ()
#5  0xf012baae in vget ()
#6  0xf01558dc in ffs_sync ()
#7  0xf012cf7b in sync ()
#8  0xf010ce2d in boot ()
#9  0xf010d232 in panic ()
#10 0xf0176ff0 in trapwrite ()
(kgdb)

 My rough understanding is that double faults are usually the result of
running out of stack, and that the underlying cause of the panic can probably
be uncovered if I can find the previous stack .

 Can anyone point me towards some hints for debugging this sort of crash. Any
advice greatly appreciated.

                                        -=BK

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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