From owner-freebsd-questions Thu Jun 17 15:41: 5 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 3D11214DB2 for ; Thu, 17 Jun 1999 15:40:56 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id RAA07551; Thu, 17 Jun 1999 17:40:29 -0500 (CDT) (envelope-from dan) Date: Thu, 17 Jun 1999 17:40:29 -0500 From: Dan Nelson To: Thomas David Rivers Cc: mistwolf@ethereal.net, rfg@monkeys.com, questions@FreeBSD.ORG Subject: Re: A suggested kernel enhancement relating to kernel panics. Message-ID: <19990617174029.B7287@dan.emsphone.com> References: <19990617132224.A28613@ethereal.net> <199906172032.QAA77440@lakes.dignus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <199906172032.QAA77440@lakes.dignus.com>; from "Thomas David Rivers" on Thu Jun 17 16:32:51 GMT 1999 X-OS: FreeBSD 4.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Jun 17), Thomas David Rivers said: > > If you have the savecore file from the panic, I've done > this in the past: > > strings savecore.XX | grep "panic" > > usually the message pops right out :-) When savecore saves a core, it logs the panic string via syslog: if (panicstr) syslog(LOG_ALERT, "reboot after panic: %s", panic_mesg); else syslog(LOG_ALERT, "reboot"); So it's in /var/log/messages too. -Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message