AMD Rayon R7 6800H Install Ventura kernel Panic

redhorse1990

Member
AMD OS X Member
Joined
Jul 2, 2022
Messages
130
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: 24
  • IMG_0382.jpeg
    IMG_0382.jpeg
    3.1 MB · Views: 41
  • IMG_0380.jpeg
    IMG_0380.jpeg
    4.3 MB · Views: 42

redhorse1990

Member
AMD OS X Member
Joined
Jul 2, 2022
Messages
130
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: 13

Shaneee

The AMD Guy
Staff member
Administrator
Joined
Mar 13, 2020
Messages
2,180
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,373
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
130
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: 1

redhorse1990

Member
AMD OS X Member
Joined
Jul 2, 2022
Messages
130
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,373
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,373
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
130
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: 0

Edhawk

Guru
Guru
Joined
May 2, 2020
Messages
2,373
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
130
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: 0

Edhawk

Guru
Guru
Joined
May 2, 2020
Messages
2,373
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.
 
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.