Date: Tue, 16 Nov 2010 10:14:10 +0100 From: Alexandre <axelbsd@ymail.com> To: Rainer Duffner <rainer@ultra-secure.de> Cc: freebsd-stable@freebsd.org Subject: Re: [Bulk] Upgrading from 7.3 to 8.1: uname -a still shows 7.3p3 Message-ID: <AANLkTi=QstbW6M1shhvkLLpni-Zibk4MjFVD9pgvymrh@mail.gmail.com> In-Reply-To: <0D880B22-5743-4533-8642-0E5DB364D46B@ultra-secure.de> References: <0D880B22-5743-4533-8642-0E5DB364D46B@ultra-secure.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 16, 2010 at 1:42 AM, Rainer Duffner <rainer@ultra-secure.de>wrote: > Hi, > > I have the 8.1 sources, did a buildworld, buildkernel, installkernel, > installworld. > Now I have 8.1 binaries: > > server# file /bin/tcsh > /bin/tcsh: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), > dynamically linked (uses shared libs), for FreeBSD 8.1, stripped > > but not the kernel: > > server# uname -a > FreeBSD server 7.3-RELEASE-p3 FreeBSD 7.3-RELEASE-p3 #3: Tue Nov 16 > 01:12:23 CET 2010 root@server:/usr/obj/usr/src/sys/GENERIC i386 > > > How is that possible? > > Or is it just a mis-representation? > > kern.osreldate: 801000 > > I did a csup twice and rebuilt the kernel multiple times. > Also did a complete buildworld buildkernel cycle. > > > > > Regards, > Rainer > Hi, Have you really followed steps in /usr/src/Makefile ? I have added step 0 and 1a, that are useful if previous builworld fail. # For individuals wanting to upgrade their sources (even if only a # delta of a few days): # # 0. `rm -rf /usr/obj' {Added by me} # 1. `cd /usr/src' (or to the directory containing your source tree). # 1a. `make cleanworld' {Added by me, usefull if previous builworld failed} # 2. `make buildworld' # 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # [steps 3. & 4. can be combined by using the "kernel" target] # 5. `reboot' (in single user mode: boot -s from the loader prompt). # 6. `mergemaster -p' # 7. `make installworld' # 8. `make delete-old' # 9. `mergemaster' (you may wish to use -U or -ai). # 10. `reboot' # 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) The handbook is also useful : http://bit.ly/aIGbjj Alexandre.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=QstbW6M1shhvkLLpni-Zibk4MjFVD9pgvymrh>