kernel compile error

Danny Pansters danny at ricin.com
Sat Feb 28 17:31:29 PST 2004


On Sunday 29 February 2004 01:52, rfa at 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


More information about the freebsd-questions mailing list