FreeBSD
vyaaghrah-nix at yahoo.com
vyaaghrah-nix at yahoo.com
Mon Sep 6 09:03:57 UTC 2010
Hi Bruce
Thanks for u r reply.
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.
I will be looking into the function below which called these last few func to
generate the dump.
I need docs or links which could help me in understanding the role of the
doadump, panic and boot.
Regards
Abhijeet.C
----- Original Message ----
From: Bruce Cran <bruce at cran.org.uk>
To: vyaaghrah-nix at yahoo.com
Cc: freebsd-questions at freebsd.org
Sent: Mon, September 6, 2010 1:19:13 PM
Subject: Re: FreeBSD
On Mon, 6 Sep 2010 00:28:19 -0700 (PDT)
vyaaghrah-nix at yahoo.com wrote:
> Hi Everybody
>
> Greetings!
>
> I am new to the mailing list and working newly on the FreeBSD
> platform. I have some query regarding the kernel dump which i am
> trying to decode.
>
> #0 doadump (di=0xc0baca40, live_dump=0) at
> ../../../../../src/bsd/sys/kern/kern_shutdown.c:444
> #1 0xc0593b32 in boot (howto=260) at
> ../../../../../src/bsd/sys/kern/kern_shutdown.c:531
> #2 0xc0593fe3 in panic (fmt=0xc0af61cc "%s: nhindex %u could not be
> allocated\n") at ../../../../../src/bsd/sys/kern/kern_shutdown.c:897
>
> I need help in understanding what is function doadump? what role it
> plays in FreeBSD. And what do i interpret from the output above.
doadump() is just the function that wrote the kernel dump: you need to
look at the functions below panic() in the call stack to see what caused
the crash. Already you can see that the problem was:
%s: nhindex %u could not be allocated
--
Bruce Cran
More information about the freebsd-questions
mailing list