Help - Search - Members - Calendar
Full Version: Intelcpumonitor
Project OS X Forums > Snow Leopard Guides & Tutorials > Tools > FakeSMC
Pages: 1, 2, 3, 4
THe KiNG
Here we discuss the IntelCPUMonitor Plug-in

You can download the latest code from assembla using terminal like this:

QUOTE


Latest binary you will find in Downloads section

PLEASE POST HERE ONLY BUGS, IDEAS RELATED TO IntelCPUMonitor ONLY!


How to correct temperature values
THe KiNG
@ Slice,

I found the bug for injecting 2 TC%XD keys instead one:
QUOTE
Dec 22 11:57:11 HM311 kernel[0]: IntelCPUMonitor: CPU family 0x6, model 0x1c, stepping 0x2, cores 2, threads 0
Dec 22 11:57:11 HM311 kernel[0]: IntelCPUMonitor: BusClock=133MHz FSB=532MHz
Dec 22 11:57:11 HM311 kernel[0]: IntelCPUMonitor: Platform string T9
Dec 22 11:57:11 HM311 kernel[0]: IntelCPUMonitor: CPU Tjmax 100

It should be 1 core 2 threads, can you fix that?

Also default Tjmax for C0 rev should be 100(or 105 same as mobile penryn but not sure, intel data is more confusing...) , you showed some code about what I asked earlier, raising the Tjmax when is overclocked, can you implement that too?
Rest is working just fine.

Thanks!
Slice
Test, please, and show me kernel.log part about the kext.
There should be line "InfoLog("MSR_CORE_THREAD_COUNT = %08x_%08lx", m2, msr);"

TJmax=100. Dynamically is not implemented yet. It would be second step if you tell me what is your min and max multiplyer. And with what tjmax changed.
Click to view attachment
THe KiNG
QUOTE (Slice @ Dec 22 2010, 04:12 PM) *
Test, please, and show me kernel.log part about the kext.
There should be line "InfoLog("MSR_CORE_THREAD_COUNT = %08x_%08lx", m2, msr);"

TJmax=100. Dynamically is not implemented yet. It would be second step if you tell me what is your min and max multiplyer. And with what tjmax changed.
Click to view attachment

It panics:
Click to view attachment

from win:
CODE
Processors
-------------------------------------------------------------------------

Number of processors 1
Number of threads 2

APICs
-------------------------------------------------------------------------

Processor 0
-- Core 0
-- Thread 0 0
-- Thread 1 1

Processors Information
-------------------------------------------------------------------------

Processor 1 ID = 0
Number of cores 1 (max 1)
Number of threads 2 (max 2)
Name Intel Atom N270
Codename Diamondville
Specification Intel® Atom™ CPU N270 @ 1.60GHz
Package (platform ID) Socket 437 FCBGA8 (0x2)
CPUID 6.C.2
Extended CPUID 6.1C
Core Stepping C0
Technology 45 nm
Core Speed 798.2 MHz
Multiplier x FSB 6.0 x 133.0 MHz
Rated Bus speed 532.1 MHz
Stock frequency 1600 MHz
Instructions sets MMX, SSE, SSE2, SSE3, SSSE3
L1 Data cache 24 KBytes, 6-way set associative, 64-byte line size
L1 Instruction cache 32 KBytes, 8-way set associative, 64-byte line size
L2 cache 512 KBytes, 8-way set associative, 64-byte line size
FID/VID Control yes
FID range 6.0x - 12.0x
Max VID 1.200 V



Thread dumps
-------------------------------------------------------------------------

CPU Thread 0
APIC ID 0
Topology Processor ID 0, Core ID 0, Thread ID 0
Type 01010001h
Max CPUID level 0000000Ah
Max CPUID ext. level 80000008h
Cache descriptor Level 1, D, 24 KB, 2 thread(s)
Cache descriptor Level 1, I, 32 KB, 2 thread(s)
Cache descriptor Level 2, U, 512 KB, 2 thread(s)

CPUID
0x00000000 0x0000000A 0x756E6547 0x6C65746E 0x49656E69
0x00000001 0x000106C2 0x00020800 0x0040C39D 0xBFE9FBFF
0x00000002 0x4FBA5901 0x0E3080C0 0x00000000 0x00000000
0x00000003 0x00000000 0x00000000 0x00000000 0x00000000
0x00000004 0x00004121 0x0140003F 0x0000003F 0x00000001
0x00000004 0x00004122 0x01C0003F 0x0000003F 0x00000001
0x00000004 0x00004143 0x01C0003F 0x000003FF 0x00000001
0x00000005 0x00000040 0x00000040 0x00000003 0x00020220
0x00000006 0x00000001 0x00000002 0x00000001 0x00000000
0x00000007 0x00000000 0x00000000 0x00000000 0x00000000
0x00000008 0x00000000 0x00000000 0x00000000 0x00000000
0x00000009 0x00000000 0x00000000 0x00000000 0x00000000
0x0000000A 0x07280203 0x00000000 0x00000000 0x00002501
0x80000000 0x80000008 0x00000000 0x00000000 0x00000000
0x80000001 0x00000000 0x00000000 0x00000001 0x00100000
0x80000002 0x20202020 0x20202020 0x746E4920 0x52286C65
0x80000003 0x74412029 0x54286D6F 0x4320294D 0x4E205550
0x80000004 0x20303732 0x20402020 0x30362E31 0x007A4847
0x80000005 0x00000000 0x00000000 0x00000000 0x00000000
0x80000006 0x00000000 0x00000000 0x02008040 0x00000000
0x80000007 0x00000000 0x00000000 0x00000000 0x00000000
0x80000008 0x00002020 0x00000000 0x00000000 0x00000000

MSR 0x0000001B 0x00000000 0xFEE00900
MSR 0x00000017 0x00080000 0x9024CC27
MSR 0x000000CD 0x00000000 0x00000101
MSR 0x0000003F 0x00000000 0x00000000
MSR 0x000000CE 0x270F0C00 0x4B4B0000
MSR 0x000001A0 0x00000003 0x64972488
MSR 0x000000EE 0x00000000 0x02F90002
MSR 0x0000011E 0x00000000 0x7E00011F
MSR 0x0000019C 0x00000000 0x883C0000
MSR 0x00000198 0x060F0C27 0x06000C27
MSR 0x00000199 0x00000000 0x00000C27

