From owner-freebsd-questions@FreeBSD.ORG Sun Mar 6 20:19:34 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8514116A4CE for ; Sun, 6 Mar 2005 20:19:34 +0000 (GMT) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D1DE43D1F for ; Sun, 6 Mar 2005 20:19:34 +0000 (GMT) (envelope-from kstewart@owt.com) Received: from [207.41.94.233] (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id j26KIet3017345; Sun, 6 Mar 2005 12:18:41 -0800 From: Kent Stewart To: freebsd-questions@freebsd.org, gabriel Date: Sun, 6 Mar 2005 12:19:33 -0800 User-Agent: KMail/1.7.2 References: <200503061159.56088.kstewart@owt.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200503061219.33249.kstewart@owt.com> Subject: Re: 5.3 and building world X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2005 20:19:34 -0000 On Sunday 06 March 2005 12:01 pm, gabriel wrote: > Yep, I know enoguh to read through the handbook, the problem lies in > the fact that if I use make buildkernel KERNCONF=MYKERNEL I get a > stop error which says I have to buildworld first (even though I have > before this step). Thats the reason for the question. But thanks > anyway Ah, you didn't say that. If you cvsup, you have to do the buildworld first. You need to figure out why buildkernel can't find the obj files in /usr/obj. If you already have a current installed world with a generic kernel, you can use the config MYKERNEL way of building a new kernel. Kent > > Cheers! > > On Sun, 6 Mar 2005 11:59:55 -0800, Kent Stewart wrote: > > On Sunday 06 March 2005 11:17 am, gabriel wrote: > > > Alright so when upgrading to 5.3 from 5.2 I cvsuped the source > > > which obviously got GENERIC overwritten. My question is, besides > > > the instructions on /usr/src/Makefile(?) is there another way to > > > update the source and be able to specify a custom kernel? > > > > There is a whole chapter on configuring your own kernel. They show > > you how to cp GENERIC to your own name and then use it. See > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelcon > >fig.html > > > > They show you both the config way and the new build[install]kernel > > way of maintaing your kernel. I log everything and have the > > individual commands in shell scripts so that a mistake won't do > > something unexpected. > > > > Kent > > > > > Cheers! > > > > -- > > Kent Stewart > > Richland, WA > > > > http://users.owt.com/kstewart/index.html -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html