AMD Rayon R7 6800H Install Ventura kernel Panic

redhorse1990

Member
AMD OS X Member
Joined
Jul 2, 2022
Messages
135
Hello everyone, I have encountered a kernel panic problem for booting up Ventura installation from U flash. Would kindly anybody give me some help?
Brand: Lenovo
Model: Legion slim 7 Gen 7
CPU: AMD Ryzen 7 6800h
GPU: AMD Radeon RX 6600s ( Separate GPU mode)
HDD: Crucial P3 Plus 1TB PCIe Gen4 3D NAND NVMe M.2 SSD
Network: RealTek Semiconductor RTL8168/8111 PCI-E Gigabit Ethernet NIC
Intel(R) Wi-Fi 6E AX210 160MHz
Ram: x2 8GB 3200mhz ddr4
Display: 15.6 1080p 165HZ
 

Attachments

  • EFI-3.zip
    20.8 MB · Views: 25
  • IMG_0382.jpeg
    IMG_0382.jpeg
    3.1 MB · Views: 44
  • IMG_0380.jpeg
    IMG_0380.jpeg
    4.3 MB · Views: 43

redhorse1990

Member
AMD OS X Member
Joined
Jul 2, 2022
Messages
135
The previous issue is resolved. But It comes with another KP following of USBMS identifiers non-unique with a forbidden icon(using the attached EFI). Would anyone kindly give some help?
 

Attachments

  • EFI (2).zip
    43.1 MB · Views: 14

Shaneee

The AMD Guy
Staff member
Administrator
Joined
Mar 13, 2020
Messages
2,189
I don't see a kernel panic in the first images? What exactly is the issue?
 

Edhawk

Guru
Guru
Joined
May 2, 2020
Messages
2,413
Sounds like a USB port configuration issue, from the description in post 2.

Forbidden Sign and message about duplicate ports. Usually caused by OS dropping the USB port that is being used by the macOS installer.

Two options to fix this:
  1. Use a different USB port.
  2. Create a custom USBPorts.kext or UTBMap.kext for your laptop.
Either should fix the issue where the OS drops the USB port, after the initial handover from the Bios. But the second option if the better of the two.
 

redhorse1990

Member
AMD OS X Member
Joined
Jul 2, 2022
Messages
135
Sounds like a USB port configuration issue, from the description in post 2.

Forbidden Sign and message about duplicate ports. Usually caused by OS dropping the USB port that is being used by the macOS installer.

Two options to fix this:
  1. Use a different USB port.
  2. Create a custom USBPorts.kext or UTBMap.kext for your laptop.
Either should fix the issue where the OS drops the USB port, after the initial handover from the Bios. But the second option if the better of the two.

With zxc2689963's newly provided EFI, these KP has been resolved. But it comes with another KP following of USBMS identifiers non-unique with a forbidden icon. It may be related to USB controller of Ryzen 7 6000 has compatibility issues. But I have no idea how it could resolve. Would you kindly provide some help? Here is the created custom UTBMap.kext. Thank you
 

Attachments

  • UTBMap.kext.zip
    1.1 KB · Views: 2

redhorse1990

Member
AMD OS X Member
Joined
Jul 2, 2022
Messages
135
I don't see a kernel panic in the first images? What exactly is the issue?

With zxc2689963's newly provided EFI, these KP has been resolved. But it comes with another KP following of USBMS identifiers non-unique with a forbidden icon. It may be related to USB controller of Ryzen 7 6000 has compatibility issues. But I have no idea how it could resolve. Would you kindly provide some help? Thank you
 

Edhawk

Guru
Guru
Joined
May 2, 2020
Messages
2,413
Is this what your Legion Slim 7 Gen 7 laptop looks like (as in the number and type of USB ports)?

Screenshot 2024-05-02 at 20.35.28.png 2 x USB3 ports on the rear & 2 x Type-C ports on the left side
 

Edhawk

Guru
Guru
Joined
May 2, 2020
Messages
2,413
Your UTBMap.kext/Contents/Info.plist contains the following USB ports with these connector types.

XHC0
HS01 - Internal (255)
HS02 - Internal (255)

XHC1
HS01 & HS02 - USB3 (3)
HS03 - Internal (255)
SS01 & SS02 - USB3 (3)

XHC2
HS01 - Internal (255)

