From owner-freebsd-questions@FreeBSD.ORG Mon Aug 20 13:52:28 2012 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 915D91065674 for ; Mon, 20 Aug 2012 13:52:28 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 4DFAB8FC19 for ; Mon, 20 Aug 2012 13:52:27 +0000 (UTC) Received: from r56.edvax.de (port-92-195-49-179.dynamic.qsc.de [92.195.49.179]) by mx01.qsc.de (Postfix) with ESMTP id 861AB3CA03; Mon, 20 Aug 2012 15:52:26 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q7KDqPaE002762; Mon, 20 Aug 2012 15:52:25 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 20 Aug 2012 15:52:25 +0200 From: Polytropon To: Robert Huff Message-Id: <20120820155225.56919a1f.freebsd@edvax.de> In-Reply-To: <20530.16310.145421.540487@jerusalem.litteratus.org> References: <20120820131344.GA6963@kontrol.kode5.net> <20120820152020.fbe1ff20.freebsd@edvax.de> <20530.16310.145421.540487@jerusalem.litteratus.org> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Jamie Paul Griffin , freebsd-questions@freebsd.org Subject: Re: Issue with kernel building X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Aug 2012 13:52:28 -0000 On Mon, 20 Aug 2012 09:46:30 -0400, Robert Huff wrote: > > Polytropon writes: > > > > Very good point! I'd clear the /usr/src/obj directory as pointed out, > > > then build a generic kenel, install it and boot from it. Then you > > > know you've got a working kernel to fall back on. > > > > You could then make a copy of that kernel, e. g. from its initial > > installation location /boot/kernel to /boot/kernel.GENERIC. > > Before doing this, make sure you have enough space on /. On my > -CURRENT system, /boot/kernel uses ~300 mb and /boot/modules another > 35; I created / with 2 gb in part so it could hold multiple kernels. > Running out of space on / is a Really Bad Idea(tm). Excellent advice. I'd like to add "man src.conf" and maybe tweaking /etc/make.conf to adjust kernel and world builds for the case that more control over what should be built and installed is desired, such as omitting debug symbols, the exclusion of certain modules and so on. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...