Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 May 2005 12:56:25 +0200
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        "[LoN]Kamikaze" <LoN_Kamikaze@gmx.de>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: building kernel with pentium-m
Message-ID:  <20050521125625.120e865d@localhost>
In-Reply-To: <428F04BF.1090103@gmx.de>
References:  <428F04BF.1090103@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
"[LoN]Kamikaze" <LoN_Kamikaze@gmx.de> wrote:

> I remember that someone reported problems with building a kernel and the
> CPUTYPE?=pentium-m
> in /etc/make.conf
> 
> 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.
> 
> This is what I do when I build a kernel now:
> I set
> CPUTYPE?=p3
> in /etc/make.conf
> 
> # cd /usr/src
> # make buildkernel KERNCONF=MYKERNEL
> # make installkernel KERNCONF=MYKERNEL
> # cp /boot/loader /boot/loader.p3
> 
> Now I set
> CPUTYPE?=pentium-m
> in /etc/make.conf
> 
> # cd /usr/src
> # make buildkernel KERNCONF=MYKERNEL
> # make installkernel KERNCONF=MYKERNEL
> # mv /boot/loader /boot/loader.pentium-m
> # cp /boot/loader.p3 /boot/loader
> 
> Done.
> 
> 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?=pentium-m in /etc/make.conf
without any problems. OS is FreeBSD 5.4STABLE on a ThinkPad R51.

Do you use recent sources? 

Fabian
-- 
http://www.fabiankeil.de/

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCjxPlbmGO+3DrZ9sRAsj2AJ0aZJG/ZK05wIo6/YiQgPLMqSc3IACfcG+X
isL/rYSSCsnlCU9oQr18a1M=
=mQKa
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050521125625.120e865d>