From owner-freebsd-stable@FreeBSD.ORG Mon Mar 30 16:51:25 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 30CDB1065672 for ; Mon, 30 Mar 2009 16:51:25 +0000 (UTC) (envelope-from james@connection.ca) Received: from nc-tor-mail2.connection.ca (nc-tor-mail2.connection.ca [205.207.122.27]) by mx1.freebsd.org (Postfix) with ESMTP id 0C7138FC18 for ; Mon, 30 Mar 2009 16:51:24 +0000 (UTC) (envelope-from james@connection.ca) Received: from [172.31.200.217] (external.tor.connection.ca [216.234.38.18]) by nc-tor-mail2.connection.ca (Postfix) with ESMTP id 27A1E74E5DF; Mon, 30 Mar 2009 12:51:24 -0400 (EDT) Message-ID: <49D0F88B.70909@connection.ca> Date: Mon, 30 Mar 2009 12:51:23 -0400 From: James Wu User-Agent: Thunderbird 2.0.0.21 (X11/20090318) MIME-Version: 1.0 To: ricardo.m.jesus@criticalsoftware.com References: <49D0E4E7.3050001@connection.ca> <49D0F209.20100@gmail.com> In-Reply-To: <49D0F209.20100@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; 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: Mon, 30 Mar 2009 16:51:26 -0000 Ricardo Jesus wrote: > 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 >> >> now when I do a >> uname -a, >> I get FreeBSD 7.1-RELEASE-p3 which looks right to me >> >> 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? >> >> James >> >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to >> "freebsd-stable-unsubscribe@freebsd.org" >> > The problem is you are mixing custom kernels with freebsd-update. > freebsd-update only works for binary updates (kernel + userland). > > So either stick will freebsd-update or use csup and compile custom > kernel and world. > I should probably clarify what I meant by custom kernel. It's the 7.1 kernel with a patch for a driver that the hardware needs. Otherwise, it is the vanilla 7.1 kernel. I just tried to do a freebsd-update rollback and then did a freebsd-update fetch again. This is what I get: The following files will be updated as part of updating to 7.1-RELEASE-p4: /usr/bin/dig /usr/bin/host /usr/bin/nslookup /usr/bin/nsupdate /usr/bin/openssl /usr/lib/libssl.a /usr/lib/libssl.so.5 /usr/lib/libssl_p.a /usr/libexec/lukemftpd /usr/libexec/telnetd /usr/sbin/dnssec-keygen /usr/sbin/dnssec-signzone /usr/sbin/lwresd /usr/sbin/named /usr/sbin/named-checkconf /usr/sbin/named-checkzone /usr/sbin/named-compilezone /usr/sbin/ntpd /usr/sbin/rndc-confgen /usr/src/contrib/lukemftpd/src/ftpd.c /usr/src/contrib/telnet/telnetd/sys_term.c /usr/src/sys/conf/newvers.sh /usr/src/sys/kern/kern_environment.c /usr/src/sys/kern/kern_time.c It seems to be updating the various binaries in /usr/sbin just fine. However, there is no reference to setfib.