From owner-freebsd-current@FreeBSD.ORG Wed Aug 25 13:02:17 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7468F16A4CE; Wed, 25 Aug 2004 13:02:17 +0000 (GMT) Received: from anchor-post-33.mail.demon.net (anchor-post-33.mail.demon.net [194.217.242.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1C3543D2D; Wed, 25 Aug 2004 13:02:16 +0000 (GMT) (envelope-from tim@contentspace.demon.co.uk) Received: from contentspace.demon.co.uk ([80.177.161.24] helo=godzuki.contentspace.priv) by anchor-post-33.mail.demon.net with esmtp (Exim 3.35 #1) id 1BzxPr-00018k-0X; Wed, 25 Aug 2004 13:02:15 +0000 From: Tim Hawkins Organization: Contentspace LLP To: Harti Brandt Date: Wed, 25 Aug 2004 14:07:49 +0100 User-Agent: KMail/1.6.2 References: <20040824130849.GA12431@megalogika.lt> <200408250817.38664.tim@contentspace.demon.co.uk> <20040825135315.I553@beagle.kn.op.dlr.de> In-Reply-To: <20040825135315.I553@beagle.kn.op.dlr.de> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200408251407.50063.tim@contentspace.demon.co.uk> X-Mailman-Approved-At: Thu, 26 Aug 2004 11:52:25 +0000 cc: freebsd-current@freebsd.org Subject: Re: problems during upgrade to RELENG_5 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: tim@contentspace.demon.co.uk List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 13:02:17 -0000 On Wednesday 25 August 2004 13:09, Harti Brandt wrote: The exact sequence of events I went through was , (it was my fault, but a gottcha). on a machine running 16th July current 1) CVSUP sources to August 19th current. 2) edit kernel conf to add ndis and NDISAPI so I can load driver for broadcomm wifi card. 3) Make buildworld.. 4) ndisconv driver ............ 5) Make buildkernel, which fails because of a problem in ndis side, thinks ahh well. 6) edit kern conf to remove ndis options 7) make buildkernel again, all ok 8) make installkernel 9) reboot into single user, mount fs's etc 10) mergemaster -p 11) make installworld ...... fails, cannot find ndis.ko, lesson learnt, buildworld looks at kernel conf 12) reboot on old kernel 13) make buildworld .... fails, make not working, cp /usr/obj make to userland... 14) make buildworld ... all ok 15) make buildkernel .... fails on genatmtree ... cp /usr/obj version to user land ... 16) make buildkernel again, .... all ok 17) make installkernel 18) ..... carry on and get full system up again 19) stop shaking :-) It was mainly my own fault for editing the kern conf file between makes, but it could be less fragile if kernbuilds used the binaries built either in buildworld, or buildkernel, and does not assume userland binaries are up to date. > On Wed, 25 Aug 2004, Tim Hawkins wrote: > > TH>On Tuesday 24 August 2004 17:36, Ruslan Ermilov wrote: > TH> > TH>I had the same problem without using make includes, the result of an > TH>installworld failure. I had to copy the version of genatmtree from > /usr/obj TH>to userland in order to be able to rebuild world to fix it. > TH> > TH>I also had the same problem with "make" where I could not rebuild > anything TH>untill I had copied /usr/obj version to userland > > Perhaps osreldate.h gets clobbered too early in the install process. If > the install process breaks at some point osreldate may contain the new > FreeBSD version already. If the user then removes /usr/obj and buildworlds > again, the tools won't get build because Makefile.inc1 gets the wrong > BOOTSTRAPPING version. > > Just a guess. > > harti > > TH> > TH> > TH>> On Tue, Aug 24, 2004 at 05:11:32PM +0200, Harti Brandt wrote: > TH>> > On Tue, 24 Aug 2004, Tomas Verbaitis wrote: > TH>> > > TH>> > TV>2) Next failure was this: > TH>> > TV>===> snmp_atm > TH>> > TV>cat > TH>> > > TV>/usr/src/lib/libbsnmp/modules/snmp_atm/../../../../contrib/ngatm/snmp_ > TH>> >atm/atm_tree.def > TV>/usr/src/lib/libbsnmp/modules/snmp_atm/atm_freebsd.def TH>> > | > gensnmptree -e TV>begemotAtm > atm_oid.h > TH>> > TV>line 110: junk after closing ')' > TH>> > > TH>> > The problem seems to be that it is running an old gensnmptree from > TH>> > /usr/bin although it should build and run a new one. Can you tell me > what TH>> > is the __FreeBSD_version in /usr/include/osreldate.h on the > system you TH>> > are trying to upgrade? > TH>> > TH>> Harti, nothing to worry about, you can safely close PR. This is what > TH>> happens when people do "make includes" without understanding that it > TH>> will ruin their build environment. ``make buildworld OSRELDATE=0'' > TH>> usually helps these pour souls. ;) > TH>> > TH>> > TH>> Cheers, > TH>_______________________________________________ > TH>freebsd-current@freebsd.org mailing list > TH>http://lists.freebsd.org/mailman/listinfo/freebsd-current > TH>To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" TH> > TH> > TH>