From owner-freebsd-questions Thu Jun 17 17:38:20 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 607C214F23 for ; Thu, 17 Jun 1999 17:38:14 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id KAA07395; Fri, 18 Jun 1999 10:08:11 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id KAA38696; Fri, 18 Jun 1999 10:08:19 +0930 (CST) Date: Fri, 18 Jun 1999 10:08:19 +0930 From: Greg Lehey To: "Ronald F. Guilmette" Cc: Dan Nelson , Thomas David Rivers , mistwolf@ethereal.net, questions@FreeBSD.ORG Subject: Re: A suggested kernel enhancement relating to kernel panics. Message-ID: <19990618100818.P9893@freebie.lemis.com> References: <19990617174029.B7287@dan.emsphone.com> <28890.929659712@monkeys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <28890.929659712@monkeys.com>; from Ronald F. Guilmette on Thu, Jun 17, 1999 at 03:48:32PM -0700 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday, 17 June 1999 at 15:48:32 -0700, Ronald F. Guilmette wrote: > > In message <19990617174029.B7287@dan.emsphone.com>, you wrote: > >> 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. You're assuming that syslog is still running. We're in a panic situation here. > 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). Greg -- 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