Comments (14)
Same problem on a similar system
- Asus X99-A USB 3.1
- i7 5820k (should be the same as bolemo -> typo!)
- Clover
- OS X 10.11.2
- Xcode 7.2
Compiled with no change
Since I don't know details I just testet different settings to reproduce the kernel panic.
The crucial setting is the logMSRs value. With this at no/false everything works just fine.
Maybe this is in relation with the MSR register restriction, I read on http://clover-wiki.zetam.org/Configuration/KernelAndKextPatches#kernelandkextpatches_asusaicpupm
Here is my AppleIntelInfo.dat
AppleIntelInfo.kext v1.2 Copyright © 2012-2015 Pike R. Alpha. All rights reserved
Settings:
------------------------------------
logMSRs............................: 0
logIGPU............................: 0
logIntelRegs.......................: 1
logCStates.........................: 1
logIPGStyle........................: 1
InitialTSC.........................: 0x50a2efb6d47
MWAIT C-States.....................: 8480
PCH device.................: 0x8D478086
CPU Ratio Info:
------------------------------------
CPU Low Frequency Mode.............: 1200 MHz
CPU Maximum non-Turbo Frequency....: 3300 MHz
CPU Maximum Turbo Frequency........: 3600 MHz
CPU P-States [ 23 (33) ]
CPU C6-Cores [ 1 2 4 6 8 10 ]
CPU P-States [ (12) 23 24 33 ]
CPU P-States [ (12) 23 24 28 33 ]
CPU P-States [ (12) 19 23 24 28 33 ]
CPU C6-Cores [ 1 2 3 4 6 8 10 ]
CPU P-States [ (12) 19 23 24 25 28 33 ]
CPU C6-Cores [ 1 2 3 4 5 6 8 10 ]
CPU C6-Cores [ 0 1 2 3 4 5 6 8 10 11 ]
CPU P-States [ (12) 19 23 24 25 28 30 33 ]
CPU C6-Cores [ 0 1 2 3 4 5 6 8 9 10 11 ]
CPU P-States [ 12 19 23 24 25 28 29 30 (33) ]
CPU P-States [ 12 19 23 24 25 28 29 30 33 (34) ]
CPU P-States [ (12) 19 23 24 25 28 29 30 31 33 34 ]
CPU C6-Cores [ 0 1 2 3 4 5 6 7 8 9 10 11 ]
CPU P-States [ 12 19 23 24 25 28 29 30 31 32 (33) 34 ]
[...]
CPU P-States [ (12) 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 36 ]
from appleintelinfo.
Just a quick "me too":
ASRock X99 Extreme4
i7-5820k
Clover 3333
OSX 10.11.3
XCode 7.2
Thanks flow555 for finding the workaround (turning off logMSRs) which worked for me as well.
AppleIntelInfo.kext v1.2 Copyright © 2012-2015 Pike R. Alpha. All rights reserved
Settings:
logMSRs............................: 0
logIGPU............................: 0
logIntelRegs.......................: 1
logCStates.........................: 1
logIPGStyle........................: 1
InitialTSC.........................: 0x27482c05c7d3a
MWAIT C-States.....................: 8480
CPU Ratio Info:
CPU Low Frequency Mode.............: 1200 MHz
CPU Maximum non-Turbo Frequency....: 3300 MHz
CPU Maximum Turbo Frequency........: 3600 MHz
CPU P-States [ (12) 24 33 ]
CPU C6-Cores [ 1 2 4 7 8 10 11 ]
CPU P-States [ (12) 13 24 33 ]
CPU C6-Cores [ 1 2 3 4 5 7 8 9 10 11 ]
CPU P-States [ (12) 13 23 24 33 ]
CPU C6-Cores [ 1 2 3 4 5 6 7 8 9 10 11 ]
CPU P-States [ (12) 13 23 24 25 33 ]
CPU P-States [ 12 13 23 24 25 27 (33) ]
CPU P-States [ (12) 13 22 23 24 25 27 33 ]
CPU P-States [ (12) 13 15 22 23 24 25 27 33 ]
CPU C6-Cores [ 0 1 2 3 4 5 6 7 8 9 10 11 ]
CPU P-States [ (12) 13 15 21 22 23 24 25 27 33 ]
CPU P-States [ (12) 13 15 20 21 22 23 24 25 27 33 ]
CPU P-States [ (12) 13 15 16 20 21 22 23 24 25 27 33 ]
CPU P-States [ (12) 13 15 16 20 21 22 23 24 25 27 28 33 ]
CPU P-States [ (12) 13 15 16 19 20 21 22 23 24 25 27 28 33 ]
from appleintelinfo.
Oh great. I was unaware of any issues until I made a couple of small changes. Sorry folks.
Let see. Reading reserved or unsupported MSR's will usually end in a KP so what is the last line you see in /tmp/AppleIntelInfo.dat when it crashes?
What you can do is to comment out the C7 MSR's and see if that is causing the KP. If not, then please comment out the rest (one by one) and let me know what we need to fix.
Thanks!
from appleintelinfo.
Hi Piker-Apha,
there is no file generated in the first place. I also changed the .dat path to another in case OS X somehow delete the file in the /tmp directory. There is definitely no file generated.
Sorry, but I have not enough free time/know-how to read through your code. If you write exactly which lines you mean, I maybe can try it on Sunday.
from appleintelinfo.
Let's start with a link to the file: https://github.com/Piker-Alpha/AppleIntelInfo/blob/master/AppleIntelInfo/AppleIntelInfo.cpp
What you can do is to add a return(); statement on line 105. If that works move in to line 128. If that works move it to line 145. Then line 163 and so on. That will tell you what line(s) are causing the KP.
If you get the KP with the return(); statement on line 128 then there is something wrong with the detection of the IGPU (igpuEnabled should be false).
from appleintelinfo.
Ok i just tested it. Indeed the KP occurred with "return;" at line 128. My processor doesn't have an internal GPU.
from appleintelinfo.
Ah right. Just what I expected. Question. Did you set 'logIGPU' in AppleIntelInfo.kext/C*/Info.plist to false (before) when that KP occurred? Please try that without any changes to the source code (no additional return statements).
If you get the KP with that setting changed, then change this line: https://github.com/Piker-Alpha/AppleIntelInfo/blob/master/AppleIntelInfo/AppleIntelInfo.h#L40
From 1 to 0 and re-compile it.
Oh and you don't happen to have the kext in /Library/Extensions or /System/Library/Extensions or inject it with Clover?
from appleintelinfo.
- With disabled logIGPU there is still a KP
- With REPORT_IGPU_P_STATES defined as 0 I had to comment out line 311 in AppleIntelInfo.cpp to compile it. But I still got a KP.
- With logIGPU and REPORT_IGPU_P_STATES at 0 (with line 311 commented out) still KP
There was no file generated in any of the attempts.
I directly inject it with kextload in bash mode as you suggested in your readme.
from appleintelinfo.
Similar problem here. I run OS 10.10.5 on a Gigabyte GA-X99-Designare with i7-6950x. When I load the kext, I get an instant reboot. I tried adding return; to line 105 as you suggested above, but still got the reboot. Apparently the problem is on that line, because if I add the return; to line 104, it works fine.
from appleintelinfo.
Thanks. This issue should now been resolved. Please verify/confirm.
p.s. Is AppleLPC.kext loading on your setup? If yes, what did you do to get it loaded?
from appleintelinfo.
@Piker-Alpha yep, that fixed it. Interestingly, this tool now shows two P-States for my machine CPU P-States [ 39 (40) ]
Before it only showed one. And MSRDumper.kext still shows only one. I think SpeedStep is not working for my machine.
I haven't heard of AppleLPC before, but it does not appear in kextstat. Maybe that's a problem, I'll look into it.
from appleintelinfo.
This is the output that I have got with the i7-6800K: CPU P-States [ 29 33 34 (35) ]
Even with a 4GHz OC it won't go over 35. Something is seriously wrong with the firmware or BIOS.
As for the AppleLPC.kext Works here. Make sure the device-id is added to the Info.plist or inject it somehow.
from appleintelinfo.
Maybe this isn't the best place for discussion, but I did get that kext loading by using FakeLPC in Clover. Haven't noticed any difference after that though.
from appleintelinfo.
Hi,
Downloaded -> Compiled -> Loaded -> everything works fine for me.
Asus X99-A USB 3.1
i7 5820k
Clover
OS X 10.11**.5**
Xcode 7**.3.1**
Here is my output:
AppleIntelInfo.kext v1.5 Copyright © 2012-2016 Pike R. Alpha. All rights reserved
Settings:
------------------------------------
logMSRs............................: 1
logIGPU............................: 0
logCStates.........................: 1
logIPGStyle........................: 1
InitialTSC.........................: 0x118369ec7c70
MWAIT C-States.....................: 8480
Model Specific Registers
-----------------------------------
MSR_CORE_THREAD_COUNT......(0x35) : 0x6000C
MSR_PLATFORM_INFO..........(0xCE) : 0x80C3BF3812100
MSR_PMG_CST_CONFIG_CONTROL.(0xE2) : 0x8400
MSR_PMG_IO_CAPTURE_BASE....(0xE4) : 0x10414
IA32_MPERF.................(0xE7) : 0x5A0F1A5023
IA32_APERF.................(0xE8) : 0x459E678114
MSR_FLEX_RATIO.............(0x194) : 0xE0000
MSR_IA32_PERF_STATUS.......(0x198) : 0x168A00000C00
MSR_IA32_PERF_CONTROL......(0x199) : 0x2400
IA32_CLOCK_MODULATION......(0x19A) : 0x0
IA32_THERM_STATUS..........(0x19C) : 0x88410000
IA32_MISC_ENABLES..........(0x1A0) : 0x850089
MSR_MISC_PWR_MGMT..........(0x1AA) : 0x400001
MSR_TURBO_RATIO_LIMIT......(0x1AD) : 0x2222222222222424
IA32_ENERGY_PERF_BIAS......(0x1B0) : 0x5
MSR_POWER_CTL..............(0x1FC) : 0x2B04005B
MSR_RAPL_POWER_UNIT........(0x606) : 0xA0E03
MSR_PKG_POWER_LIMIT........(0x610) : 0x7FFF80015FFF8
MSR_PKG_ENERGY_STATUS......(0x611) : 0x23971CD
MSR_PKG_POWER_INFO.........(0x614) : 0x1280460
MSR_PP0_POWER_LIMIT........(0x638) : 0x0
MSR_PP0_ENERGY_STATUS......(0x639) : 0x0
MSR_PKGC6_IRTL.............(0x60b) : 0x0
MSR_PKG_C2_RESIDENCY.......(0x60d) : 0x0
MSR_PKG_C6_RESIDENCY.......(0x3f9) : 0x0
IA32_TSC_DEADLINE..........(0x6E0) : 0x11836C0541D7
CPU Ratio Info:
------------------------------------
CPU Low Frequency Mode.............: 1200 MHz
CPU Maximum non-Turbo Frequency....: 3300 MHz
CPU Maximum Turbo Frequency........: 3600 MHz
CPU P-States [ (12) 23 ]
CPU C6-Cores [ 0 2 4 6 8 10 ]
CPU P-States [ 12 19 23 (33) ]
CPU C6-Cores [ 0 2 4 6 8 9 10 ]
CPU P-States [ 12 19 23 25 (33) ]
CPU P-States [ 12 13 19 23 25 (33) ]
CPU P-States [ (12) 13 17 19 23 25 33 ]
CPU P-States [ 12 13 17 19 23 25 30 (33) ]
CPU C6-Cores [ 0 2 3 4 5 6 8 9 10 ]
CPU C6-Cores [ 0 2 3 4 5 6 7 8 9 10 ]
CPU P-States [ (12) 13 17 19 23 25 30 31 33 ]
CPU P-States [ (12) 13 17 19 23 24 25 30 31 33 ]
CPU P-States [ (12) 13 16 17 19 23 24 25 30 31 33 ]
CPU P-States [ (12) 13 16 17 19 23 24 25 26 30 31 33 ]
CPU P-States [ (12) 13 16 17 19 21 23 24 25 26 30 31 33 ]
CPU P-States [ (12) 13 15 16 17 19 21 23 24 25 26 30 31 33 ]
CPU P-States [ (12) 13 15 16 17 18 19 21 23 24 25 26 30 31 33 ]
CPU P-States [ (12) 13 15 16 17 18 19 21 23 24 25 26 27 30 31 33 ]
CPU C6-Cores [ 0 1 2 3 4 5 6 7 8 9 10 ]
CPU P-States [ (12) 13 14 15 16 17 18 19 21 23 24 25 26 27 30 31 33 ]
CPU P-States [ (12) 13 14 15 16 17 18 19 20 21 23 24 25 26 27 30 31 33 ]
CPU P-States [ 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 30 31 (33) ]
CPU C6-Cores [ 0 1 2 3 4 5 6 7 8 9 10 11 ]
CPU P-States [ (12) 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 29 30 31 33 ]
CPU P-States [ (12) 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 33 ]
CPU P-States [ 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 33 (34) ]
CPU P-States [ 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 33 34 (36) ]
CPU P-States [ 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 (33) 34 36 ]
from appleintelinfo.
Related Issues (20)
- Kernel Panic HOT 2
- Compiled on Sierra 10.12. System restarts on kextload HOT 28
- Why IGPU Current Frequency always fixed independently of the actual GPU-load?
- AppleIntelInfo.h
- Problem with reporting Intel registers, v1.8e HOT 2
- KP on 10.10.5, sandy bridge CPU. HOT 8
- Dependency problem HOT 2
- little page layout problems (AppleIntelInfo.kext 2.4) HOT 10
- v2.5 (currently latest) KP on Core m5 (Skylake), with macOS Sierra 10.12.5 (16F43c). HOT 4
- e5-2670v3 ES - Low frequency mode data missing HOT 1
- Accidentally installed AppleIntelInfo.kext via kext installer HOT 4
- Add something in README.md HOT 1
- AppleIntelInfo.kext - Severe incompatibility issue with i9-7980XE - please resolve ! HOT 8
- system reboots on load on Xeon W3520
- Could not load AppleIntelInfo.kext
- Instant reboot with W3680 and REPORT_MSRS
- Can not go into system HOT 2
- Fault Cpu when load kext.
- KP on Xeon X5670 (Westmere) (solved) HOT 1
- Couldn't Load AppleIntelInfo.kext
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appleintelinfo.