Your UTBMap.kext contains no Type-C ports.
It has 4 x Internal ports, which I believe is 2 x too many. As I would only expect the Bluetooth & Webcam to be connected via Internal USB.
There is a chance your laptop has an internal USB Audio codec, but not a huge chance.
There is also a chance your laptop has som USB LED lighting, but again not a huge chance.

Screenshot 2024-05-02 at 20.46.31.png view of UTBMAp.kext/Contents/Info.plist in ProperTree

So looking at your USB configuration I would say only the 4 x USB3 ports under XHC1 are likely to be correct.

Having one or more ports set incorrectly can cause the issues you are facing regarding the Prohibited Sign error.
 

redhorse1990

Member
AMD OS X Member
Joined
Jul 2, 2022
Messages
135
Is this what your Legion Slim 7 Gen 7 laptop looks like (as in the number and type of USB ports)?

View attachment 14043 2 x USB3 ports on the rear & 2 x Type-C ports on the left side
Yes, my Legion Slim 7 looks like this. This is DSDT file I dumped from my laptop. Maybe the UTBMap.kext has some problem. But I think the DSDT is the right configuration.
 

Attachments

  • DSDT.zip
    50 KB · Views: 2

Edhawk

Guru
Guru
Joined
May 2, 2020
Messages
2,413
Have you or anyone else patched your DSDT.aml table?
If not, then it should be correct, unless the writer was stupid and made a bunch of mistakes when creating the table. This is not beyond the realm of possibility.

Have you generated any SSDT’s with the System DSDT.aml, using Corpnewt’s SSDTTime script?

Provide a copy of the EFI folder you are using, the one one your USB installation drive, so we can see what you are using.

Also confirm the following:
  1. The version of macOS you are trying to install, I.e. Monterey, Ventura 13.6.x or Sonoma 14.3.1 or 14.4.1
  2. The make and model of the M.2 drive you are using as the macOS drive.
  3. The make and model of the WiFi/BT card installed in the laptop.
Regarding your UTBMap.kext, you would be best served not using it, as it is wrong and will only cause issues while trying to install macOS. You would be better off using the Kernel > Quirks > XhciPortLimit entry in the config.plist, assuming you are using a version of OpenCore that supports this Quirk (most recent versions do support the quirk).
 

redhorse1990

Member
AMD OS X Member
Joined
Jul 2, 2022
Messages
135
Have you or anyone else patched your DSDT.aml table?
If not, then it should be correct, unless the writer was stupid and made a bunch of mistakes when creating the table. This is not beyond the realm of possibility.

Have you generated any SSDT’s with the System DSDT.aml, using Corpnewt’s SSDTTime script?

Provide a copy of the EFI folder you are using, the one one your USB installation drive, so we can see what you are using.

Also confirm the following:
  1. The version of macOS you are trying to install, I.e. Monterey, Ventura 13.6.x or Sonoma 14.3.1 or 14.4.1
  2. The make and model of the M.2 drive you are using as the macOS drive.
  3. The make and model of the WiFi/BT card installed in the laptop.
Regarding your UTBMap.kext, you would be best served not using it, as it is wrong and will only cause issues while trying to install macOS. You would be better off using the Kernel > Quirks > XhciPortLimit entry in the config.plist, assuming you are using a version of OpenCore that supports this Quirk (most recent versions do support the quirk).
 

Attachments

  • EFI-1.zip
    43.1 MB · Views: 2

Edhawk

Guru
Guru
Joined
May 2, 2020
Messages
2,413
Also confirm the following:
  1. The version of macOS you are trying to install, I.e. Monterey, Ventura 13.6.x or Sonoma 14.3.1 or 14.4.1
  2. The make and model of the M.2 drive you are using as the macOS drive.
  3. The make and model of the WiFi/BT card installed in the laptop.
 

Edhawk

Guru
Guru
Joined
May 2, 2020
Messages
2,413
As you have been at this for sometime I am going to go back over a crucial element that you should have dealt with in order to run macOS Ventura on your laptop.

AMD BIOS Settings​

  • Note: some of these options may not be present in your BIOS, match up as closely as possible but don't be too concerned if some of these options are not available in your BIOS

Disable​

  • Fast Boot
  • Secure Boot
  • Serial/COM Port
  • Parallel Port
  • Compatibility Support Module (CSM)
  • IOMMU

Enable​

  • Above 4G Decoding
  • EHCI/XHCI Hand-off
  • OS type: Other OS
  • SATA Mode: AHCI
