From owner-freebsd-current@FreeBSD.ORG Wed Oct 29 00:21:01 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E7B03C6E for ; Wed, 29 Oct 2014 00:21:01 +0000 (UTC) Received: from mail-ig0-x22d.google.com (mail-ig0-x22d.google.com [IPv6:2607:f8b0:4001:c05::22d]) (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 B09DFDA7 for ; Wed, 29 Oct 2014 00:21:01 +0000 (UTC) Received: by mail-ig0-f173.google.com with SMTP id r10so289692igi.6 for ; Tue, 28 Oct 2014 17:21:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=0l9VTBEisvMjh9mEDNiBXihiYFyG+eBYUi9AJOtfPTI=; b=fUtF2yB63ZGU/IZ7y1TI98q6bzmTVQP9V5pTW4GAdGDDsdQsLEJpZVngmtdFY3XY4m 0/V+H0uvSLiESDH5BIpuvI+uotgo9Ri6SBn3Xw/mIGQJriiCWz04d9TzWgjddxhz60bq rlgbC/mvCaKyUWQqQHqwRr4pkSq0E96MkfoBOUww4e44C1OubWr9X2uMprUXyncKfs7b cjvZTm0v2CHpseJLBpn2jRfQ+3Zb4QN6WLouxSCoOsUNudUNqQnadm1lNj9fW7OKevZl nGymqfjYRWoP7IICx46fTA9aBBgZzJpudABgR+JcHrFnzq/LHVHVeyiUh5g0K1u2e66w t2Og== X-Received: by 10.43.144.131 with SMTP id jq3mr6084290icc.66.1414542061159; Tue, 28 Oct 2014 17:21:01 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.29.132 with HTTP; Tue, 28 Oct 2014 17:20:40 -0700 (PDT) From: Ed Maste Date: Tue, 28 Oct 2014 20:20:40 -0400 X-Google-Sender-Auth: Z3mY2ZIMxe6X9vRsyCW3s-IJY0E Message-ID: Subject: HEADS UP: Standalone kernel debug files moving out of /boot/kernel/ To: FreeBSD Current Content-Type: text/plain; charset=UTF-8 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 00:21:02 -0000 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