CPU Thread 1
APIC ID 1
Topology Processor ID 0, Core ID 0, Thread ID 1
Type 01010001h
Max CPUID level 0000000Ah
Max CPUID ext. level 80000008h
Cache descriptor Level 1, D, 24 KB, 2 thread(s)
Cache descriptor Level 1, I, 32 KB, 2 thread(s)
Cache descriptor Level 2, U, 512 KB, 2 thread(s)

CPUID
0x00000000 0x0000000A 0x756E6547 0x6C65746E 0x49656E69
0x00000001 0x000106C2 0x01020800 0x0040C39D 0xBFE9FBFF
0x00000002 0x4FBA5901 0x0E3080C0 0x00000000 0x00000000
0x00000003 0x00000000 0x00000000 0x00000000 0x00000000
0x00000004 0x00004121 0x0140003F 0x0000003F 0x00000001
0x00000004 0x00004122 0x01C0003F 0x0000003F 0x00000001
0x00000004 0x00004143 0x01C0003F 0x000003FF 0x00000001
0x00000005 0x00000040 0x00000040 0x00000003 0x00020220
0x00000006 0x00000001 0x00000002 0x00000001 0x00000000
0x00000007 0x00000000 0x00000000 0x00000000 0x00000000
0x00000008 0x00000000 0x00000000 0x00000000 0x00000000
0x00000009 0x00000000 0x00000000 0x00000000 0x00000000
0x0000000A 0x07280203 0x00000000 0x00000000 0x00002501
0x80000000 0x80000008 0x00000000 0x00000000 0x00000000
0x80000001 0x00000000 0x00000000 0x00000001 0x00100000
0x80000002 0x20202020 0x20202020 0x746E4920 0x52286C65
0x80000003 0x74412029 0x54286D6F 0x4320294D 0x4E205550
0x80000004 0x20303732 0x20402020 0x30362E31 0x007A4847
0x80000005 0x00000000 0x00000000 0x00000000 0x00000000
0x80000006 0x00000000 0x00000000 0x02008040 0x00000000
0x80000007 0x00000000 0x00000000 0x00000000 0x00000000
0x80000008 0x00002020 0x00000000 0x00000000 0x00000000

MSR 0x0000001B 0x00000000 0xFEE00800
MSR 0x00000017 0x00080000 0x9024CC27
MSR 0x000000CD 0x00000000 0x00000101
MSR 0x0000003F 0x00000000 0x00000000
MSR 0x000000CE 0x270F0C00 0x4B4B0000
MSR 0x000001A0 0x00000003 0x64972480
MSR 0x000000EE 0x00000000 0x02F90002
MSR 0x0000011E 0x00000000 0x7E00011F
MSR 0x0000019C 0x00000000 0x883B0000
MSR 0x00000198 0x060F0C27 0x06000C27
MSR 0x00000199 0x00000000 0x00000C27

zorglub
Two issues with an i7 930 cpu (nehalem).

The computed frequency is incorrect as it is computed from the base bus clock instead of the base cpu clock.
One fix would be to multiply the computed freq by gPEClockFrequencyInfo.bus_to_cpu_rate_den and divide by gPEClockFrequencyInfo.bus_to_cpu_rate_num.

I believe cpu_number() returns a value between 0 and 7 (inclusive).
0 is thread 0 of core 0. 1 is thread 1 core 0. 2 is thread 0 of core 1...
As a result, IntelState and IntelThermal get values for the first two cores only.
For nehalem, we need something like "i = cpu_number() >> 1" instead of "i = cpu_number()".

Tentative patch:
CODE
Index: IntelCPUMonitor.cpp
===================================================================
--- IntelCPUMonitor.cpp    (revision 449)
+++ IntelCPUMonitor.cpp    (working copy)
@@ -295,7 +295,11 @@
                    index = name[2] >= 'A' ? name[2] - 55 : name[2] - 48;
                    if (index >= 0 && index < count) {
                        mp_rendezvous_no_intrs(IntelThermal, &magic);
-                        value = tjmax[index] - GlobalThermalValue[index];
+                        if (!nehalemArch) {
+                            value = tjmax[index] - GlobalThermalValue[index];
+                        } else {
+                            value = tjmax[index] - GlobalThermalValue[index << 1];
+                        }
                    }
                    else {
                        //DebugLog("cpu index out of bounds");
@@ -357,7 +361,7 @@
            Frequency[i] = IntelGetFrequency(GlobalState[i].FID);
            Voltage = IntelGetVoltage(GlobalState[i].VID);
        } else {
-            Frequency[i] = IntelGetFrequency(GlobalState[i].VID);
+            Frequency[i] = IntelGetFrequency(GlobalState[i << 1].VID);
            Voltage = 1;
        }
    }
@@ -380,7 +384,7 @@
    }
    else {
        multiplier = fid & 0x1f;
-        frequency = (multiplier * BusClock);            
+        frequency = (multiplier * BusClock) * gPEClockFrequencyInfo.bus_to_cpu_rate_den / gPEClockFrequencyInfo.bus_to_cpu_rate_num;            
        return (frequency);    
    }
}
Slice
QUOTE (THe KiNG @ Dec 22 2010, 08:03 PM) *
It panics:

Thanks for win-info. It is helpful.
About panic. It seems Atom is not Nehalem and has no msr35, so I set manually cores=1 threads=2.

QUOTE (zorglub @ Dec 22 2010, 08:42 PM) *
Two issues with an i7 930 cpu (nehalem).

I applied your propositions. Thanks for sharing.
Click to view attachment
THe KiNG
QUOTE (Slice @ Dec 23 2010, 10:00 AM) *
Thanks for win-info. It is helpful.
About panic. It seems Atom is not Nehalem and has no msr35, so I set manually cores=1 threads=2.

