atom feed184 messages in org.freebsd.freebsd-stableRe: HEADS UP! Always use the 'make bu...
FromSent OnAttachments
6 earlier messages
Stephen Montgomery-SmithJul 9, 2000 10:04 pm 
Udo SchweigertJul 10, 2000 12:34 am 
Chris D. FaulhaberJul 10, 2000 5:09 am 
Jeff WymanJul 10, 2000 5:15 am 
Jeff WymanJul 10, 2000 5:33 am 
Daniel C. SobralJul 10, 2000 6:27 am 
Vivek KheraJul 10, 2000 7:04 am 
Gerd KnopsJul 10, 2000 7:08 am 
Vivek KheraJul 10, 2000 7:24 am 
Daniel C. SobralJul 10, 2000 8:12 am 
Doug BartonJul 10, 2000 10:10 am 
John BaldwinJul 10, 2000 10:13 am 
Kris KennawayJul 10, 2000 2:15 pm 
Kris KennawayJul 10, 2000 2:20 pm 
Kris KennawayJul 10, 2000 2:21 pm 
Kris KennawayJul 10, 2000 2:23 pm 
Vivek KheraJul 10, 2000 2:43 pm 
Eric JacoboniJul 10, 2000 3:10 pm 
Jeff WymanJul 10, 2000 3:31 pm 
John BaldwinJul 10, 2000 4:40 pm 
Kris KennawayJul 10, 2000 4:53 pm 
Greg LeheyJul 10, 2000 6:06 pm 
Richard WackerbarthJul 10, 2000 6:20 pm 
Warner LoshJul 10, 2000 8:37 pm 
Warner LoshJul 10, 2000 8:38 pm 
Warner LoshJul 10, 2000 8:40 pm 
Warner LoshJul 10, 2000 8:42 pm 
Marcel MoolenaarJul 10, 2000 10:00 pm 
Kris KennawayJul 10, 2000 10:04 pm 
Greg LeheyJul 10, 2000 10:09 pm 
Kris KennawayJul 10, 2000 10:16 pm 
Richard StanafordJul 10, 2000 10:18 pm 
Marcel MoolenaarJul 10, 2000 10:28 pm 
Kris KennawayJul 10, 2000 10:34 pm 
Marcel MoolenaarJul 10, 2000 10:41 pm 
Francisco ReyesJul 10, 2000 11:00 pm 
Chad R. LarsonJul 10, 2000 11:09 pm 
Francisco ReyesJul 10, 2000 11:13 pm 
Rodney W. GrimesJul 10, 2000 11:20 pm 
Kris KennawayJul 10, 2000 11:25 pm 
Marcel MoolenaarJul 10, 2000 11:25 pm 
Kris KennawayJul 10, 2000 11:30 pm 
Kris KennawayJul 10, 2000 11:36 pm 
Mike NowlinJul 10, 2000 11:45 pm 
Johan KarlssonJul 11, 2000 12:59 am 
Daniel C. SobralJul 11, 2000 1:31 am 
Jeff WymanJul 11, 2000 1:36 am 
Greg LeheyJul 11, 2000 1:58 am 
Eric JacoboniJul 11, 2000 2:01 am 
Brad KnowlesJul 11, 2000 2:03 am 
Kris KennawayJul 11, 2000 3:30 am 
Brad KnowlesJul 11, 2000 3:38 am 
Udo ErdelhoffJul 11, 2000 3:42 am 
Brad KnowlesJul 11, 2000 3:58 am 
Peter van HeusdenJul 11, 2000 4:29 am 
Brad KnowlesJul 11, 2000 5:38 am 
Jonathan FosburghJul 11, 2000 5:56 am 
Brandon D. ValentineJul 11, 2000 7:04 am 
Vivek KheraJul 11, 2000 7:39 am 
Stephen Montgomery-SmithJul 11, 2000 7:41 am 
Brad KnowlesJul 11, 2000 7:44 am 
Vivek KheraJul 11, 2000 7:47 am 
Sameer R. ManekJul 11, 2000 9:26 am 
Gerhard SittigJul 11, 2000 9:29 am 
Gerhard SittigJul 11, 2000 9:55 am 
Marcel MoolenaarJul 11, 2000 10:17 am 
Marcel MoolenaarJul 11, 2000 10:30 am 
Marcel MoolenaarJul 11, 2000 11:02 am 
Marcel MoolenaarJul 11, 2000 11:13 am 
Shawn BarnhartJul 11, 2000 11:33 am 
Jeff WymanJul 11, 2000 11:44 am 
David BushongJul 11, 2000 12:21 pm 
Christoph SoldJul 11, 2000 12:33 pm 
Richard StanafordJul 11, 2000 12:35 pm 
Linh PhamJul 11, 2000 12:38 pm 
Christoph SoldJul 11, 2000 12:45 pm 
Marcel MoolenaarJul 11, 2000 12:46 pm 
Gerhard SittigJul 11, 2000 12:46 pm 
Jeffrey J. MountinJul 11, 2000 12:50 pm 
JohnJul 11, 2000 12:57 pm 
Jonathan SmithJul 11, 2000 1:03 pm 
Christoph SoldJul 11, 2000 1:13 pm 
JohnJul 11, 2000 1:25 pm 
Bryan BurseyJul 11, 2000 2:10 pm 
Kris KennawayJul 11, 2000 3:11 pm 
Greg LeheyJul 11, 2000 8:19 pm 
Greg LeheyJul 11, 2000 8:22 pm 
Michael RobinsonJul 11, 2000 10:52 pm 
Jordan K. HubbardJul 11, 2000 11:01 pm 
Michael RobinsonJul 12, 2000 12:54 am 
Jordan K. HubbardJul 12, 2000 1:56 am 
Daniel C. SobralJul 12, 2000 4:35 am 
Daniel C. SobralJul 12, 2000 5:44 am 
Marcel MoolenaarJul 12, 2000 10:48 am 
Marcel MoolenaarJul 12, 2000 10:58 am 
Greg LeheyJul 12, 2000 4:50 pm 
Kris KennawayJul 12, 2000 5:43 pm 
Nik ClaytonJul 12, 2000 6:26 pm 
Daniel C. SobralJul 12, 2000 8:34 pm 
Warner LoshJul 12, 2000 9:52 pm 
78 later messages
Subject:Re: HEADS UP! Always use the 'make buildkernel' target to make yer kernels
From:Brad Knowles (bl@skynet.be)
Date:Jul 11, 2000 2:03:12 am
List:org.freebsd.freebsd-stable

