Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Sep 2010 11:55:56 +0100
From:      Bruce Cran <bruce@cran.org.uk>
To:        vyaaghrah-nix@yahoo.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD
Message-ID:  <20100906115556.00004758@unknown>
In-Reply-To: <383147.13442.qm@web113909.mail.gq1.yahoo.com>
References:  <291410.40127.qm@web113906.mail.gq1.yahoo.com> <20100906084913.0000120f@unknown> <383147.13442.qm@web113909.mail.gq1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 6 Sep 2010 01:50:37 -0700 (PDT)
vyaaghrah-nix@yahoo.com wrote:

> So is it that doadump is the only function which is responsible for
> writing dump in BSD? Or thier are other fucntion which can also do
> this.

doadump() is the main entry-point which triggers dumping. There's also
a textdump system.

> [...] 
> I need docs or links which could help me in understanding the role of
> the doadump, panic and boot.

There's information about how to do kernel debugging at
http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html

But essentially panic() is called in kernel code when something wrong
is detected so the system can stop whatever it's doing. doadump() just
dumps the contents of memory to disk.

-- 
Bruce Cran



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