From owner-freebsd-hackers@FreeBSD.ORG Sat Dec 30 20:44:48 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F3FCB16A407 for ; Sat, 30 Dec 2006 20:44:47 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.freebsd.org (Postfix) with ESMTP id B40CE13C448 for ; Sat, 30 Dec 2006 20:44:47 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (2rle69vks8wqmve9@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id kBUKS00h091974; Sat, 30 Dec 2006 12:28:00 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id kBUKRxHL091973; Sat, 30 Dec 2006 12:27:59 -0800 (PST) (envelope-from jmg) Date: Sat, 30 Dec 2006 12:27:59 -0800 From: John-Mark Gurney To: Neelkanth Natu Message-ID: <20061230202759.GI817@funkthat.com> Mail-Followup-To: Neelkanth Natu , hackers@freebsd.org References: <20061212233346.86191.qmail@web34405.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061212233346.86191.qmail@web34405.mail.mud.yahoo.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: hackers@freebsd.org Subject: Re: MFS_IMAGE with a DEBUG kernel X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Dec 2006 20:44:48 -0000 Neelkanth Natu wrote this message on Tue, Dec 12, 2006 at 15:33 -0800: > Trying to stuff in an MFS_IMAGE into a debug kernel does not work in -current. kern.post.mk tries > to put the MFS_IMAGE in ${KERNEL_KO} when building ${FULLKERNEL} - but ${KERNEL_KO} has not been > created at that point. > > The error message I get is: > > linking kernel.debug > text data bss dec hex filename > 3540430 4532668 149800 8222898 7d78b2 kernel.debug > strings: 'kernel': No such file > rm: kernel: No such file or directory > *** Error code 1 > > The following patch against version 1.98 of kern.post.mk fixes the problem: Thanks, committed the fix... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."