From owner-freebsd-questions@FreeBSD.ORG Mon Sep 15 13:15:12 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 EB89416A4BF for ; Mon, 15 Sep 2003 13:15:12 -0700 (PDT) Received: from mail.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5DA843FDF for ; Mon, 15 Sep 2003 13:15:11 -0700 (PDT) (envelope-from nkinkade@[206.26.199.146]) Received: from mail.messagingengine.com (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id 06ACC1D1132; Mon, 15 Sep 2003 16:15:11 -0400 (EDT) Received: from 10.202.2.150 ([10.202.2.150] helo=mail.messagingengine.com) by messagingengine.com with SMTP; Mon, 15 Sep 2003 16:15:11 -0400 X-Epoch: 1063656911 X-Sasl-enc: nkBVcffWagwlcgrWEEmKXw Received: from [206.26.199.146] (unknown [206.26.199.146]) by www.fastmail.fm (Postfix) with ESMTP id 86F401D2502; Mon, 15 Sep 2003 16:15:10 -0400 (EDT) Received: from nkinkade by [206.26.199.146] with local (Exim 4.12) id 19yu7m-000GQh-00; Mon, 15 Sep 2003 14:14:42 +0000 Date: Mon, 15 Sep 2003 14:14:42 +0000 From: Nathan Kinkade To: Mark Luxton Message-ID: <20030915141442.GC61065@npkfbsd.bmp.ub> Mail-Followup-To: Mark Luxton , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZoaI/ZTpAVc4A5k6" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: Nathan Kinkade cc: freebsd-questions@freebsd.org Subject: Re: Rebuilding the Kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nathan Kinkade List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Sep 2003 20:15:13 -0000 --ZoaI/ZTpAVc4A5k6 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 15, 2003 at 07:53:36PM +0000, Mark Luxton wrote: > Hi all, >=20 > I'm new to FreeBSD and this is my first attempt at building a kernel. >=20 > I would like to know if I am going about it the right way (and some help = on=20 > an error message that appears). >=20 > Below are the steps that I am currently taking. I am following the steps= =20 > in the Handbook (Cutting Edge & Building and Installing a custom Kernel). >=20 > Run CVSup and updated my source tree > Run make buildworld > Run make installworld > Copy GENERIC to MYKERNEL > Edit MYKERNEL > Run make buildkernel KERNCONF=3DMYKERNEL > Run make installkernel KERNCONF=3DMYKERNEL >=20 > Everything works fine upto make buildkernel. If I run this, even on an= =20 > uneditted copy of GENERIC, I get an error saying: >=20 > make: don't know how to make uart_bus_pccard.c. Stop > *** Error code 2 *** >=20 > I've entered the error into Google, but it returned no items and I'm at a= =20 > loss (which isn't difficult). >=20 > Any ideas on what it's talking about? >=20 > Thanks for your help >=20 > Mark Not sure about your specific error, but it doesn't appear that you are following the directions in the correct order. I think it should look more like: 1) update sources 2) make buildworld 3) edit kernel config file 4) make buildkernel 5) make installkernel 6) reboot 7) rm -rf /usr/obj/* 8) make installworld 9) mergemaster I've left out some intervening steps, but I think that this is more the correct order of operations. Nathan --=20 gpg --keyserver pgp.mit.edu --recv-keys D8527E49 --ZoaI/ZTpAVc4A5k6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/ZclSO0ZIEthSfkkRAqcWAJ9CdbBi9tUVYIRljIKFibaECTURbACdGpKB 6q8IDGTBhz/mjUoF58KqX/8= =J9cG -----END PGP SIGNATURE----- --ZoaI/ZTpAVc4A5k6--