Date: Mon, 6 Sep 2010 01:50:37 -0700 (PDT) From: vyaaghrah-nix@yahoo.com To: Bruce Cran <bruce@cran.org.uk> Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD Message-ID: <383147.13442.qm@web113909.mail.gq1.yahoo.com> In-Reply-To: <20100906084913.0000120f@unknown> References: <291410.40127.qm@web113906.mail.gq1.yahoo.com> <20100906084913.0000120f@unknown>
next in thread | previous in thread | raw e-mail | index | archive | help
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@cran.org.uk> To: vyaaghrah-nix@yahoo.com Cc: freebsd-questions@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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?383147.13442.qm>