From owner-freebsd-questions@FreeBSD.ORG Thu Feb 5 03:30:28 2004 Return-Path: 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 7D00616A4CE for ; Thu, 5 Feb 2004 03:30:28 -0800 (PST) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CDF043D3F for ; Thu, 5 Feb 2004 03:30:27 -0800 (PST) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id i15BUOVe026824; Thu, 5 Feb 2004 03:30:24 -0800 From: Kent Stewart To: Nicolas , freebsd-questions@freebsd.org Date: Thu, 5 Feb 2004 03:30:24 -0800 User-Agent: KMail/1.5.4 References: <200402051215.16073.nicolas.gafgo@bredband.net> In-Reply-To: <200402051215.16073.nicolas.gafgo@bredband.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402050330.24516.kstewart@owt.com> Subject: Re: Newbie trying to build a new world X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Feb 2004 11:30:28 -0000 On Thursday 05 February 2004 03:15 am, Nicolas wrote: > Hello. > I am a newbie trying to build a new kernel. I have been following the > handbook step by step but I still do something wrong. I copied > GENERIC and did some changes and called my new kernel MOAK. I put it > into /root/kernels and typed: ln -s /root/kernels/MOAK > I cvsuped src all and ports all. > Then and did: make -j4 buildworld. > No problem. > Then I rebooted and went into single user mode and typed: > make buildkernel KERNCONF=MOAK. > Then I get this output: > config: /usr/src/sys/i386/conf/MOAK:274: syntax error > Error code 1 > stop in /usr/src > error code 1 > Stop in /usr/src > Is there something wrong in MOAK (see attachment)??? > Hope that somebody can offer me some help. > Many thanks Nicolas Well, it is telling you that it doesn't like the "options PNPBIOS". That is an option for 4.x. For right now, I would just comment it out. BTW, booting to single user mode to build the kernel doesn't help. You want to do that when you do the installworld. Part of the reason for booting to single user mode is to test the new kernel and you haven't installed it at this point. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html