Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2007 14:27:42 -0500
From:      eculp@encontacto.net
To:        freebsd-current@freebsd.org
Subject:   Re:  Going from 8.0-CURRENT to RELENG_7
Message-ID:  <20071015142742.0mcrq8bvk0s8wkwc@intranet.encontacto.net>
In-Reply-To: <1192328840.810.12.camel@RabbitsDen>
References:  <1192328840.810.12.camel@RabbitsDen>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting "Alexandre \"Sunny\" Kovalenko" <alex.kovalenko@verizon.net>:

> This is basically a warning and an advise -- as usual -- YMMV.
>
> I have missed HEADS-UP that RELENG_7 has been branched and found myself
> running 8.0 after cvsup/buildworld/installworld cycle. Since I wanted to
> stick to RELENG_7 and since branching occured 2 days ago, I've figured I
> should be able to change tag in SUPFILE cvsup and rebuild.
>
> Hence the warning: *don't do that* -- buildworld failed midway with
>
> /libexec/ld-elf.so.1: Undefined symbol "__mb_sb_limit" referenced from
> COPY relocation in sh.
>
> and you are left with non-working system.
>
> Now the advice part: *do not despair* -- you can boot into single user
> mode, use /rescue/sh, manually copy
>
> /bin/sh
> /usr/bin/make
> /usr/bin/awk
> /usr/sbin/mtree
> /usr/sbin/zic
> /lib/libedit.so.6
> /lib/libncurses.so.7
>
> from your OBJ directory, then do 'make installworld' twice (something
> non-important failed in the first pass) and you should be back in
> business.
>
> Hopefully, everyone on the list reads it diligently and does not need
> such advice, but if you shot yourself in the foot, here is the chance to
> avoid reinstalling the system from scratch.

Here is another one who didn't :( I realized it after seeing your =20
email.  Here is what I did which now I see is what you did.
   1. Changed the configuration of my cvs-supfile to:

      *default tag=3DRELENG_7
      *default base=3D/usr/local/etc/cvsup
      *default prefix=3D/usr
      *default release=3Dcvs
      *default delete use-rel-suffix
      src-all
      doc-all
      ports-all
      cvsroot-all

I had built and installed but not rebooted Current 8.0 for two or =20
three previous days.  It successfully built and installed world and =20
kernel.  it initiated installworld and broke while installing man.  =20
This happend to me on two machines one local and one remote location.  =20
The local machine is back up but I made a mess of it.  The rescue =20
suggestion didn't work because it was the same as the installed =20
programs.  I tried booting with a pre-8.0 kernel and same problem so I =20
installed a cd that I had form the 5th of October and lost etc and a =20
few other files but managed to  get it back together. I have erased =20
src and am re cvsuping with the above cvs-supfile and plan to follow =20
the build world, build kernel, install kernel, install world, but I am =20
concerned that that may not be the best solution.  I certainly don't =20
want to do this again. ;)

Now for the machines that are in the same situation but located far away.

On is in the same situation as this and is the closest so I can go =20
there tomorrow and do the same procedure unless there is something =20
that I can do  from here.

The other three machines are plane rides.  Luckily, I stopped the =20
RELENG_7 build before it broke but the did all finish the sup.  I'm =20
thinking that the smart thing may be to cvsup again but with current =20
8.0 tag and just build current and reboot and wait to see if I can get =20
back and if not just ride out current.  That sure beats spending the a =20
lot of time and money traveling.

Any and all suggestions appreciated for both cases and if you have any =20
inclinations/observations on the stability of 8.0 if I rebuild and =20
reboot the machines.

Thanks for your help,

ed



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071015142742.0mcrq8bvk0s8wkwc>