From owner-freebsd-mobile@FreeBSD.ORG Sat May 21 10:56:40 2005 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6699216A4CE for ; Sat, 21 May 2005 10:56:40 +0000 (GMT) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C86B43D90 for ; Sat, 21 May 2005 10:56:39 +0000 (GMT) (envelope-from freebsd-listen@fabiankeil.de) Received: (qmail 29577 invoked from network); 21 May 2005 10:56:37 -0000 Received: from unknown (HELO localhost) ([pbs]775067@[83.129.76.92]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 21 May 2005 10:56:37 -0000 Date: Sat, 21 May 2005 12:56:25 +0200 From: Fabian Keil To: "[LoN]Kamikaze" Message-ID: <20050521125625.120e865d@localhost> In-Reply-To: <428F04BF.1090103@gmx.de> References: <428F04BF.1090103@gmx.de> X-Mailer: Sylpheed-Claws 1.0.4 (GTK+ 1.2.10; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Signature_Sat__21_May_2005_12_56_25_+0200_E1vfUGDLK52SUlRn; protocol="application/pgp-signature"; micalg=pgp-sha1 cc: freebsd-mobile@freebsd.org Subject: Re: building kernel with pentium-m X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 May 2005 10:56:40 -0000 --Signature_Sat__21_May_2005_12_56_25_+0200_E1vfUGDLK52SUlRn Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable "[LoN]Kamikaze" wrote: > I remember that someone reported problems with building a kernel and the > CPUTYPE?=3Dpentium-m > in /etc/make.conf >=20 > The mail listed a detailed bug report where which code has to be fixed. > Anyway I did the same thing and yesterday and my kernel wouldn't boot as > well. Anyway after some trial and error I recognized the problem was not > /boot/kernel/kernel, but /boot/loader. > So I just replaced /boot/loader with /boot/loader.old and can now run my > ~ pentium-m kernel. >=20 > This is what I do when I build a kernel now: > I set > CPUTYPE?=3Dp3 > in /etc/make.conf >=20 > # cd /usr/src > # make buildkernel KERNCONF=3DMYKERNEL > # make installkernel KERNCONF=3DMYKERNEL > # cp /boot/loader /boot/loader.p3 >=20 > Now I set > CPUTYPE?=3Dpentium-m > in /etc/make.conf >=20 > # cd /usr/src > # make buildkernel KERNCONF=3DMYKERNEL > # make installkernel KERNCONF=3DMYKERNEL > # mv /boot/loader /boot/loader.pentium-m > # cp /boot/loader.p3 /boot/loader >=20 > Done. >=20 > I know it's a bit dirty to build the whole kernel twice, but it doesn't > take that long, so it won't kill anyone. Just for the record: I use CPUTYPE?=3Dpentium-m in /etc/make.conf without any problems. OS is FreeBSD 5.4STABLE on a ThinkPad R51. Do you use recent sources?=20 Fabian --=20 http://www.fabiankeil.de/ --Signature_Sat__21_May_2005_12_56_25_+0200_E1vfUGDLK52SUlRn Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCjxPlbmGO+3DrZ9sRAsj2AJ0aZJG/ZK05wIo6/YiQgPLMqSc3IACfcG+X isL/rYSSCsnlCU9oQr18a1M= =mQKa -----END PGP SIGNATURE----- --Signature_Sat__21_May_2005_12_56_25_+0200_E1vfUGDLK52SUlRn--