Subject: Re: Upgrading from 1.4 using patches
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-users
Date: 12/02/2001 17:09:09
On Sun, 2 Dec 2001, Manuel Bouyer wrote:

> Hum, the correct order is:
> - build new kernel
> - install new kernel, reboot
> - start 'make build' in /usr/src
> - reboot, to make sure no old binaries are running.
>
> When you do make build, it installs the new binaries, including a new libc.
> These new binaries may use syscalls that the old kernel doesn't know.
> However the new kernel can always run old binaries without troubles
> (if it can't then there's a bug :)

There was break between 1.4.1 and 1.4.2 (ISTR), such that "ipf" and
"ipnat" wouldn't be effective with the new kernel. Of course, new
binaries wouldn't have run with the old kernel, either, so that
wouldn't change the correct build order. Just a heads up.

Then also, kernel grovelers, notably "ps", won't work until they're
relinked with a new "libkvm" [but NetBSD 1.5 and later's "ps" falls
back on the proc file-system].

Frederick