Kernel Panic after installing Mojave

Joined
Feb 10, 2019
macOS
10.14.2
Mobo
Asrock Z170A-X1
CPU
Intel Core i7 6700k
GPU
XFX R9 280
#1
I've installed MacOS, but now I'm getting this KP while booting. I've read that it could be my GPU because it's XFX, but I've tried loading a Asus vbios with Clover and it doesn't seem to help.
Code:
Anonymous UUID: A127E4B5-E3B9-1721-DDEE-18BEE474BE1A

Sat Feb 9 11:59:20 2019

* Panic Report *
panic(cpu 2 caller 0xffffff8006ada29d): Kernel trap at 0xffffff7f8986c0ff, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0xffffff9204a35000, CR3: 0x000000001bd31000, CR4: 0x00000000003626e0
RAX: 0xffffff9204a35000, RBX: 0x0000000000005434, RCX: 0x0000000002000000, RDX: 0x0000000003000000
RSP: 0xffffff81f53c3ba0, RBP: 0xffffff81f53c3bc0, RSI: 0xffffff803afcc060, RDI: 0x0000000000000000
R8: 0x00000000e0100000, R9: 0x0000000000000001, R10: 0x00000000e0000000, R11: 0xffffff81b48667c0
R12: 0xffffff7f872a6fd8, R13: 0xffffff81b4e42000, R14: 0x0000000000000000, R15: 0xffffff8036ef4f00
RFL: 0x0000000000010246, RIP: 0xffffff7f8986c0ff, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0xffffff9204a35000, Error code: 0x0000000000000002, Fault CPU: 0x2, PL: 0, VF: 1

Backtrace (CPU 2), Frame : Return Address
0xffffff81f53c3670 : 0xffffff80069aeb0d
0xffffff81f53c36c0 : 0xffffff8006ae8653
0xffffff81f53c3700 : 0xffffff8006ada07a
0xffffff81f53c3770 : 0xffffff800695bca0
0xffffff81f53c3790 : 0xffffff80069ae527
0xffffff81f53c38b0 : 0xffffff80069ae373
0xffffff81f53c3920 : 0xffffff8006ada29d
0xffffff81f53c3a90 : 0xffffff800695bca0
0xffffff81f53c3ab0 : 0xffffff7f8986c0ff
0xffffff81f53c3bc0 : 0xffffff7f8987ab91
0xffffff81f53c3be0 : 0xffffff7f8986bfe9
0xffffff81f53c3c20 : 0xffffff7f8988bf0b
0xffffff81f53c3c70 : 0xffffff7f8987a960
0xffffff81f53c3c90 : 0xffffff7f89814d52
0xffffff81f53c3cf0 : 0xffffff7f898129cb
0xffffff81f53c3d80 : 0xffffff7f891e583b
0xffffff81f53c3df0 : 0xffffff7f898116dc
0xffffff81f53c3e40 : 0xffffff800702ca1b
0xffffff81f53c3e80 : 0xffffff800702c761
0xffffff81f53c3f00 : 0xffffff800702bcb7
0xffffff81f53c3f50 : 0xffffff800702d786
0xffffff81f53c3fa0 : 0xffffff800695b0ce
Kernel Extensions in backtrace:
com.apple.iokit.IOAcceleratorFamily2(404.2.2)[3F0DBC5F-414B-379E-8C7B-A2F50B278A2A]@0xffffff7f891b8000->0xffffff7f8925cfff
dependency: com.apple.driver.AppleMobileFileIntegrity(1.0.5)[A2492141-9480-3177-BC7D-455925BB4A2E]@0xffffff7f87782000
dependency: com.apple.iokit.IOSurface(255.1)[12B5957C-3874-3A96-8FC6-FAC2180790A9]@0xffffff7f88d7c000
dependency: com.apple.iokit.IOPCIFamily(2.9)[5C9A453F-559B-3683-9E81-D288D13A33CE]@0xffffff7f87295000
dependency: com.apple.iokit.IOGraphicsFamily(530.14)[D44517BE-2B53-3BD5-826E-4E78B55E3B73]@0xffffff7f87a25000
dependency: com.apple.iokit.IOReportFamily(47)[5F165AE5-F4F2-3415-857C-34F2462A730E]@0xffffff7f87dac000
com.apple.kext.AMDRadeonX4000(2.0.4)[72D8FB63-8A63-38CB-8D53-01E07205BCAE]@0xffffff7f89810000->0xffffff7f89cd0fff
dependency: com.apple.iokit.IOSurface(255.1)[12B5957C-3874-3A96-8FC6-FAC2180790A9]@0xffffff7f88d7c000
dependency: com.apple.iokit.IOPCIFamily(2.9)[5C9A453F-559B-3683-9E81-D288D13A33CE]@0xffffff7f87295000
dependency: com.apple.iokit.IOGraphicsFamily(530.14)[D44517BE-2B53-3BD5-826E-4E78B55E3B73]@0xffffff7f87a25000
dependency: com.apple.iokit.IOAcceleratorFamily2(404.2.2)[3F0DBC5F-414B-379E-8C7B-A2F50B278A2A]@0xffffff7f891b8000

