From owner-freebsd-stable@FreeBSD.ORG Tue Nov 16 09:27:21 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C42B106566B for ; Tue, 16 Nov 2010 09:27:21 +0000 (UTC) (envelope-from axelbsd@ymail.com) Received: from nm6.bullet.mail.ukl.yahoo.com (nm6.bullet.mail.ukl.yahoo.com [217.146.182.227]) by mx1.freebsd.org (Postfix) with SMTP id 6FF1E8FC16 for ; Tue, 16 Nov 2010 09:27:20 +0000 (UTC) Received: from [217.146.183.181] by nm6.bullet.mail.ukl.yahoo.com with NNFMP; 16 Nov 2010 09:14:31 -0000 Received: from [217.146.183.167] by tm12.bullet.mail.ukl.yahoo.com with NNFMP; 16 Nov 2010 09:14:31 -0000 Received: from [127.0.0.1] by omp1008.mail.ukl.yahoo.com with NNFMP; 16 Nov 2010 09:14:31 -0000 X-Yahoo-Newman-Id: 65951.38097.bm@omp1008.mail.ukl.yahoo.com Received: (qmail 68098 invoked from network); 16 Nov 2010 09:14:31 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1289898871; bh=Nh9AfRU+dQbLJYL9nsY+mx9XdxkvV4vvxtt0YJaq6PI=; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Received:MIME-Version:Received:In-Reply-To:References:From:Date:Message-ID:Subject:To:Cc:Content-Type; b=kij9RMmKCpPqeZDQjjNzykwMjiwrbG4QKcdyW6JwEbiLbDQo9kmHgn70R4hnreBLXVfP2URV33N0ZzCPL/A4+zpSJ/evqTlutMwxBzxPxjmKB/qg8NbsVeodLoo4dZAdqmrNaNLneuGP5sAMOownPvQOMWQfpD6zmF5v1KhYDGs= Received: from mail-ww0-f42.google.com (axelbsd@74.125.82.42 with plain) by smtp131.mail.ukl.yahoo.com with SMTP; 16 Nov 2010 09:14:30 +0000 GMT X-Yahoo-SMTP: S65s63SswBDjU54Gjqw2GSWlZmfgiEU_X3tN1_9u X-YMail-OSG: lEQFLIYVM1mvF.77uJQ2CWm9.ayOJsHZSZnWNimDCVIstNe NDXBWCI1JIs2EYpTu11u3lj0PSEltGhEcy2QRnZIsNo8P9XhnTP28ZTLhIcz sOjDi9RsgwBrjuJ_IHOU8y6DM5yBOOLTQYzViBfr.2EvVUnHtKauFopiE.28 LdLnQWkfYtDDygyDYfCV2kKdylXyK9Lnp9mADWFP5xolGpeZfNVnEvBJxWF1 4jXqQv3kNxEVCCJqKJP4UJiuOlNKNJluhtqBI.JGp2zAz4OSV X-Yahoo-Newman-Property: ymail-3 Received: by wwb13 with SMTP id 13so318999wwb.1 for ; Tue, 16 Nov 2010 01:14:30 -0800 (PST) Received: by 10.227.137.197 with SMTP id x5mr7371801wbt.198.1289898870288; Tue, 16 Nov 2010 01:14:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.227.134.67 with HTTP; Tue, 16 Nov 2010 01:14:10 -0800 (PST) In-Reply-To: <0D880B22-5743-4533-8642-0E5DB364D46B@ultra-secure.de> References: <0D880B22-5743-4533-8642-0E5DB364D46B@ultra-secure.de> From: Alexandre Date: Tue, 16 Nov 2010 10:14:10 +0100 Message-ID: To: Rainer Duffner Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: [Bulk] Upgrading from 7.3 to 8.1: uname -a still shows 7.3p3 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2010 09:27:21 -0000 On Tue, Nov 16, 2010 at 1:42 AM, Rainer Duffner 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.