Opened 10 years ago

Last modified 3 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 10 years ago.
sysinfo (1.3 KB ) - added by diver 10 years ago.
sysinfo
r36336_AboutSystem_wrong_cpu-info.png (35.8 KB ) - added by Disreali 10 years ago.
sysinfo-acer-am5620.txt (4.9 KB ) - added by Disreali 10 years ago.

Download all attachments as: .zip

Change History (36)

by diver, 10 years ago

Attachment: AboutSystem.png added

by diver, 10 years ago

Attachment: sysinfo.txt added

comment:1 by v, 10 years ago

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 by v, 10 years ago

Patch attached to ticket:3541

comment:3 by stippi, 10 years ago

/*

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

comment:4 by stippi, 10 years ago

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 by diver, 10 years ago

Resolution: fixed
Status: closedreopened

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

comment:6 by diver, 10 years ago

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

comment:7 by v, 10 years ago

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

comment:8 by stippi, 10 years ago

Maybe it works better now with hrev33470?

comment:9 by diver, 10 years ago

Tested hrev33470 and same thing still.

by diver, 10 years ago

Attachment: sysinfo_r33470.txt added

sysinfo from VirtualBox

comment:10 by v, 10 years ago

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.

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

Replying to v:

I don't think VirtualBox supports cpuid.

... processor strings in cpuid.

comment:12 by diver, 10 years ago

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 by v, 10 years ago

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 by diver, 10 years ago

Version: R1/pre-alpha1R1/Development

comment:15 by korli, 10 years ago

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

comment:16 by diver, 10 years ago

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.

by diver, 10 years ago

Attachment: cat_proc_cpuinfo added

comment:17 by diver, 10 years ago

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

comment:18 by korli, 10 years ago

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 by diver, 10 years ago

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)

by diver, 10 years ago

Attachment: sysinfo added

sysinfo

by Disreali, 10 years ago

Attachment: sysinfo-acer-am5620.txt added

comment:20 by Disreali, 10 years ago

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 by v, 9 years ago

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 by stpere, 8 years ago

Hi Diver,

Could you test hrev42405? Thank you!

comment:23 by diver, 8 years ago

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 by diver, 8 years ago

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 by bonefish, 8 years ago

Owner: changed from bonefish to nobody
Status: reopenedassigned

comment:26 by diver, 7 years ago

Owner: changed from nobody to axeld

Still here in hrev44635.

comment:27 by pulkomandy, 5 years ago

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 by pulkomandy, 5 years ago

Priority: normallow
Version: R1/Development

comment:29 by axeld, 3 years ago

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