CODE
Dec 23 11:43:41 HM311 kernel[0]: IntelCPUMonitor: CPU family 0x6, model 0x1c, stepping 0x2, cores 1, threads 2
Dec 23 11:43:41 HM311 kernel[0]: IntelCPUMonitor: BusClock=133MHz FSB=532MHz
Dec 23 11:43:41 HM311 kernel[0]: IntelCPUMonitor: Platform string T9
Dec 23 11:43:41 HM311 kernel[0]: IntelCPUMonitor: CPU Tjmax 100


Now all looks good, thanks!

But what about dual core atom's cpus? Is there a check for that? Or if HT is turned off?
Slice
New info -> new patches.
I can implement new features only if I have infomation.
noam a
hey there, i think i'm in the right section but correct me if i'm wrong,
i have compiled hwsensors, and put the files (FakeSMC, SuperIOFamily, NVClockX, IntelThermal - for some reason IntelCPUMonitor didn't work, does it need to work or it is better this way?) in the E/E folder

i can now successfully see some temps in istat pro, (Northbridge, GPU Diode, Ambient{what is that?}, CPU A,B (however i have Quad q6600 so i think there should be 4, no?) and my hard drives.

so here are the questions again in case you didn't understand

1.do i need IntelThermal or IntelCPUMonitor? because IntelCPUMonitor doesn't seem to work for me
2.with IntelThermal i can see CPU temps but only A and B and i have Quad Q6600, this is normal or not?

And In istat manu i can't see any of this, only my hard drives
am i doing something wrong?


please forgive me if i'm in the wrong section!
eMatoS
Well, iStatPro shows up to 2 cores, so that's normal. Also I had to install everything on /S/L/E to get all readings so you should at least try and tell us if it works better. On the other hand, IstatMenu (+3,0) will show the readings depending on which Apple model you're loading on your smbios. For me it only works with MacPro3,1 and 5,1, though I get no speedstep with 5,1.
noam a
QUOTE (eMatoS @ Dec 25 2010, 06:27 PM) *
Well, iStatPro shows up to 2 cores, so that's normal. Also I had to install everything on /S/L/E to get all readings so you should at least try and tell us if it works better. On the other hand, IstatMenu (+3,0) will show the readings depending on which Apple model you're loading on your smbios. For me it only works with MacPro3,1 and 5,1, though I get no speedstep with 5,1.


hey thanks for replying, well i forgot to mention the first time i tried it, i just wasn't able to compile the xcode project so i used the FakeSMC from here which only works from S/L/E, then i figure my problem with xcode and compiled the fakesmc and the plugins, put in E/E and got almost same result (i have now "ambient" which was i think something else)

now it seems that u right about the smbios thing, i have MacPro2,1
so i guess i need to test some other
will back with results


------------

EDIT:
i test what u suggest and have no luck
i tried macbook3,1 and no luck
with macbook5,1 i got KP
any more suggestions?
eMatoS
Is it a laptop or a desktop pc (though you mentioned the q6600 but then used macbook models)? You should use a model that is similar to your hardware, at least your CPU.
Get the data you need from this post: SMBIOS
noam a
QUOTE (eMatoS @ Dec 25 2010, 09:51 PM) *
Is it a laptop or a desktop pc (though you mentioned the q6600 but then used macbook models)? You should use a model that is similar to your hardware, at least your CPU.
Get the data you need from this post: SMBIOS


ohh sorry LOL, i'm using MacPro not Macbook sorry for mixup
But i will try with the following serial and boot rom versions too

------
EDIT:
Ok so i tried out from Macpro2,1 (which i already had) to MacPro5,1 with no luck
on both 4,1 & 5,1 i'm getting a Kernel Panic. (which BTW i can't understand i thought smbios is just cosmetic, but guess i'm wrong)
so will i be able to see my temp in istat menus?

one more thing, it seems SuperIOFamily working only from E/E, and not from the "plugins" folder i created inside FakeSMC->Contents , am i doing something wrong here either? (NVClockX & IntelThermal working just fine from there)

oh and BTW thanks for helping, much appreciated
Slice
SuperIOFamily contains Plugins so I doubt that the kext may be placed into Plugins folder (double level!).

Use iMac11,1 instead of MacPro. MacPro is for Xeon processors that you have no.
noam a
QUOTE (Slice @ Dec 26 2010, 10:23 AM) *
SuperIOFamily contains Plugins so I doubt that the kext may be placed into Plugins folder (double level!).

Use iMac11,1 instead of MacPro. MacPro is for Xeon processors that you have no.


tried now, no luck yet.
and in the about screen i still see quad xeon is it ok?
just to make it more clear here is the smbios
CODE
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>SMbiosdate</key>
    <string>04/01/2008</string>
    <key>SMbiosversion</key>
    <string>IM111.88Z.0034.B02.1003171314</string>
    <key>SMfamily</key>
    <string>Mac Pro</string>
    <key>SMmanufacter</key>
    <string>Apple Computer, Inc.</string>
    <key>SMproductname</key>
    <string>iMac11,1</string>
    <key>SMserial</key>
    <string>W89470DZ5RU</string>
    <key>SMcputype</key>
    <string>1281</string>
    <key>SMsystemversion</key>
    <string>1.0</string>
</dict>
</plist>

Edit, find a little mistake, if anyone read before i change it just couple of minutes
Slice
QUOTE
<key>SMfamily</key>
<string>Mac Pro</string>
noam a
noticed it and changed
but still no luck
Slice
"About Mac -> Xeon" depends on bootloader.
noam a
QUOTE (Slice @ Dec 26 2010, 04:22 PM) *
"About Mac -> Xeon" depends on bootloader.

I'm currently using chameleon by mozodojo for native power management + mem detection,
i just tried the one supplied from the svn
still no luck' do i need some kind of flag or something?
Slice
Show your bdmesg (messages from bootloader).
noam a
QUOTE (Slice @ Dec 26 2010, 10:49 PM) *
Show your bdmesg (messages from bootloader).

i have bdmesg only from your bootloader, so i run it, still no change with xeon and istat manus
here is the bdmesg

CODE
measure_tsc_frequency = 2400MHz
msr(0x0198): ia32_perf_stat 0x06000924
max: 9 current: 9
msr(0x0017): MSR_IA32_PLATFORM_ID 0x88408924
DMI Chassis Info:
Type=3
Boot-up State=3
Power Supply=3 Thermal State=3
CPU is Desktop
CPU: Vendor/Model/ExtModel: 0x756e6547/0xf/0x0
CPU: Family/ExtFamily: 0x6/0x0
CPU: MaxCoef/CurrCoef: 0x9/0x9
CPU: MaxDiv/CurrDiv: 0x1/0x1
CPU: TSCFreq: 2400MHz
CPU: FSBFreq: 266MHz
CPU: CPUFreq: 2400MHz
CPU: NoCores/NoThreads: 4/4
CPU: Features: 0x0000024f
Attempting to read GPT
Read GPT
Reading GPT partition 1, type C12A7328-F81F-11D2-BA4B-00A0C93EC93B
Reading GPT partition 2, type 48465300-0000-11AA-AA11-00306543ECAC
bvr: 8263a70, dev: 82, part: 1, flags: 4, vis: 1
bvr: 8263b40, dev: 81, part: 6, flags: 4, vis: 1
bvr: 8263c10, dev: 81, part: 5, flags: a, vis: 0
bvr: 8263ce0, dev: 81, part: 1, flags: 4b, vis: 1
bvr: 8263db0, dev: 80, part: 2, flags: 4a, vis: 1
count: 4
Scanning device 80...Setting boot-uuid to: 01A1C627-46B3-3A22-84E3-F67149ECCDF4
Loading Darwin 10.6
Loading kernel mach_kernel
Using PCI-Root-UID value: 0
nVidia GeForce 8400 GS 256MB NV86 [10de:0422] :: PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)
NVCAP: 04000000-00000300-0c000000-0000000a-00000000
Intel P35/G33 DRAM Controller [8086:29c0] at 00:00.0
Frequency detected: 333 MHz (666) Dual Channel
CAS:5 tRC:5 tRP:5 RAS:15 (5-5-5-15)
Table (type 17) : addr=0x000f0d53 len=0059
Ofs-00-01-02-03-04-05-06-07-08-09-0A-0B-0C-0D-0E-0F ASCII
00: 11 1b 32 00 30 00 fe ff 40 00 40 00 00 04 09 00 ..2.0...@.@.....
10: 01 02 13 80 00 9b 02 03 04 05 06 44 49 4d 4d 30 ...........DIMM0
20: 00 42 41 4e 4b 30 00 4d 61 6e 75 66 61 63 74 75 .BANK0.Manufactu
30: 72 65 72 30 00 53 65 72 4e 75 6d rer0.SerNum
Table (type 17) : addr=0x000f0dbc len=0059
Ofs-00-01-02-03-04-05-06-07-08-09-0A-0B-0C-0D-0E-0F ASCII
00: 11 1b 34 00 30 00 fe ff 40 00 40 00 00 04 09 00 ..4.0...@.@.....
10: 01 02 13 80 00 9b 02 03 04 05 06 44 49 4d 4d 31 ...........DIMM1
20: 00 42 41 4e 4b 31 00 4d 61 6e 75 66 61 63 74 75 .BANK1.Manufactu
30: 72 65 72 31 00 53 65 72 4e 75 6d rer1.SerNum
Table (type 17) : addr=0x000f0e25 len=0059
Ofs-00-01-02-03-04-05-06-07-08-09-0A-0B-0C-0D-0E-0F ASCII
00: 11 1b 36 00 30 00 fe ff 40 00 40 00 00 04 09 00 ..6.0...@.@.....
10: 01 02 13 80 00 9b 02 03 04 05 06 44 49 4d 4d 32 ...........DIMM2
20: 00 42 41 4e 4b 32 00 4d 61 6e 75 66 61 63 74 75 .BANK2.Manufactu
30: 72 65 72 32 00 53 65 72 4e 75 6d rer2.SerNum
Table (type 17) : addr=0x000f0e8e len=0059
Ofs-00-01-02-03-04-05-06-07-08-09-0A-0B-0C-0D-0E-0F ASCII
00: 11 1b 38 00 30 00 fe ff 40 00 40 00 00 04 09 00 ..8.0...@.@.....
10: 01 02 13 80 00 9b 02 03 04 05 06 44 49 4d 4d 33 ...........DIMM3
20: 00 42 41 4e 4b 33 00 4d 61 6e 75 66 61 63 74 75 .BANK3.Manufactu
30: 72 65 72 33 00 53 65 72 4e 75 6d rer3.SerNum
00:00.0 [000000] [0000:0000] ::
00:00.0 [060000] [8086:29c0] :: PciRoot(0x0)/Pci(0x0,0x0)
00:01.0 [060400] [8086:29c1] :: PciRoot(0x0)/Pci(0x1,0x0)
01:00.0 [030000] [10de:0422] :: PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)
00:1a.0 [0c0300] [8086:2937] :: PciRoot(0x0)/Pci(0x1a,0x0)
00:1a.1 [0c0300] [8086:2938] :: PciRoot(0x0)/Pci(0x1a,0x1)
00:1a.2 [0c0300] [8086:2939] :: PciRoot(0x0)/Pci(0x1a,0x2)
00:1a.7 [0c0320] [8086:293c] :: PciRoot(0x0)/Pci(0x1a,0x7)
00:1b.0 [040300] [8086:293e] :: PciRoot(0x0)/Pci(0x1b,0x0)
00:1c.0 [060400] [8086:2940] :: PciRoot(0x0)/Pci(0x1c,0x0)
00:1c.4 [060400] [8086:2948] :: PciRoot(0x0)/Pci(0x1c,0x4)
03:00.0 [01018f] [11ab:6121] :: PciRoot(0x0)/Pci(0x1c,0x4)/Pci(0x0,0x0)
00:1c.5 [060400] [8086:294a] :: PciRoot(0x0)/Pci(0x1c,0x5)
02:00.0 [020000] [1969:1048] :: PciRoot(0x0)/Pci(0x1c,0x5)/Pci(0x0,0x0)
00:1d.0 [0c0300] [8086:2934] :: PciRoot(0x0)/Pci(0x1d,0x0)
00:1d.1 [0c0300] [8086:2935] :: PciRoot(0x0)/Pci(0x1d,0x1)
00:1d.2 [0c0300] [8086:2936] :: PciRoot(0x0)/Pci(0x1d,0x2)
00:1d.7 [0c0320] [8086:293a] :: PciRoot(0x0)/Pci(0x1d,0x7)
00:1e.0 [060401] [8086:244e] :: PciRoot(0x0)/Pci(0x1e,0x0)
05:00.0 [040100] [10ee:3fc5] :: PciRoot(0x0)/Pci(0x1e,0x0)/Pci(0x0,0x0)
05:01.0 [0e0001] [1057:0006] :: PciRoot(0x0)/Pci(0x1e,0x0)/Pci(0x1,0x0)
00:1f.0 [060100] [8086:2918] :: PciRoot(0x0)/Pci(0x1f,0x0)
00:1f.2 [01018f] [8086:2921] :: PciRoot(0x0)/Pci(0x1f,0x2)
00:1f.3 [0c0500] [8086:2930] :: PciRoot(0x0)/Pci(0x1f,0x3)
Scanning smbus_dev <8086, 2930> ...
Slot: 0 Type 19 1024MB (DDR2 SDRAM) 666MHz Vendor=Kingston
PartNo=99U5316-017.A00LF SerialNo=2205B505
Slot: 1 Type 19 1024MB (DDR2 SDRAM) 666MHz Vendor=Kingston
PartNo= SerialNo=903B6E29
Slot: 2 Type 19 1024MB (DDR2 SDRAM) 666MHz Vendor=Kingston
PartNo=99U5316-017.A00LF SerialNo=6004B7E2
Slot: 3 Type 19 1024MB (DDR2 SDRAM) 666MHz Vendor=Kingston
PartNo= SerialNo=8E3B6B29
Patched DMI Table
Platform CPU Info:
FSB=266
MaxSpeed=0
CurrentSpeed=2400
DMI CPU Info:
FSB=266
MaxSpeed=3800
CurrentSpeed=2400
DMI CPU Info 2:
Family=b2
Socket=15
Cores=76 Enabled=71 Threads=65
Found SMBIOS System Information Table 1
Customizing SystemID with : 97878480-fe8d-11d5-a888-001d60967d03
SSDT with CPU C-States generated successfully
SSDT with CPU P-States generated successfully
Using system-type=0x01
FADT: Restart Fix applied!
Patched platform CPU Info:
FSB=266
MaxSpeed=0
CurrentSpeed=3800
Patched SMBIOS CPU Info:
FSB=266
MaxSpeed=3800
CurrentSpeed=2400

