Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Sep 1999 02:00:27 +0000 (GMT)
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Decebal Topala <decebal@mail.md>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Re: don't fork bomb
Message-ID:  <Pine.BSF.4.05.9909100156310.6392-100000@fw.wintelcom.net>
In-Reply-To: <199909100830.LAA11465@atlas.dnt.md>

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

On Fri, 10 Sep 1999, Decebal Topala wrote:

>  
> > Is it possible for you to get a crash dump and give a traceback?
> >
> How to do this ???

there should be a section on this in the handbook, but here's the
short and sweet way:

compile a new kernel, give the option "-g" to config:
"config -g mykernel"

after installing add this line to /etc/rc.conf:
dumpdev="/dev/myswap_partition"

make sure /var/crash is a directory (or a symlink to a directory)
with enough free space (amount of ram)

reboot...

ok of you crash the box then there should be a few files in
/var/crash, try this:

cd /var/crash
gdb -k /kernel vmcore.0

(if the machine just locks up try ctrl+alt+esc, then type "panic"
and hit enter)

if you have problems consult the handbook and FAQ.

-Alfred



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9909100156310.6392-100000>