Subject: port-i386/19290: Bad CPU identify
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jordivvz@terra.es>
List: netbsd-bugs
Date: 12/05/2002 04:28:18
>Number:         19290
>Category:       port-i386
>Synopsis:       Bad CPU identify
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 05 04:29:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jorge
>Release:        1.6
>Organization:
.
>Environment:
NetBSD 1.6 (GENERIC) #0: Sun Sep  8 19:43:40 UTC 2002
   
autobuild@tgm.daemon.org:/autobuild/i386/OBJ/autobuild/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Celeron (Mendocino) (686-class), 333.36 MHz
cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 2-way
cpu0: L2 cache 256 KB 32b/line 4-way
cpu0: features 183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 183f9ff<PGE,MCA,CMOV,FGPAT,PSE36,MMX>
cpu0: features 183f9ff<FXSR>
total memory = 127 MB
avail memory = 111 MB
>Description:
This is something I all ready send to the i386 mailing list.

Problem is netbsd cpuid isn't reporting correctly. I've got a Mobile PII processor (Compaq Armada M300 notebook) facts are the hardware says it as well as other OS's (Windows, Linux) also 
I try with an oficial tool to identify the CPU, from intel for Windows and it also says it's mobile Pentium II. 

One of the develepors in the mailing list said through the fact that the cpuid identifies it as a model 6 (done with an userland tool) it says it's a Celeron. But searching on the Internet I see there are model 6 wich are PII. I don't know if this is really important, don't know if maybe cause the cpuid is wrong it doesn't use all features of the 
CPU.

I also atach the output done with an userland tool from junyoung@netbsd.org

Vendor: GenuntelineI
Signature: type 0, family 6, model 6, stepping 10
Standard features:
        On-chip Floating Point Unit: supported
        Virtual Mode Extension: supported
        Debugging Extension: supported
        Page Size Extension: supported
        Time Stamp Counter: supported
        Model Specific Registers: supported
        Physical Address Extension: supported
        Machine Check Exception: supported
        CMPXCHG8 Instruction Supported: supported
        On-chip APIC Hardware: not supported
        Fast System Call: supported
        Memory Type Range Registers: supported
        Page Global Enable: supported
        Machine Check Architecture: supported
        Conditional Move Instruction: supported
        Page Attribute Table: supported
        36-bit Page Size Extension: supported
        Processor Serial Number Present: not supported
        CLFLUSH Instruction: not supported
        Debug Trace Store: not supported
        Advanced Configuration and Power Management Interface: not supported
        MMX Instructions: supported
        Fast Floating Point Save and Restore: supported
        Streaming SIMD Extensions: not supported
        Streaming SIMD Extensions 2: not supported
        Self-Snoop: not supported
        Thermal Monitor: not supported
Extended features:
        SYSCALL and SYSRET Instructions: supported
        MMX Extended Instructions: not supported
        3DNow! Instructions: supported
        3DNow! Extended Instructions: not supported
Brand string: 
Processor clock speed: 333.80 MHz

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: