From owner-freebsd-bugs@FreeBSD.ORG Mon Aug 29 21:00:28 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 326801065679 for ; Mon, 29 Aug 2011 21:00:28 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A28E58FC1B for ; Mon, 29 Aug 2011 21:00:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7TL0LI0035585 for ; Mon, 29 Aug 2011 21:00:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7TL0Lec035584; Mon, 29 Aug 2011 21:00:21 GMT (envelope-from gnats) Resent-Date: Mon, 29 Aug 2011 21:00:21 GMT Resent-Message-Id: <201108292100.p7TL0Lec035584@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Brett Glass Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96251106564A for ; Mon, 29 Aug 2011 20:54:22 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 86A5C8FC0C for ; Mon, 29 Aug 2011 20:54:22 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p7TKsMkm020176 for ; Mon, 29 Aug 2011 20:54:22 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p7TKsMC7020155; Mon, 29 Aug 2011 20:54:22 GMT (envelope-from nobody) Message-Id: <201108292054.p7TKsMC7020155@red.freebsd.org> Date: Mon, 29 Aug 2011 20:54:22 GMT From: Brett Glass To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: conf/160298: sysinstall does not allocate enough space in / for kernel rebuild X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2011 21:00:28 -0000 >Number: 160298 >Category: conf >Synopsis: sysinstall does not allocate enough space in / for kernel rebuild >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 29 21:00:21 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Brett Glass >Release: 8.1-RELEASE >Organization: LARIAT >Environment: >Description: Recently installed FreeBSD on a new system. It allocated 384M (the default, apparently) for the / partition. I then rebuilt the kernel. During installation of a new kernel (using "make installkernel" from /usr/src) FreeBSD backs up the old one and then installs the new one. FreeBSD has apparently grown, because installation of the new kernel (including symbols and kernel modules) overflowed the partition. There's no way to adjust partition sizes easily in FreeBSD, so it's not possible to rebuild the kernel unless one foregoes generating symbols (which can make debugging difficult). >How-To-Repeat: Install FreeBSD 8.1. Make a custom kernel. Install it. >Fix: Change sysinstall to allocate enough room in / to allow rebuilding of the kernel with backup of the original (GENERIC) kernel. Before each release, verify that the default size of / does not need to be increased to allow this. >Release-Note: >Audit-Trail: >Unformatted: