From owner-freebsd-questions@FreeBSD.ORG Wed Oct 11 11:26:42 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87D5A16A40F for ; Wed, 11 Oct 2006 11:26:42 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from strange.daemonsecurity.com (59.Red-81-33-11.staticIP.rima-tde.net [81.33.11.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6239043D7E for ; Wed, 11 Oct 2006 11:26:35 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [192.168.7.193] (68.Red-80-34-55.staticIP.rima-tde.net [80.34.55.68]) by strange.daemonsecurity.com (Postfix) with ESMTP id 4D9022E037; Wed, 11 Oct 2006 13:26:29 +0200 (CEST) Message-ID: <452CD4E3.7050705@locolomo.org> Date: Wed, 11 Oct 2006 13:26:27 +0200 From: Erik Norgaard User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Zbigniew Szalbot References: <20061011084014.W23849@192.168.11.51> <452CBB91.3000402@locolomo.org> <20061011114350.P29289@192.168.11.51> In-Reply-To: <20061011114350.P29289@192.168.11.51> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: custom kernel, make buildkernel and then? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Oct 2006 11:26:42 -0000 Zbigniew Szalbot wrote: > Hello, > > On Wed, 11 Oct 2006, Erik Norgaard wrote: > >> The target directory for the build is /usr/obj, so in >> /usr/obj/usr/src/sys you can see what kernels have been built. > > And it seems none have? For I get this when I do ls I can see only boot > directory and no kernels. Is it possible that the buildprocess failed > though it did not explicitly tell me about it? From what I recall one of > the last lines pritned by buildkernel was > chmod 444 freebsd.submit.cf If you have no /usr/obj/usr/src/sys/LISTS then the kernel have not been built and something went wrong. To get accustomed to building the kernel, start first building the GENERIC kernel, see that it gets there, see how long it takes. See the last message at build. It should not be "chmod ..." but rather "Finished building kernel" or something like that. Then, using the GENERIC config as a skeleton, create your LISTS kernel, but do it stepwise, start removing what you are absolutely certain you don't need or adding things you load as modules. And see that you can build that. If you've never built a kernel before doing too much stuff first time may result in errors you can't identify. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9