Jump to content

fabiosun

Recommended Posts

OC 0.6.6 and associated kexts, VirtualSMC, Whatevergreen, Lilu etc has just been released. 

 

Some quite big changes this time round, e.g. Bootstrap has now gone. OC is no longer a driver but now a UEFI app.

Edited by Ploddles
  • +1 3
Link to comment
Share on other sites

3 minutes ago, thenightflyer said:

@Ploddles....did you upgrade to oc 0.66? Are there any major changes with the previous?


I’ll be doing it at the weekend as there are some big changes as to how it works. It is now apparently a uefi app rather than just a program, eg bootstrap.efi has been removed and quite a few changes to the config file. 
 

I’ll post a link to my efi when completed for anybody who wants it.

  • Like 1
  • +1 1
Link to comment
Share on other sites

  • Moderators

Apple changed the way to check cpu type:

 

00:000 00:000 OC: Kernel patcher result 29 for kernel (algrey - tsc_init - remove Penryn check to execute default case) - Not Found

 

Thus hanging during loading macOS... bad thing, indeed!!! We need AT LEAST to wait for the latest XNU source code...

Edited by tomnic
precisazioni
  • +1 1
Link to comment
Share on other sites

  • Supervisor
10:031 00:002 OCAK: 64-bit cata_BS_algrey - commpage_populate -remove rdmsr replace count - 1
10:032 00:000 OC: Kernel patcher result 0 for kernel (cata_BS_algrey - commpage_populate -remove rdmsr) - Success
10:034 00:002 OCAK: 64-bit cata_BS_algrey - cpuid_set_cache_info - cpuid 0x8000001D instead 4 replace count - 1
10:035 00:000 OC: Kernel patcher result 1 for kernel (cata_BS_algrey - cpuid_set_cache_info - cpuid 0x8000001D instead 4) - Success
10:037 00:002 OCAK: 64-bit cata_BS_algrey - cpuid_set_cache_info - don't set cpuid_cores_per_package replace count - 1
10:038 00:000 OC: Kernel patcher result 2 for kernel (cata_BS_algrey - cpuid_set_cache_info - don't set cpuid_cores_per_package) - Success
10:040 00:002 OCAK: 64-bit cata_BS_algrey - cpuid_set_generic_info - remove wrmsr replace count - 1
10:040 00:000 OC: Kernel patcher result 3 for kernel (cata_BS_algrey - cpuid_set_generic_info - remove wrmsr) - Success
10:042 00:002 OCAK: 64-bit cata_BS_algrey - cpuid_set_generic_info - set flag=1 replace count - 1
10:043 00:000 OC: Kernel patcher result 4 for kernel (cata_BS_algrey - cpuid_set_generic_info - set flag=1) - Success
10:047 00:004 OCAK: 64-bit cata_BS_algrey - cpuid_set_generic_info - disable check to allow leaf7 replace count - 1
10:048 00:000 OC: Kernel patcher result 5 for kernel (cata_BS_algrey - cpuid_set_generic_info - disable check to allow leaf7) - Success
10:058 00:009 OCAK: 64-bit cata_BS_algrey - cpuid_set_info - GenuineIntel to AuthenticAMD replace count - 1
10:058 00:000 OC: Kernel patcher result 6 for kernel (cata_BS_algrey - cpuid_set_info - GenuineIntel to AuthenticAMD) - Success
10:129 00:070 OCAK: 64-bit cata_BS_algrey - cpuid_set_cpufamily - force CPUFAMILY_INTEL_PENRYN replace count - 0


10:129 00:000 OC: Kernel patcher result 7 for kernel (cata_BS_algrey - cpuid_set_cpufamily - force CPUFAMILY_INTEL_PENRYN) - Not Found


10:131 00:001 OCAK: 64-bit cata_BS_algrey - cpuid_set_info - jmp to calculations and set cpuid_cores_per_package - 10.15/10.16 replace count - 1
10:131 00:000 OC: Kernel patcher result 8 for kernel (cata_BS_algrey - cpuid_set_info - jmp to calculations and set cpuid_cores_per_package - 10.15/10.16) - Success
10:133 00:001 OCAK: 64-bit cata_BS_algrey - cpuid_set_info - cores and threads calculations - 10.15/10.16 replace count - 1
10:134 00:000 OC: Kernel patcher result 9 for kernel (cata_BS_algrey - cpuid_set_info - cores and threads calculations - 10.15/10.16) - Success
10:200 00:066 OCAK: 64-bit cata_BS_algrey - i386_init - remove rdmsr (x3) replace count - 3
10:201 00:000 OC: Kernel patcher result 10 for kernel (cata_BS_algrey - i386_init - remove rdmsr (x3)) - Success
10:203 00:002 OCAK: 64-bit cata_BS_algrey - tsc_init - remove Penryn check to execute default case replace count - 1
10:204 00:000 OC: Kernel patcher result 11 for kernel (cata_BS_algrey - tsc_init - remove Penryn check to execute default case) - Success
10:206 00:002 OCAK: 64-bit cata_BS_algrey - tsc_init - grab DID and VID from MSR replace count - 1
10:207 00:000 OC: Kernel patcher result 12 for kernel (cata_BS_algrey - tsc_init - grab DID and VID from MSR) - Success
10:207 00:000 OC: Kernel patcher skips kernel (cata_algrey - lapic_init - remove version check and panic - 10.15) patch at 13 due to version 190000 <= 200400 <= 199999
10:210 00:002 OCAK: 64-bit BS_NoOne - lapic_init - remove version check and panic - 10.16 replace count - 1
10:210 00:000 OC: Kernel patcher result 14 for kernel (BS_NoOne - lapic_init - remove version check and panic - 10.16) - Success

 

  • Like 2
  • +1 1
Link to comment
Share on other sites

9 hours ago, fabiosun said:

10:031 00:002 OCAK: 64-bit cata_BS_algrey - commpage_populate -remove rdmsr replace count - 1
10:032 00:000 OC: Kernel patcher result 0 for kernel (cata_BS_algrey - commpage_populate -remove rdmsr) - Success
10:034 00:002 OCAK: 64-bit cata_BS_algrey - cpuid_set_cache_info - cpuid 0x8000001D instead 4 replace count - 1
10:035 00:000 OC: Kernel patcher result 1 for kernel (cata_BS_algrey - cpuid_set_cache_info - cpuid 0x8000001D instead 4) - Success
10:037 00:002 OCAK: 64-bit cata_BS_algrey - cpuid_set_cache_info - don't set cpuid_cores_per_package replace count - 1
10:038 00:000 OC: Kernel patcher result 2 for kernel (cata_BS_algrey - cpuid_set_cache_info - don't set cpuid_cores_per_package) - Success
10:040 00:002 OCAK: 64-bit cata_BS_algrey - cpuid_set_generic_info - remove wrmsr replace count - 1
10:040 00:000 OC: Kernel patcher result 3 for kernel (cata_BS_algrey - cpuid_set_generic_info - remove wrmsr) - Success
10:042 00:002 OCAK: 64-bit cata_BS_algrey - cpuid_set_generic_info - set flag=1 replace count - 1
10:043 00:000 OC: Kernel patcher result 4 for kernel (cata_BS_algrey - cpuid_set_generic_info - set flag=1) - Success
10:047 00:004 OCAK: 64-bit cata_BS_algrey - cpuid_set_generic_info - disable check to allow leaf7 replace count - 1
10:048 00:000 OC: Kernel patcher result 5 for kernel (cata_BS_algrey - cpuid_set_generic_info - disable check to allow leaf7) - Success
10:058 00:009 OCAK: 64-bit cata_BS_algrey - cpuid_set_info - GenuineIntel to AuthenticAMD replace count - 1
10:058 00:000 OC: Kernel patcher result 6 for kernel (cata_BS_algrey - cpuid_set_info - GenuineIntel to AuthenticAMD) - Success
10:129 00:070 OCAK: 64-bit cata_BS_algrey - cpuid_set_cpufamily - force CPUFAMILY_INTEL_PENRYN replace count - 0


10:129 00:000 OC: Kernel patcher result 7 for kernel (cata_BS_algrey - cpuid_set_cpufamily - force CPUFAMILY_INTEL_PENRYN) - Not Found


10:131 00:001 OCAK: 64-bit cata_BS_algrey - cpuid_set_info - jmp to calculations and set cpuid_cores_per_package - 10.15/10.16 replace count - 1
10:131 00:000 OC: Kernel patcher result 8 for kernel (cata_BS_algrey - cpuid_set_info - jmp to calculations and set cpuid_cores_per_package - 10.15/10.16) - Success
10:133 00:001 OCAK: 64-bit cata_BS_algrey - cpuid_set_info - cores and threads calculations - 10.15/10.16 replace count - 1
10:134 00:000 OC: Kernel patcher result 9 for kernel (cata_BS_algrey - cpuid_set_info - cores and threads calculations - 10.15/10.16) - Success
10:200 00:066 OCAK: 64-bit cata_BS_algrey - i386_init - remove rdmsr (x3) replace count - 3
10:201 00:000 OC: Kernel patcher result 10 for kernel (cata_BS_algrey - i386_init - remove rdmsr (x3)) - Success
10:203 00:002 OCAK: 64-bit cata_BS_algrey - tsc_init - remove Penryn check to execute default case replace count - 1
10:204 00:000 OC: Kernel patcher result 11 for kernel (cata_BS_algrey - tsc_init - remove Penryn check to execute default case) - Success
10:206 00:002 OCAK: 64-bit cata_BS_algrey - tsc_init - grab DID and VID from MSR replace count - 1
10:207 00:000 OC: Kernel patcher result 12 for kernel (cata_BS_algrey - tsc_init - grab DID and VID from MSR) - Success
10:207 00:000 OC: Kernel patcher skips kernel (cata_algrey - lapic_init - remove version check and panic - 10.15) patch at 13 due to version 190000 <= 200400 <= 199999
10:210 00:002 OCAK: 64-bit BS_NoOne - lapic_init - remove version check and panic - 10.16 replace count - 1
10:210 00:000 OC: Kernel patcher result 14 for kernel (BS_NoOne - lapic_init - remove version check and panic - 10.16) - Success

 

Does Penryn still work for VM ? Wondering if they completely removed Penryn support. 😳

Link to comment
Share on other sites

On 2/2/2021 at 8:00 PM, Ploddles said:

OC 0.6.6 and associated kexts, VirtualSMC, Whatevergreen, Lilu etc has just been released. 

 

Some quite big changes this time round, e.g. Bootstrap has now gone. OC is no longer a driver but now a UEFI app.

Major changes using OC compare are the following:

 

config.plist -> Kernel -> Quirks - Missing Key: SetApfsTrimTimeout
config.plist -> Misc -> Boot - Missing Key: LauncherPath
config.plist -> Misc -> Boot - Missing Key: LauncherOption
config.plist -> DeviceProperties -> Add - Missing Key: PciRoot(0x0)/Pci(0x1b,0x0)
config.plist -> UEFI -> Quirks - Missing Key: DisableSecurityPolicy
config.plist -> PlatformInfo - Missing Key: UseRawUuidEncoding
config.plist -> PlatformInfo -> Generic - Missing Key: MaxBIOSVersion

 

Sample.plist Misc -> Security - Missing Key: BootProtect

 

Link to comment
Share on other sites

29 minutes ago, thenightflyer said:

Major changes using OC compare are the following:

 

config.plist -> Kernel -> Quirks - Missing Key: SetApfsTrimTimeout
config.plist -> Misc -> Boot - Missing Key: LauncherPath
config.plist -> Misc -> Boot - Missing Key: LauncherOption
config.plist -> DeviceProperties -> Add - Missing Key: PciRoot(0x0)/Pci(0x1b,0x0)
config.plist -> UEFI -> Quirks - Missing Key: DisableSecurityPolicy
config.plist -> PlatformInfo - Missing Key: UseRawUuidEncoding
config.plist -> PlatformInfo -> Generic - Missing Key: MaxBIOSVersion

 

Sample.plist Misc -> Security - Missing Key: BootProtect

 

 

I've updated mine on a USB stick, to test, will do that at the weekend.

Using OC Config Compare, it is error free so I hope it will boot straight off. 

(The error below isn't really an error as there are 2 options for language and I use the more logical one, where you specify it as en-GB:0 (English-Great Britain)  for me, rather than 656E2D55 533A30)

 

  #######################################################

#                 OC Config Compare                   #

#######################################################

 

Checking for values missing from User plist:

 

config.plist -> NVRAM -> Add -> 7C436110-AB2A-4BBB-A880-FE41995C9F82 -> prev-lang:kbd - Type Difference: <class 'str'> --> <class 'bytes'>

 

Checking for values missing from Sample:

 

Sample.plist -> NVRAM -> Add -> 7C436110-AB2A-4BBB-A880-FE41995C9F82 -> prev-lang:kbd - Type Difference: <class 'bytes'> --> <class 'str'>

 

Press [enter] to return...

 

 

  • Like 1
Link to comment
Share on other sites

  • Moderators

Add this patch for 11.3 beta. Put maxkernel 20.3.0 to the old force penryn patch to mantain compatibility for the older kernels:

 

<?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>Kernel</key>
	<dict>
		<key>Patch</key>
		<array>
			<dict>
				<key>Arch</key>
				<string>x86_64</string>
				<key>Base</key>
				<string></string>
				<key>Comment</key>
				<string>DhinakG - cpuid_set_cpufamily - force CPUFAMILY_INTEL_PENRYN - 11.3b1</string>
				<key>Count</key>
				<integer>1</integer>
				<key>Enabled</key>
				<true/>
				<key>Find</key>
				<data>MdIAAIA9AAAAAAZ1AA==</data>
				<key>Identifier</key>
				<string>kernel</string>
				<key>Limit</key>
				<integer>0</integer>
				<key>Mask</key>
				<data>//8AAP//AAAA////AA==</data>
				<key>MaxKernel</key>
				<string>20.99.99</string>
				<key>MinKernel</key>
				<string>20.4.0</string>
				<key>Replace</key>
				<data>swG6vE/qeOldAAAAkA==</data>
				<key>ReplaceMask</key>
				<data></data>
				<key>Skip</key>
				<integer>0</integer>
			</dict>
		</array>
	</dict>
</dict>
</plist>

 

Edited by tomnic
  • Like 1
  • Thanks 1
  • +1 1
Link to comment
Share on other sites

  • Supervisor
2 hours ago, Jaidy said:

Haha! I just got my hands on a 6800 XT, and now waiting ‘extremely’ impatiently for the drivers!!

I have sold (maybe) my 6900xt

i will buy it again after a solid drivers support

 

i hope soon...😂

  • Like 2
  • Sad 1
Link to comment
Share on other sites

2 hours ago, fabiosun said:

I have sold (maybe) my 6900xt

i will buy it again after a solid drivers support

 

i hope soon...😂

oh. Well that might be the smart thing to do to sell it off? I shall keep it for a few weeks and if there's no hope then it's going on eBay too.

IMG_3581.png

  • Like 1
  • Cross Finger 1
Link to comment
Share on other sites

Hi, 

I got a restart, and this is the report. Can someone please help in identifying why did it crash?

 

panic(cpu 36 caller 0xffffff801ecbf20d): "metadata list corruption through element 0xffffff8824fd9f90 detected in zone VM map entries"@/AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-7195.81.3/osfmk/kern/zalloc.c:521
Backtrace (CPU 36), Frame : Return Address
0xffffffa3df423a70 : 0xffffff801e4bab4d 
0xffffffa3df423ac0 : 0xffffff801e5fd7e3 
0xffffffa3df423b00 : 0xffffff801e5ede1a 
0xffffffa3df423b50 : 0xffffff801e45fa2f 
0xffffffa3df423b70 : 0xffffff801e4ba3ed 
0xffffffa3df423c90 : 0xffffff801e4ba6d8 
0xffffffa3df423d00 : 0xffffff801ecbef9a 
0xffffffa3df423d70 : 0xffffff801ecbf20d 
0xffffffa3df423d80 : 0xffffff801e518574 
0xffffffa3df423db0 : 0xffffff801e518984 
0xffffffa3df423e20 : 0xffffff801e55be1e 
0xffffffa3df423e60 : 0xffffff801e55fbeb 
0xffffffa3df423f00 : 0xffffff801ea45af2 
0xffffffa3df423f40 : 0xffffff801eb698cb 
0xffffffa3df423fa0 : 0xffffff801e4601f6 

Process name corresponding to current thread: Google Chrome Helper (Renderer)

Mac OS version:
20D64

Kernel version:
Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64
Kernel UUID: C86236B2-4976-3542-80CA-74A6B8B4BA03
KernelCache slide: 0x000000001e200000
KernelCache base:  0xffffff801e400000
Kernel slide:      0x000000001e210000
Kernel text base:  0xffffff801e410000
__HIB  text base: 0xffffff801e300000
System model name: iMacPro1,1 (Mac-7BA5B2D9E42DDD94)
System shutdown begun: NO
Panic diags file available: YES (0x0)
Hibernation exit count: 0

System uptime in nanoseconds: 263414898231086
Last Sleep:           absolute           base_tsc          base_nano
  Uptime  : 0x0000ef930f700c06
  Sleep   : 0x0000000000000000 0x0000000000000000 0x0000000000000000
  Wake    : 0x0000000000000000 0x000000359507445d 0x0000000000000000

Link to comment
Share on other sites

  • fabiosun changed the title to [Discussion] - TRX40 Bare Metal - Vanilla Patches

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.