From owner-freebsd-stable@FreeBSD.ORG Wed Apr 1 10:03:29 2009 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 00BC4106566B for ; Wed, 1 Apr 2009 10:03:29 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id B5C798FC21 for ; Wed, 1 Apr 2009 10:03:28 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id A981E19E02F; Wed, 1 Apr 2009 11:44:54 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 1458119E027; Wed, 1 Apr 2009 11:44:49 +0200 (CEST) Message-ID: <49D33790.6050805@quip.cz> Date: Wed, 01 Apr 2009 11:44:48 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: James Wu References: <49D0E4E7.3050001@connection.ca> In-Reply-To: <49D0E4E7.3050001@connection.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Upgrading from 7.0 to 7.1 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: Wed, 01 Apr 2009 10:03:29 -0000 James Wu wrote: > Hi all, > > I'm brand new to the list so forgive me if this has been answered. I > tried searching the archives and tried googling and didn't come up with > any results. > > I've been wanting to play with setfib multi-routing tables in 7.1, > however, we have a bunch of 7.0 machines. I thought I'd take a test > machine and upgrade it to 7.1. Everything went smoothly at first. I > compiled a custom 7.1 kernel and installed it just fine. Afterwards, I > ran: > > freebsd-update fetch > freebsd-update install > to upgrade to the latest 7.0 > > then: > freebsd-update upgrade -r 7.1-RELEASE > freebsd-update install -r 7.1-RELEASE > freebsd-update fetch > to upgrade to 7.1 Did you just these 3 commands? You must use freebsd-update install twice. First time for kernel upgrade, then reboot and then freebsd-update install again to install new userland. Do you have other binaries in /usr/sbin, /usr/bin, /bin /sbin upgraded? (ls -al shows newer date + time) > now when I do a > uname -a, > I get FreeBSD 7.1-RELEASE-p3 which looks right to me uname -a is derived from kernel, so it is possible that you have 7.1 kernel with 7.0 userland. > The problem I'm running into though is that the setfib binary doesn't > seem to been added during the upgrade as I don't see it anywhere. I took > a fresh install of 7.1 and do see it /usr/sbin/, but it's not there for > the upgraded version of 7.1. > I guess at this point, I would like to do a reinstall of the sbin folder > if it is possible or somehow get a clean copy of the /usr/sbin/ folder > into my upgraded machine. Any hints on how to do that? Miroslav Lachman