Jump to content
8755 posts in this topic

Recommended Posts

I’ve got an issue with a kext being injected. I’m using FakeSMC with plugins for HW monitoring. AMDCPUMonitor and RadeonMonitor is but ITEIT87x isn’t. See log and config entry below. Also attached is the kext.

 

38:843 00:064 Vtable patching failed for kext org.mozodojo.ITEIT87x
38:897 00:054 OC: Prelink injection ITEIT87x.kext - Invalid Parameter
			<dict>
				<key>BundlePath</key>
				<string>ITEIT87x.kext</string>
				<key>Enabled</key>
				<true/>
				<key>ExecutablePath</key>
				<string>Contents/MacOS/ITEIT87x</string>
				<key>PlistPath</key>
				<string>Contents/Info.plist</string>
			</dict>

 

ITEIT87x.kext.zip

@Shaneee There are a quadzillion forks of HWSensors and two I looked at had the missing VTables in two different places, while I cannot find your ITE kext distrubuted for the "original" HWSensors. Please specify your sources and whether those kexts work with Clover or such

Hi, thank guys for this awesome project.

 

I have a warning whenever I boot the device, it says

OCS: No schema for BoardSerialNumber at 0 index!

I searched the source code, and I get nothing

 

I started to get this error since v0.0.2.

Here is my OpenCore config, and I really need suggestions.

Thank you guys.

config.plist

3 hours ago, Download-Fritz said:

@Shaneee There are a quadzillion forks of HWSensors and two I looked at had the missing VTables in two different places, while I cannot find your ITE kext distrubuted for the "original" HWSensors. Please specify your sources and whether those kexts work with Clover or such

 

Yeah Clover injects it fine. Here’s the source for it, https://sourceforge.net/p/hwsensors/hwsensors3/code3/HEAD/tree/trunk/plugins/SuperIOSensors/ITE87x/

  • Like 1
On 7/4/2019 at 2:00 PM, Shaneee said:

I’ve got an issue with a kext being injected. I’m using FakeSMC with plugins for HW monitoring. AMDCPUMonitor and RadeonMonitor is but ITEIT87x isn’t. See log and config entry below. Also attached is the kext.

 


38:843 00:064 Vtable patching failed for kext org.mozodojo.ITEIT87x
38:897 00:054 OC: Prelink injection ITEIT87x.kext - Invalid Parameter

			<dict>
				<key>BundlePath</key>
				<string>ITEIT87x.kext</string>
				<key>Enabled</key>
				<true/>
				<key>ExecutablePath</key>
				<string>Contents/MacOS/ITEIT87x</string>
				<key>PlistPath</key>
				<string>Contents/Info.plist</string>
			</dict>

 

ITEIT87x.kext.zip

ITEIT87x has more complex vtable then other plugins. OC injection is wrong in this case.

@xtddd Who can boot what?

@Shaneee I will check when I'm at the Desktop, but none of the FSMC bin releases I checked had that kext included, I need bins

@Slice Can you elaborate how it is "more complex"?

 

EDIT: Okay yes, HWSensors3 has it, I think I checked HWSensors4 and a few forks

EDIT2: Okay, so FakeSMC seems to publish that VTable, but OC does not notice for some reason

EDIT3: No VTable is "more complicated", we use pointers into StringTable for VTable and entry names, but we move it later... very good...

EDIT4: @Shaneee A workaround has been pushed, the plugin now links successfully.

Edited by Download-Fritz
  • Like 2
1 hour ago, xtddd said:

@Download-Fritz i can boot into macos10.14.5 and macos 10.15 beta by oc-0.0.2 version.. but it failed by oc-0.0.3 version in my rig.

Did you change your EFI folder structure to adhere to the new OC folder structure? Did you change your config structure to adhere to OC new config structure? If you didn't do both of these, OC will not boot.

  • Like 1
37 minutes ago, Pavo said:

Did you change your EFI folder structure to adhere to the new OC folder structure? Did you change your config structure to adhere to OC new config structure? If you didn't do both of these, OC will not boot.

thank you. i boot into macos....but xcpm broked in the version0.0.3,,

Edited by xtddd
4 minutes ago, xtddd said:

thank you. i boot into macos....but xcpm broked in the version0.0.3,,what is the the new OC folder structure?

Look at the configuration pdf at the source. https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/Configuration.pdf 

  • Like 1

Can't inject Ethernet kext intelMausiEthernet.kext and SmallTree-Intel-211-AT-PCIe-GBE.kext. Both newest available versions. 

When booting with ExecutablePath enabled no ethernet driver injected.

When booting without ExecutablePath in config my rig is crashing with error something like "trying to restart Mach boot" or something similar.

Any ideas? 

IntelMausiEthernet.kext.zip

SmallTree-Intel-211-AT-PCIe-GBE.kext.zip

Edited by obus
1 minute ago, obus said:

Can't inject Ethernet kext IntelMausiEthernet.kext and SmallTree-Intel-211-AT-PCIe-GBE.kext. Both newest available versions. 

When booting with ExecutablePath enabled no ethernet driver injected.

When booting without ExecutablePath in config my rig is crashing with error something like "trying to restart Mach boot" or something similar.

Any ideas? 

IntelMausiEthernet.kext.zip

SmallTree-Intel-211-AT-PCIe-GBE.kext.zip

Without seeing your config, don't think there is anything anyone can do.

  • Like 1
7 minutes ago, obus said:

Here we go!

config.plist

 

Contents/MacOS/ ....

e.g. Contents/WhateverGreen should be Contents/MacOS/WhateverGreen

 

right click your kext to show it's content, you'll know why.

 

check all your config.plist/Kernel/Add, there are so many misconfiguration. 

Edited by justin
12 minutes ago, obus said:

Here we go!

config.plist

 

This is for my GA Z270 UD rig.

You are not adding the right stuff in those at all. You are also missing almost all the Protocols in the UEFI section.

9 minutes ago, justin said:

 

Contents/MacOS/ ....

e.g. Contents/WhateverGreen should be Contents/MacOS/WhateverGreen

 

right click your kext to show it's content, you'll know why.

 

check all your config.plist/Kernel/Add, there are so many misconfiguration. 

As @justin said you need to check inside the kext and adhere to structures defined and add those inside the config. 

×
×
  • Create New...