From owner-freebsd-questions@FreeBSD.ORG Sat Mar 6 20:13:05 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 A307B106564A for ; Sat, 6 Mar 2010 20:13:05 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7A4E98FC14 for ; Sat, 6 Mar 2010 20:13:05 +0000 (UTC) Received: by pwj1 with SMTP id 1so3404888pwj.13 for ; Sat, 06 Mar 2010 12:12:56 -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:cc:content-type; bh=YkhnKbeICMWrNiWGTY2ZnJxhQciGQT9ulUMn1SJN0Ug=; b=efYkgk/U+/qLQiRSDTqgFLFtQnUgKe37pGPgotDhATclOBPSMkZ4XWseTQG5XDWjG9 awvA9/GBKBMm7ekZkS0c9Vy4BWcWa7aGUmi3auma2Ex7LwgIC5FEWBvR3ETZDerqUVpw AqJCBzIh9DEiDYYSQRQcu5lgEGAvYyrazgvQw= 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 :cc:content-type; b=giLpgZsyQpPOrFSRJQ2Lfy7YRV7XTabwhy/wzoxfm4e99ZktprSJDCY/Pn20Gs1QKo LKWBggvwS3ESGkc+7204tzemiMBWENdL1xxt5Y+upzxVgkzLetqiUhatKq0Ss6SqxUTN jFGqW3W2lkMgvnbuaR9NFh4x3HyaOyKoOYPPk= MIME-Version: 1.0 Received: by 10.114.237.24 with SMTP id k24mr1898990wah.24.1267906376185; Sat, 06 Mar 2010 12:12:56 -0800 (PST) In-Reply-To: <970380131003061159i49dbd22cl4ec4856adf2a340f@mail.gmail.com> References: <970380131003060754t32f70d1x9c40d716f01b325a@mail.gmail.com> <970380131003061159i49dbd22cl4ec4856adf2a340f@mail.gmail.com> Date: Sat, 6 Mar 2010 13:12:55 -0700 Message-ID: From: Tim Judd To: Jason Garrett Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD-Questions 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 20:13:05 -0000 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