Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2005 00:26:03 +0100
From:      Karol Kwiatkowski <freebsd@orchid.homeunix.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: kernel info question
Message-ID:  <41F6D58B.6090509@orchid.homeunix.org>
In-Reply-To: <200501251715.06864.algould@datawok.com>
References:  <200501251625.30486.algould@datawok.com> <200501251649.22907.algould@datawok.com> <41F6D0ED.3070802@orchid.homeunix.org> <200501251715.06864.algould@datawok.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrew L. Gould wrote:
> On Tuesday 25 January 2005 05:06 pm, Karol Kwiatkowski wrote:
> 
>>Andrew L. Gould wrote:
>>
>>>On Tuesday 25 January 2005 04:37 pm, Karol Kwiatkowski wrote:
>>>
>>>>Andrew L. Gould wrote:
>>>>
>>>>>I'm about to recompile a kernel on a computer with an AMD K6-2 450
>>>>>processor.  Is the K6-2 an i586 or i686 CPU?
>>>>
>>>>I *think* it's i586 but have a look at dmesg output.
>>>>
>>>>There should be something like:
>>>>
>>>># dmesg | grep CPU
>>>>CPU: AMD Athlon(tm) XP 2000+ (1674.44-MHz 686-class CPU)
>>>
>>>Thanks.  (Yep, it's i586.)
>>
>>I'm not sure: is it a question about CPUTYPE flag in /etc/make.conf?
>>Because right after my first reply I saw this in
>>
>>/usr/share/examples/etc/make.conf (about CPUTYPE):
>>
>>># Currently the following CPU types are recognized:
>>>#   Intel x86 architecture:
>>>#       (AMD CPUs)      athlon-mp athlon-xp athlon-4 athlon-tbird
>>>athlon k6-3 #                       k6-2 k6 k5
>>>#       (Intel CPUs)    p4 p3 p2 i686 i586/mmx i586 i486 i386
>>>#   Alpha/AXP architecture: ev67 ev6 pca56 ev56 ev5 ev45 ev4
>>>#   Intel ia64 architecture: itanium
>>
>>Probably setting CPUTYPE=k6-2 would be best.
>>
>>
>>Regards,
>>
>>Karol
> 
> 
> I'm selecting CPU types in the kernel configuration file, which lists 
> only i386, i486, i586 and i686.
> 
> Andrew Gould

Ah, of course. I586_CPU then.
Sorry for the noise, it's late here :)

Good luck!

Karol

-- 
Karol Kwiatkowski  <freebsd at orchid dot homeunix dot org>



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