From owner-freebsd-current Fri Oct 25 12:25:42 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5020937BBA6 for ; Fri, 25 Oct 2002 12:25:41 -0700 (PDT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1720343E65 for ; Fri, 25 Oct 2002 12:25:41 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id EF82F2A88D for ; Fri, 25 Oct 2002 12:25:35 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: current@freebsd.org Subject: HEADS UP: you need to install a new kernel before an installworld. Date: Fri, 25 Oct 2002 12:25:35 -0700 From: Peter Wemm Message-Id: <20021025192535.EF82F2A88D@canning.wemm.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Due to sigaction(2) syscall number changes, doing a 'make installworld' without having booted a new kernel would be rather messy. For example, if you tried to reboot with the old kernel, /sbin/init and /bin/sh would get a signal and abort. That would be bad. I've added an anti-foot-shooting device to Makefile.inc1 to try and prevent disasters like this. For folks using the *world/*kernel procedure, a reminder of the sequence is probably in order: buildworld buildkernel installkernel reboot installworld reboot You may prefer to avoid building world for a few days and use the newer kernel on its own. Once you've done an installworld, you cannot go back to any previous kernel.old that you may have laying around. For this reason, you probably want to delay an installworld until you are comfortable that your newer kernel builds are satisfactory. options COMPAT_FREEBSD4 is necessary for running older 5.x binaries. For now (an additional anti-foot-shooting measure), I've made it yell loudly if you leave it out. If you try hard enough (read the code), you can turn it off if you really want and if you are really sure that you have no more 4.x or old 5.x binaries around in /usr/local etc. options COMPAT_43 is checked at compile time on the alpha now. It is still compulsory until somebody fixes longjmp in libc to use ucontext_t instead of struct osigcontext. This really needs to be done before 5.0 is released. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message