From owner-freebsd-stable Wed Dec 26 12:25:48 2001 Delivered-To: freebsd-stable@freebsd.org Received: from guru.mired.org (okc-65-31-201-166.mmcable.com [65.31.201.166]) by hub.freebsd.org (Postfix) with SMTP id 9421737B416 for ; Wed, 26 Dec 2001 12:25:31 -0800 (PST) Received: (qmail 54460 invoked by uid 100); 26 Dec 2001 20:25:30 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15402.12857.406331.699967@guru.mired.org> Date: Wed, 26 Dec 2001 14:25:29 -0600 To: Christopher Schulte Cc: cjclark@alum.mit.edu, Brian Behlendorf , stable@FreeBSD.ORG Subject: Re: make buildkernel fails on behalf of config version In-Reply-To: <5.1.0.14.0.20011226135014.03758008@pop3s.schulte.org> References: <20011226105454.Y92442-100000@localhost> <20011225153309.C136@gohan.cjclark.org> <5.1.0.14.0.20011226135014.03758008@pop3s.schulte.org> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Delivery-Agent: TMDA v0.42/Python 2.1.1 (freebsd4) From: "Mike Meyer" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Christopher Schulte types: > Manual patches included in an advisory may not cleanly apply to a moving > -STABLE target.... and if it's a time sensitive issue I want to cvsup > now. The only solution is to take the machine out of service for many > hours and build|install world|kernel in sync. Given a reasonable processor, it's not "many hours", it's more like 15 minutes even with "best practice" methods. That's because you can do the timeconsuming parts of the process with the machine still in service. With the system multiuser, do whatever you do to merge changes to GENERIC into your kernel config file. Then do: # make buildworld # required, for a number of reasons # make kernel # makes and installs the current kernel OK, *now* reboot, coming up single user so you're on the new kernel. If that fails, boot the old kernel and back out the new one, because you're not going to finish the upgrade. In single user mode, do: # make installworld # mergemaster # reboot The installworld runs in a matter of minutes. Mergemaster - well, it depends on how many changes have been made to the config files. If you have a test machine so you can be sure the kernel will boot - which is highly recommended in any case - you can try running installworld and mergemaster with the machine in service as well, though that may cause problems other than the kernel not booting, and is thus not recommended. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message