From owner-freebsd-questions@FreeBSD.ORG Sat Mar 6 23:32:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E97C7106564A for ; Sat, 6 Mar 2010 23:32:12 +0000 (UTC) (envelope-from kingedgar@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 91E848FC0A for ; Sat, 6 Mar 2010 23:32:12 +0000 (UTC) Received: by gyg8 with SMTP id 8so798008gyg.13 for ; Sat, 06 Mar 2010 15:32:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=dwgLkWheHdBHjz1PapdgDXFSN7lb/JWzxCmFGeyQcfM=; b=uS9l/U4MKqc4ftimmloPZT9IKOHzq7LzRFg11/g8ATOGSapme5QB+r2kfqqBeDZQoS vyzhgxcNyIv7bQZxNNxVgO3sNuQGbZmJZaUd6VtuOkJrrmCNQkrAArhmaE88w5Kk5L91 +EFIvjsTwwPgzOCq8AX60SMwHLIdV650ueCNw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=dzeKSckZkqfP9P7o23Pf+aOOPPIqDKEqYqmaOLkVBW0WcWN8tmWQkC4S6h891q7VUO mfuswGcVHlPBIvmVBRNHw5zNnUBfZ1J2ysQr042MCoWOCKRa/gaa9bJhbD+pjciRzlZQ Lqb5YjISozd8HT7A7NN1X2AR9X6LQiHaiEIRI= MIME-Version: 1.0 Received: by 10.150.119.33 with SMTP id r33mr2585969ybc.304.1267918320820; Sat, 06 Mar 2010 15:32:00 -0800 (PST) In-Reply-To: <72bb879822f66d3a00d732c5bd39ec6a.squirrel@www.vap.navalradio.net> References: <970380131003060754t32f70d1x9c40d716f01b325a@mail.gmail.com> <970380131003061159i49dbd22cl4ec4856adf2a340f@mail.gmail.com> <970380131003061218i351c87acs5eb8a57eb0e2a969@mail.gmail.com> <970380131003061354r7ebbf155ub0d9ad478670aba9@mail.gmail.com> <72bb879822f66d3a00d732c5bd39ec6a.squirrel@www.vap.navalradio.net> Date: Sat, 6 Mar 2010 17:32:00 -0600 Message-ID: <970380131003061532wd04931fhfe6422ce26c92664@mail.gmail.com> From: Jason Garrett To: FreeBSD-Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Debug still in kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2010 23:32:13 -0000 On Sat, Mar 6, 2010 at 17:06, Mikhail Goriachev wrote: > > Jason Garrett wrote: > > On Sat, Mar 6, 2010 at 14:18, Jason Garrett wrote: > > > >> > >> > >> On Sat, Mar 6, 2010 at 14:12, Tim Judd wrote: > >> > >>> On 3/6/10, Jason Garrett wrote: > >>> > On Sat, Mar 6, 2010 at 13:51, Tim Judd wrote: > >>> > > >>> >> On 3/6/10, Jason Garrett wrote: > >>> >> > Hello all, > >>> >> > > >>> >> > I am currently tracking RELENG_8_0. I did a csup last night and > >>> noticed > >>> >> that > >>> >> > debug is still enabled in the GENERIC kernel. I thought debugging > >>> was > >>> >> > supposed to be left out once the 8 branch went RELEASE? Can anyone > >>> shed > >>> >> > light on this subject? > >>> >> > >>> >> What makes you think debugging is still on? > >>> >> > >>> > > >>> > >From /usr/src/sys/i386/conf/GENERIC > >>> > > >>> > makeoptions DEBUG=-g # Build kernel with gdb(1) > >>> debug > >>> > symbols > >>> > options PREEMPTION # Enable kernel thread > >>> preemption > >>> > > >>> > why are these still in GENERIC after release? > >>> > >>> I can confirm debug symbols is still in the kernel, but that is most > >>> likely used for backtraces and debugging when a kernel panic happens. > >>> This is instead of asking the user who had a kernel panic to rebuild > >>> with debugging to debug it. > >>> > >>> PREEMPTION as I understand it should have been removed from the kernel > >>> config file. It should have been removed from the GENERIC config file > >>> after RELENG_8_0_RELEASE tag is made. I don't know what your tag is > >>> when you update. Perhaps you're copying or using a config file from > >>> the BETA or RC days? > >>> > >>> > >>> I'll help until I can't help no more with your issue. > >>> > >> Tim, > >> > >> Thanks for the quick responses. I downloaded 8.0 RELEASE iso disc 1 from > >> ftp yesterday and did a fresh install, I then used csup to catch > >> RELENG_8_0 > >> made world, built and installed kernel then installed world without > >> problems. > >> > >> > >> sun# uname -ar > >> FreeBSD sun.blah.blah 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Sat Mar > >> 6 > >> 10:24:07 UTC 2010 root@sun.blah.blah:/usr/obj/usr/src/sys/GENERIC > >> i386 > >> > >> This is totally a fresh system installed from .iso yesterday. > >> > >> If I can provide more info, please tell me. > >> > >> > >>> > >>> --Tim > >>> > >> > >> > > Anyone else? I don't mind commenting this stuff out of my own kernel, but > > maybe a PR is needed here? > > > In addition to what others have said: > > http://forums.freebsd.org/showpost.php?p=66508&postcount=43 > > > > Regards, > Mikhail. > > Thanks all, while I disagree that the debug line should be in the RELENG_8_0 branch, (useful for STABLE maybe and necessary for CURRENT) I guess I'll have to deal with what I'm dealt.