Date: Sun, 3 Aug 2008 09:57:44 +0200 From: Ulrich Spoerlein <uspoerlein@gmail.com> To: Robert Watson <rwatson@FreeBSD.org> Cc: stable@FreeBSD.org Subject: ddb(4) scripts not working in RELENG_7? Message-ID: <20080803075744.GA1555@roadrunner.spoerlein.net>
next in thread | raw e-mail | index | archive | help
Hi Robert, I was testing a patch and getting a panic (page fault while in kernel mode) in RELENG_7 running multiuser mode, but no scripts were automagically run, although I configured ddb_enable=YES in rc.conf. It simply dropped me to the interactive ddb(4) prompt, nothing more. Do you have any idea what I could be missing? Btw, you might wanna update the ddb(8) manpage's History section, as the feature seems to first appear in 7.1 :) % egrep "ddb|dump" /etc/rc.conf dumpdev="/dev/ad0s3" ddb_enable="YES" % sysctl debug.ddb.scripting.scripts debug.ddb.scripting.scripts: lockinfo=show locks; show alllocks; show lockedvnods kdb.enter.panic=textdump set; capture on; run lockinfo; show pcpu; bt; ps; alltrace; capture off; call doadump; reset kdb.enter.witness=run lockinfo Cheers, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove all doubt.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080803075744.GA1555>