From owner-freebsd-questions@FreeBSD.ORG Wed Sep 1 12:25:24 2004 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 1B7D416A4CE for ; Wed, 1 Sep 2004 12:25:24 +0000 (GMT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CC1F43D5D for ; Wed, 1 Sep 2004 12:25:24 +0000 (GMT) (envelope-from tacoboy24@dragoweb.com) Received: from [192.168.1.103] (h00105a1fac2a.ne.client2.attbi.com[24.128.236.189]) by comcast.net (rwcrmhc13) with SMTP id <2004090112252301500lrr4de>; Wed, 1 Sep 2004 12:25:23 +0000 Mime-Version: 1.0 (Apple Message framework v618) In-Reply-To: <20040901115914.GA54320@internode.com.au> References: <0B2F477E-FC0C-11D8-A8E5-000A958B36E0@dragoweb.com> <20040901115914.GA54320@internode.com.au> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Andrew Date: Wed, 1 Sep 2004 08:31:23 -0400 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.618) Subject: Re: building the 5.1 kernel 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: Wed, 01 Sep 2004 12:25:24 -0000 Thanks for the reply Reply to your comments... MINIBSD - I am presently running regular ole freebsd 5.1. I eventually plan to rebuild the OS for an application. For now it is vanilla flavor freebsd. GENERIC - Agreed if no changes were made the kernel doesn't have to be rebuilt. I used the unchanged GENERIC file to verify the kernel would build before I started making changes. It insures all the files/scripts are in place. Alternative build process: I tried it that way as well. Got the same errors. Hope it helps Andrew On Sep 1, 2004, at 7:59 AM, Adam Smith wrote: > On Wed, Sep 01, 2004 at 07:42:46AM -0400, Andrew said: >> I am trying to rebuild the 5.1 kernel. Using the Freebsd handbook as a >> guide. >> >> I am running freebsd 5.1 and as fyi have been building suse and >> redhat >> kernels for a while without problems. But this is my first time >> building the freebsd kernel) >> >> This is what I did. >> >> cd /sys/i386/conf >> config GENERIC <-- no changes to the file then per the results of >> config > > If no changes were made you don't need to recompile your kernel. > >> cd ../compile/GENERIC >> then >> >> make depend >> >> then >> >> make > > All this stuff is not the right way around, at least for FreeBSD, and > it > looks like you're running MiniBSD(?) of which I know nothing ;) > > Anyway, this is what I do: > > cd /usr/src/sys/i386/conf > cp GENERIC YOURNEWKERNELFILE > vi YOURNEWKERNELFILE > cd /usr/src > make buildkernel KERNCONF=YOURNEWKERNELFILE > make installkernel KERNCONF=YOURNEWKERNELFILE > reboot > > Adam > > -- > Adam Smith > Internode : http://www.internode.on.net > Phone : (08) 8228 2999 >