Date: Fri, 18 Jun 1999 11:52:44 +0930 From: Greg Lehey <grog@lemis.com> To: Dan Nelson <dnelson@emsphone.com> Cc: "Ronald F. Guilmette" <rfg@monkeys.com>, Thomas David Rivers <rivers@dignus.com>, mistwolf@ethereal.net, questions@FreeBSD.ORG Subject: Re: A suggested kernel enhancement relating to kernel panics. Message-ID: <19990618115244.R9893@freebie.lemis.com> In-Reply-To: <19990617211655.A9746@dan.emsphone.com>; from Dan Nelson on Thu, Jun 17, 1999 at 09:16:55PM -0500 References: <19990617174029.B7287@dan.emsphone.com> <28890.929659712@monkeys.com> <19990618100818.P9893@freebie.lemis.com> <19990617211655.A9746@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, 17 June 1999 at 21:16:55 -0500, Dan Nelson wrote: > In the last episode (Jun 18), Greg Lehey said: >>>> 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. >> >> You're assuming that syslog is still running. We're in a panic >> situation here. > > savecore is run from /etc/rc. Assuming a core was dumped on panic, the > message will get logged on the next reboot. The background here is that Ronald does not have enough swap to save a core dump, and it's inconvenient to add another disk. >>> Well, I am getting sudden/unexpected reboots and this has happened >>> several times now. Each time I look in /var/log/messages and there >>> is NOTHING there... >> >> That's normal. When you panic, you stop writing to disk (except for >> the dump). > > Maybe he's not panicing then. I don't understand the connection with what I just wrote. > I've had my BSD box do a spontaneous reboot on me once or twice. > This kind of crash is mighty hard to debug though, since it doesn't > leave anything to debug :) Agreed. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key 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?19990618115244.R9893>