From owner-freebsd-stable Tue Aug 1 19:39:26 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mail.rz.uni-ulm.de (sirius-ether.rz.uni-ulm.de [134.60.1.36]) by hub.freebsd.org (Postfix) with ESMTP id C42F837BF6A for ; Tue, 1 Aug 2000 19:39:19 -0700 (PDT) (envelope-from siegbert.baude@gmx.de) Received: from gmx.de (lilith.wohnheim.uni-ulm.de [134.60.106.64]) by mail.rz.uni-ulm.de (8.9.3/8.9.3) with ESMTP id EAA28923; Wed, 2 Aug 2000 04:39:09 +0200 (MEST) Message-ID: <398789CD.2DADAB33@gmx.de> Date: Wed, 02 Aug 2000 04:39:09 +0200 From: Siegbert Baude X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 4.1-STABLE i386) X-Accept-Language: de, en MIME-Version: 1.0 To: Warner Losh Cc: "Corey G." , freebsd-stable@freebsd.org Subject: Suggestion for change of /usr/src/UPDATING (was: Re: HEADS UP! Always use the 'make buildkernel' target to make yer kernels) References: <20000731030044.A17511@flashcom.net> <4.3.2.20000709232757.00b1e6a0@207.227.119.2> <200008012102.PAA86077@harmony.village.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello Warner, Warner Losh wrote: > > In message <20000731030044.A17511@flashcom.net> "Corey G." writes: > : How come these exact procedures are not included in /usr/src/UPDATING > : after upgrading to 4.1? For example, the only mention of "mergemaster" > : is when upgrading from 3.x to 4.0 stable. I do not see any mention of > : the exact procedures below in my newly created /usr/src/UPDATING file > : after a cvsup to 4.1. > > Because I'm lazy and no body has sent me anything to put there. So I try to jump in :-) What about the following in /usr/src/UPDATING : ---Begin Suggestion--- COMMON ITEMS: To build a kernel ----------------- cd /usr/src # If you have not already done so, please buildworld here # You will also want to update your kernel config file. # For IBM-PC compatible systems is "i386": cd /usr/src/sys//conf # Usually people tend to start with GENERIC from 4.0 and hack from there. cp GENERIC YOUR_KERNEL_HERE # Using your favourite editor: Throw out things of , # you don't need and merge in the appropriate lines from LINT. cd /usr/src make buildkernel KERNEL=YOUR_KERNEL_HERE make installkernel KERNEL=YOUR_KERNEL_HERE # Verify that the new kernel works, it will be installed as # /YOUR_KERNEL_HERE chflags noschg /kernel chflags noschg /YOUR_KERNEL_HERE mv /kernel /kernel.old mv /YOUR_KERNEL_HERE /kernel chflags schg /kernel # In order to make the new kernel work, you have to reboot. # Don't do this now, if you're in the middle of a buildworld/installworld # after upgrading your system via CVS. See below for CVS. reboot To rebuild disk /dev entries ---------------------------- [snip] Except when it doesn't work :-) To update your system via CVS (tracking the STABLE-branch) ---------------------------------------------------------- # Follow the instructions on http://www.freebsd.org/support.html#cvs # or in /usr/share/doc/handbook/synching.html # to download the newest files via CVS cd /usr/src make buildworld # Follow directions to build/install a kernel # from above, but DON'T REBOOT NOW shutdown now cd /usr/src make installworld mergemaster reboot ---End Suggestion And I think there is one line in "To update from 3.x to 4.0 stable", which isn't correct (don't know exactly, as I never did this). Watch the line marked with --> <-- : To update from 3.x to 4.0 stable -------------------------------- [3] cd /usr/src [2] make buildworld cd /usr/src/sys/modules make install cd /usr/src/sbin/mknod make install [1] --> reboot <-- cd /usr/src cd gnu/usr.bin/texinfo/install-info make install cd ../../../.. make installworld [5] mergemaster [4] reboot This line should be "shutdown now", isn't it? Any further suggestions to make life of Warner easier? Ciao Siegbert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message