From owner-freebsd-questions@FreeBSD.ORG Sun Oct 30 22:41:53 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CD8F16A41F for ; Sun, 30 Oct 2005 22:41:53 +0000 (GMT) (envelope-from freebsd@orchid.homeunix.org) Received: from orchid.homeunix.org (bau228.neoplus.adsl.tpnet.pl [83.27.184.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBFAB43D49 for ; Sun, 30 Oct 2005 22:41:52 +0000 (GMT) (envelope-from freebsd@orchid.homeunix.org) Received: from [192.168.1.66] (blackacidevil.orchid.homeunix.org [192.168.1.66]) (authenticated bits=0) by orchid.homeunix.org (8.13.4/8.13.4) with ESMTP id j9UMfnCo067075 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Sun, 30 Oct 2005 23:41:51 +0100 (CET) (envelope-from freebsd@orchid.homeunix.org) Message-ID: <43654C35.7000303@orchid.homeunix.org> Date: Sun, 30 Oct 2005 23:41:57 +0100 From: Karol Kwiatkowski User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050930) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Stacey Roberts 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> In-Reply-To: <20051030202320.GO739@crom.vickiandstacey.com> X-Enigmail-Version: 0.93.0.0 OpenPGP: id=06E09309; url=http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigBFF4C1A4D13FF9847911E469" X-Virus-Scanned: ClamAV version 0.87, clamav-milter version 0.87 on orchid.homeunix.org X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org Subject: Debugging options in GENERIC RELENG_6 (was: Re: Canonical upgrade procedure for 6.0?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@orchid.homeunix.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2005 22:41:53 -0000 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 6.0-RC1 FreeBSD 6.0-RC1 #0: Sun Oct 30 16:09:08 GMT 2005 :/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: >>> >> >> >> >>>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 --------------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--