Family=b2
Socket=15
Cores=76 Enabled=71 Threads=65
LoadDrivers: Loading from [/System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext]
Starting Darwin x86

logout

[Process completed]


noam a
so anyone can help? it's just seems to be some configuration, because istat pro is working, so the plugins working, it's just istat menus.
thanks! any help will be appreciated
Slice
QUOTE (noam a @ Dec 30 2010, 04:12 AM) *
so anyone can help? it's just seems to be some configuration, because istat pro is working, so the plugins working, it's just istat menus.
thanks! any help will be appreciated

iStat menu depends on Mac name. May be you eroneously use MacPro4,1?
noam a
QUOTE (Slice @ Dec 30 2010, 06:27 PM) *
iStat menu depends on Mac name. May be you eroneously use MacPro4,1?

I can't, getting a kernel panic when using above 3,1.
but i noticed something real strange.
when i have imac11,1 on smbios, and run Geekbench, the model is "iMac11,1"
but when i'm using macpro3,1 the model is "hackintosh" but i checked multiple times to see if i have anything wrong in my smbios, and didn't find any problem
this is the things in my smbios
CODE
    <key>SMfamily</key>
    <string>MacPro</string>
    <key>SMproductname</key>
    <string>MacPro3,1</string>
    <key>SMmanufacter</key>
    <string>Apple Computer, Inc.</string>
    <key>SMboardproduct</key>
    <string>Mac-F42C88C8</string>
    <key>SMbiosversion</key>
    <string>MP31.88Z.006C.B05.0802291410</string>
    <key>SMserial</key>
    <string>G88014V4XYK</string>
    <key>SMsystemversion</key>
    <string>1.0</string>
    <key>SMcputype</key>
    <string>1281</string>


