From owner-freebsd-isp Sat Mar 22 12:56:58 2003 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 526FC37B401 for ; Sat, 22 Mar 2003 12:56:57 -0800 (PST) Received: from seven.Alameda.net (seven.Alameda.net [64.81.63.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id B93F443F75 for ; Sat, 22 Mar 2003 12:56:56 -0800 (PST) (envelope-from ulf@Alameda.net) Received: by seven.Alameda.net (Postfix, from userid 1000) id 26CFD3A201; Sat, 22 Mar 2003 12:56:54 -0800 (PST) Date: Sat, 22 Mar 2003 12:56:54 -0800 From: Ulf Zimmermann To: Lewis Watson Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Production Machine, Custom Kernel, Updating to P9 Message-ID: <20030322125653.V11496@seven.alameda.net> Reply-To: ulf@Alameda.net References: <009701c2f0b1$b9914c20$a977ca41@vsis169> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <009701c2f0b1$b9914c20$a977ca41@vsis169>; from lists@visionsix.com on Sat, Mar 22, 2003 at 02:29:23PM -0600 Organization: Alameda Networks, Inc. X-Operating-System: FreeBSD 4.7-RELEASE-p2 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Mar 22, 2003 at 02:29:23PM -0600, Lewis Watson wrote: > Hello list members, > First, please direct me to a more suitable list if this is too OT. I am > running a few FreeBSD machines in a small isp environment. I want to > upgrade from release 4.7-p7 to release 4.7-p9 on a machine with a > customized kernel that is *in production* and am hoping that those of you > more experienced with FreeBSD can give me some advise to keep this machine > solid. > > In my limited past I have went the route of install OS from cd; cvsup with > RELENG_4_7 all the way to make installworld and then once the OS was > updated I would customize my kernel. So now I want to update to 4.7-p9 and > I have a customized kernel and am not sure what is the best way to > proceed. > > I have read /usr/src/UPDATING and the handbook regarding rebuilding the > kernel after syncing the src. It looks as if I have two paths. 1) Rebuild > with my custom kernel or 2) rebuild with a generic kernel and then rebuild > a custom kernel later. I would prefer to go with my custom kernel but am > afraid that something may break; which in turns makes me want to go with > GENERIC... but then..... > > I have googled this in various ways and found an article where make > buildkernel KERNCONF=GENERIC would stop with an error in his case. So > before I hose my system I am hoping that the more experienced list members > in the isp environment who understand my situation could share their past > experiences... > Thank you, > Lewis Here is in short form what I do in production machines: cvsup (RELENG_4 or RELENG_4_7 depending what it runs) cd /usr/src make buildworld make buildkernel KERNCONF= make installkernel KERNCON= make installworld mergemaster I am doing it all the time, even on machines remotely, with no consoles. Depending on large of an upgrade, the mergemaster is very important. I always never use the GENERIC kernel after the first initial install. -- Regards, Ulf. --------------------------------------------------------------------- Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-865-0204 You can find my resume at: http://seven.Alameda.net/~ulf/resume.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message