From owner-freebsd-net Mon Apr 9 1:21:26 2001 Delivered-To: freebsd-net@freebsd.org Received: from germes.levi.spb.ru (ip65.levi.spb.ru [212.119.175.65]) by hub.freebsd.org (Postfix) with ESMTP id 258CC37B422; Mon, 9 Apr 2001 01:21:22 -0700 (PDT) (envelope-from dms@wplus.net) Received: from wplus.net (IDENT:dms@pike.levi.spb.ru [10.246.8.43]) by germes.levi.spb.ru (8.11.1/8.11.1) with ESMTP id f398L7721705; Mon, 9 Apr 2001 12:21:07 +0400 Message-ID: <3AD170F3.976E12CB@wplus.net> Date: Mon, 09 Apr 2001 12:21:07 +0400 From: Dmitry Samersoff Organization: LeviSoft X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.18 i686) X-Accept-Language: en, ru MIME-Version: 1.0 To: s2209866@cse.unsw.edu.au Cc: freebsd-net@FreeBSD.ORG, freebsd-question@FreeBSD.ORG Subject: Re: how to see what happen before kernel crash? References: Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Daniel Wong wrote: > > Hi, > > My kernel periodically crashes on me, is there a way to capture the > kernel output before the kernel reboots itself ? I suspect it might be > something to do with my changes in the kernel. But I don't know what > might be causing it. Here is method I used last two weeks to go throupgh the similar problem. 1. Compile kernel with debug enable 2. Check whether you have enough free space on /var/crash 3. Enable dump in /etc/rc.conf 3. When kernel died press and then try to debug it or just type panic, and analyze crash dump saved in var crash ... -- Dmitry Samersoff, dms@wplus.net, ICQ:3161705 http://devnull.wplus.net * There will come soft rains ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message