and here is the imac
CODE
    <key>SMfamily</key>
    <string>iMac</string>
    <key>SMproductname</key>
    <string>iMac11,1</string>
    <key>SMmanufacter</key>
    <string>Apple Computer, Inc.</string>
    <key>SMboardproduct</key>
    <string>Mac-F2268DAE</string>
    <key>SMbiosversion</key>
    <string> IM111.88Z.0034.B02.1003171314</string>
    <key>SMserial</key>
    <string>W89470DZ5RU</string>
    <key>SMsystemversion</key>
    <string>1.0</string>
    <key>SMcputype</key>
    <string>1281</string>
FormerlyKnownAs
Have you edited FackeSMC to match whichever Mac Model you use?

http://prasys.info/2009/11/editing-fakesmc/

D
noam a
QUOTE (FormerlyKnownAs @ Dec 30 2010, 09:50 PM) *
Have you edited FackeSMC to match whichever Mac Model you use?

http://prasys.info/2009/11/editing-fakesmc/

D

thanks but i've done it like 10 times. the smc version shown right now is 1.25f4, which i found on google to be for macpro3,1
can't understand, why when i'm using imac geekbench think it's a real imac11,1, but when using macpro3,1 i'm getting "hackintosh"
weird, hope someone can help on this
Slice
It seems your hardware is not MacPro
Click to view attachment
noam a
QUOTE (Slice @ Jan 1 2011, 11:54 AM) *
It seems your hardware is not MacPro
Click to view attachment


