Canonical upgrade procedure for 6.0?

Roland Smith rsmith at xs4all.nl
Sun Oct 30 11:50:08 PST 2005


On Sun, Oct 30, 2005 at 05:55:09PM +0000, Stacey Roberts wrote:

> Okay.., I took the view that following the Handbook was the way to go,
> changing "*default release=cvs tag=RELENG_5" to "*default release=cvs
> tag=RELENG_6".
> 
> All went fine, that is, I was able to cvsup sources to upgrade a
> FreeBSD-5-Stable machine to FreeBSD-6.0-RC-1:
> 
> $ uname -a
> FreeBSD <snipped> 6.0-RC1 FreeBSD 6.0-RC1 #0: Sun Oct 30 16:09:08 GMT 2005     <snipped>:/usr/obj/usr/src/sys/GENERIC  i386
> $
> 
> All looks well, whereby I can log in successfully, and load X as
> before (I know that at some point I need to rebuild all installed
> ports), however I now need to configure, compile and install a custom
> kernel. But when I checked the location of where (the default in
> FreeBSD) I'd expect to see a new GENERIC, I see the following:
> 
> /usr/src/sys/i386/conf $ ls -tla
> total 92
> drwxr-xr-x   2 root  wheel    512 Oct 30 18:05 .
> drwxr-xr-x  14 root  wheel    512 Oct 29 19:48 ..
> -rw-r--r--   1 root  wheel   1741 Oct 29 19:48 GENERIC.hints
> -rw-r--r--   1 root  wheel    372 Oct 28 20:21 DEFAULTS
> -rw-r--r--   1 root  wheel  10211 Oct 28 20:21 GENERIC
> -rw-r--r--   1 root  wheel  33284 Oct  7 15:00 NOTES
> -rw-r--r--   1 root  wheel    322 Sep 18 04:37 SMP
> -rw-r--r--   1 root  wheel   1766 Jul 29 17:02 PAE
> -rw-r--r--   1 root  wheel     13 Jun 20 17:52 .cvsignore
> -rw-r--r--   1 root  wheel    120 Feb 26  2003 Makefile
> /usr/src/sys/i386/conf $
> 
> After copying GENERIC to "MYKERNEL", I'd have expected to go through
> MYKERNEL to add / delete as required, as well as remove the debugging
> statements that I'd come across from reading various suggestions (like
> "options INVARIANTS", etc), but I've found that the GENERIC on this
> system doesn't have the entries for any of those debugging statements
> to remove. Here's a snippet where I'd have expected to see some of
> those entries:
> 
<snip>
> 
> Any information, would be appreciated, please.

There were some messages about this on the mailing lists recently.

Apparently some options and devices were moved into DEFAULTS (which is
combined with the chosen kernel configuration by config(8).), so that
people wouldn't leave them out by accident, such as 'mem' and 'io'
(important for running X).

My system (recently installed from 6.0-RC1 CD's) doesn't have the changes
yet. They must have been implemented after RC1 was released. It does look
somewhat like a kludge to me.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20051030/7a35c887/attachment-0001.bin


More information about the freebsd-questions mailing list