From owner-freebsd-current Wed Feb 4 08:32:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA11848 for current-outgoing; Wed, 4 Feb 1998 08:32:42 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA11839 for ; Wed, 4 Feb 1998 08:32:34 -0800 (PST) (envelope-from jdp@austin.polstra.com) Received: from austin.polstra.com (jdp@localhost) by austin.polstra.com (8.8.8/8.8.8) with ESMTP id IAA02776; Wed, 4 Feb 1998 08:32:23 -0800 (PST) (envelope-from jdp) Message-Id: <199802041632.IAA02776@austin.polstra.com> To: sasdrq@unx.sas.com Subject: Re: Failure in debug kernel In-Reply-To: <199802031258.AA03314@gamecock.unx.sas.com> References: <199802031258.AA03314@gamecock.unx.sas.com> Organization: Polstra & Co., Seattle, WA Cc: current@FreeBSD.ORG Date: Wed, 04 Feb 1998 08:32:23 -0800 From: John Polstra Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe current" In article <199802031258.AA03314@gamecock.unx.sas.com>, David Quattlebaum wrote: > I tried to build a debug kernel yesterday and when I booted it, > it printed an error and rebooted faster than I could read the > screen. This went on until we brought up kernel.old. > > steps I took to build the kernel (from 3.0-980128-SNAP): > > o cp GENERIC DEBUG > o added "OPTIONS DDB" to DEBUG > o config -g DEBUG > o make depend && make && make install For this last step, try instead: make depend && make cp kernel kernel.unstripped strip -d kernel make install I don't know whether this is really the problem or not. It looks like you have plenty of RAM. But still, an unstripped debug kernel has a _lot_ of symbols, and they all get loaded into RAM at boot time. It is often a source of problems similar to the one you reported. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth