From owner-freebsd-stable Wed May 31 2: 4:35 2000 Delivered-To: freebsd-stable@freebsd.org Received: from merganser.its.uu.se (merganser.its.uu.se [130.238.6.236]) by hub.freebsd.org (Postfix) with ESMTP id 7706937B5B1 for ; Wed, 31 May 2000 02:04:28 -0700 (PDT) (envelope-from ertr1013@student.csd.uu.se) Received: from regulus.student.UU.SE ([130.238.5.2]:46147 "HELO ertr1013.student.csd.uu.se") by merganser.its.uu.se with SMTP id ; Wed, 31 May 2000 11:04:06 +0200 Received: (qmail 1179 invoked by uid 1001); 31 May 2000 09:03:36 -0000 Date: Wed, 31 May 2000 11:03:36 +0200 From: Erik Trulsson To: Bharat Mediratta Cc: freebsd-stable@FreeBSD.ORG Subject: Re: GENERIC 4.0 kernel compile fails on in_cksum.c Message-ID: <20000531110336.A1153@student.csd.uu.se> Mail-Followup-To: Bharat Mediratta , freebsd-stable@FreeBSD.ORG References: <20000531005355.A47631@student.csd.uu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from bharat@sinia.com on Wed, May 31, 2000 at 01:43:16AM -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, May 31, 2000 at 01:43:16AM -0700, Bharat Mediratta wrote: > > > > Then, I followed these directions: > > > > > > # cd /usr/src/sys/i386/conf > > > # config GENERIC > > > # cd ../../compile/GENERIC > > > # make depend > > > # make > > > > Wrong. Very wrong. Where did you get these directions? > > http://www.freebsd.org/handbook/kernelconfig-building.html > > but I didn't actually use these directions; read on. > > > To upgrade from 3.4 to 4.0 you should follow the instructions in > > /usr/src/UPDATING. (After getting the 4.0 sources with cvsup.) > > What you are doing (trying to build a 4.0 kernel with 3.4 tools) is > > basically doomed to fail. > > Oops, you're (partially) right. I left out a few instructions when > I cut and paste. I actually followed /usr/src/UPDATING and did this: > > # cd src/usr.bin/genassym > # make depend all install clean > # cd ../../usr.sbin/config > # make depend all install clean > # cd ../../sys/i386/conf > # config GENERIC > # cd ../../compile/GENERIC > # make depend && make > > And this is where it bombed. For reference, /usr/src/UPDATING says: > > To build a kernel > ----------------- > Update config, genassym and go: > cd src/usr.bin/genassym > make depend all install clean > cd ../../usr.sbin/config > make depend all install clean > cd ../../sys/i386/conf > config YOUR_KERNEL_HERE > cd ../../compile/YOUR_KERNEL_HERE > make depend && make > make install > > Kris Kenneway was kind enough to point out that source upgrading from > 3.4-STABLE to 4.0-STABLE is not supported (now where is *that* documented... > did I miss it?) and he instructed me on upgrading from 3.4-STABLE > to 4.0-RELEASE. I've pulled down the 4.0-RELEASE code and thus far > the kernel has compiled. My copy of /usr/src/UPDATING (from 4.0-stable) doesn't look quite like that but nevermind, you are probably just using a slightly older version. The sequence of things to do when upgrading from 3.4 to 4.0 is basically: make buildworld # It doesn't appear as if you have done this make buildkernel make installkernel reboot using the new kernel make installworld mergemaster reboot (I have omitted some steps. see /usr/src/UPDATING for all the details.) Note that the 4.0 kernel has to be built using the 4.0 tools. > > So if I want to go from 3.4-STABLE to 4.0-STABLE I apparently have to > upgrade *twice* (once to 4.0-RELEASE, then again to 4.0-STABLE). Does > it have to be this way? From an abstract point of view, it seems that > there should be a straight STABLE upgrade path... It will probably work to upgrade directly to 4.0-stable but since the developers don't want to check that it still works after every change to 4.0-stable it isn't (officially) supported. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message