From owner-freebsd-questions@FreeBSD.ORG Mon Apr 19 04:36:03 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5BB416A4CE for ; Mon, 19 Apr 2004 04:36:03 -0700 (PDT) Received: from ozlabs.org (ozlabs.org [203.10.76.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30BEA43D39 for ; Mon, 19 Apr 2004 04:36:03 -0700 (PDT) (envelope-from grog@lemis.com) Received: from blackwater.lemis.com (blackwater.lemis.com [192.109.197.80]) by ozlabs.org (Postfix) with ESMTP id 143382BEAE for ; Mon, 19 Apr 2004 21:35:59 +1000 (EST) Received: by blackwater.lemis.com (Postfix, from userid 1004) id 889105122B; Mon, 19 Apr 2004 21:05:57 +0930 (CST) Date: Mon, 19 Apr 2004 21:05:57 +0930 From: Greg 'groggy' Lehey To: Jorn Argelo Message-ID: <20040419113557.GA74025@wantadilla.lemis.com> References: <200404182001.46732.jorn@wcborstel.nl> <200404191145.37313.jorn@wcborstel.nl> <20040419100645.GY74025@wantadilla.lemis.com> <200404191256.56436.jorn@wcborstel.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1IWgL8yD8uKyf/Tu" Content-Disposition: inline In-Reply-To: <200404191256.56436.jorn@wcborstel.nl> User-Agent: Mutt/1.4.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: questions@freebsd.org Subject: Re: Kernel debugging question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 11:36:03 -0000 --1IWgL8yD8uKyf/Tu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Monday, 19 April 2004 at 12:56:56 +0200, Jorn Argelo wrote: > [snip] > >> >>> I did enable the rest though. This is the output of the debugging, >> >> What is the output of the "debugging"? Your message contained only >> the panic message and the gdb prompt: > > I used the gdb -k /boot/kernel/kernel.debug /home/jorn/dump/vmcore.0 command, > and the output with the previous mail was the output of that command. A > small, perhaps irrelevant sidenote, is that the kernel.debug file was only > located in the /usr/obj/usr/src/sys/KERNCONF, and not in /boot/kernel as > described in the documentation of FreeBSD. The location of the file isn't important, but it must be the same kernel which caused the dump. >>> #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 >>> (kgdb) > >> You want at least a backtrace. > > How do I do that? I'm sorry, but I've never done a kernel debug or > anything. That's why I pointed you to the documentation explaining what to do: On Mon, 19 Apr 2004 08:18:37 +0930, Greg 'groggy' Lehey wrote: > You might take a look at > http://www.lemis.com/papers/Taiwan/tutorial.pdf, which is a little > more up to date. Note, though, that it's still a draft. If you see > any mistakes, please contact me. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html Note: I discard all HTML mail unseen. Finger grog@FreeBSD.org for PGP public key. See complete headers for address and phone numbers. --1IWgL8yD8uKyf/Tu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQFAg7mdIubykFB6QiMRAoiPAJwOG4OZgltOCLBLkomMJxRgFMrw4wCfdYfr xE5wgoYkNjYAoBuvGnGoAos= =re1s -----END PGP SIGNATURE----- --1IWgL8yD8uKyf/Tu--