Opened 10 years ago

Last modified 2 years ago

#4427 assigned bug

[AboutSystem] Core 2 Quad is detected as Core 2 Extreme

Reported by: diver Owned by: nobody
Priority: low Milestone: R1
Component: Applications/AboutSystem Version:
Keywords: Cc: mdisreali@…
Blocked By: Blocking:
Has a Patch: no Platform: All

Description


cat /var/log/syslog | grep CPU

KERN: CPU 2: type 0 family 6 extended_family 0 model 7 extended_model 1 stepping 10, string 'GenuineIntel'
KERN: CPU 1: type 0 family 6 extended_family 0 model 7 extended_model 1 stepping 10, string 'GenuineIntel'
KERN: CPU 3: type 0 family 6 extended_family 0 model 7 extended_model 1 stepping 10, string 'GenuineIntel'
KERN: CPU 2: vendor 'Intel' model name 'Intel(R) Core(TM)2 Quad CPU    Q8200  @ 2.33GHz'
KERN: CPU 3: vendor 'Intel' model name 'Intel(R) Core(TM)2 Quad CPU    Q8200  @ 2.33GHz'
KERN: CPU 2: features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov KERN: pat pse36 clfsh ds acpi mmx fxsr sse sse2 ss htt tm pbe sse3 monitor dscpl est tm2 
KERN: CPU 1: vendor 'Intel' model name 'Intel(R) Core(TM)2 Quad CPU    Q8200  @ 2.33GHz'
KERN: CPU 3: features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clfsh ds acpi mmx fxsr sse sse2 ss htt tm pbe sse3 monitor dscpl est tm2 
KERN: CPU 1: features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clfsh ds acpi mmx fxsr sse sse2 ss htt tm pbe sse3 monitor dscpl est tm2 

Attachments (7)

AboutSystem.png (41.0 KB) - added by diver 10 years ago.
sysinfo.txt (5.6 KB) - added by diver 10 years ago.
sysinfo_r33470.txt (1.3 KB) - added by diver 10 years ago.
sysinfo from VirtualBox
cat_proc_cpuinfo (2.6 KB) - added by diver 9 years ago.
sysinfo (1.3 KB) - added by diver 9 years ago.
sysinfo
r36336_AboutSystem_wrong_cpu-info.png (35.8 KB) - added by Disreali 9 years ago.
sysinfo-acer-am5620.txt (4.9 KB) - added by Disreali 9 years ago.

Download all attachments as: .zip

Change History (36)

Changed 10 years ago by diver

Attachment: AboutSystem.png added

Changed 10 years ago by diver

Attachment: sysinfo.txt added

comment:1 Changed 10 years ago by v

Similar problem as ticket:3541.

Options as far as I can tell: -use the model name string. -differentiate based on number of cores -find out if reported amount of cache is useful for differentiation.

comment:2 Changed 10 years ago by v

Patch attached to ticket:3541

comment:3 Changed 10 years ago by stippi

/*

  • Copyright 2008-2009 Haiku Inc. All rights reserved.
  • Distributed under the terms of the MIT License. *
  • Authors:
  • Pieter Panman */

comment:4 Changed 10 years ago by stippi

Resolution: fixed
Status: newclosed

Seems I must have used Command-V where I wanted to use Command-C. Sorry. This should be fixed in hrev33462. Please re-open if it's not.

comment:5 Changed 10 years ago by diver

Resolution: fixed
Status: closedreopened

Tested hrev33462 and it's still the same, reopening.

comment:6 Changed 10 years ago by diver

In hrev33462 sysinfo is now telling me that I have Core 2 Extreme, while before it was Intel Core 2 Quad CPU.

comment:7 Changed 10 years ago by v

