From owner-freebsd-current@FreeBSD.ORG Tue Mar 9 18:46:46 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B76416A4CE for ; Tue, 9 Mar 2004 18:46:46 -0800 (PST) Received: from otter3.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D7D343D2D for ; Tue, 9 Mar 2004 18:46:45 -0800 (PST) (envelope-from anderson@centtech.com) Received: from centtech.com ([192.168.42.25]) by otter3.centtech.com (8.12.3/8.12.3) with ESMTP id i2A2kiE8087136; Tue, 9 Mar 2004 20:46:44 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <404E8193.1020004@centtech.com> Date: Tue, 09 Mar 2004 20:46:43 -0600 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040205 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Julian References: <20040310002922.2242.qmail@web13121.mail.yahoo.com> <86eks14fji.fsf@web.de> In-Reply-To: <86eks14fji.fsf@web.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Re: garbage string as cpu identifier X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2004 02:46:46 -0000 Julian wrote: > Bin Ren 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 OV,PAT,PSE36,MMX,FXSR,SSE> > AMD Features=0xc0400000 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. ------------------------------------------------------------------