Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 2002 12:14:40 -0500
From:      Jake Burkholder <jake@locore.ca>
To:        freebsd-sparc@freebsd.org
Subject:   another HEADSUP [peter@wemm.org: HEADS UP: you need to install a new kernel before an installworld.]
Message-ID:  <20021027121440.I89245@locore.ca>

next in thread | raw e-mail | index | archive | help

I intend to use this opportunity to make some sparc-specific ABI changes
that will be tied to COMPAT_FREEBSD4.  Please do not try to run without
options COMPAT_FREEBSD4 in your kernel config until it is also removed
from GENERIC.  If you follow the rules about updating your system you
should not notice.

Jake

----- Forwarded message from Peter Wemm <peter@wemm.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

----- End forwarded message -----

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




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