Debugging options in GENERIC RELENG_6 (was: Re: Canonical upgrade procedure for 6.0?)

Karol Kwiatkowski freebsd at orchid.homeunix.org
Sun Oct 30 14:41:53 PST 2005


Stacey Roberts wrote:
> Hi Roland!
> 
> On Sun, 30 Oct 2005, Roland Smith wrote:
> 
> 
>>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).
> 
> 
> I saw those posts today, but DEFAULTS don't appear to have the regular
> WITNESS / INVARIANTS entries either..,

Debugging options were removed from GENERIC, Scott Long wrote about
that on @stable:
http://lists.freebsd.org/pipermail/freebsd-stable/2005-September/018349.html


Regards,

Karol

-- 
Karol Kwiatkowski  <freebsd at orchid dot homeunix dot org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20051030/d198cb7b/signature.bin


More information about the freebsd-questions mailing list