From owner-freebsd-current@FreeBSD.ORG Wed Oct 29 16:47:21 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 73BDD78F for ; Wed, 29 Oct 2014 16:47:21 +0000 (UTC) Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 08C28370 for ; Wed, 29 Oct 2014 16:47:20 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id n3so5148610wiv.8 for ; Wed, 29 Oct 2014 09:47:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=gSXRSVxZdlVxv60eHx4IAymLkCMY4odOIsnE0to+C30=; b=KctuomkYim0FxXi3wnMFFSFKrDgbG50nox1Hz1u/S5fUtEwc8FiHC5II+TPa1AG054 vfbOq8AIiYnavfpkcRj2iskqnlBBABwLBY5wCv9A1PIMlcVHPdOuLR2Gu6hHXDdr8nNb XXLJixdKVZaGzMXKGinMlfld7Jb9xVDHNUl1mB63GPBxMkumrSMKDm/CO2/P1eBegpUB VKBDFFyOFyyvwuplg7g4O2+tkF+O6EY+gAN0+XNyGzP/jQtIJfJIqed21ZPPwjbHhgy/ 5/dp5wyTUbTKpRTaYUA2HKfK4UOEYjjzHQXY3voDibPRVkO71XK2GZV8WEM4dG77S9EU rgoA== X-Gm-Message-State: ALoCoQkRnv4ah6aBYNzBZKXcY8UXy8Mmn85hw2RbQ6eutycrPcoH8wc0ojWvp4F4TgTLG5fa6+FR X-Received: by 10.194.57.81 with SMTP id g17mr14441297wjq.12.1414601232504; Wed, 29 Oct 2014 09:47:12 -0700 (PDT) Received: from [10.10.1.68] (82-69-141-170.dsl.in-addr.zen.co.uk. [82.69.141.170]) by mx.google.com with ESMTPSA id b6sm6084424wiy.22.2014.10.29.09.47.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Oct 2014 09:47:11 -0700 (PDT) Message-ID: <54511A7E.1020307@multiplay.co.uk> Date: Wed, 29 Oct 2014 16:49:02 +0000 From: Steven Hartland User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: HEADS UP: Standalone kernel debug files moving out of /boot/kernel/ References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2014 16:47:21 -0000 Hmm not sure I like this idea as it would make it more difficult to make a copy / backup a kernel. ATM when I want to copy a kernel for debugging its a one liner, splitting debug symbols off to /usr/lib would prevent this. Is there not a way to allow separate install of the debug files but to the same location maintaining compartmentalization for the needed kernel files? On 29/10/2014 00:20, Ed Maste wrote: > I am preparing to move the standalone kernel debug data out of > /boot/kernel/ into /usr/lib/debug/boot/kernel/, mirroring the approach > used for userland debug data. This significantly reduces the boot > partition size requirement, and is a step towards supporting the > installation of kernel debug data ony when required. LLDB and GDB > automatically search for debug data under /usr/lib/debug/ so this > change should be transparent from an end-user perspective. > > The change can be reviewed in Phabricator at > https://reviews.freebsd.org/D1006 and can be fetched as a unified diff > from https://people.freebsd.org/~emaste/patches/D1006.diff > > This does not change any defaults or knobs: kernel debug files are > still built by default, and may be disabled by setting > WITHOUT_KERNEL_SYMBOLS=YES in /etc/src.conf. I hope to rationalize > this with userland debug in a later step. > > Note that the change renames the intermediate and debug data files to > be consistent with userland debug data: in the build directory the > kernel with debug data included is now named kernel.full, and and > kernel.debug is the standalone debug data file. > > I plan to merge this in a few days if there are no issues reported in > further review or testing. > > -Ed > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"