From owner-freebsd-stable@FreeBSD.ORG Tue Nov 15 15:16:48 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org 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 A952516A41F for ; Tue, 15 Nov 2005 15:16:48 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: from web36210.mail.mud.yahoo.com (web36210.mail.mud.yahoo.com [209.191.68.236]) by mx1.FreeBSD.org (Postfix) with SMTP id 051BF43D45 for ; Tue, 15 Nov 2005 15:16:47 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: (qmail 29551 invoked by uid 60001); 15 Nov 2005 15:16:47 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=fbp0B2OfeiAlzN91P83IohT4S4sG5mmcN8F6TROoTYSbwQkw+JVstwaIqIUC1Xf4foAgPiGKP995e1TvdP4yU8cHUSJw5Vp3qW5OzySWhwOPbA2IdZpHe3BD+Y5PKyubdWI+16IojXpL46bf65l3BdgQNZwSGVED3yOyerkEfJk= ; Message-ID: <20051115151647.29549.qmail@web36210.mail.mud.yahoo.com> Received: from [218.232.14.39] by web36210.mail.mud.yahoo.com via HTTP; Tue, 15 Nov 2005 07:16:47 PST Date: Tue, 15 Nov 2005 07:16:47 -0800 (PST) From: Rob To: freebsd-stable@freebsd.org In-Reply-To: <20051115103821.GJ39882@cirb503493.alcatel.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: Swapfile problem in 6? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2005 15:16:48 -0000 --- Peter Jeremy wrote: > On Tue, 2005-Nov-15 02:08:12 -0800, Rob wrote: > > makeoptions DEBUG=-g > > options INVARIANTS > > options WITNESS > > options WITNESS_KDB > > options KDB > > options DDB > > options DDB_NUMSYM > > options GDB > > > >Is that enough? > > If your system is headless, you probably want > 'options BREAK_TO_DEBUGGER' as well. If I merge all these options into the GENERIC kernel config file, the kernel compilation ends with error: $ make buildkernel KERNCONF=DEBUGKERNEL [...snip...] cc -c -O -pipe ... /usr/src/sys/dev/ata/atapi-cd.c /usr/src/sys/dev/ata/atapi-cd.c: In function `acd_geom_attach': /usr/src/sys/dev/ata/atapi-cd.c:181: warning: implicit declaration of function `_sx_assert' /usr/src/sys/dev/ata/atapi-cd.c:181: warning: nested extern declaration of `_sx_assert' *** Error code 1 Stop in /usr/obj/usr/src/sys/MYKERNEL. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. -------------- In /etc/make.conf, I have: CFLAGS= -O -pipe NO_PROFILE=true NO_PF=true RUBY_VER=1.8 PERL_VER=5.8.7 PERL_VERSION=5.8.7 Hence, so far no luck with building a debug kernel with 6. Any ideas what's wrong here? Thanks, Rob. __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com