From owner-freebsd-questions@FreeBSD.ORG Mon Jan 17 06:05:11 2005 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 E076716A4CE for ; Mon, 17 Jan 2005 06:05:11 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.199.47.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 920A043D46 for ; Mon, 17 Jan 2005 06:05:11 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id CD2AF51506; Sun, 16 Jan 2005 22:05:10 -0800 (PST) Date: Sun, 16 Jan 2005 22:05:10 -0800 From: Kris Kennaway To: Doug Hardie Message-ID: <20050117060510.GA63358@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uAKRQypu60I7Lcqm" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i cc: f-questions List Subject: Re: 5.3 Building Kernel/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: Mon, 17 Jan 2005 06:05:12 -0000 --uAKRQypu60I7Lcqm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 16, 2005 at 09:51:13PM -0800, Doug Hardie wrote: > The instructions for building world/kernel for 4.x are straight forward= =20 > and work fine. However, I seem to have munged two 5.3 installations=20 > now. I have been through all the UPDATING notes and the handbook and=20 > something is obviously not clear. >=20 > The approach I used is: >=20 > Clean install from 5.3 distribution. > make buildworld > create new config file LAFN > make buildkernel KERNCONF=3DLAFN > make installkernel KERNCONF=3DLAFN > reboot > make installworld > reboot >=20 > At that point It appeared I was using the LAFN kernel rather than=20 > generic. >=20 > However, tonight I tried to make a new kernel. NO go: > ERROR: version of config(8) does not match kernel! > config version =3D 500012, version required =3D 500013 >=20 > So I tried to reinstall the kernel: > make installkernel KERNCONF=3DLAFN > install -o root -g wheel -m 555 acpi.ko /boot/kernel > install: acpi.ko: No such file or directory >=20 > How are you supposed to build a new kernel that works? How do I=20 > recover this? The only way I can think for this to happen is if your source tree was inconsistent (i.e. not completely updated), or you updated your sources after you did the installworld, and the kernel depends on the newer version of config than the one you have built (in this case the 'safe' buildworld/buildkernel/installkernel method you used to begin with should still work). Kris --uAKRQypu60I7Lcqm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFB61WWWry0BWjoQKURAmX/AJ9MjA/ocobWPpUlRUSEhsgpkdJbhwCgq4Px fEPMeJpJum/YvwRZNSA+oQA= =uno+ -----END PGP SIGNATURE----- --uAKRQypu60I7Lcqm--