BSD process name corresponding to current thread: kernel_task
Boot args: dart=0

Mac OS version:
18D109

Kernel version:
Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64
Kernel UUID: 1970B070-E53F-3178-83F3-1B95FA340695
Kernel slide: 0x0000000006600000
Kernel text base: 0xffffff8006800000
__HIB text base: 0xffffff8006700000
System model name: iMac14,2 (Mac-27ADBB7B4CEE8E61)

System uptime in nanoseconds: 17021311281
last loaded kext at 16487679970: com.apple.fileutil 18.306.12 (addr 0xffffff7f87abf000, size 114688)
loaded kexts:
org.netkas.driver.FakeSMC 1800
com.apple.fileutil 18.306.12
com.apple.kext.AMDRadeonX4000 2.0.4
com.apple.filesystems.ntfs 3.13
com.apple.driver.AppleIntelSKLGraphics 12.0.4
com.apple.driver.AppleIntelPCHPMC 2.0.1
com.apple.driver.eficheck 1
com.apple.kext.AMD7000Controller 2.0.4
com.apple.driver.AppleIntelSKLGraphicsFramebuffer 12.0.4
com.apple.filesystems.autofs 3.0
com.apple.driver.AppleGraphicsDevicePolicy 3.28.4
com.apple.AGDCPluginDisplayMetrics 3.28.4
com.apple.driver.AppleHV 1
com.apple.iokit.IOUserEthernet 1.0.1
com.apple.iokit.IOBluetoothSerialManager 6.0.10f1
com.apple.driver.pmtelemetry 1
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AppleFIVRDriver 4.1.0
com.apple.driver.AppleIntelSlowAdaptiveClocking 4.0.0
com.apple.driver.AppleOSXWatchdog 1
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
com.apple.filesystems.apfs 945.241.4
com.apple.driver.AppleFileSystemDriver 3.0.1
com.apple.driver.AppleVirtIO 2.1.3
com.apple.filesystems.hfs.kext 407.200.4
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.BootCache 40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0
com.apple.AppleSystemPolicy 1.0
com.apple.driver.AppleAHCIPort 329.200.2
com.apple.private.KextAudit 1.0
com.apple.driver.AppleACPIButtons 6.1
com.apple.driver.AppleRTC 2.0
com.apple.driver.AppleHPET 1.8
com.apple.driver.AppleSMBIOS 2.1
com.apple.driver.AppleAPIC 1.7
com.apple.nke.applicationfirewall 190
com.apple.security.TMSafetyNet 8
com.apple.kext.AMDRadeonX4030HWLibs 1.0
com.apple.kext.AMDRadeonX4000HWServices 2.0.4
com.apple.driver.AppleSMBusPCI 1.0.14d1
com.apple.kext.AMDSupport 2.0.4
com.apple.iokit.IONDRVSupport 530
com.apple.iokit.IOAcceleratorFamily2 404.2.2
com.apple.kext.triggers 1.0
com.apple.driver.AppleGraphicsControl 3.28.4
com.apple.driver.AppleSSE 1.0
com.apple.iokit.IOSurface 255.1
com.apple.iokit.IOBluetoothFamily 6.0.10f1
com.apple.driver.AppleHDAController 282.10
com.apple.iokit.IOHDAFamily 282.10
com.apple.iokit.IOAudioFamily 206.5
com.apple.vecLib.kext 1.2.0
com.apple.AppleGPUWrangler 3.28.4
com.apple.AppleGraphicsDeviceControl 3.28.4
com.apple.iokit.IOGraphicsFamily 530.14
com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.driver.IOPlatformPluginFamily 6.0.0d8
com.apple.driver.AppleXsanScheme 3
com.apple.iokit.IOSerialFamily 11
com.apple.filesystems.hfs.encodings.kext 1
com.apple.driver.usb.AppleUSBHostPacketFilter 1.0
com.apple.iokit.IOUSBFamily 900.4.2
com.apple.iokit.IOAHCIBlockStorage 301.200.2
com.apple.driver.AppleIntelLpssGspi 3.0.60
com.apple.iokit.IOAHCIFamily 288
com.apple.driver.usb.AppleUSBXHCIPCI 1.2
com.apple.driver.usb.AppleUSBXHCI 1.2
com.apple.driver.AppleEFINVRAM 2.1
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.driver.AppleEFIRuntime 2.1
com.apple.security.quarantine 3
com.apple.security.sandbox 300.0
com.apple.kext.AppleMatch 1.0.0d1
com.apple.driver.DiskImages 493.0.0
com.apple.driver.AppleFDEKeyStore 28.30
com.apple.driver.AppleEffaceableStorage 1.0
com.apple.driver.AppleKeyStore 2
com.apple.driver.AppleUSBTDM 456.230.1
com.apple.driver.AppleMobileFileIntegrity 1.0.5
com.apple.kext.CoreTrust 1
com.apple.iokit.IOUSBMassStorageDriver 145.200.2
com.apple.iokit.IOSCSIBlockCommandsDevice 408.200.1
com.apple.iokit.IOSCSIArchitectureModelFamily 408.200.1
com.apple.iokit.IOStorageFamily 2.1
com.apple.driver.AppleCredentialManager 1.0
com.apple.driver.KernelRelayHost 1
com.apple.iokit.IOUSBHostFamily 1.2
com.apple.driver.usb.AppleUSBCommon 1.0
com.apple.driver.AppleBusPowerController 1.0
com.apple.driver.AppleSEPManager 1.0.1
com.apple.driver.IOSlaveProcessor 1
com.apple.iokit.IOReportFamily 47
com.apple.iokit.IOTimeSyncFamily 700.7
com.apple.iokit.IONetworkingFamily 3.4
com.apple.driver.AppleACPIPlatform 6.1
com.apple.driver.AppleSMC 3.1.9
com.apple.iokit.IOPCIFamily 2.9
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.pthread 1
com.apple.kec.Libm 1
com.apple.kec.corecrypto 1.0
 

