Subject: Re: avoiding kernel crash dumps
To: D'Arcy J.M. Cain <darcy@NetBSD.org>
From: Rui Paulo <rpaulo@NetBSD.org>
List: netbsd-help
Date: 08/19/2005 16:00:36
--bg08WKrSYDhXBjb5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2005.08.19 10:49:11 +0000, D'Arcy J.M. Cain wrote:
| On Fri, 19 Aug 2005 15:43:21 +0200 (CEST)
| "Timo Schoeler" <timo.schoeler@riscworks.net> wrote:
| > > | that's why i wrote 'wrong configured RAIDframe sets' -- the machine=
 is
| > > | colocated, i'm neither able nor willing to risk reconfiguration stu=
ff
| > > | (except for e.g. building a tweaked kernel and reboot)... ;)
| > >
| > > Ah, okay. Then comment out the dumpsys() code on i386/i386/machdep.c.
|=20
| Eek!  Perhaps there is a smiley missing here.  Given his situation and
| the conservatism that he expresses, I would say that messing with
| source and rebuilding the kernel has to be at the bottom of the list of
| things to try.  Building a new kernel with the config changes described
| in other posts would probably be #2 on my list.  #1 would be adding the
| following lines to /etc/sysctl.conf and rebooting.  In fact, a reboot
| is not strictly necessary as you can run "/etc/rc.d/sysctl restart"
| instead.  I generally like to reboot if it is an option just to make
| sure that something can't go wrong if it reboots for any reason while
| no one is around to fix it.
|=20
| kern.dump_on_panic=3D0
| ddb.onpanic=3D0
|=20
| That would be #1 IMO simply because he has a working kernel and this
| does not risk messing up the compile and winding up with a new kernel
| that does not behave exactly like the existing one.

Yeah, I agree but when I read "building a tweaked kernel and reboot" I didn=
't
think twice. :)

		-- Rui Paulo

--bg08WKrSYDhXBjb5
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iD8DBQFDBfQUZPqyxs9FH4QRAuVcAKCjJV6bIAHo93USi7L5VfcQBCZeGgCfUcpG
37pgLKi39MW5fOn9NrdIf0Q=
=Gh2y
-----END PGP SIGNATURE-----

--bg08WKrSYDhXBjb5--