Jump to content

fabiosun

Recommended Posts

7 hours ago, fabiosun said:

Attached are:

 

1) minimal set of patches to boot and work fine with OSX 11.4 release and 11.5.b3 with Opencore

2) minimal set of patches to boot and work fine with OSX 11.4 release and 11.5.b3 with Clover

 

latest patch is for aquantia ethernet, you can disable it if you do not use (Opencore patches plist)

 

Users that use Topology patch, maybe they have to add again this patch

I do not understand well why some users need of it...

 

 

I have not had your patch 11 enabled in my config.plist for many many months now. Have you tried without it?

 

Patch11.thumb.png.ad75df6d2fe59e1fd00d6c8af85e4625.png

Link to comment
Share on other sites

  • Moderators
11 hours ago, fabiosun said:

Thank you Carlo

You have discovered we do not need to boot also of this patch:

algrey - cpuid_set_generic_info - disable check to allow leaf7

@iGPUand all users..could you test if it is the same also for you?

 

Great catch @carlo_67

 

tested on OSX 11.4 release and 11.5.b3

 

 

Correct, algrey - cpuid_set_generic_info - disable check to allow leaf7 is not needed at least with 11.5 beta (20G5042c).

 

I seem to recall this came from  a couple of patches suggested by Pavo, but I may be mistaken.

 

I variably turned it on and off a year ago even with Catalina. I've yet to test to see if required for Mojave.

 

Link to comment
Share on other sites

  • Moderators
4 hours ago, Ploddles said:

 

I have not had your patch 11 enabled in my config.plist for many many months now. Have you tried without it?

 

Patch11.thumb.png.ad75df6d2fe59e1fd00d6c8af85e4625.png

 

This must be enabled for me to boot in 11.5 beta.

Link to comment
Share on other sites

  • Supervisor
On 6/26/2021 at 7:05 PM, fabiosun said:

to be more clear , without that patch my system does not boot

it boots fine with this one (NoOne official one and it seems completely different from one I and @Ploddlesand maybe other people are using):

478913803_Screenshot2021-06-26at7_03_14PM.thumb.png.37ca8fac631a9f08a3ef5ef06c40d23c.png

 

It would be useful to understand why 🙂

 

@Ploddles

try to read from here

you are using no one patch 

same behavior of patch 11 we do not know the ‘genesis’😂

Link to comment
Share on other sites

  • Supervisor

@iGPUthank you for your minimal patches set

I have tried to disabled in clover those two you say and system hangs on beta 11.5.3 on ++++++++++ stage

as side note I can say you can disable also algrey - cpuid_set_cpufamily - force CPUFAMILY_INTEL_PENRYN because bet 11.5.b3 has a Darwin version of 20.6.0 and it should be skipped based on max kernel parameter in use

 

to compare , maybe it is useful also to specify boot quirks used for kernel and boot part..

but I have to find a better and logic way to test this..ie many of trx40 users need of Dummypowermangement quirk that I do not use and other differences that could come into play in these tests,

I would leave MMIOs aside otherwise it becomes a mess the definition of a common pattern 🙂 

Edited by fabiosun
Link to comment
Share on other sites

  • Supervisor

I have done additional test by now using minimal set posted above by @iGPU

with my config.plist and his patches my system hangs on both system I use (11.4 and 11.5.beta3)

and this is a great discover 🙂

Now we have to investigate which other parameters (bios /config.plist) could help to reduce patches to use 

 

I have also try to enable DummycpuPM quirk but not useful to pass this hang

Link to comment
Share on other sites

  • Moderators
7 hours ago, fabiosun said:

@iGPUthank you for your minimal patches set

I have tried to disabled in clover those two you say and system hangs on beta 11.5.3 on ++++++++++ stage

as side note I can say you can disable also algrey - cpuid_set_cpufamily - force CPUFAMILY_INTEL_PENRYN because bet 11.5.b3 has a Darwin version of 20.6.0 and it should be skipped based on max kernel parameter in use

 

to compare , maybe it is useful also to specify boot quirks used for kernel and boot part..

but I have to find a better and logic way to test this..ie many of trx40 users need of Dummypowermangement quirk that I do not use and other differences that could come into play in these tests,

