On Wed, Feb 09, 2000 at 04:36:07PM -0600, nathan wrote:
> I've also had problems upgrading from 3.4-RELEASE to 4.0
> i have a dual proc system, and have been EAGERLY anticipating 4.0 so i can
> install WINE, VMWARE, etc
>
> my process went like this
>
> 1. boot normally
> 2. killall -TERM inetd
> 3. cd /usr/src
> 4. make -j8 -DNOPROFILE=true buildworld
> 5. make -j8 -DNOPROFILE=true installworld
>
> step 4 completed no problem... step 5, however, always failed... THEN, i had
> the long, undesirable task of restoring my system back to 3.4 ... later.. i
> tried rebooting to single mode to do step 5.. but again.. it failed.
>
> after seeing your steps.. it makes sense pre-build the kernel to 4.0
> _before_ installing world.
> however... could you provide a little more info on steps 5, 6, & 7
> specifically.. what does the -DNOINFO do ( i can't find it on my system..
> yet)
-DNOINFO is documented in src/Makefile.inc1, it is required for
successful -current installworld from 3.x due to bootstrapping
problems (-current install-info(1) has two new options).
> and why repeat the kernel build/install AND the installworld??
>
Hmm, just to be 100% sure. I would also recommend buildworld/
installworld right after 3.x->4.0 upgrade.
But it is really not required, since `buildkernel' builds the
-current kernel with the -current (latest) compiler.
> also... if this should work... i wonder why the fbsd Handbook
> (www.freebsd.org/handbook/makeworld.html) details a very different process
> than this one.
>
Because this process is a complex transition step, while handbook describes
the usual X.Y-RELEASE -> X.Y-STABLE case. Note, that ir also does not say
anything about aout->elf transition.
> lastly.. are your steps 2 & 3 the same as
>
> cd /sys/i386/conf
> vi CONFIG_FILE
> cd ../../compile/CONFIG_FILE
> make depend
> make
> make install
>
Nope. There are special `buildkernel', `installkernel' targets in the
src/Makefile.inc1. They are different from the procedure above in that
they compile the -current kernel with the -current compiler, built in
a host environment (i.e. with 4.0 gcc from /usr/src built on 3.x).
> ???
>
> thanks for ANY additional info you can provide... i've spent a week
> reading/compiling/reading/testing/crashing/etc etc etc
>
>
> > Without providing any in-depth details:
> >
> > 0. `uname -r' returns 3.x
> > 1. make buildworld
> > 2. make buildkernel
> > 3. make installkernel
> > 4. reboot with new kernel in signle-user mode
> > 5. make -DNOINFO installworld
> > 6. make buildkernel installkernel (again)
> > 7. make installworld (again, without -DNOINFO)
> >
>
--
Ruslan Ermilov Sysadmin and DBA of the
[EMAIL PROTECTED] United Commercial Bank,
[EMAIL PROTECTED] FreeBSD committer,
+380.652.247.647 Simferopol, Ukraine
http://www.FreeBSD.org The Power To Serve
http://www.oracle.com Enabling The Information Age
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message