| From | Sent On | Attachments |
|---|---|---|
| 6 earlier messages | ||
| Stephen Montgomery-Smith | Jul 9, 2000 10:04 pm | |
| Udo Schweigert | Jul 10, 2000 12:34 am | |
| Chris D. Faulhaber | Jul 10, 2000 5:09 am | |
| Jeff Wyman | Jul 10, 2000 5:15 am | |
| Jeff Wyman | Jul 10, 2000 5:33 am | |
| Daniel C. Sobral | Jul 10, 2000 6:27 am | |
| Vivek Khera | Jul 10, 2000 7:04 am | |
| Gerd Knops | Jul 10, 2000 7:08 am | |
| Vivek Khera | Jul 10, 2000 7:24 am | |
| Daniel C. Sobral | Jul 10, 2000 8:12 am | |
| Doug Barton | Jul 10, 2000 10:10 am | |
| John Baldwin | Jul 10, 2000 10:13 am | |
| Kris Kennaway | Jul 10, 2000 2:15 pm | |
| Kris Kennaway | Jul 10, 2000 2:20 pm | |
| Kris Kennaway | Jul 10, 2000 2:21 pm | |
| Kris Kennaway | Jul 10, 2000 2:23 pm | |
| Vivek Khera | Jul 10, 2000 2:43 pm | |
| Eric Jacoboni | Jul 10, 2000 3:10 pm | |
| Jeff Wyman | Jul 10, 2000 3:31 pm | |
| John Baldwin | Jul 10, 2000 4:40 pm | |
| Kris Kennaway | Jul 10, 2000 4:53 pm | |
| Greg Lehey | Jul 10, 2000 6:06 pm | |
| Richard Wackerbarth | Jul 10, 2000 6:20 pm | |
| Warner Losh | Jul 10, 2000 8:37 pm | |
| Warner Losh | Jul 10, 2000 8:38 pm | |
| Warner Losh | Jul 10, 2000 8:40 pm | |
| Warner Losh | Jul 10, 2000 8:42 pm | |
| Marcel Moolenaar | Jul 10, 2000 10:00 pm | |
| Kris Kennaway | Jul 10, 2000 10:04 pm | |
| Greg Lehey | Jul 10, 2000 10:09 pm | |
| Kris Kennaway | Jul 10, 2000 10:16 pm | |
| Richard Stanaford | Jul 10, 2000 10:18 pm | |
| Marcel Moolenaar | Jul 10, 2000 10:28 pm | |
| Kris Kennaway | Jul 10, 2000 10:34 pm | |
| Marcel Moolenaar | Jul 10, 2000 10:41 pm | |
| Francisco Reyes | Jul 10, 2000 11:00 pm | |
| Chad R. Larson | Jul 10, 2000 11:09 pm | |
| Francisco Reyes | Jul 10, 2000 11:13 pm | |
| Rodney W. Grimes | Jul 10, 2000 11:20 pm | |
| Kris Kennaway | Jul 10, 2000 11:25 pm | |
| Marcel Moolenaar | Jul 10, 2000 11:25 pm | |
| Kris Kennaway | Jul 10, 2000 11:30 pm | |
| Kris Kennaway | Jul 10, 2000 11:36 pm | |
| Mike Nowlin | Jul 10, 2000 11:45 pm | |
| Johan Karlsson | Jul 11, 2000 12:59 am | |
| Daniel C. Sobral | Jul 11, 2000 1:31 am | |
| Jeff Wyman | Jul 11, 2000 1:36 am | |
| Greg Lehey | Jul 11, 2000 1:58 am | |
| Eric Jacoboni | Jul 11, 2000 2:01 am | |
| Brad Knowles | Jul 11, 2000 2:03 am | |
| Kris Kennaway | Jul 11, 2000 3:30 am | |
| Brad Knowles | Jul 11, 2000 3:38 am | |
| Udo Erdelhoff | Jul 11, 2000 3:42 am | |
| Brad Knowles | Jul 11, 2000 3:58 am | |
| Peter van Heusden | Jul 11, 2000 4:29 am | |
| Brad Knowles | Jul 11, 2000 5:38 am | |
| Jonathan Fosburgh | Jul 11, 2000 5:56 am | |
| Brandon D. Valentine | Jul 11, 2000 7:04 am | |
| Vivek Khera | Jul 11, 2000 7:39 am | |
| Stephen Montgomery-Smith | Jul 11, 2000 7:41 am | |
| Brad Knowles | Jul 11, 2000 7:44 am | |
| Vivek Khera | Jul 11, 2000 7:47 am | |
| Sameer R. Manek | Jul 11, 2000 9:26 am | |
| Gerhard Sittig | Jul 11, 2000 9:29 am | |
| Gerhard Sittig | Jul 11, 2000 9:55 am | |
| Marcel Moolenaar | Jul 11, 2000 10:17 am | |
| Marcel Moolenaar | Jul 11, 2000 10:30 am | |
| Marcel Moolenaar | Jul 11, 2000 11:02 am | |
| Marcel Moolenaar | Jul 11, 2000 11:13 am | |
| Shawn Barnhart | Jul 11, 2000 11:33 am | |
| Jeff Wyman | Jul 11, 2000 11:44 am | |
| David Bushong | Jul 11, 2000 12:21 pm | |
| Christoph Sold | Jul 11, 2000 12:33 pm | |
| Richard Stanaford | Jul 11, 2000 12:35 pm | |
| Linh Pham | Jul 11, 2000 12:38 pm | |
| Christoph Sold | Jul 11, 2000 12:45 pm | |
| Marcel Moolenaar | Jul 11, 2000 12:46 pm | |
| Gerhard Sittig | Jul 11, 2000 12:46 pm | |
| Jeffrey J. Mountin | Jul 11, 2000 12:50 pm | |
| John | Jul 11, 2000 12:57 pm | |
| Jonathan Smith | Jul 11, 2000 1:03 pm | |
| Christoph Sold | Jul 11, 2000 1:13 pm | |
| John | Jul 11, 2000 1:25 pm | |
| Bryan Bursey | Jul 11, 2000 2:10 pm | |
| Kris Kennaway | Jul 11, 2000 3:11 pm | |
| Greg Lehey | Jul 11, 2000 8:19 pm | |
| Greg Lehey | Jul 11, 2000 8:22 pm | |
| Michael Robinson | Jul 11, 2000 10:52 pm | |
| Jordan K. Hubbard | Jul 11, 2000 11:01 pm | |
| Michael Robinson | Jul 12, 2000 12:54 am | |
| Jordan K. Hubbard | Jul 12, 2000 1:56 am | |
| Daniel C. Sobral | Jul 12, 2000 4:35 am | |
| Daniel C. Sobral | Jul 12, 2000 5:44 am | |
| Marcel Moolenaar | Jul 12, 2000 10:48 am | |
| Marcel Moolenaar | Jul 12, 2000 10:58 am | |
| Greg Lehey | Jul 12, 2000 4:50 pm | |
| Kris Kennaway | Jul 12, 2000 5:43 pm | |
| Nik Clayton | Jul 12, 2000 6:26 pm | |
| Daniel C. Sobral | Jul 12, 2000 8:34 pm | |
| Warner Losh | Jul 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.
-- These are my opinions -- not to be taken as official Skynet policy ====================================================================== Brad Knowles, <bl...@skynet.be> || Belgacom Skynet SA/NV Systems Architect, Mail/News/FTP/Proxy Admin || Rue Colonel Bourg, 124 Phone/Fax: +32-2-706.13.11/12.49 || B-1140 Brussels http://www.skynet.be || Belgium
To Unsubscribe: send mail to majo...@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message