Diver, could you attach the new sysinfo ? (don't replace the older one)

comment:8 Changed 10 years ago by stippi

Maybe it works better now with hrev33470?

comment:9 Changed 10 years ago by diver

Tested hrev33470 and same thing still.

Changed 10 years ago by diver

Attachment: sysinfo_r33470.txt added

sysinfo from VirtualBox

comment:10 Changed 10 years ago by v

I don't think VirtualBox supports cpuid. If you're going to run Haiku in a virtual machine, I don't think you have any right to complain that the displayed cpu string doesn't match that of your real machine.

comment:11 in reply to:  10 Changed 10 years ago by v

Replying to v:

I don't think VirtualBox supports cpuid.

... processor strings in cpuid.

comment:12 Changed 10 years ago by diver

First sysinfo and screenshot were taken from real hardware, later I noticed that VirtualBox display the same cpu string, so I thought it's ok to use sysinfo from VirtualBox too. Unfortunately, Haiku doesn't boot on my hw anymore due to #4399.

comment:13 Changed 10 years ago by v

Okay. I hope #4399 gets resolved soon so that you can test AboutSystem properly ;-)
I'm tempted to set the "Blocked By" field..

comment:14 Changed 9 years ago by diver

Version: R1/pre-alpha1R1/Development

comment:15 Changed 9 years ago by korli

diver, is it still with us ? The code looks like it should display Core 2.

comment:16 Changed 9 years ago by diver

Yes, it's still here, but I can only test in VirtualBox.
Windows XP SP3 running on this PC in VirtualBox detects it as Core 2 Quad (as it should).
Haiku detects it as Core 2 Extreme.

Changed 9 years ago by diver

Attachment: cat_proc_cpuinfo added

comment:17 Changed 9 years ago by diver

Tested hrev36332 and now it's detected as Intel Pentium.

comment:18 Changed 9 years ago by korli

It wasn't intended. Could you try to add the following to headers/private/shared/cpu_type.h after the block

case B_CPU_INTEL_PENTIUM_CORE_2_45_NM:
   get_cpuid_model_string(cpuidName);
   printf("cpuidName: %s\n", cpuidName);

then rebuild sysinfo (jam sysinfo) and run it. Thanks!

comment:19 Changed 9 years ago by diver

svn diff

Index: headers/private/shared/cpu_type.h
===================================================================
--- headers/private/shared/cpu_type.h   (revision 36332)
+++ headers/private/shared/cpu_type.h   (working copy)
@@ -189,6 +189,7 @@
                        return "Core 2";
                case B_CPU_INTEL_PENTIUM_CORE_2_45_NM:
                        get_cpuid_model_string(cpuidName);
+                          printf("cpuidName: %s\n", cpuidName);
                        if (strcasestr(cpuidName, "Core") == NULL)
                                return "Pentium";
                        if (strcasestr(cpuidName, "Celeron") != NULL)

Changed 9 years ago by diver

Attachment: sysinfo added

sysinfo

Changed 9 years ago by Disreali

Changed 9 years ago by Disreali

Attachment: sysinfo-acer-am5620.txt added

comment:20 Changed 9 years ago by Disreali

Cc: mdisreali@… added

I am experiencing similar issue now. Using hrev36336 on real hw.

/boot/home> cat /var/log/syslog | grep CPU
KERN: CPU 0: type 0 family 6 extended_family 0 model 15 extended_model 0 stepping 11, string 'GenuineIntel'
KERN: CPU 0: vendor 'Intel' model name 'Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz'
KERN: CPU 0: features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clfsh ds acpi mmx fxsr sse sse2 ss htt tm pbe sse3 monitor dscpl est tm2 
KERN: setting up apic for CPU 0: apic id 0, version 327700
KERN: CPU 1: type 0 family 6 extended_family 0 model 15 extended_model 0 stepping 11, string 'GenuineIntel'
KERN: CPU 3: type 0 family 6 extended_family 0 model 15 extended_model 0 stepping 11, string 'GenuineIntel'
KERN: CPU 2: type 0 family 6 extended_family 0 model 15 extended_model 0 stepping 11, string 'GenuineIntel'
KERN: CPU 3: vendor 'Intel' model name 'Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz'
KERN: CPU 2: vendor 'Intel' model name 'Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz'
KERN: CPU 3: features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clfsh ds acpi mmx fxsr sse sse2 ss htt tm pbe sse3 monitor dscpl est tm2 

Including sysinfo and AboutSystem screenshot.

comment:21 Changed 9 years ago by v

Disreali, in your case it's intentional; hrev33646 Your Core 2 Quad is still a Core2 (and the Quad part is noted by the line above "4 processors").

comment:22 Changed 8 years ago by stpere

Hi Diver,

Could you test hrev42405? Thank you!

comment:23 Changed 8 years ago by diver

I can't check this PC right now, but my

model name	: Intel(R) Core(TM)2 Duo CPU     E6750  @ 2.66GHz+

is now detected as:

Intel Core 2

comment:24 Changed 8 years ago by diver

The one from the description

model name      : Intel(R) Core(TM)2 Quad CPU    Q8200  @ 2.33GHz

now also detects as:

Intel Core 2

comment:25 Changed 8 years ago by bonefish

Owner: changed from bonefish to nobody
Status: reopenedassigned

comment:26 Changed 7 years ago by diver

Owner: changed from nobody to axeld

Still here in hrev44635.

comment:27 Changed 4 years ago by pulkomandy

Is there something we should do here? I think detecting as "Intel Core 2" is intentional, the full information is in sysinfo if needed, and it's better to have a generic model name as we're never sure what Intel marketing will do with the model names.

comment:28 Changed 4 years ago by pulkomandy

Priority: normallow
Version: R1/Development

comment:29 Changed 2 years ago by axeld

Owner: changed from axeld to nobody
Note: See TracTickets for help on using tickets.