At 11:31 PM -0700 2000/7/10, Kris Kennaway wrote:

Actually the "upgrading" bit is precisely what I was saying. It is true that buildkernel won't work in the case when you *haven't* upgraded your sources and haven't built world, and you just want to reconfigure your kernel with different options (because buildkernel relies on /usr/obj containing the required bits from buildworld), so in this case you have to use the old "config; make depend; make all; make install" method.

I'm slightly confused by which method is appropriate when.

Are you saying that if you've updated your sources via cvsup (or any other method), you should always use the new procedure, and otherwise use the old one? If so, can we get this incorporated into the short bullet-point list of steps required for "Staying Stable with FreeBSD"? In fact, it would appear to me that we are now starting to diverge rather significantly from section 18.4 of the Handbook.

As I understand it, the procedure should now be:

1. If you have updated your sources, the process of building a kernel may depend on which version of certain tools may be installed. Therefore, the only safe way to build a kernel on such a machine is to do the following:

make buildworld make buildkernel make installkernel shutdown (drop into single-user mode) make installworld mergemaster reboot

These steps require that you have defined "KERNEL=WHATEVER" in /etc/make.conf. If you have not, you will need to add "kernel=WHATEVER" to the "make installkernel" command above. This will install the kernel /WHATEVER, and you will need to have "kernel=/WHATEVER" in /etc/bootloader.conf.

2. If you have not updated your sources and just want to rebuild the kernel with the sources you already have, use the standard procedure:

config WHATEVER cd ../../compile/WHATEVER make depend make make install

However, if you have problems, you should try re-running this process with "config -r WHATEVER" to clean out the remnants of the old build tree and to clean out any potential cruft. Do not report problems to the mailing lists with kernels you have built, if you have not configured them with "config -r".

Note that the steps given in #1 above will install a copy of the GENERIC kernel. If you have a customized kernel, you'll need to follow those instructions to install the GENERIC kernel, and then follow the steps in #2 above to install your customized kernel.

Also note that if you run into problems anywhere along any part of either of these processes, ensure that you are not passing the "-j4" (or any other "-j#" argument) to make. If you are, then start over from the beginning, this time omitting the "-j4" argument to cause a parallel make. While using "-j4" usually works, there are sometimes problems with it. Do not report any problems to the mailing lists with a "make world", "make buildworld", or a kernel build that was done with a "-j4" argument passed to make.

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message