I would leave MMIOs aside otherwise it becomes a mess the definition of a common pattern 🙂 

 

Shown are the settings used for Quirks in OC with the minimal Patch list presented earlier. As for BIOS, both Above 4G and ResizableBar are disabled.

 

1875759503_ScreenShot2021-06-29at6_39_05AM.thumb.png.5a0ef65e79faead2ac9a969de83e07aa.png

 

509387630_ScreenShot2021-06-29at6_38_49AM.thumb.png.f74f96d69cdd98b607aff98bb91e126e.png

  • Like 1
Link to comment
Share on other sites

  • Supervisor

1059699100_Screenshot2021-06-29at3_48_38PM.thumb.png.aff6d0bb7609bc2005898b09e2b3acce.png

pay attention to the kext you have in use with your EFI

 

booted with clover

some time to convert some patches in proper clover form

 

thanks to the Patches manager to have released it :)

 

@iGPUI do not use RebuildAppleMemoryMap and DisableIOMapper in my config

I have 4G enabled

 

@iGPUaquantia Monterey patch works!

 

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

  • Supervisor

 

with this one you can boot and install from 11.4 to beta1 (MonteRey)

They are for OpenCore

I do not advice to use clover to install 😉

 

latest 2 are for aquantia..

 

UPDATE 17-07-2021:

 

Link to comment
Share on other sites

  • Moderators

I downloaded the patches from the AMD OSX github site and through OC was able to finally finish the Monterey install on an external USB NMVe drive.

 