Attachments

Edhawk

Well-known member
Joined
Apr 10, 2018
macOS
10.13.6
Mobo
GA-Z97X-UD5H-BK
CPU
i7-4790K
GPU
Geforce GTX 980TI
#2
The AMD kexts for your card are loaded according to your panic report above. Does the system boot OK with just the Intel GPU?

What is the Device ID for your XFX graphics card? Is it an R9 280 or an R9 280X?

Have you tried booting without WhateverGreen.kext being loaded and used Clover to inject the dGPU framebuffer (Hamachi), number of ports etc?

See this AMD Compatibility guide over at Tonymacx86 for more information - https://www.tonymacx86.com/threads/radeon-compatibility-guide-ati-amd-graphics-cards.171291/

The guide is a bit old now, but still relevant.

Your config.plist is a fairly empty, not a lot set or customised for your system. Where did you get it from. Have you looked around for someone else with your CPU and motherboard, they may have a working config that is better suited to your system.
 

Edhawk

Well-known member
Joined
Apr 10, 2018
macOS
10.13.6
Mobo
GA-Z97X-UD5H-BK
CPU
i7-4790K
GPU
Geforce GTX 980TI
#4
The Black Screen/KP issue is not uncommon with HD7XXX and R9 XFX cards. The compatibility guide I linked above has a specific section mentioning this issue:

