[Bulk] Upgrading from 7.3 to 8.1: uname -a still shows 7.3p3
Alexandre
axelbsd at ymail.com
Tue Nov 16 09:27:21 UTC 2010
On Tue, Nov 16, 2010 at 1:42 AM, Rainer Duffner <rainer at 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 at 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.
More information about the freebsd-stable
mailing list