ProjectOSX

Welcome Guest!

Returning User? Login here.

Want membership privileges? Register here.

 
Start a new topic Add Reply
> Kernel Dependencies For 64bit
Slice
post Jan 29 2010, 10:53 AM
Post #1
I am trying to recompile Superhai's GenericCPUPM to Snow. For 32 bit it works but the message
QUOTE
Warning - kext com.superhai.driver.GenericCPUPowerManagement has immediate dependencies on both com.apple.kernel* and com.apple.kpi.* components; use only one style.

In 64 bit it is error.

If I exclude such dependencies then
QUOTE
bash-3.2# kextutil /System/Library/Extensions/GenericCPUPowerManagement.kext/Cache file /System/Library/Caches/com.apple.kext.caches/Directories//System/Library/Extensions/KextIdentifiers.plist.gz is out of date; not using.
(kernel) kxld[com.superhai.driver.GenericCPUPowerManagement]: The following symbols are unresolved for this kext:
(kernel) kxld[com.superhai.driver.GenericCPUPowerManagement]: __ZN5IOCPU9metaClassE
(kernel) Can't load kext com.superhai.driver.GenericCPUPowerManagement - link failed.
(kernel) Failed to load executable for kext com.superhai.driver.GenericCPUPowerManagement.
(kernel) Kext com.superhai.driver.GenericCPUPowerManagement failed to load (0xdc008016).
(kernel) Failed to load kext com.superhai.driver.GenericCPUPowerManagement (error 0xdc008016).
Failed to load GenericCPUPowerManagement.kext - (libkern/kext) link error.
Check library declarations for your kext with kextlibs(8).
bash-3.2#


Is there anybody knows what to do if a kext has kernel dependencies?
Пожалуйста, прочитайте ЧаВо!
i3-2120 GA-H61M-S1, Radeon HD6670, ALC887(VoodooHDA 2.8), OS⌘10.8.3 (12D78),OS⌘ 10.7.5 Clover FakeSMC_plugins RealtekR1000v3
Superhai the Gre...
post Jan 29 2010, 12:41 PM
Post #2
QUOTE (Slice @ Jan 29 2010, 11:53 AM) *
Is there anybody knows what to do if a kext has kernel dependencies?


Yes, you add the dependencies to the Info.plist or remove the dependency from the source. Here you need to find an alternative to IOCPU::metaClass as only apple signed kext are allowed to use com.apple.kpi.private in which IOCPU::metaClass is. If I will guess it is because of the IOKit "rtti" OSDynamicCast that causes the problem.

The next question however is why are you compiling this old source?

I have decided to leave the OSX86 scene, but if there are any particularities you need to address arising from my contributions, you may contact me on voodoo@superhai.com
If you want to work on any of my sources or projects, or if you are interested in hosting the files I provided you may use the same address to arrange a way to get hold of them. Any requests or questions for unrelated support, or other unrelated requests will be blacklisted, banned or regarded as an abuse and dealt with accordingly. 
Of course community friends may also use the address and you know who you are.
Slice
post Feb 1 2010, 08:54 AM
Post #3
QUOTE (Superhai the Great @ Jan 29 2010, 03:41 PM) *
Yes, you add the dependencies to the Info.plist or remove the dependency from the source. Here you need to find an alternative to IOCPU::metaClass as only apple signed kext are allowed to use com.apple.kpi.private in which IOCPU::metaClass is. If I will guess it is because of the IOKit "rtti" OSDynamicCast that causes the problem.

The next question however is why are you compiling this old source?

With those sources I have working GenericCPUPMControl.app which is fine. You mean that VoodooPower is better? I have no full functional sources of it. Is it possible to rewrite VoodooPower for Snow64 and use the app with it?

I think I can replace a class IOCPU with my own class including full implementation. Or may be it is better exclude the class at all. I didn't decide yet.
Пожалуйста, прочитайте ЧаВо!
i3-2120 GA-H61M-S1, Radeon HD6670, ALC887(VoodooHDA 2.8), OS⌘10.8.3 (12D78),OS⌘ 10.7.5 Clover FakeSMC_plugins RealtekR1000v3
rals2007
post May 30 2010, 11:21 AM
Post #4
QUOTE (Slice @ Jan 29 2010, 07:53 PM) *
I am trying to recompile Superhai's GenericCPUPM to Snow. For 32 bit it works but the message

