Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2003 15:46:35 +0000
From:      Daniel Bye <dan@slightlystrange.org>
To:        "freebsd-questions@FreeBSD.ORG " <freebsd-questions@FreeBSD.ORG>
Subject:   Re: 4.7 Upgrade issue - Daniel Bye
Message-ID:  <20030226154635.GG55640@catflap.home.slightlystrange.org>
In-Reply-To: <20030226152725.0B4EB43F3F@mx1.FreeBSD.org>
References:  <20030226152725.0B4EB43F3F@mx1.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 26, 2003 at 03:13:30PM +0000, rew wrote:
> 
> I upgraded my system several times before,
> 
> are you saying that one is unable to run successfuly 'make installworld' until the new kernel is booted?

I am saying that according to the authors of the handbook, there is a
particular order to follow when upgrading your system.  Any deviation away
from this procedure is likely to lead to problems.

> 
> has anyone even try to look at the error?

Yes, and the suggestions have been to follow the procedure in the handbook
or the UPDATING file, as the buildworld process is carefully crafted to be
done in that order.

> 
> -----Original Message-----
> From: Daniel Bye 
> Sent: Wednesday, February 26, 2003 10:16 AM
> To: freebsd-questions@FreeBSD.ORG  freebsd-questions@FreeBSD.ORG
> Subject: Re: 4.7 Upgrade issue
> 
> On Wed, Feb 26, 2003 at 04:59:53PM +0200, Willie Viljoen wrote:
> > On Wednesday 26 February 2003 16:50, someone, possibly Daniel Bye, typed:
> > > Yes, but how is that so different from installing a new world for an old
> > > kernel?
> > 
> > The problem with a new world on an old kernel is that libraries in your 
> > world may have changed with the upgrade. If a library that interfaces 
> > directly with some feature in the kernel is changed, and is expecting the 
> > change to be present in the kernel, you will almost certainly have trouble 
> > with it.
> 
> Agreed, but in this context, I think we are talking about running the
> disparate kernel and world, in either event, only as long as it takes to get
> both parts, the new kernel and the new world, installed.  Surely, an old
> world on a new kernel will have the exact same problems (or the exact
> opposite problems?), in that newly-built programs such as ps and top may
> have been altered to take account of new kernel memory structures etc, which
> won't be available until the new kernel is installed and booted.
> 
> Anyone who is up to using buildworld should have enough understanding to
> know that you have to build and install both parts for your system to work
> properly.
> 
> > > When you have built a new kernel, you must reboot to start using it. 
> > > After running make installworld with the new kernel, you have the new
> > > world installed as well.  Your new kernel will only be running for a few
> > > minutes with the old world, until the new one is fully installed.
> > 
> > That is exactly how it should be.
> > 
> > The tried and trusted method, that works for me, and is the official method 
> > listed in the UPDATING file:
> > 
> > cd /usr/src/sys/i386/conf && vi YOURCONFIG
> > cd /usr/src/ && make buildworld kernel KERNCONF=YOURCONFIG
> > 
> > The kernel target is a combination of buildkernel and installkernel. These 
> > targets are built in order and rely on the previous target making it. Thus, 
> > buildworld must succeed for buildkernel to begin, and after buildkernel has 
> > worked, installkernel will run. Once this is completed, continue with:
> > 
> > shutdown now
> > 
> > You will now have dropped to single user mode, then, pick /bin/sh for your 
> > shell (this is easier to use in single user than csh), and run:
> > 
> > cd /usr/src
> > mergemaster -p
> > make installworld
> > mergemaster
> > reboot
> > 
> > You will now have a properly functioning and fully upgraded system.
> 
> But even then, there will be some disparity between the running kernel and
> the running world, no?  This will only be resolved once all steps are
> complete, whichever particular sequence of events you follow.
> 
> Dan
> 
> -- 
> Daniel Bye
> 
> PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
> PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
>                                                                      _
>                                               ASCII ribbon campaign ( )
>                                          - against HTML, vCards and  X
>                                 - proprietary attachments in e-mail / \
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 
> 
> --------------------------------------------------------------------------------------
>  Get your FREE email, calendar, file storage, bookmarks, and other great services at
>  http://www.doneasy.com ! doneasy.com "Where timesaving is priceless!"
> --------------------------------------------------------------------------------------
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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