well we all know it's not a real macpro, so i didn't get what you sad.
is there anything i can do?
actually 4 days from now i'm getting a new hardware (RAM, Graphics).
this is my current specs
mb : p5k-se
cpu:q6600
ram: 4 GB 667 kingston
graphics: 8400 gs 256 mb
sound: rme hdsp 9632
pci : Powercore mk2
OSX: 10.6.5 retail, with some DSDT patching from insanlymac and only one kext in s/l/e.

and i'm getting a new 4 gb 1066 mhz (at the end i want 8 GB of 1066 but that it for now)
and a new 240GT card.

will it change something on the "hardware" side of this?
uncommah
got some questions on this.

i have T9300 cpu and here's my log:

CODE
IntelCPUMonitor: CPU family 0x6, model 0x17, stepping 0x6, cores 2, threads 0
IntelCPUMonitor: BusClock=200MHz FSB=800MHz
IntelCPUMonitor: Platform string M82
IntelCPUMonitor: CPU Tjmax 105


intel specification says t9300 have "# of Threads: 2". why IntelCPUMonitor.kext shows 0?
one more thing unclear for me is that mac platform string. mine show as m82. is it hardcoded? 15" mbp4,1 RPlt = m87, not m82.
Slice
QUOTE (uncommah @ Jan 6 2011, 12:53 PM) *
got some questions on this.

i have T9300 cpu and here's my log:

CODE
IntelCPUMonitor: CPU family 0x6, model 0x17, stepping 0x6, cores 2, threads 0
IntelCPUMonitor: BusClock=200MHz FSB=800MHz
IntelCPUMonitor: Platform string M82
IntelCPUMonitor: CPU Tjmax 105


intel specification says t9300 have "# of Threads: 2". why IntelCPUMonitor.kext shows 0?
one more thing unclear for me is that mac platform string. mine show as m82. is it hardcoded? 15" mbp4,1 RPlt = m87, not m82.

It is hardcoded for CPU model. Dunno what is better. I set for the my CPU 6-17-6 m82
You can set other value by FakeSMC.info.plist or just rebuild IntelCPUMonitor.
About threads does not matter. Nr of cores does matter. Somw users claim "I have 8 cores but your kext shows only 4!". And I said "4 cores 8 threads"
Darwin
IntelCPUMonitor.kext fails to load on my system. IntelThermal.kext does load, but I lose the CPU Voltages. Please advise. There was no such issue in the former FakeSMC rev405 branch.
Here is my bdmesg readout:

CODE
Last login: Fri Jan 7 06:10:49 on ttys000
Darwins-MacBook-Pro:~ SiN$ bdmesg
msr(221): ia32_perf_stat 0x06004c22
max: 12.5 current: 12.5
CPU: Vendor/Model/ExtModel: 0x756e6547/0x17/0x1
CPU: Family/ExtFamily: 0x6/0x0
CPU: MaxCoef/CurrCoef: 0xc/0xc
CPU: MaxDiv/CurrDiv: 0x1/0x1
CPU: TSCFreq: 2493MHz
CPU: FSBFreq: 199MHz
CPU: CPUFreq: 2493MHz
CPU: NoCores/NoThreads: 2/2
CPU: Features: 0x0000035f
Attempting to read GPT
Read GPT
Reading GPT partition 1, type C12A7328-F81F-11D2-BA4B-00A0C93EC93B
Reading GPT partition 2, type 48465300-0000-11AA-AA11-00306543ECAC
Reading GPT partition 3, type EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
Read HFS+ file: [hd(0,2)/Extra/com.apple.Boot.plist] 1357 bytes.
Attempting to read GPT
Read GPT
Reading GPT partition 1, type C12A7328-F81F-11D2-BA4B-00A0C93EC93B
Reading GPT partition 2, type 48465300-0000-11AA-AA11-00306543ECAC
Reading GPT partition 3, type 48465300-0000-11AA-AA11-00306543ECAC
Reading GPT partition 4, type EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
Read HFS+ file: [hd(0,2)/Extra/com.apple.Boot.plist] 1357 bytes.
Setting boot-uuid to: 91E4AA3A-8EE6-3FBE-8E48-CB289EF7566F
Read HFS+ file: [hd(0,2)/System/Library/CoreServices/SystemVersion.plist] 479 bytes.
Loading Darwin 10.6
Loading kernel mach_kernel
Read HFS+ file: [hd(0,2)/mach_kernel] 4096 bytes.
Read HFS+ file: [hd(0,2)/mach_kernel] 5579907 bytes.
LoadDrivers: Loading from [/Extra/Extensions.mkext]
Read HFS+ file: [hd(0,2)/Extra/Extensions.mkext] 4096 bytes.
Read HFS+ file: [hd(0,2)/Extra/Extensions.mkext] 84935 bytes.
LoadDrivers: Loading from [/System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext]
Read HFS+ file: [hd(0,2)/System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext] 4096 bytes.
Read HFS+ file: [hd(0,2)/System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext] 4207022 bytes.
Read HFS+ file: [hd(0,2)/DSDT.aml] 21117 bytes.
Using PCI-Root-UID value: 0
Read HFS+ file: [hd(0,2)/Extra/SMBIOS.plist] 638 bytes.
Intel GM965/GL960 DRAM Controller [8086:2a00] at 00:00.0
Frequency detected: 332 MHz (665) Dual Channel
CAS:5 tRC:5 tRP:5 RAS:15 (5-5-5-15)
Slot: 0 Type 19 2048MB (DDR2 SDRAM) 666MHz Vendor=Hynix Semiconductor
PartNo=HYMP125S64CP8-Y5 SerialNo=0000301E
Slot: 2 Type 19 2048MB (DDR2 SDRAM) 666MHz Vendor=Hynix Semiconductor
PartNo=HYMP125S64CP8-Y5 SerialNo=0000301E
CPU is Intel® Core™2 Duo CPU T9300 @ 2.50GHz, family 0x6, model 0x17
Patched DMI Table
Found SMBIOS System Information Table 1
Customizing SystemID with : 44454c4c-4400-104b-804a-c4c04f344731
efi_inject_get_devprop_string NULL trying stringdata
Read HFS+ file: [hd(0,2)/DSDT.aml] 21117 bytes.
ACPI table not found: SSDT.aml
FADT: Restart Fix applied!
FADT: Using custom DSDT!
Found ACPI CPU: CPU0
Found ACPI CPU: CPU1
SSDT with CPU C-States generated successfully
SSDT with CPU P-States generated successfully
RSDT: Added 2 SSDT table(s)
FADT: Restart Fix applied!
FADT: Using custom DSDT!
Added 2 SSDT table(s) into XSDT
Starting Darwin x86_64
Slice

