Giter Site home page Giter Site logo

Comments (23)

kfur avatar kfur commented on September 15, 2024

maybe because kext loading was failed
try to kextload manually

from voltageshift.

WoadZS avatar WoadZS commented on September 15, 2024

maybe because kext loading was failed
try to kextload manually

Thanks, but it does not work, here are the outputs:

sudo kextload ./VoltageShift.kext
 failed to load - (libkern/kext) link error; check the system/kernel logs for errors or try kextutil(8).

Then I follow the instruction,

sudo kextutil ./VoltageShift.kext

 Kext with invalid signatured (-67062) allowed: <OSKext 0x7fa0edd11080 [0x7fffaaff88e0]> { URL = "file:///Users/xxx/Desktop/voltageshift/VoltageShift.kext/", ID = "com.sicreative.VoltageShift" }
 Code Signing Failure: not code signed
Warnings: 
     Personality has no CFBundleIdentifier; the kext's identifier will be inserted when sending to the IOCatalogue: 
        VoltageShiftAnVMSR

Warnings: 
     Personality has no CFBundleIdentifier; the kext's identifier will be inserted when sending to the IOCatalogue: 
         VoltageShiftAnVMSR
 
 Disabling KextAudit: SIP is off
 (kernel) kxld[com.sicreative.VoltageShift]: The super class vtable '__ZTV12IOUserClient' for vtable '__ZTV16AnVMSRUserClient' is out of date. Make sure your kext has been built against the correct headers.
 (kernel) kxld[com.sicreative.VoltageShift]: The super class vtable '__ZTV9IOService' for vtable '__ZTV18VoltageShiftAnVMSR' is out of date. Make sure your kext has been built against the correct headers.
 (kernel) Can't load kext com.sicreative.VoltageShift - link failed.
 (kernel) Failed to load executable for kext com.sicreative.VoltageShift.
 (kernel) Kext com.sicreative.VoltageShift failed to load (0xdc008016).
 (kernel) Failed to load kext com.sicreative.VoltageShift (error 0xdc008016).
 Failed to load /Users/xxx/Desktop/voltageshift/VoltageShift.kext - (libkern/kext) link error.
 Check library declarations for your kext with kextlibs(8).
sudo kextlibs ./VoltageShift.kext 
 For all architectures:
    com.apple.kpi.iokit = 18.7
    com.apple.kpi.libkern = 18.7
 
 For x86_64:
     3 symbols not found in any library kext.

Any idea? Thanks! @kfur

from voltageshift.

sicreative avatar sicreative commented on September 15, 2024

boot safe mode ("command-f" when boot up )
Utilities > Terminal

csrutil enable --without kext

reboot to disable kext sign protection.

from voltageshift.

khoa-nv avatar khoa-nv commented on September 15, 2024

boot safe mode ("command-f" when boot up )
Utilities > Terminal

csrutil enable --without kext

reboot to disable kext sign protection.

I did but it still doesn't work

from voltageshift.

WoadZS avatar WoadZS commented on September 15, 2024

@sicreative I have already disabled the SIP before

➜  ~ csrutil status
System Integrity Protection status: disabled.

from voltageshift.

sicreative avatar sicreative commented on September 15, 2024

voltageshift.zip
from the log, i thing you are using before catalina 10.15, as i updated the kext target to 10.15, it may break the previous version support.
I will roll back to 10.12, please help check the attached file is usable and inform here, so i will update the code and package.

from voltageshift.

WoadZS avatar WoadZS commented on September 15, 2024

@sicreative Thank you so much, but the file is not working as well. Just the as same as before, ./voltageshift works but not with other extra commands, such as mon, info.
My OS version is 10.14.6, let me know if you need any other information that may helpful.

BTW, 1.20 works before, would mind attache 1.20 file so that I can check if there is anything wrong on my hackintosh.

➜  voltageshift sudo kextutil ./VoltageShift.kext
Kext with invalid signatured (-67050) allowed: <OSKext 0x7fee82c112a0 [0x7fffaaff88e0]> { URL = "file:///Users/XXX/Applications/voltageshift/VoltageShift.kext/", ID = "com.sicreative.VoltageShift" }
Code Signing Failure: code signature is invalid
Warnings: 
    Personality has no CFBundleIdentifier; the kext's identifier will be inserted when sending to the IOCatalogue: 
        VoltageShiftAnVMSR

Warnings: 
    Personality has no CFBundleIdentifier; the kext's identifier will be inserted when sending to the IOCatalogue: 
        VoltageShiftAnVMSR

Disabling KextAudit: SIP is off
(kernel) kxld[com.sicreative.VoltageShift]: The super class vtable '__ZTV12IOUserClient' for vtable '__ZTV16AnVMSRUserClient' is out of date. Make sure your kext has been built against the correct headers.
(kernel) kxld[com.sicreative.VoltageShift]: The super class vtable '__ZTV9IOService' for vtable '__ZTV18VoltageShiftAnVMSR' is out of date. Make sure your kext has been built against the correct headers.
(kernel) Can't load kext com.sicreative.VoltageShift - link failed.
(kernel) Failed to load executable for kext com.sicreative.VoltageShift.
(kernel) Kext com.sicreative.VoltageShift failed to load (0xdc008016).
(kernel) Failed to load kext com.sicreative.VoltageShift (error 0xdc008016).
Failed to load /Users/XXX/Applications/voltageshift/VoltageShift.kext - (libkern/kext) link error.
Check library declarations for your kext with kextlibs(8).
➜  voltageshift sudo kextlibs ./VoltageShift.kext 
For all architectures:
    com.apple.kpi.iokit = 18.7
    com.apple.kpi.libkern = 18.7

