From owner-freebsd-stable Fri Dec 22 12:29:34 2000 From owner-freebsd-stable@FreeBSD.ORG Fri Dec 22 12:29:31 2000 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DE0A37B400 for ; Fri, 22 Dec 2000 12:29:31 -0800 (PST) Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 498F16E27A7 for ; Fri, 22 Dec 2000 12:28:23 -0800 (PST) Received: (qmail 15895 invoked by uid 0); 22 Dec 2000 20:16:24 -0000 Received: from p3ee21633.dip.t-dialin.net (HELO speedy.gsinet) (62.226.22.51) by mail.gmx.net (mail09) with SMTP; 22 Dec 2000 20:16:24 -0000 Received: (from sittig@localhost) by speedy.gsinet (8.8.8/8.8.8) id PAA26854 for freebsd-stable@freebsd.org; Fri, 22 Dec 2000 15:51:15 +0100 Date: Fri, 22 Dec 2000 15:51:15 +0100 From: Gerhard Sittig To: freebsd-stable@freebsd.org Subject: Re: 4.2-stable + ahc0 + pass0 + cd rip = random panic ? Message-ID: <20001222155115.Z253@speedy.gsinet> Mail-Followup-To: freebsd-stable@freebsd.org References: <20001221223152.A389@bjorn.goddamnbastard.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20001221223152.A389@bjorn.goddamnbastard.org>; from ryanb@goddamnbastard.org on Thu, Dec 21, 2000 at 10:31:53PM -0600 Organization: System Defenestrators Inc. Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Dec 21, 2000 at 22:31 -0600, ryanb wrote: > > If DDB_UNATTENDED is enabled, the machine will just reboot > without dumping core. I had to learn it the hard way, too (reading /etc/rc* files on why there is no "core" file). You need to set the "dumpdev" variable in /etc/rc.conf. And I just had a look at $PAGER /usr/src/sys/i386/conf/{GENERIC,LINT} man savecore; man rc.conf which doesn't look too intuitive. :) Is LINT in need of a pointer to the rc.conf variable? Reading "man 4 ddb" doesn't find "core" either and the one match for "dump" is not related to the problem. ----- LINT ------------------------------------------------------ [ ... ] # # Don't drop into DDB for a panic but dump core to swap space and # have it saved by means of savecore(1) after an automatic # reboot. Needs the "dumpdev" rc.conf variable (and enough room # in /var/crash/) to work easily # # Intended for unattended operation where you may want to drop to # DDB from the console, but still want the machine to recover # from a panic # options DDB_UNATTENDED [ ... ] ----------------------------------------------------------------- How about having DDB and DDB_UNATTENDED in GENERIC (together with the handy INCLUDE_CONFIG_FILE), too? Those who don't enable debugging info (by editing the kernel config file or make.conf) or dumpdev (in /etc/rc.conf) won't get their root fs clobbered / filled up. And those who experience failure situations they want to report have less to do for delivering helpful information. Is this acceptable "bloat" or completely useless since I don't know about other dependencies and missed them? virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76 Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net -- If you don't understand or are scared by any of the above ask your parents or an adult to help you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message