From owner-freebsd-questions@FreeBSD.ORG Mon Sep 15 16:52:24 2003 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 AF5F016A4B3 for ; Mon, 15 Sep 2003 16:52:24 -0700 (PDT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE9E343FBD for ; Mon, 15 Sep 2003 16:52:22 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (be-well.no-ip.com[66.30.200.37]) by comcast.net (rwcrmhc13) with ESMTP id <2003091523521701500f25g5e>; Mon, 15 Sep 2003 23:52:17 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [66.30.200.37] (may be forged)) by be-well.ilk.org (8.12.9/8.12.9) with ESMTP id h8FNqGCo080255; Mon, 15 Sep 2003 19:52:16 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h8FNqFVP080252; Mon, 15 Sep 2003 19:52:15 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: "Mark Luxton" To: freebsd-questions@freebsd.org References: From: Lowell Gilbert Date: 15 Sep 2003 19:52:15 -0400 In-Reply-To: Message-ID: <44brtl3900.fsf@be-well.ilk.org> Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Rebuilding the Kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2003 23:52:24 -0000 "Mark Luxton" writes: > I'm new to FreeBSD and this is my first attempt at building a kernel. > > I would like to know if I am going about it the right way (and some > help on an error message that appears). > > Below are the steps that I am currently taking. I am following the > steps in the Handbook (Cutting Edge & Building and Installing a custom > Kernel). > > Run CVSup and updated my source tree > Run make buildworld > Run make installworld > Copy GENERIC to MYKERNEL > Edit MYKERNEL > Run make buildkernel KERNCONF=MYKERNEL > Run make installkernel KERNCONF=MYKERNEL That's not the correct order -- you need to build and install the kernel in between buildworld and installworld. I don't think that's problem in this case, though. > Everything works fine upto make buildkernel. If I run this, even on > an uneditted copy of GENERIC, I get an error saying: > > make: don't know how to make uart_bus_pccard.c. Stop > *** Error code 2 *** Hmm. That file doesn't exist on my (4.x, i.e., -STABLE) system. What version are you running, and what version did you cvsup?