Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jun 1999 17:40:29 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        Thomas David Rivers <rivers@dignus.com>
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>
In-Reply-To: <199906172032.QAA77440@lakes.dignus.com>; from "Thomas David Rivers" on Thu Jun 17 16:32:51 GMT 1999
References:  <19990617132224.A28613@ethereal.net> <199906172032.QAA77440@lakes.dignus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990617174029.B7287>