For x86_64:
    3 symbols not found in any library kext.

from voltageshift.

munsuri avatar munsuri commented on September 15, 2024

Same issue here, in a Macbook Pro with 10.14.6:
So I tried to compile it locally (even changing targets, all good) BUT can't be loaded:

For x86_64:

3 symbols not found in any library kext:
__ZN12IOUserClient8DispatchE5IORPC
__ZN9IOService8DispatchE5IORPC
__ZN15OSMetaClassBase8DispatchE5IORPC

from voltageshift.

sicreative avatar sicreative commented on September 15, 2024

The kext should no change between version 1.2 and 1.22
here is previous complied file 1.20
voltageshift_1.2.zip

from voltageshift.

kfur avatar kfur commented on September 15, 2024

@munsuri @WoadZS if you are on macOS Mojave kext must be builded by xcode 10 due to SDK version

from voltageshift.

munsuri avatar munsuri commented on September 15, 2024

@sicreative that last version, 1.20 works fine, thanks! I can toggle now the Turbo and limit the power Watts, great! Sadly the undervolting seems to have been locked in the Intels Apple uses now...
@kfur I only have xCode 11. But it compiled successfully... dunno why it complains about linkage just when loading...

from voltageshift.

khoa-nv avatar khoa-nv commented on September 15, 2024

Doest anyone can set PL1 and PL2 with buildlaunchd? I used
sudo ./voltageshift buildlaunchd -160 0 -160 0 0 0 0 35 60 160
but it doesnt work??

from voltageshift.

sicreative avatar sicreative commented on September 15, 2024

@sicreative that last version, 1.20 works fine, thanks! I can toggle now the Turbo and limit the power Watts, great! Sadly the undervolting seems to have been locked in the Intels Apple uses now...
@kfur I only have xCode 11. But it compiled successfully... dunno why it complains about linkage just when loading...

I don't know why kext complied under Xcode 11 is not work on previous OSX, however you can use the latest voltage script together with 1.20 kext, just replace the kext to old one under some directory.

from voltageshift.

sicreative avatar sicreative commented on September 15, 2024

Doest anyone can set PL1 and PL2 with buildlaunchd? I used
sudo ./voltageshift buildlaunchd -160 0 -160 0 0 0 0 35 60 160
but it doesnt work??

it should work. What message as show when you try?

  ./voltageshift power PL1 PL2

from voltageshift.

khoa-nv avatar khoa-nv commented on September 15, 2024

This is message when I run command
./voltageshift power 35 60
image
when I run this command I get this message
sudo ./voltageshift buildlaunchd -160 0 -160 0 0 0 0 35 60 160
image

But after shutdown and login again, the PL1 and PL2 no change
image

Did I use it the wrong way?

from voltageshift.

khoa-nv avatar khoa-nv commented on September 15, 2024

@sicreative that last version, 1.20 works fine, thanks! I can toggle now the Turbo and limit the power Watts, great! Sadly the undervolting seems to have been locked in the Intels Apple uses now...
@kfur I only have xCode 11. But it compiled successfully... dunno why it complains about linkage just when loading...

Can you share your options and buildlaunchd command, please?

from voltageshift.

kfur avatar kfur commented on September 15, 2024

@khoa-nv show your /Library/LaunchDaemons/com.sicreative.VoltageShift.plist file

from voltageshift.

khoa-nv avatar khoa-nv commented on September 15, 2024

@khoa-nv show your /Library/LaunchDaemons/com.sicreative.VoltageShift.plist file

Here bro, this is the file content:
image
I'm using this file
image

from voltageshift.

sicreative avatar sicreative commented on September 15, 2024

please use the latest version if you want fix the PL1/PL2 when launch.
(https://drive.google.com/file/d/0Bxfvxkevq9udR3BTdVpCTTRaZjg/view?usp=sharing)
If you use 10.14 or before, replace the 1.2 kext and this should run.

from voltageshift.

khoa-nv avatar khoa-nv commented on September 15, 2024

please use the latest version if you want fix the PL1/PL2 when launch.
(https://drive.google.com/file/d/0Bxfvxkevq9udR3BTdVpCTTRaZjg/view?usp=sharing)
If you use 10.14 or before, replace the 1.2 kext and this should run.

Oh my god, thank you so much. I solved my problem. That problem because I did wrong way. Thank you so much again.

from voltageshift.

WoadZS avatar WoadZS commented on September 15, 2024

@sicreative thank you, as you mentioned, the best way to solve this is use the voltageshift script in 1.22 version and kext of 1.20?

please use the latest version if you want fix the PL1/PL2 when launch.
(https://drive.google.com/file/d/0Bxfvxkevq9udR3BTdVpCTTRaZjg/view?usp=sharing)
If you use 10.14 or before, replace the 1.2 kext and this should run.

from voltageshift.

sicreative avatar sicreative commented on September 15, 2024

We updated the download page for 10.14 or before.

from voltageshift.

pkoning2 avatar pkoning2 commented on September 15, 2024

Found this when searching for the message, sorry about the duplicate bug report. But when I tried version 1.2 the kext loads fine (manually with kextutil) but then "voltageshift info" crashes the system.

from voltageshift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.