cvsup freebsd 6_2 to freebsd 7_1 not upgrading?

Brooks Davis brooks at freebsd.org
Mon Jan 5 22:33:40 UTC 2009


On Mon, Jan 05, 2009 at 03:08:01PM -0700, Brian Duke wrote:
> Forgive me for not being as clear as I should have been. I was trying to be brief.
> The original email stated in the paragraph below my procedure...
> 
> > I cannot understand why this system will not upgrade. Even with the 
> > mergemaster -p commands added this system always boots to FreeBSD 
> > 6.2-RELEASE.
> 
> I do reboot after the 
> #make installkernel
> I do run mergemaster;
> 
> The fact is I made a critical mistake at the beginning of this
> endeavor which left me in this condition.
> 
> I followed this procedure
> http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-6x-7x.txt up
> to the point where I was supposed to change from /usr/src to /usr/adm
> and type "make update". At that moment I knew I made a mistake not
> coming from FreeBSD6.4. I got an immediate "Bad system call (core
> dumped)". I tried to correct the problem by building world and kernel
> manually. That didn't help. Everything builds find with no visible
> errors. Since then I've been trying to fix that mistake. Here is an
> example of what happens during freebsd-update.
>
> # freebsd-update fetch
> Looking up update.FreeBSD.org mirrors... Bad system call (core dumped)
> none found.
> Fetching public key from update.FreeBSD.org... done.
> Fetching metadata signature for 6.2-RELEASE from update.FreeBSD.org... done.
> Fetching metadata index... done.
> Fetching 2 metadata files... done.
> Inspecting system... done.
> Preparing to download files... done.
> Fetching 69 files... failed.
> #
> 
> csup also does an immediate core dump. That???s why I'm using
> cvsup. My Perl5.8.8 seems unaffected. I'd like to keep my /usr/home
> if possible and certain video drivers. That???s why I downloaded and
> burned new 7.1 CD's to see if the upgrade there would correct my
> src. The install boots up and says it will not fix my src's and tells
> me to try cvsup again.

Since it looks like your supfile below is OK, you might try blowing away
/usr/src and the contents of /var/db/sup and trying again.  Assuming
none of the build binaries are 6.4 or 7.1 dependent, you may be able to
recover from a clean tree.  Otherwise, it looks like you'll need to do a
manual refresh of 6.2 from the CD or reinstall.  A back up of key data and
reinstall may well be fastest at this point.

> Does "uname -a" only show me the MOTD data? I thought that program was
> a bit more precise. I've used FreeBSD for years but still consider
> myself very new.

uname -a returns the versions string it gets from the kernel so it
should be accurate. /etc/motd is updated at boot using the output of
uname.

> My supfile looks like this:
> ------------------------------------------------
> # IMPORTANT: Change the next line to use one of the CVSup mirror sites
> # listed at http://www.freebsd.org/doc/handbook/mirrors.html.
> *default host=cvsup15.us.FreeBSD.org
> *default base=/var/db
> *default prefix=/usr
> *default release=cvs tag=RELENG_7_1
> *default delete use-rel-suffix
> 
> # If you seem to be limited by CPU rather than network or disk bandwidth, try
> # commenting out the following line.  (Normally, today's CPUs are fast enough
> # that you want to run compression.)
> *default compress
> 
> ## Main Source Tree.
> #
> # The easiest way to get the main source tree is to use the "src-all"
> # mega-collection.  It includes all of the individual "src-*" collections.
> src-all
> ---------------------------------------------------------
> 
> I've used FreeBSD for years but still consider myself very
> new. I appreciate the help reminding me to reboot and then make
> installworld. I should have written the first email a bit clearer.
> 
> agrapha
> 
> -----Original Message-----
> From: owner-freebsd-stable at freebsd.org [mailto:owner-freebsd-stable at freebsd.org] On Behalf Of Barbara
> Sent: Monday, January 05, 2009 2:05 PM
> To: brian at box201.com
> Cc: FreeBSD-stable at FreeBSD.org
> Subject: cvsup freebsd 6_2 to freebsd 7_1 not upgrading?
> 
> 
> 
> >----Messaggio originale----
> >Da: barbara.xxx1975 at libero.it
> >Data: 05/01/2009 
> 22.01
> >A: <brian at box201.com>, <FreeBSD-stable at FreeBSD.org>
> >Ogg: R: cvsup 
> freebsd 6_2 to freebsd 7_1 not upgrading?
> >
> >
> >>Hello List,
> >>I'm trying to 
> upgrade my system from 6_2 to 7_1 and cannot seem 
> >to do it.
> >>Perhaps I'm 
> missing something. Here is the basic procedure I'm 
> >following.
> >>
> >>#cp 
> /usr/share/examples/cvsup/standard-supfile /root/stand_sup
> >
> >>#vi 
> /root/stand_sup
> >><<<host=CHANGE_ME.freebsd.org
> >>>>>host=cvsup15.us.FreeBSD.
> 
> >org
> >><<<tag=RELENG_6_2
> >>>>>tag=RELENG_7_1
> >>
> >>#cd /usr/src
> >>#cvsup -g -L2 
> 
> >/root/stand_sup
> >>...
> >>#make -j4 buildworld; make -j4 buildkernel; make 
> 
> >installkernel
> >>
> >>... (come back a hour or so later)
> >>#make installworld; 
> reboot
> >
> >>
> >
> >It seems that you have missed to run "mergemaster -p" before, 
> and 
> >"mergemaster" after running "make installworld".
> >IMHO, not running 
> mergemaster, 
> >you have not updated /etc/motd so it shows 6.2...
> Obviously 
> among the other files.
> >And, as pointed by Brooks 
> >Davis you should have 
> rebooted before running make installworld.
> Try also reading the comments in 
> /usr/src/Makefile
> 
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
> 
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20090105/ecbdc5d9/attachment.pgp


More information about the freebsd-stable mailing list