As well as the above you may need to set your boot drive to OpenCore.

Your current EFI folder contents look like this.
Screenshot 2024-05-03 at 17.41.31.png

Here is a revised EFI for you to try.
  • I have cleaned up the EFI sub-folder contents, including removal of the Lenovo folder and SelfHealting file.
  • Added a couple of kexts
  • Removed some unused Tools
  • Cleaned up and edited your config.plist.
This is the contents of the revised EFI folder attached.
Screenshot 2024-05-03 at 18.22.15.png

I have also attached a copy of the Results folder I generated using your System DSDT.aml and Corpnewt's SSDTTime python script.
Screenshot 2024-05-03 at 18.24.23.png
The SSDTTime process can be followed by opening the SSDTTime Process text file.

I checked to see if the other SSDT's in your /EFI/OC/ACPI folder were necessary and all seem to be OK.

Remember to use the ResetNvram option from the OC boot screen before you boot with the revised EFI.

Try booting with this revised EFI, see if it gets any further.

Post a photo showing any Verbose text, if it kernel panics.
 

Attachments

  • EFI.zip
    27.4 MB · Views: 4
  • Results.zip
    64.6 KB · Views: 3

redhorse1990

Member
AMD OS X Member
Joined
Jul 2, 2022
Messages
135
As you have been at this for sometime I am going to go back over a crucial element that you should have dealt with in order to run macOS Ventura on your laptop.

AMD BIOS Settings​

  • Note: some of these options may not be present in your BIOS, match up as closely as possible but don't be too concerned if some of these options are not available in your BIOS

Disable​

  • Fast Boot
  • Secure Boot
  • Serial/COM Port
  • Parallel Port
  • Compatibility Support Module (CSM)
  • IOMMU

Enable​

  • Above 4G Decoding
  • EHCI/XHCI Hand-off
  • OS type: Other OS
  • SATA Mode: AHCI
As well as the above you may need to set your boot drive to OpenCore.

Your current EFI folder contents look like this.
View attachment 14049

Here is a revised EFI for you to try.
  • I have cleaned up the EFI sub-folder contents, including removal of the Lenovo folder and SelfHealting file.
  • Added a couple of kexts
  • Removed some unused Tools
  • Cleaned up and edited your config.plist.
This is the contents of the revised EFI folder attached.
View attachment 14050

I have also attached a copy of the Results folder I generated using your System DSDT.aml and Corpnewt's SSDTTime python script.
View attachment 14051
The SSDTTime process can be followed by opening the SSDTTime Process text file.

I checked to see if the other SSDT's in your /EFI/OC/ACPI folder were necessary and all seem to be OK.

Remember to use the ResetNvram option from the OC boot screen before you boot with the revised EFI.

Try booting with this revised EFI, see if it gets any further.

Post a photo showing any Verbose text, if it kernel panics.
Thank you for your help. As I am out of town right now. I will try to test it in a few days.
 

redhorse1990

Member
AMD OS X Member
Joined
Jul 2, 2022
Messages
135
As you have been at this for sometime I am going to go back over a crucial element that you should have dealt with in order to run macOS Ventura on your laptop.

AMD BIOS Settings​

  • Note: some of these options may not be present in your BIOS, match up as closely as possible but don't be too concerned if some of these options are not available in your BIOS

Disable​

  • Fast Boot
  • Secure Boot
  • Serial/COM Port
  • Parallel Port
  • Compatibility Support Module (CSM)
  • IOMMU

Enable​

  • Above 4G Decoding
  • EHCI/XHCI Hand-off
  • OS type: Other OS
  • SATA Mode: AHCI
As well as the above you may need to set your boot drive to OpenCore.

Your current EFI folder contents look like this.
View attachment 14049

Here is a revised EFI for you to try.
  • I have cleaned up the EFI sub-folder contents, including removal of the Lenovo folder and SelfHealting file.
  • Added a couple of kexts
  • Removed some unused Tools
  • Cleaned up and edited your config.plist.
This is the contents of the revised EFI folder attached.
View attachment 14050

I have also attached a copy of the Results folder I generated using your System DSDT.aml and Corpnewt's SSDTTime python script.
View attachment 14051
The SSDTTime process can be followed by opening the SSDTTime Process text file.

I checked to see if the other SSDT's in your /EFI/OC/ACPI folder were necessary and all seem to be OK.

Remember to use the ResetNvram option from the OC boot screen before you boot with the revised EFI.