QUOTE (Darwin @ Jan 7 2011, 03:16 PM) *
IntelCPUMonitor.kext fails to load on my system. IntelThermal.kext does load, but I lose the CPU Voltages. Please advise. There was no such issue in the former FakeSMC rev405 branch.
Here is my bdmesg readout:

Show kernel.log when starting IntelCPUMonitor like this
QUOTE (uncommah @ Jan 6 2011, 12:53 PM) *
i have T9300 cpu and here's my log:

CODE
IntelCPUMonitor: CPU family 0x6, model 0x17, stepping 0x6, cores 2, threads 0
IntelCPUMonitor: BusClock=200MHz FSB=800MHz
IntelCPUMonitor: Platform string M82
IntelCPUMonitor: CPU Tjmax 105


Darwin
QUOTE (Slice @ Jan 7 2011, 09:00 AM) *
Show kernel.log when starting IntelCPUMonitor like this


It doesn't exist because it fails to load. Here is what kernel.log for IntelThermal.kext gives:

CODE
IntelThermal: Based on code by mercurysquad, superhai (C)2008
IntelThermal: CPU family 0x6, model 0x17, stepping 0x6, cores 2, threads 0
IntelThermal: CPU Tjmax 105


Interestingly, my CPU appears to be identical to the CPU of the poster that you referenced.
Slice
QUOTE (Darwin @ Jan 7 2011, 08:38 PM) *
Interestingly, my CPU appears to be identical to the CPU of the poster that you referenced.

Namely. It is that I want to put your attention. The kext works with the same CPU. Check yourself.
Darwin
QUOTE (Slice @ Jan 7 2011, 12:19 PM) *
Namely. It is that I want to put your attention. The kext works with the same CPU. Check yourself.


CODE
IntelCPUMonitor: CPU family 0x6, model 0x17, stepping 0x6, cores 2, threads 0
IntelCPUMonitor: BusClock=199MHz FSB=796MHz
IntelCPUMonitor: Platform string M82
IntelCPUMonitor: CPU Tjmax 105



SMF
Slice,

I'm in the same boat with IntelCPUMonitor not loading. IntelThermal works with the following output -

CODE
Jan 8 13:54:50 localhost kernel[0]: IntelThermal: Based on code by mercurysquad, superhai 2008
Jan 8 13:54:50 localhost kernel[0]: IntelThermal: CPU family 0x6, model 0x17, stepping 0xa, cores 4, threads 0
Jan 8 13:54:50 localhost kernel[0]: IntelThermal: CPU Tjmax 100


Would you expect IntelCPUMonitor to be working with my E9650?

Thanks,
SMF
Slice
Can you make the command from terminal?
CODE
kextutil /System/Library/Extensions/IntelCPUMonitor.kext

What is output?
SMF
Slice,

CODE
kextutil /System/Library/Extensions/IntelCPUMonitor.kext
Can't stat /System/Library/Extensions/IntelCPUMonitor.kext - No such file or directory.
$


I'm loading the latest FakeSMC from /E/E. When I use IntelCPUMonitor it doesn't load - IntelThermal does and seems to work fine. Right now I do not have IntelCPUMonitor installed in /E/E.

Let me know if there's anything else I can test.

Regards,
SMF
Slice
QUOTE (SMF @ Jan 9 2011, 05:25 AM) *
Slice,

CODE
kextutil /System/Library/Extensions/IntelCPUMonitor.kext
Can't stat /System/Library/Extensions/IntelCPUMonitor.kext - No such file or directory.
$


I'm loading the latest FakeSMC from /E/E. When I use IntelCPUMonitor it doesn't load - IntelThermal does and seems to work fine. Right now I do not have IntelCPUMonitor installed in /E/E.

Let me know if there's anything else I can test.

Regards,
SMF

QUOTE (Slice @ Jan 9 2011, 01:06 AM) *
Can you make the command from terminal?
CODE
kextutil /your_place_where_you_install_the_kext/IntelCPUMonitor.kext

What is output?

angry.gif
SMF
Slice,

Sorry about that - I'll claim I was tired ... sad.gif

Anyway - here' the output with it installed (and not loading)
CODE
bash-3.2# kextutil /Volumes/EFI/Extra/Extensions/IntelCPUMonitor.kext
/Volumes/EFI/Extra/Extensions/IntelCPUMonitor.kext - no dependency found for org.netkas.FakeSMC.
/Volumes/EFI/Extra/Extensions/IntelCPUMonitor.kext - no dependency found for org.netkas.FakeSMC.
/Volumes/EFI/Extra/Extensions/IntelCPUMonitor.kext - no dependency found for org.netkas.FakeSMC.
/Volumes/EFI/Extra/Extensions/IntelCPUMonitor.kext has problems:
Dependency Resolution Failures:
No kexts found for these libraries:
org.netkas.FakeSMC


If I remove IntelCPUMonitor.kext and install IntelThermal.kext I get essentially the same response but it loads and works (I can see Temps with iStat) -
CODE
bash-3.2# kextutil /Volumes/EFI/Extra/Extensions/IntelThermal.kext
/Volumes/EFI/Extra/Extensions/IntelThermal.kext - no dependency found for org.netkas.FakeSMC.
/Volumes/EFI/Extra/Extensions/IntelThermal.kext - no dependency found for org.netkas.FakeSMC.
/Volumes/EFI/Extra/Extensions/IntelThermal.kext - no dependency found for org.netkas.FakeSMC.
/Volumes/EFI/Extra/Extensions/IntelThermal.kext has problems:
Dependency Resolution Failures:
No kexts found for these libraries:
org.netkas.FakeSMC


