From owner-freebsd-questions@FreeBSD.ORG Mon Jan 2 18:00:14 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 DF48216A41F for ; Mon, 2 Jan 2006 18:00:14 +0000 (GMT) (envelope-from adamnealis@yahoo.co.uk) Received: from web86904.mail.ukl.yahoo.com (web86904.mail.ukl.yahoo.com [217.12.13.56]) by mx1.FreeBSD.org (Postfix) with SMTP id 26D3043D55 for ; Mon, 2 Jan 2006 18:00:13 +0000 (GMT) (envelope-from adamnealis@yahoo.co.uk) Received: (qmail 71105 invoked by uid 60001); 2 Jan 2006 18:00:12 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=kcVp91asiMxK7K8rmJklmmTPHZ2QQqFfQEz1Jt7IO4qjszW/l5OXw5cogzkNF/5lKqO0w4xI6naMd1h6MpqlKM8GOHyhvhSyhG2AjGGIICR8jqLU1rpfL5JOOnieuRTrGo2tm/vANOqT8UjI7pXcdOHSzgJd8CuBtljuutFGHyY= ; Message-ID: <20060102180012.71103.qmail@web86904.mail.ukl.yahoo.com> Received: from [84.13.128.174] by web86904.mail.ukl.yahoo.com via HTTP; Mon, 02 Jan 2006 10:00:12 PST Date: Mon, 2 Jan 2006 10:00:12 -0800 (PST) From: Adam Nealis To: Crispy Beef , freebsd-questions@freebsd.org In-Reply-To: <43B95E40.6010002@ntlworld.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: Kernel Compilation... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jan 2006 18:00:15 -0000 --- Crispy Beef wrote: > > Adam Nealis wrote: > > --- Crispy Beef wrote: > > > > > >>Hi All, > >> > >>Just joined this list. The last time I used FreeBSD was with 4.6-RELEASE, so > >>a while ago now. I have just installed 6.0-RELEASE on my old laptop and have > >>been configuring the system, am onto the kernel at the moment, have followed > >>the traditional method in the FreeBSD handbook. All works fine (make depends) > > > > > > Yesterday I installed 6.0-RELEASE from ISO, then used cvsup to upgrade > > to 6.0-STABLE. I followed the steps given in /usr/src/Makefile: > > > > 1. `cd /usr/src' (or to the directory containing your source tree). > > 2. `make buildworld' > > 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). > > 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). > > 5. `reboot' (in single user mode: boot -s from the loader prompt). > > 6. `mergemaster -p' > > 7. `make installworld' > > 8. `mergemaster' > > 9. `reboot' > > > > Is this what you did? Can youprovide the precise steps you followed? > > > > > > Here's what I did: > > 1. Install from CD (6.0-RELEASE) > 2. Got latest kernel src with sysinstall Hmm. cvsup might be better. Having said that, when I cvsup'd 6.0-RELEASE after installing from CD, there were only one or two files updated. But my version went from 6.0-RELEASE to 6.0-RELEASE-p1. The other thing is you don't appear to have run buildworld. This step uses the 6.0-RELEASE source in /usr/src to build userland and gcc and so on. I'm not sure, but I think you have to use the compilation tools from buildworld to create your new kernel. > 3. cd /usr/src/sys/i386/conf > 4. Created my own config file (LAPTOP) > 5. Did a /usr/sbin/config LAPTOP > 6. Moved into compile directory (/usr/src/sys/i386/compile/LAPTOP) > 7. Did 'make depend' Did you do make cleandepend; make depend ? > 8. make > > At this point it failed... I'd be inclined to start from the beginning, going through the steps given in usr/src/Makefile > This machine has run Linux for the past few months compiling various things. Cheers, Adam. __________________________________ Yahoo! for Good - Make a difference this year. http://brand.yahoo.com/cybergivingweek2005/