In 64 bit it is error.

If I exclude such dependencies then


Is there anybody knows what to do if a kext has kernel dependencies?



Hi Slice

I also tried to compile SMBIOSResolver from SuperHai's source, ang 32bit is working in Snow. But not in x64.
I think it has the same issue like this.
Can you help me.
Thanks

Attached File  SMBIOSResolver.zip ( 18.36K ) Number of downloads: 24


This post has been edited by rals2007: Jun 1 2010, 06:36 AM
Gringo Vermelho
post May 30 2010, 11:32 PM
Post #5
Yes I know it's none of my business...but why would you want to use SMBIOSResolver when you can use vanilla AppleSMBIOS.kext and set all that stuff in /Extra/smbios.plist.
ASUS P5Q-E - P45/ICH10R - Marvell 88E8056 - Focusrite Saffire 6 USB - EVGA GTX660 - C2D E8500 - 10.8.2 retail - Chameleon 2.2 svn r21xx
rals2007
post May 31 2010, 12:59 AM
Post #6
QUOTE (Gringo Vermelho @ May 31 2010, 08:32 AM) *
Yes I know it's none of my business...but why would you want to use SMBIOSResolver when you can use vanilla AppleSMBIOS.kext and set all that stuff in /Extra/smbios.plist.


Hi Gringo

Im using HP 110 Netbook, Have to use SMBIOSResolver to get rid of "Error getting reference to IODeviceTree:/Options".
Other thing is, Using UUID fix in smbios.plist or com.apple.boot.plist doesnt do anything. Still have to use PlatformUUID kext.

But using SMBIOSRResolver, it solved the 2 issues i mentioned above. I hope i explained it well smile.gif

I know the 32Bit of SMBIOSResolver will do just fine on my Netbook, since its only32bit. But my point here is, i just would like to have a Universal kext of it.

Please help

This post has been edited by rals2007: Jun 1 2010, 06:38 AM
Slice
post Jun 3 2010, 08:13 PM
Post #7
I think you use bad bootloader.
Good one create /Options and correct UUID.
No future for SMBIOSresolver.
Пожалуйста, прочитайте ЧаВо!
i3-2120 GA-H61M-S1, Radeon HD6670, ALC887(VoodooHDA 2.8), OS⌘10.8.3 (12D78),OS⌘ 10.7.5 Clover FakeSMC_plugins RealtekR1000v3
rals2007
post Jun 5 2010, 08:44 AM
Post #8
QUOTE (Slice @ Jun 4 2010, 05:13 AM) *
I think you use bad bootloader.
Good one create /Options and correct UUID.
No future for SMBIOSresolver.



Hi Slice

I agree. But i think it would be an easier fix for me if i do it in SMBIOSResolver, rather than in chameleon.

Can you help me out by fixing the kernel dependencies in the source?

Thanks smile.gif

This post has been edited by rals2007: Jun 5 2010, 08:45 AM
Gringo Vermelho
post Jun 5 2010, 08:33 PM
Post #9
While waiting for someone to help, try Asere's variant of Chameleon 2.0 RC4:

http://www.efixusers.com/showthread.php?t=644

If you're already running Chameleon 2.0 RC4 you can just drop in the boot file.
ASUS P5Q-E - P45/ICH10R - Marvell 88E8056 - Focusrite Saffire 6 USB - EVGA GTX660 - C2D E8500 - 10.8.2 retail - Chameleon 2.2 svn r21xx
rals2007
post Jun 7 2010, 12:46 AM
Post #10
QUOTE (Gringo Vermelho @ Jun 6 2010, 05:33 AM) *
While waiting for someone to help, try Asere's variant of Chameleon 2.0 RC4:

http://www.efixusers.com/showthread.php?t=644

If you're already running Chameleon 2.0 RC4 you can just drop in the boot file.



I have tried it, but still having the same issue.
Thanks for the effort Gringo. I really appreciate it. smile.gif

Add Reply Start a new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: