From owner-freebsd-questions@FreeBSD.ORG Fri Feb 1 15:10:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52F2616A41A for ; Fri, 1 Feb 2008 15:10:29 +0000 (UTC) (envelope-from nospam@mgedv.net) Received: from mail.mgedv.net (mail.mgedv.net [213.229.1.44]) by mx1.freebsd.org (Postfix) with ESMTP id 132EA13C442 for ; Fri, 1 Feb 2008 15:10:29 +0000 (UTC) (envelope-from nospam@mgedv.net) Received: from www.mgedv.at (unknown [1.1.8.1]) by mail.my.loop (mgedv) with ESMTP id 2D50C1C78C7 for ; Fri, 1 Feb 2008 16:10:28 +0100 (CET) Message-ID: Date: Fri, 1 Feb 2008 16:10:28 +0100 (CET) From: "no@spam@mgEDV.net" To: freebsd-questions@freebsd.org User-Agent: unixMail/1.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: how to capture freebsd 6.3 kernel panics [solved] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2008 15:10:29 -0000 On Fri, February 1, 2008 12:46, Manolis Kiagias wrote: > > no@spam@mgEDV.net wrote: >> On Fri, February 1, 2008 11:54, Manolis Kiagias wrote: >> >>> no@spam@mgEDV.net wrote: >>> >>>> hi, >>>> >>>> since i migrated from 6.2-REL to 6.3-REL i got several >>>> panics when copying much data from one volume to another. >>>> because of the copy-job taking several hours, i don't >>>> get a realistic chance to CATCH the stupid panic and >>>> see what's going on (or at least get an idea of). >>>> this is really frustrating me! >>>> >>>> is there a way to avoid the auto-reboot? >>>> >>>> is there a way to save the panic to disk? >>>> >>>> btw, there's no swap partition i could use as dump device. >>>> >>>> cheers... >>>> >>>> >>> I recently had a system that would not dump to the swap partition for >>> one reason or the other. >>> I used an external USB hard disk, and it dumped there with no problems. >>> With the current sizes of cheap usb flash drives, even that is probably >>> an option. >>> You may wish to explore this solution. >>> >>> Manolis >>> >>> >> >> well, although this is a good idea (and i'll keep it >> as my backup plan for now) , i rather like to >> prevent the server from rebooting and simply stay at >> the panic instead of analyzing crash dumps :) >> is there a way for that? >> >> >> > Well, according to this: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-options.html > > compiling your kernel with options KDB will cause it to enter the > debugger instead of automatic reboot. This is not something I ever tried > myself but it maybe worth the trouble. > > Manolis > yeah, in the mean time, i exactly did this. loaded /usr/src/sys, compiled with options KDB, options DDB and booted with that kernel. this gives me at least the option to SEE what happened... thx for the replies, guys!