Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Oct 2005 23:41:57 +0100
From:      Karol Kwiatkowski <freebsd@orchid.homeunix.org>
To:        Stacey Roberts <stacey@vickiandstacey.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Debugging options in GENERIC RELENG_6 (was: Re: Canonical upgrade procedure for 6.0?)
Message-ID:  <43654C35.7000303@orchid.homeunix.org>
In-Reply-To: <20051030202320.GO739@crom.vickiandstacey.com>
References:  <20051030102835.GK739@crom.vickiandstacey.com>	<20051030110604.GA75601@slackbox.xs4all.nl>	<20051030114424.GL739@crom.vickiandstacey.com>	<20051030155240.GA5825@slackbox.xs4all.nl>	<20051030175509.GN739@crom.vickiandstacey.com>	<20051030195005.GA23835@slackbox.xs4all.nl> <20051030202320.GO739@crom.vickiandstacey.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigBFF4C1A4D13FF9847911E469
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: 7bit

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>

--------------enigBFF4C1A4D13FF9847911E469
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDZUw1ezeoPAwGIYsRAsRaAJ9R6blYNkAmYNb+o0ONpfTfO37EkQCfV3SH
xFRVtIuXDdG3QvIqmMyAP+w=
=em/S
-----END PGP SIGNATURE-----

--------------enigBFF4C1A4D13FF9847911E469--



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