From owner-freebsd-questions@FreeBSD.ORG Mon Sep 6 09:03:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 039B7106566B for ; Mon, 6 Sep 2010 09:03:57 +0000 (UTC) (envelope-from vyaaghrah-nix@yahoo.com) Received: from n2a.bullet.mail.ac4.yahoo.com (n2a.bullet.mail.ac4.yahoo.com [76.13.13.65]) by mx1.freebsd.org (Postfix) with SMTP id A872D8FC17 for ; Mon, 6 Sep 2010 09:03:56 +0000 (UTC) Received: from [76.13.12.93] by n2.bullet.mail.ac4.yahoo.com with NNFMP; 06 Sep 2010 08:50:37 -0000 Received: from [67.195.9.82] by t1.bullet.mail.ac4.yahoo.com with NNFMP; 06 Sep 2010 08:50:37 -0000 Received: from [67.195.9.102] by t2.bullet.mail.gq1.yahoo.com with NNFMP; 06 Sep 2010 08:50:37 -0000 Received: from [127.0.0.1] by omp106.mail.gq1.yahoo.com with NNFMP; 06 Sep 2010 08:50:37 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 466307.60794.bm@omp106.mail.gq1.yahoo.com Received: (qmail 13525 invoked by uid 60001); 6 Sep 2010 08:50:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1283763037; bh=Dqr3ybip41gfxjQG2MI7GQ71szapufPbKHst9vzvPtQ=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=bVh/tb/nRggM5ZdVlQhc1duS+NT90m2BT043uLD2ZlTPoBE53BWADib+izoN1/8si72zTTX99FKW6sjZafsN+Sc7ivwHjaOxVk19rCMsILowbTfCfaliwhXLWO6Ptj2SB2Z2s/ung1qtu8pmL0S0eSXKHFV3JX5ifWuJ0T5qUgI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=G3nNlE2hASFA54Jki8l8Yv/+jqZCjUPVunUNAvJE/4A42azvyZw6Oxtj06+G/mKf+GxfpYESKqxvfR7R7d+/BldTXzuCJmCu54/tIH71joZ47ewcEQezCLTkLMapCHwtqPwrwbC5hTuM5CS5YNy4rCbCSglMirz+uzh3WDUzRgI=; Message-ID: <383147.13442.qm@web113909.mail.gq1.yahoo.com> X-YMail-OSG: DkV_GiMVM1mRJtic3IKCDSPkLD4zmmEC52kY3.TDkaz9eH4 WUvhDaaxLIqWyDXoNDSgpnUutW05LxnViee.AMGIhftOUjCKrPTxTeSxuEg_ yyyxW9HxACVnSmfrysPjfwr26l.1HphavkupTWPhnDP5pdARRLRKBZi09uaW LLFSfmFTH0iOSaEcFjeRwS7Q878sVkX.THZ28tTQ7GRSwWXHFjoXzTgWe2YU 3m2MVwZBUIdw1uZezh_sYajPfCPUFjwHMnI6TKjm3c4RDrxA4BeLT501BgmJ WbVDmzXhhfngh2EGJDcghAQXXhx4xJulmv0KvhR11LkVXBzCKnEPsbzpa236 hjhKhFIQhX_MGBp323sf5LumRHDcC1Q-- Received: from [116.197.178.83] by web113909.mail.gq1.yahoo.com via HTTP; Mon, 06 Sep 2010 01:50:37 PDT X-Mailer: YahooMailRC/470 YahooMailWebService/0.8.105.279950 References: <291410.40127.qm@web113906.mail.gq1.yahoo.com> <20100906084913.0000120f@unknown> Date: Mon, 6 Sep 2010 01:50:37 -0700 (PDT) From: vyaaghrah-nix@yahoo.com To: Bruce Cran In-Reply-To: <20100906084913.0000120f@unknown> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Sep 2010 09:03:57 -0000 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 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