NetBSD Problem Report #29283

From www@netbsd.org  Tue Feb  8 07:27:51 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 12E8263B400; Tue,  8 Feb 2005 07:27:51 +0000 (UTC)
Message-Id: <20050208072751.12E8263B400@narn.netbsd.org>
Date: Tue,  8 Feb 2005 07:27:51 +0000 (UTC)
From: kent@NetBSD.org
Reply-To: kent@NetBSD.org
To: gnats-bugs@netbsd.org
Subject: /proc/cpuinfo informs wrong flags for Athlon
X-Send-Pr-Version: www-1.0

>Number:         29283
>Category:       port-i386
>Synopsis:       /proc/cpuinfo informs wrong flags for Athlon
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-i386-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 08 07:28:00 +0000 2005
>Closed-Date:    Fri Aug 07 19:54:43 +0000 2009
>Last-Modified:  Fri Aug 07 19:54:43 +0000 2009
>Originator:     TAMURA Kent
>Release:        2.99.15
>Organization:
hauN
>Environment:
NetBSD gabi-n.hauN.org 2.99.15 NetBSD 2.99.15 (GABI-N) #0: Mon Jan 31 18:16:07 JST 2005  kent@gabi-n.hauN.org:/usr/src/sys/arch/i386/compile/GABI-N i386
>Description:
On an Athlon 1GHz machine, "cat /proc/cpuinfo" with linux
option prints as follows:

processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 4
model name      : AMD Athlon Model 4 (Thunderbird) (686-class)
stepping        : 2
cpu MHz         : 1002.33
fdiv_bug        : no
fpu             : yes
fpu_exception:  : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 pn acpi mmx fxsr ia64 31

The "flags" field is obviously incorrect.  Athlon does not
support IA-64.  I heard Linux 2.4.18 shows as follows:

processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 6
model		: 4
model name	: AMD Athlon(tm) Processor
stepping	: 2
cpu MHz		: 1002.287
cache size	: 256 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips	: 1998.84


>How-To-Repeat:
# mount -t procfs -o linux /proc /proc
% cat /proc/cpuinfo

>Fix:

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: dsl@NetBSD.org
State-Changed-When: Fri, 07 Aug 2009 19:54:43 +0000
State-Changed-Why:
Quite likely the cpu identification was just wrong, and the cpu
was being treated as some Intel part.
(At least as far as the flag lookup was concerned.)
Most likely this was fixed ages ago.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.