Note on XFX cards:
Many people are reporting problems with XFX cards, especially HD 7xxx / R9 generation. They're using a custom BIOS which can cause a crash upon booting, which can't be fixed in OS X.
A common solution is either flashing a alternate VBIOS on your card (only do if you can recover form a bad flash!) or using Clover to load a compatible VBIOS dynamically (without flashing).


I see you have a VBIOS in the /EFI/CLOVER/ROM folder:
  • Which card is this VBIOS from?
  • Does the other card match your Tahiti card for GPU, Boost and memory clock speeds?
  • Does it match on the output ports, i.e. 2 x DVI, 1 x HDMI & 2 x mDP?
You could try the RadeonDeInit option on the graphics tab in Clover Configurator to see if that makes any difference. I know it is primarily for the newer generation cards but older XFX cards tend to be problematic in macOS. There was a long standing warning for XFX cards in regards to macOS, which was do not use them. I know this as I have two XFX Radeon HD7870 Pitcairn cards.

Obviously this has changed for the newer cards, where the XFX cards are one of the cards Apple have chosen to use.

The best I could do with my HD7870 cards was have the Intel GPU set as primary in the Bios, but have my monitor connected to my FXF card and it would boot OK, but I never got to see the Clover boot screen or Apple loading screens. The first screen I saw was the macOS login screen.

This is ok if you only have the one OS installed but if you want to run a dual boot system this means you can't, not without having to unplug and replug the monitor cable from the Intel GPU port to the XFX GPU port on back of your system.
 
Joined
Feb 10, 2019
macOS
10.14.2
Mobo
Asrock Z170A-X1
CPU
Intel Core i7 6700k
GPU
XFX R9 280
#5
I already have a screen plugged into my iGPU. If I set it as primary GPU, it kernel panics. Do I need to InjectIntel too?
 

Edhawk

Well-known member
Joined
Apr 10, 2018
macOS
10.13.6
Mobo
GA-Z97X-UD5H-BK
CPU
i7-4790K
GPU
Geforce GTX 980TI
#6
Yes, You should have Inject Intel selected.

I will have a look at your Clover folder tomorrow and let you know if any changes are required.
 

Edhawk

Well-known member
Joined
Apr 10, 2018
macOS
10.13.6
Mobo
GA-Z97X-UD5H-BK
CPU
i7-4790K
GPU
Geforce GTX 980TI
#8
I have amended your CLOVER folder, making a number of changes to the folder contents and config.plist:
  • Removed the numbered OS X folders from kexts folder.
  • Replaced the kexts in your kexts/Other folder.
  • Changed your config.plist as follows:
    • Added a number of common DSDT rename patches.
    • Added a number of DSDT Fixes.
    • Added a couple of ACPI fixes.
    • Added Plugin Type=1
    • Added two boot arguments - darkwake=10 and kext-dev-mode=1
    • Changed the timeout figure to 5 seconds
    • Added the NeverHibinate option
    • Added Fake Id for Intel GFX 0x19128086
    • Added two HDA audio options and changed injected layout ID to '7'
    • Added Inject Intel and ig-platform-id 0x19120000 for your CPU/IGPU
    • Changed SIP to 0x67 (disabled)
    • Checked your Smbios Serial Number with Apple Support and EveryMac.
