Date: Fri, 22 Dec 2000 15:51:15 +0100 From: Gerhard Sittig <Gerhard.Sittig@gmx.net> To: freebsd-stable@freebsd.org Subject: Re: 4.2-stable + ahc0 + pass0 + cd rip = random panic ? Message-ID: <20001222155115.Z253@speedy.gsinet> In-Reply-To: <20001221223152.A389@bjorn.goddamnbastard.org>; from ryanb@goddamnbastard.org on Thu, Dec 21, 2000 at 10:31:53PM -0600 References: <20001221223152.A389@bjorn.goddamnbastard.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001222155115.Z253>
