RE: -CURRENT, build kernel problem

From: Dean Searle <Dean_at_computingoasis.com>
Date: Sat, 24 May 2003 11:04:57 -0400
I'm not sure what all steps your doing to get your kernel to build, but
here are the steps that I use every time and my 5.0 -CURRENT system
hasn't had a problem yet. Also you want to make sure that you have all
the options set in you make.conf file to ensure you are getting
optimized builds. Make sure you pay close attention to the first
mergemaster. You could put yourself in a bind if you install the wrong
change. All these steps were taken from the FreeBSD handbook in CH 21.

less /usr/src/UPDATING
cp /etc/defaults/make.conf	/etc/make.conf
cd /usr/src/usr.sbin/mergemaster
./mergemaster.sh
cd /usr/src
make -DNOPROFILE buildworld
cd /usr/src
make buildkernel KERNCONF=yourkernelname
make installkernel KERNCONF=yourkernelname
cd /usr/src
make -DNOPROFILE installworld
mergemaster
cd /usr/src/release/sysinstall
make all install
fastboot
cd /usr/src/usr.bin/file
make all install

Dean Searle
Computing Oasis
989.245.7369 (p)
989.921.3904 (f)

-----Original Message-----
From: ODHIAMBO Washington [mailto:wash_at_wananchi.com] 
Sent: Saturday, May 24, 2003 6:02 AM
To: Simon L. Nielsen
Cc: freebsd-current_at_freebsd.org
Subject: Re: -CURRENT, build kernel problem

* Simon L. Nielsen <simon_at_nitro.dk> [20030524 12:55]: wrote:
> On 2003.05.24 12:46:35 +0300, ODHIAMBO Washington wrote:
> > * Sergey A. Osokin <osa_at_freebsd.org.ru> [20030524 12:33]: wrote:
> > > Try to use a new way
> > > (as described on 
> > >
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-b
uilding.html)
> > > 
> > > # cd /usr/src
> > > # make buildkernel KERNCONF=GENERIC
> > 
> > That is what I used, but anyway the GENERIC that comes with -current
can _NEVER_
> > compile. I accept bullets if anyone thinks otherwise
> 
> Ehh, it can't ?
> 
> [simon_at_eddie:~] uname -a
> FreeBSD eddie.nitro.dk 5.1-BETA FreeBSD 5.1-BETA #6: Thu May  8
11:21:45 CEST 2003
FreeBSD_at_trillian.nitro.dk:/usr/obj/data/FreeBSD/clean-CURRENT/sys/GENERI
C  i386
> 
> You might need to do a buildworld before buildkernel to get the
> bootstrapping tools updated.


Okay, one bullet rcvd. I did `cp GENERIC BEASTIE`
then tried to compile beastie wholesale first. I got over 1000
complainst ;-)
Now I am gonna rm GENERIC, cvsup again and try it. Perhaps cvsup
doesn't replace GENERIC!!





 	Best regards,
	Odhiambo Washington
        Wananchi Online Ltd.


___W_A_N_A_N_C_H_I__O_N_L_I_N_E__L_T_D___The People's Choice______
Wananchi Head Office    |*|	Tel: +254 2 313 985-9
1st Flr Loita, Loita St.|*|	Fax: +254 2 313 922
10286-GPO, NAIROBI, KE 	|*|	e-mail: <wash at wananchi dot com>
------------------------------------------------------------------
++

No, the Admins are the priesthood of an irrational, anarchistic, random,
pseudo-religious hardware platform, trying to impose their will on
people
who would rather be using us to avoid real work. The Admins are the ones
who
would rather be getting drunk and laid and doing things randomly.
 
Received on Sat May 24 2003 - 06:04:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:09 UTC