kernel info question

Karol Kwiatkowski freebsd at orchid.homeunix.org
Tue Jan 25 15:26:00 PST 2005


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>


More information about the freebsd-questions mailing list