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
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.
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.
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.1Did 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 meuname -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