Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Apr 2012 11:04:52 -0700 (PDT)
From:      gahn <ipfreak@yahoo.com>
To:        freebsd general questions <freebsd-questions@freebsd.org>
Subject:   learning freebsd kernel
Message-ID:  <1333735492.43069.YahooMailNeo@web130205.mail.mud.yahoo.com>

next in thread | raw e-mail | index | archive | help
hi gurus:=0A=0Ahow could i create the core dumps on freebsd kernel? i am tr=
ying to create a kernel core dump on 8.1 but it didn't happen:=0A=0A# sysct=
l -w debug.kdb.panic=3D1=0A=0Awell the system went panic, entered the mode =
db>. i did "reboot' but there was no core/kernel dumps under /var/crash.=0A=
=0Athe customized kernel has those information enabled:=0A=0A# Debugging fo=
r use in -current=0Aoptions=A0=A0=A0=A0=A0=A0=A0=A0 KDB=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 # Enable kernel debugger support=
.=0Aoptions=A0=A0=A0=A0=A0=A0=A0=A0 DDB=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0 # Support DDB.=0Aoptions=A0=A0=A0=A0=A0=A0=A0=A0 G=
DB=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 # Support re=
mote GDB.=0A=0Auser@host:~:$ sysctl -a | grep debug.kdb=0Adebug.kdb.stop_cp=
us: 1=0Adebug.kdb.trap_code: 0=0Adebug.kdb.trap: 0=0Adebug.kdb.panic: 0=0Ad=
ebug.kdb.enter: 0=0Adebug.kdb.current: ddb=0Adebug.kdb.available: ddb =0A=
=0A=0A=0Aby the way, where is my gdb? on one of my company's machisne, it l=
ooks like this:=0A=0Adebug.kdb.available: ddb gdb=0A=0Athank you all=0A=0A/=
gahn



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