Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Feb 2004 02:31:26 +0100
From:      Danny Pansters <danny@ricin.com>
To:        rfa@msumain.edu.ph
Cc:        freebsd-questions@freebsd.org
Subject:   Re: kernel compile error
Message-ID:  <200402290231.26487.danny@ricin.com>
In-Reply-To: <3961.203.177.105.178.1078015974.squirrel@bayok.msumain.edu.ph>
References:  <3961.203.177.105.178.1078015974.squirrel@bayok.msumain.edu.ph>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 29 February 2004 01:52, rfa@msumain.edu.ph wrote:
> Im kinda new at this and
>
> I was compiling my kernel on my Dell Inspiron600m running FreeBSD 5.2
> RELEASE when I just remembered[after taking a nap] that I did
>
> #make buildkernel KERNCONF=GENERIC

If you build your own kernel, you should give it another name than GENERIC 
(and change ident in your config file). 

>
> and I forgot to edit the /usr/src/sys/i386/conf/GENERIC file before
> running the process.
>
> anyway, the #make buildkernel completed and i wanted to change the GENERIC
> file so i went aroung and commented out all the stuff that i didnt have on
> my system and did a #make buildkernel KERNCONF=GENERIC again only to have
> errors after about a minute into the process.
>
> My Questions Are:
> Is it wrong to do this process again after a successful #make buildkernel?
> If so, what should I do to do it successfully? [should i rm -rf /usr/src
> && cvsup -g -L 2 /etc/standard-supfile && make world again?]

Never run "make world" literally. Run make buildworld, make kernel, make 
installworld, mergemaster.

>
> Or is it possible that my GENERIC file is wrong?

Yes, you edited too much out. This is a FAQ:

> #device         scbus           # SCSI bus (required for SCSI)
> device          umass           # Disks/Mass storage - Requires scbus and

HTH,

Dan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402290231.26487.danny>