Try booting with this revised EFI, see if it gets any further.

Post a photo showing any Verbose text, if it kernel panics.
Hi Edhawk, I just tried your provided EFI. It even couldn’t boot from the start with the following error message.(my laptop has an intel WiFi card). Would you help me fix it?
 

Attachments

  • IMG_0570.jpeg
    IMG_0570.jpeg
    3.2 MB · Views: 12

redhorse1990

Member
AMD OS X Member
Joined
Jul 2, 2022
Messages
135
As you have been at this for sometime I am going to go back over a crucial element that you should have dealt with in order to run macOS Ventura on your laptop.

AMD BIOS Settings​

  • Note: some of these options may not be present in your BIOS, match up as closely as possible but don't be too concerned if some of these options are not available in your BIOS

Disable​

  • Fast Boot
  • Secure Boot
  • Serial/COM Port
  • Parallel Port
  • Compatibility Support Module (CSM)
  • IOMMU

Enable​

  • Above 4G Decoding
  • EHCI/XHCI Hand-off
  • OS type: Other OS
  • SATA Mode: AHCI
As well as the above you may need to set your boot drive to OpenCore.

Your current EFI folder contents look like this.
View attachment 14049

Here is a revised EFI for you to try.
  • I have cleaned up the EFI sub-folder contents, including removal of the Lenovo folder and SelfHealting file.
  • Added a couple of kexts
  • Removed some unused Tools
  • Cleaned up and edited your config.plist.
This is the contents of the revised EFI folder attached.
View attachment 14050

I have also attached a copy of the Results folder I generated using your System DSDT.aml and Corpnewt's SSDTTime python script.
View attachment 14051
The SSDTTime process can be followed by opening the SSDTTime Process text file.

I checked to see if the other SSDT's in your /EFI/OC/ACPI folder were necessary and all seem to be OK.

Remember to use the ResetNvram option from the OC boot screen before you boot with the revised EFI.

Try booting with this revised EFI, see if it gets any further.

Post a photo showing any Verbose text, if it kernel panics.
Would you help me check out my issue? Thanks
 

Edhawk

Guru
Guru
Joined
May 2, 2020
Messages
2,413
Which issue? You need to be a bit more precise with your requests.

Where are you with regards installing and running macOS on your Legion Slim 7 Gen 7 laptop?

How have you set the Graphics in your system Bios, have you used the MUX switch to set the AMD Radeon RX 6600s as the main GPU, i.e. turned off the AMD Integrated GPU?

Screenshot 2024-05-21 at 17.27.37.png example of GPU options for Lenovo 7 laptop with MUX switch.
 

redhorse1990

Member
AMD OS X Member
Joined
Jul 2, 2022
Messages
135
Which issue? You need to be a bit more precise with your requests.

Where are you with regards installing and running macOS on your Legion Slim 7 Gen 7 laptop?

How have you set the Graphics in your system Bios, have you used the MUX switch to set the AMD Radeon RX 6600s as the main GPU, i.e. turned off the AMD Integrated GPU?

View attachment 14109 example of GPU options for Lenovo 7 laptop with MUX switch.
I checked again, I think I have set for discrete GPU only mode and turns off integrated GPU. But I still have the error posted in #16 ( it even didn't go to the formal boot log ) using you provided EFI.
 

Attachments

  • IMG_0570.jpeg
    IMG_0570.jpeg
    3.2 MB · Views: 6
Last edited:

redhorse1990

Member
AMD OS X Member
Joined
Jul 2, 2022
Messages
135
Which issue? You need to be a bit more precise with your requests.

Where are you with regards installing and running macOS on your Legion Slim 7 Gen 7 laptop?

How have you set the Graphics in your system Bios, have you used the MUX switch to set the AMD Radeon RX 6600s as the main GPU, i.e. turned off the AMD Integrated GPU?

View attachment 14109 example of GPU options for Lenovo 7 laptop with MUX switch.
Hi edhawk, after disabled airport.kext, the previous error resolved. But get a forbidden icon after followings. Would you help me check this issue? Thanks
 

Attachments

  • IMG_0572.jpeg
    IMG_0572.jpeg
    4 MB · Views: 3
Back
Top Bottom
  AdBlock Detected
Sure, ad-blocking software does a great job at blocking ads, but it also blocks some useful and important features of our website. For the best possible site experience please take a moment to disable your AdBlocker.