Date: Sun, 16 Nov 1997 22:42:16 +1030 (CST) From: Kristian Kennaway <kkennawa@physics.adelaide.edu.au> To: kuku@gilberto.physik.RWTH-Aachen.DE (Christoph Kukulies) Cc: freebsd-current@freefall.FreeBSD.org Subject: Re: catching up to -current on a 2.2 system Message-ID: <9711161212.AA07432@bragg> In-Reply-To: <199711151625.RAA06856@gil.physik.rwth-aachen.de> from "Christoph Kukulies" at Nov 15, 97 05:25:08 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> So I decided today to cvsup a machine to -current
> and started a world build which dies very soon with:
My strategy for upgrading from 2.2 to 3.0 has been as follows:
1) Backup /usr/src and /usr/sup/src-all/* (tha latter if you're using
cvsup to track the source tree)
2) rm -rf /usr/src /usr/sup/src-all/* (I seemed to run into troubles
with cvsup after upgrading the source tree from 2.2 to 3.0 which seemed
to be resolved when I removed the checkouts.cvs:2.2 file - I guess this
was causing cvsup to barf for some reason)
3) Either download the src distribution tree from current.freebsd.org or
run cvsup to pull down the new tree
4) make world
5) make a new kernel & install it (backing up the old one). Might help to
take a look over some of the newer options in
/usr/src/sys/i386/conf/LINT
6) Reboot - you may get errors about "bad system call"s because the
system is trying to run 3.0 binaries with a 2.2 kernel. DI'm not sure
just how "unstable" this interim system is, but I havent had any problems
which have prevented me from building the new kernel before rebooting.
That is an important step, though - you'll find yourself in trouble if
you reboot BEFORE compiling and installing a 3.0 kernel, since the 2.2
kernel will have extreme difficulty interfacing with the 3.0 binaries :-)
7) At some stage, you should upgrade your /etc directory (backing the
existing files up beforehand, of course). I think theres a tutorial which
takes you through this on the website.
> > libkvm_p.a
> rm -f kvm.so kvm_i386.so kvm_file.so kvm_getloadavg.so kvm_proc.so shared/*.o
> rm -f libkvm.so.*.* libkvm_pic.a
> rm -f .depend
> rm -f /home/src/lib/libkvm/GRTAGS /home/src/lib/libkvm/GTAGS
> ===> lib/libmd
> "/home/src/lib/libmd/Makefile", line 4: Malformed conditional (${BINFORMAT} != e
> lf)
> "/home/src/lib/libmd/Makefile", line 6: if-less endif
> "/home/src/lib/libmd/Makefile", line 6: Need an operator
> make: fatal errors encountered -- cannot continue
> *** Error code 1
>
> Stop.
> *** Error code 1
>
> Stop.
> *** Error code 1
>
This may just be a temporary snafu in the CVS tree..happens from time to
time. Try another cvsup and see what happens: if you notice any
"activity" in src/lib/libmd, it's likely this was just a bad commit which
has been rectified.
Kris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9711161212.AA07432>
