Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Mar 2004 20:46:43 -0600
From:      Eric Anderson <anderson@centtech.com>
To:        Julian <der_julian@web.de>
Cc:        current@freebsd.org
Subject:   Re: garbage string as cpu identifier
Message-ID:  <404E8193.1020004@centtech.com>
In-Reply-To: <86eks14fji.fsf@web.de>
References:  <20040310002922.2242.qmail@web13121.mail.yahoo.com> <D5F2CA60-7230-11D8-BBA4-000A9576014E@cam.ac.uk> <86eks14fji.fsf@web.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian wrote:
> Bin Ren <br260@cam.ac.uk> writes:
> 
> 
>>The patch is not to 'fix' your problem by replacing garbage
>>string with a sane one, but rather to make sure on your
>>Athlon CPU, 'cpuid' does return garbage string expectedly.
>>This could mean a very tricky software initialization bug
>>or even a hardware bug. After confirming fault 'cpuid',
>>I'll try to find the very reason and fix it.
> 
> 
> Perhaps not as unusual as reporting garbage, my CPU (AMD Athlon XP
> 2400+) claims to be "Unknown CPU Type". E.g. mprime chokes on this and
> detects it as Cyrix... Could this be fixed by a BIOS upgrade?
> 
> 
> CPU: Unknown CPU Type (2008.53-MHz 686-class CPU)
>   Origin = "AuthenticAMD"  Id = 0x681  Stepping = 1
>   Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
> OV,PAT,PSE36,MMX,FXSR,SSE>
>   AMD Features=0xc0400000<AMIE,DSP,3DNow!>

No - the cpuid ("Id = 0x681") is not in the BIOS.  FreeBSD needs to be 
updated to recognize it.
I think (a guess) that the appropriate file to look at is:
  /usr/src/sys/i386/i386/identcpu.c

Eric


-- 
------------------------------------------------------------------
Eric Anderson     Sr. Systems Administrator    Centaur Technology
Today is the tomorrow you worried about yesterday.
------------------------------------------------------------------



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