From owner-freebsd-current Sun Nov 29 01:11:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA08721 for freebsd-current-outgoing; Sun, 29 Nov 1998 01:11:04 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ren.dtir.qld.gov.au ([203.46.81.66]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA08716 for ; Sun, 29 Nov 1998 01:11:02 -0800 (PST) (envelope-from syssgm@dtir.qld.gov.au) Received: by ren.dtir.qld.gov.au; id TAA16579; Sun, 29 Nov 1998 19:10:48 +1000 (EST) Received: from ogre.dtir.qld.gov.au(167.123.8.3) by ren.dtir.qld.gov.au via smap (3.2) id xma016577; Sun, 29 Nov 98 19:10:22 +1000 Received: from atlas.dtir.qld.gov.au (atlas.dtir.qld.gov.au [167.123.8.9]) by ogre.dtir.qld.gov.au (8.8.8/8.8.7) with ESMTP id TAA12345; Sun, 29 Nov 1998 19:10:22 +1000 (EST) Received: from nymph.dtir.qld.gov.au (nymph.dtir.qld.gov.au [167.123.10.10]) by atlas.dtir.qld.gov.au (8.8.5/8.8.5) with ESMTP id TAA22763; Sun, 29 Nov 1998 19:10:21 +1000 (EST) Received: from nymph.dtir.qld.gov.au (localhost.dtir.qld.gov.au [127.0.0.1]) by nymph.dtir.qld.gov.au (8.8.8/8.8.7) with ESMTP id TAA16558; Sun, 29 Nov 1998 19:10:19 +1000 (EST) (envelope-from syssgm@nymph.dtir.qld.gov.au) Message-Id: <199811290910.TAA16558@nymph.dtir.qld.gov.au> To: "Richard B. Ernst" cc: freebsd-current@FreeBSD.ORG, syssgm@dtir.qld.gov.au Subject: Re: 2.2.7-->current shortcut *boom* References: In-Reply-To: from "Richard B. Ernst" at "Fri, 27 Nov 1998 10:45:06 -0800" Date: Sun, 29 Nov 1998 19:10:19 +1000 From: Stephen McKay Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Friday, 27th November 1998, "Richard B. Ernst" wrote: >Any suggestions for getting a clean compile? If I have to shutdown to >single-user, my users will just have to live with it, but I'd rather be >fairly certain that whatever steps I take will actually solve the problem >rather then leaving the system in its current state. I recently upgraded a 2.2.5 box to current (a.out). Going elf is an exercise for the reader. >From memory I did: 1) in /usr/src: make buildworld 2) found new config binary in /usr/obj and installed it as config.new 3) in /sys/i386/conf: config.new TOYBOX 4) in /sys/compile/TOYBOX: copied in new bsd.kern.mk and edited out -fformat-extensions because the old compiler hates it. Edited Makefile to only look in . for bsd.kern.mk. make depend all. 5) copyied kernel to /kernel.new 6) test booted /kernel.new (all ok) 7) booted old kernel (back to 2.2.5) 8) in /usr/src: make installworld 9) renamed /kernel.new as /kernel 10) reboot Yeah, I think it went that way. All of this was in multiuser, but if you have people logged in, then make installworld will probably cause them or you some difficulty. I'd suggest single user from the test boot onwards. Have fun! Stephen. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message