It did appear to hang during the installation 2nd re-boot with a frozen Apple logo and no progress bar. I turned off computer after waiting ~5 min, re-booted and the install finished without further problems. (I've seen the same odd install behavior with the occasional Big Sur update, so nothing surprising.)

 

I studied each patch; most are the same, but quite a few new ones specific for Monterey. (I want to pursue the patch issue on your other thread, fabiosun.)

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

2 hours ago, Ploddles said:

New Big Sur 11.5 beta 4 (20G5052c) is out. Let's hope the new Monterey patch list plays nicely with it - I probably won't get a chance to play with either until the weekend.

I tried updating to the latest beta 4, but it somehow is stuck. Boots back to the beta 3 for me. Hopefully you would have better luck..

Link to comment
Share on other sites

If it boots back to the previous one then on the reboot during update it picked the wrong part to boot from. 
 

Reboot again and see if there is an extra entry in the picker. If there is then boot that and it will probably complete the update. If there isn’t then try the update again and keep an eye out for the extra picker option and choose that. Remember you only have 4-5 seconds if you leave it to choose itself. It happens occasionally. Just arrow across to another choice to stop the timer. 

Link to comment
Share on other sites

  • Moderators
1 hour ago, Jaidy said:

I tried updating to the latest beta 4, but it somehow is stuck. Boots back to the beta 3 for me. Hopefully you would have better luck..

 

As Ploddles was alluding, the timer may be going too fast. Change Timeout to 0 and there will be no auto-boot until you select the drive and press Enter.

 

Also, use the ScanPolicy value below to ensure that all devices are properly seen in the menu for selection.

 

OC-ScanPolicy.thumb.jpg.f487b80cbe219e027dd668441682eca9.jpg

  • +1 1
Link to comment
Share on other sites

7 hours ago, Ploddles said:

If it boots back to the previous one then on the reboot during update it picked the wrong part to boot from. 
 

Reboot again and see if there is an extra entry in the picker. If there is then boot that and it will probably complete the update. If there isn’t then try the update again and keep an eye out for the extra picker option and choose that. Remember you only have 4-5 seconds if you leave it to choose itself. It happens occasionally. Just arrow across to another choice to stop the timer. 

there indeed is another entry, titled Macintosh HD or something. But that simply reboots the system when selected. Right now when I try updating using the system preferences' Software Update option, it says "The software update download failed. Please check your network connection and try again".

 

Furthermore, I got a kernel panic: 

panic(cpu 32 caller 0xffffff8017698a66): [data.kalloc.8192]: element modified after free (off:64, val:0x0000000000000020, sz:8192, ptr:0xffffff94eac63000, prot:zero)
   64: 0x0000000000000020
Backtrace (CPU 32), Frame : Return Address
0xffffffa44f85b460 : 0xffffff8016e870cd 
0xffffffa44f85b4b0 : 0xffffff8016fcde93 
0xffffffa44f85b4f0 : 0xffffff8016fbe48a 
0xffffffa44f85b540 : 0xffffff8016e2ba2f 
0xffffffa44f85b560 : 0xffffff8016e868ed 
0xffffffa44f85b680 : 0xffffff8016e86be3 
0xffffffa44f85b6f0 : 0xffffff8017696a3a 
0xffffffa44f85b760 : 0xffffff8017698a66 
0xffffffa44f85bbe0 : 0xffffff8016ee5a7a 
0xffffffa44f85bc50 : 0xffffff8016e966dc 
0xffffffa44f85bca0 : 0xffffff8016e61cac 
0xffffffa44f85bcd0 : 0xffffff801763af67 
0xffffffa44f85bd60 : 0xffffff801763acdc 
0xffffffa44f85bd90 : 0xffffff8016e8c637 
0xffffffa44f85be00 : 0xffffff8016e62d75 
0xffffffa44f85be60 : 0xffffff8016e7a2d2 
0xffffffa44f85bef0 : 0xffffff8016fa278d 
0xffffffa44f85bfa0 : 0xffffff8016e2c216 

Process name corresponding to current thread: com.apple.AppleUserHIDDrivers
Boot args: chunklist-security-epoch=0 -chunklist-no-rev2-dev

Mac OS version:
20G5042c

Kernel version:
Darwin Kernel Version 20.6.0: Mon Jun  7 19:29:33 PDT 2021; root:xnu-7195.140.29.131.1~1/RELEASE_X86_64
Kernel UUID: BD602B86-E76B-3B80-AE97-AE7E3EC2354A
KernelCache slide: 0x0000000016c00000
KernelCache base:  0xffffff8016e00000
Kernel slide:      0x0000000016c10000
Kernel text base:  0xffffff8016e10000
__HIB  text base: 0xffffff8016d00000
System model name: MacPro7,1 (Mac-27AD2F918AE68F61)
System shutdown begun: NO
Panic diags file available: YES (0x0)
Hibernation exit count: 0

System uptime in nanoseconds: 13150957515475
Last Sleep:           absolute           base_tsc          base_nano
  Uptime  : 0x00000bf5f226b62f
  Sleep   : 0x0000000000000000 0x0000000000000000 0x0000000000000000
  Wake    : 0x0000000000000000 0x000000254236aa43 0x0000000000000000

 

Can someone please tell me what happened here? It say AppleUserHIDDrivers, which probably means keyboard/mouse/trackpad driver issue?

Link to comment
Share on other sites

  • Supervisor
15 hours ago, Ploddles said:

New Big Sur 11.5 beta 4 (20G5052c) is out. Let's hope the new Monterey patch list plays nicely with it - I probably won't get a chance to play with either until the weekend.

1892325240_Screenshot2021-06-30at1_43_13PM.png.b60c497bef7dcf57780ef5eecfe12c5a.png

yep also with new set of patches older systems are fine 🙂

 

  • Like 1
Link to comment
Share on other sites

@iGPU

Wonderful job for simplifying the patches.

I am using your patch except the last two.

The job done is so good that I don't even need the argument : cpu_topology_sort -disable _x86_validate_topology  in the garbage 😄

I envy your talent in this area.

 

So since I had some time today, I tested the Big Sur 11.5 Beta 4 installation.

Without installation problem, everything works.

So my current EFI is valid from 11.4 to 11.5. I just changed the patches, the rest I haven't touched and nothing in the bios either.

As a reminder Above 4g decoding: enabled

744537563_Capturedecran2021-06-30a19_35_28.png.bee2b37b0d0e664692937955c887fa95.png

Thanks again to all of you for contributing in your spare time to perfecting the hack on AMD.

Since I started, not even 1 year ago, I can see the difference in the stability of the system. And since switching to BigSur I find that there is a marked improvement.

 

Maybe I will have some time this weekend, I would like to test Monterey but I would like to know if I can choose the version that works with the patches.

 

 

  • Like 1
  • Thanks 1
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.