From owner-freebsd-stable@FreeBSD.ORG Sat Jan 23 02:22:13 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D876D1065696 for ; Sat, 23 Jan 2010 02:22:13 +0000 (UTC) (envelope-from aw1@swelter.hanley.stade.co.uk) Received: from v-smtp-auth-relay-3.gradwell.net (v-smtp-auth-relay-3.gradwell.net [79.135.125.42]) by mx1.freebsd.org (Postfix) with ESMTP id 465778FC0C for ; Sat, 23 Jan 2010 02:22:12 +0000 (UTC) Received: from 93-97-22-18.zone5.bethere.co.uk ([93.97.22.18] helo=swelter.hanley.stade.co.uk country=GB ident=postmaster^pop3^stade#co$uk) by v-smtp-auth-relay-3.gradwell.net with esmtpa (Gradwell gwh-smtpd 1.290) id 4b5a4f91.1ae5.1 for freebsd-stable@freebsd.org; Sat, 23 Jan 2010 01:23:29 +0000 (envelope-sender ) Received: from swelter.hanley.stade.co.uk (localhost [127.0.0.1]) by swelter.hanley.stade.co.uk (8.14.3/8.14.3) with ESMTP id o0N1NSVi066222 for ; Sat, 23 Jan 2010 01:23:28 GMT (envelope-from aw1@swelter.hanley.stade.co.uk) Received: (from aw1@localhost) by swelter.hanley.stade.co.uk (8.14.3/8.14.3/Submit) id o0N1NSaI066221 for freebsd-stable@freebsd.org; Sat, 23 Jan 2010 01:23:28 GMT (envelope-from aw1) Date: Sat, 23 Jan 2010 01:23:28 +0000 From: Adrian Wontroba To: freebsd-stable@freebsd.org Message-ID: <20100123012328.GA3296@swelter.hanley.stade.co.uk> Mail-Followup-To: Adrian Wontroba , freebsd-stable@freebsd.org References: <20100122162155.GG3917@e-Gitt.NET> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100122162155.GG3917@e-Gitt.NET> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-STABLE Organization: Oh dear, I've joined one again. X-Virus-Scanned: clamav-milter 0.95.3 at swelter.hanley.stade.co.uk X-Virus-Status: Clean Subject: Re: 8.0-RELEASE -> -STABLE and size of / X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: aw1@stade.co.uk List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 02:22:13 -0000 On Fri, Jan 22, 2010 at 05:21:56PM +0100, Oliver Brandmueller wrote: > > I just noticed somthing: I setup an 8.0-RELEASE amd64 box, / is default > 512M. First step after setup was to csup to RELENG_8 and buildkernel and > buildworld (no custom kernel, no make.conf). > > Instaling the new kernel failed, since /boot/kernel/ is already well > over 230 MBytes in size. moving that to kernel.old and writing a new one > with about the same size fails due to no space left on device. > > This is not a question; I do know how to get around this and how to > configure custom kernels so they are a fragment of that size afterwards. > However, I think this is a clear POLA violation. So, either GENERIC with > less debugging information (symbols and stuff), which makes debugging > harder or setting a higher default for / would be options, if not anyone > else has better ideas. /usr/src/UPDATING has this which will allow you to remove symbols when installing a kernel: 20060118: This actually occured some time ago, but installing the kernel now also installs a bunch of symbol files for the kernel modules. This increases the size of /boot/kernel to about 67Mbytes. You will need twice this if you will eventually back this up to kernel.old on your next install. If you have a shortage of room in your root partition, you should add -DINSTALL_NODEBUG to your make arguments or add INSTALL_NODEBUG="yes" to your /etc/make.conf. I concur that the 235 MB size of an amd64 8.0 kernel is a bit of a surprise. An i386 kernel is a mere 135 MB. IMO increasing the sysinstall default root slice size for at least amd64 would be a good thing. -- Adrian Wontroba