In the first instance I would recommend you remove the AMD R9 280 GPU and the ATI config.plist settings for this card. Just boot with your Intel IGPU. Get the system up and running with Mojave and then once things are running OK you can install the R9 280 to see what difference it makes to your system boot.

To use the attached CLOVER folder, simply rename if CLOVER and drag and drop it in to your EFI folder. You will be asked if you want to merge or replace the existing CLOVER folder, choose REPLACE.
 

Attachments

Joined
Feb 10, 2019
macOS
10.14.2
Mobo
Asrock Z170A-X1
CPU
Intel Core i7 6700k
GPU
XFX R9 280
#9
When my GPU is out, it works. When it's on, screens turn off after booting
 

Edhawk

Well-known member
Joined
Apr 10, 2018
macOS
10.13.6
Mobo
GA-Z97X-UD5H-BK
CPU
i7-4790K
GPU
Geforce GTX 980TI
#10
OK, it sounds like the Black Screen issue that is common with Radeon GPU's from the HD7800 and 7900 range, your R9 280 card is a rebadged HD 7950 and a XFX branded card, so this issue is more likely.

I have had a read around and found this thread over at Tonymacx86 - https://www.tonymacx86.com/threads/r9-280x-black-screen-in-high-sierra.232715/

Carpentryplus25's post, No. 9, is the one you need to read as he offers a solution to the Black Screen issue for a HD 7950/R9 280 card.

Following on from my read of the information provided by carpentryplus25 I have changed the config.plist I prepared for you previously. v2 of the config has been set to reflect the clover settings/patch carpentryplus25 has created for this card. The patch and settings should work for Sierra. High Sierra and Mojave.

I would suggest you do the following:
  1. Add the config_v2.plist to your /EFI/CLOVER folder as is, along side your current config.plist.
  2. Remove the ROM file you have in the /EFI/CLOVER/ROM folder, save it somewhere such as your desktop.
  3. Shut down your Hack and install the R9 280 card, and connect your monitor to the card, if it is not already installed.
  4. Boot in to your Bios and set the PCI-E slot as the first GPU.
  5. Reboot your system and when you get to the Clover boot screen, select 'Options' from the icons on the second row. This will show a list of headings, select 'Config' and select the 'config_v2.plist. Select return, tab down to the bottom of the list hit return and boot your normal Mojave drive.
Hopefully your Hack will boot with the R9 280 GFX card and not to a black screen.

If it does, mount your EFI partition and change the config_v2.plist to config.plist so it is automatically selected by Clover.

Let me know how you get on with the revised config.plist.
 

Attachments

Edhawk

Well-known member
Joined
Apr 10, 2018
macOS
10.13.6
Mobo
GA-Z97X-UD5H-BK
CPU
i7-4790K
GPU
Geforce GTX 980TI
#12
OK that is your perogative, but upgrading to a RX 570 or RX 580 might be less painful. Specifically one of the new AMD cards that Apple has provided drivers for so they work Out of the Box:
  • AMD Radeon RX 570, RX 580, and Radeon Pro WX 7100
    • Recommended graphics cards include the Sapphire Pulse series and the AMD WX series
  • AMD Sapphire Vega 56
  • AMD XFX Vega 56
  • AMD Sapphire Vega 64
  • AMD XFX Vega 64
  • AMD Frontier Edition air-cooled AMD Radeon Pro WX 9100
Weird that the XFX cards in the list above are Ok but the earlier XFX cards are problematic.

I would personally look at either the Sapphire Pulse or Sapphire Nitro+ RX 570 or RX580 cards. They will come with 4GB or 8GB memory options. The 4GB cards being less expensive, but not dramatically less.

Be aware that not all AMD RX cards are equal, some members on this and other Hackintosh sites have found that they have an AMD RX 570/580 card from MSI, Gigabyte or Asus but the card doesn't work out of the box and they have the same Black Screen issues you are incurring with your older R9 280 GPU.