Date: Sat, 24 May 2003 11:04:57 -0400 From: "Dean Searle" <Dean@computingoasis.com> To: "ODHIAMBO Washington" <wash@wananchi.com>, "Simon L. Nielsen" <simon@nitro.dk> Cc: freebsd-current@freebsd.org Subject: RE: -CURRENT, build kernel problem Message-ID: <819E8DE0BA5B76408A9D7C9AC5866FC382F1@web00.computing-oasis.com>
next in thread | raw e-mail | index | archive | help
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=3Dyourkernelname make installkernel KERNCONF=3Dyourkernelname 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@wananchi.com]=20 Sent: Saturday, May 24, 2003 6:02 AM To: Simon L. Nielsen Cc: freebsd-current@freebsd.org Subject: Re: -CURRENT, build kernel problem * Simon L. Nielsen <simon@nitro.dk> [20030524 12:55]: wrote: > On 2003.05.24 12:46:35 +0300, ODHIAMBO Washington wrote: > > * Sergey A. Osokin <osa@freebsd.org.ru> [20030524 12:33]: wrote: > > > Try to use a new way > > > (as described on=20 > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-b uilding.html) > > >=20 > > > # cd /usr/src > > > # make buildkernel KERNCONF=3DGENERIC > >=20 > > That is what I used, but anyway the GENERIC that comes with -current can _NEVER_ > > compile. I accept bullets if anyone thinks otherwise >=20 > Ehh, it can't ? >=20 > [simon@eddie:~] uname -a > FreeBSD eddie.nitro.dk 5.1-BETA FreeBSD 5.1-BETA #6: Thu May 8 11:21:45 CEST 2003 FreeBSD@trillian.nitro.dk:/usr/obj/data/FreeBSD/clean-CURRENT/sys/GENERI C i386 >=20 > 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. =20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?819E8DE0BA5B76408A9D7C9AC5866FC382F1>