I installed everything from your 10.6 download in the download thread.

Thanks for your tolerance.

Regards,
SMF
Slice
How do you think, what is mean?
CODE
Dependency Resolution Failures:
No kexts found for these libraries:
org.netkas.FakeSMC

Check yourself!!!
SMF
Slice,

I am trying to learn and understand. IntelCPUMonitor is the only plugin that I'm having trouble with. Yes I understand there is a dependency issue but even if I install it inside FakeSMC (which is version 3.1.0 in the plist) it won't work. I don't mean to bug you but thought you might be able to guide me in the right direction. Sorry if you feel I'm being to slow on the uptake - I have been lurking and reading for a while but this issue has me stumped which is why I asked my question. Over the last several years on Insanelymac I've had good success getting and giving help and advice. That's what has made the community great.

Regards,
SMF
Slice
If you now know what is info.plist then you can compare good IntelThermal with bad IntelCPUMonitor. But sure the problem is not inside, the kext is not started by system because there is no good condition for it.
I just can propose to install not into /Extra but in /System/Library/Extensions.
SMF
Slice,

Thanks for the pointer it's something I don't know how I would have found because I never considered an error in the Info.plist. Info.plist in IntelCPUMonitor did not have an OSBundleRequired Root entry. I added that to the plist, installed, rebooted and it works fine now. I'm running it from /E/E.

Output -
CODE
Jan 9 17:37:07 localhost kernel[0]: IntelCPUMonitor: Based on code by mercurysquad, superhai ©2008
Jan 9 17:37:07 localhost kernel[0]: IntelCPUMonitor: CPU family 0x6, model 0x17, stepping 0xa, cores 4, threads 0
Jan 9 17:37:07 localhost kernel[0]: IntelCPUMonitor: BusClock=400MHz FSB=1600MHz
Jan 9 17:37:07 localhost kernel[0]: IntelCPUMonitor: Platform string K36
Jan 9 17:37:07 localhost kernel[0]: IntelCPUMonitor: CPU Tjmax 100


Regards,
SMF
Slice
QUOTE (SMF @ Jan 10 2011, 02:44 AM) *
Slice,

Thanks for the pointer it's something I don't know how I would have found because I never considered an error in the Info.plist. Info.plist in IntelCPUMonitor did not have an OSBundleRequired Root entry. I added that to the plist, installed, rebooted and it works fine now. I'm running it from /E/E.

Output -
CODE
Jan 9 17:37:07 localhost kernel[0]: IntelCPUMonitor: Based on code by mercurysquad, superhai 2008
Jan 9 17:37:07 localhost kernel[0]: IntelCPUMonitor: CPU family 0x6, model 0x17, stepping 0xa, cores 4, threads 0
Jan 9 17:37:07 localhost kernel[0]: IntelCPUMonitor: BusClock=400MHz FSB=1600MHz
Jan 9 17:37:07 localhost kernel[0]: IntelCPUMonitor: Platform string K36
Jan 9 17:37:07 localhost kernel[0]: IntelCPUMonitor: CPU Tjmax 100


Regards,
SMF

Thanks for find!
Thus, to make a plugin working from /e/e one need to add the property.
SMF
Slice,

Yes - it's something I new from earlier work but like I said I never considered that there would be an error in the plist. I'm glad you put up with my questions and it worked its way to resolution.

Regards,
SMF
SP1950
Hi,

With the newest fakesmc plus friends, I think the AppleIntelCPUPowerManagement and turbo boost is not working as it should be.
I have a H55 board with i5-750.

I used to get
CODE
Jan  2 10:50:34 localhost kernel[0]: AppleIntelCPUPowerManagement: Turbo Ratios 1144
Jan  2 10:50:34 localhost kernel[0]: AppleIntelCPUPowerManagement: initialization complete
Jan  2 10:50:34 localhost kernel[0]: AppleIntelCPUPowerManagementClient: ready

with the basic/original fakesmc.

But with the plugin-enabled fakesmc, now I only get
CODE
Jan 11 17:04:41 localhost kernel[0]: AppleIntelCPUPowerManagement: initialization complete
Jan 11 17:04:41 localhost kernel[0]: AppleIntelCPUPowerManagementClient: ready

Is it possible that turbo boost no longer works?
Anyway I do have the CSTInfo & PerformanceStateArray for the processor, as seen from IORegExp.

Switching back to the original fakesmc works, but I just want to have all the sensor readings too.
And for some reason I can't get MSRTools to run even booting with 32-bit, so I can't really verify if PM/turbo works.

Any help would be appreciated, thanks! smile.gif
houdini
The CPU Freq. in K.Stat.i is to low for my Core i5 750.

In idle its 1011Mhz (correct is 1350Mhz) and under load it shows 2359Mhz (correct without Turbo is 3000Mhz).
And it shows no Turboboost clocks. (3600Mhz). Speedstep and Turbo works perfect, MSR Tools reads correct Frequenzies.

Is this a Problem from IntelCPU Monitor and can i fix it? I use Macpro 3.1 smbios and System Profile reports Macpro 3.1 Core i5 750
NetBoot
I like to get IntelCPUMonitor to work but I get unknown cpu id.

from bdmesg:
CODE
msr(221): ia32_perf_stat 0x00000e2b
max: 14 current: 14
CPU: Vendor/Model/ExtModel: 0x756e6547/0x3/0x0
CPU: Family/ExtFamily:      0xf/0x0
CPU: MaxCoef/CurrCoef:      0xe/0xe
CPU: MaxDiv/CurrDiv:        0x0/0x0
CPU: TSCFreq:               2794MHz
CPU: FSBFreq:               199MHz
CPU: CPUFreq:               2794MHz
CPU: NoCores/NoThreads:     1/2
CPU: Features:              0x0000028f


Any future support for Pentium 4 Prescott cpus

Thanks,

Net....
Slice
Rev 479 in download section.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.