From owner-freebsd-doc@FreeBSD.ORG Tue Dec 5 15:40:16 2006 Return-Path: X-Original-To: freebsd-doc@freebsd.org Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5011616A521; Tue, 5 Dec 2006 15:40:16 +0000 (UTC) (envelope-from freebsd@koisnet.de) Received: from server01.proxy.hosteurope.de (server01.proxy.hosteurope.de [80.237.136.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C126343CED; Tue, 5 Dec 2006 15:39:30 +0000 (GMT) (envelope-from freebsd@koisnet.de) Received: from server03.webmailer.hosteurope.de ([10.9.0.182]) by server01.proxy.hosteurope.de with esmtp (Exim 4.50) id 1GrcOu-0003ct-P0; Tue, 05 Dec 2006 16:40:08 +0100 Received: from nobody by server03.webmailer.hosteurope.de with local (Exim 3.36 #1 (Debian)) id 1GrcOu-0004qu-00; Tue, 05 Dec 2006 16:40:08 +0100 X-submitted-by: 89.49.179.104 using webmailer.hosteurope.de/HTTP at Tue, 5 Dec 2006 16:40:08 +0100 (CET) Received: from 89.49.179.104 (SquirrelMail authenticated user wp159520-0904) by webmailer.hosteurope.de with HTTP; Tue, 5 Dec 2006 16:40:08 +0100 (CET) Message-ID: <159520.3822.89.49.179.104.1165333208.squirrel@webmailer.hosteurope.de> In-Reply-To: References: Date: Tue, 5 Dec 2006 16:40:08 +0100 (CET) From: "Johann Kois" To: freebsd001@freeode.co.uk User-Agent: SquirrelMail/1.4.8 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-doc@freebsd.org Subject: Re: Handbook custom kernel procedure missing? X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Dec 2006 15:40:16 -0000 John Murphy wrote: > The Handbook Chapter 8.3 Building and Installing a Custom Kernel: > > > States "If you have installed only the kernel source code, use procedure > 1." > > I have indeed installed only the kernel source code, but can't seem to > find > any further reference to "procedure 1". This section was changed not so long ago (Rev. 1.168, if I am not mistaken). During this commit instructions for the "traditional way" (aka "procedure1") have been moved to the developers handbook (http://www.freebsd.org/doc/en/books/developers-handbook/kernelbuild.html). >was I have tried the: > # cd /usr/src > # make buildkernel KERNCONF=MYKERNEL > procedure which results in the error: > make: don't know how to make buildkernel. Stop > > There is a note which says "It is required to have full FreeBSD source > tree > to build the kernel." which seems to contradict the line which mentions > "procedure 1". You are right. "procedure 1" does not need the full source tree, only the kernel sources. But the handbook now only covers "procedure 2" (with "make buildkernel") which is recommend for newer versions of FreeBSD, but requires the full source tree. > What usually happens is that the answer becomes obvious as soon as I send > the message, but in case that doesn't happen, could someone kindly remind > me what procedure 1 is, and amend the fine handbook if appropriate. Thanks for the report. Obviously this section needs a little cleanup. J. Kois