Jump to content
jdorz

Random kernel panic on shutdown/reboot and nvram problem

217 posts in this topic

Recommended Posts

Hello all,

I have successfully gotten my Hackintosh working 99 percent. The remaining issue that I am running into is that my system will randomly kernel panic upon a user issued shutdown or reboot WHEN I have either a usb sound card or usb headset plugged into any of my USB ports (both 2.0 and 3.0). If I remove the headset, it will power down with no issues. Does anyone have any suggestions?

My system is as follows:
MacOS 10.14 Mojave
Gigabyte H370 HD3
8400 i5 Coffee Lake
Radeon RX 580 sound card

Fixed

 

Solution

 

Use this folder for serie 100/200/300

https://olarila.com/forum/viewtopic.php?f=28&t=8222

 

reboot and extract one send_me for full dsdt patch by MaLd0n

--Run_Me
RunMe.app

 

 

 

Share this post


Link to post
Share on other sites
Advertisement

Hello,

 

I did apply a custom SSDT to the patches folder that I created. I can confirm that the unused USB interfaces are no longer showing in ioreg and that only my valid USB2 and USB3 interfaces are being injected. I did remove FakePCIID_XHCIMux.kext as well. But I am still receiving panics. This image below is the latest that I received upon shutdown.

 

 

IMG_1090.jpg

Share this post


Link to post
Share on other sites

Dude, you are a lifesaver! This works perfectly. Sleep, wake, and shutdown are working great now. I had been battling this for over a week. This is awesome. If it's alright with you, I threw a little paypal your way just out of sheer gratitude.

 

Thanks again!

Share this post


Link to post
Share on other sites
10 hours ago, jdorz said:

Dude, you are a lifesaver! This works perfectly. Sleep, wake, and shutdown are working great now. I had been battling this for over a week. This is awesome. If it's alright with you, I threw a little paypal your way just out of sheer gratitude.

 

Thanks again!

Enjoy!

Share this post


Link to post
Share on other sites

Hello @MaLd0n

 

I think I have a smiliar issue. I managed to install Mojave on my system. But on Shutdown or Reboot, I get also a kernel panic.

My system:
i3 8100
Gigabyte Z390 M Gaming
Sapphire RX 580 Nitro+
Samsung Evo 970

Clover 4700

 

I attached the entire EFI. I hope you can help me..

Thanks in Advance 

Foto 24.10.18, 00 17 01.jpg

EFI.zip

Share this post


Link to post
Share on other sites
5 hours ago, Kazuya91 said:

Hello @MaLd0n

 

I think I have a smiliar issue. I managed to install Mojave on my system. But on Shutdown or Reboot, I get also a kernel panic.

My system:
i3 8100
Gigabyte Z390 M Gaming
Sapphire RX 580 Nitro+
Samsung Evo 970

Clover 4700

 

I attached the entire EFI. I hope you can help me..

Thanks in Advance 

Foto 24.10.18, 00 17 01.jpg

EFI.zip

send me files

run my app, i'll check and create patches for z390

RunMe.app

Instructions

https://www.youtube.com/watch?v=k9wmIfGLe3A

Share this post


Link to post
Share on other sites
16 minutes ago, Kazuya91 said:

here, replace full clover folder

CLOVER.zip

install last clover version

https://sourceforge.net/projects/cloverefiboot/files/Installer/Clover_v2.4k_r4722.zip/download

reboot

extract new send_me

 

btw, thx for files, is a very similar chipset

Share this post


Link to post
Share on other sites
43 minutes ago, Kazuya91 said:

@MaLd0n

My Kernel Panics are gone! Thank you very much.

But now I don't have sound anymore. With my old configuration I had sound with ALC892.


Thank you for your effort.

Send me Kazuya91s-iMac.fritz.box.zip

check if work now

DSDT.aml.zip

 

and run it

https://olarila.com/files/Utils/RepairPermissions.zip

Share this post


Link to post
Share on other sites
1 hour ago, Pene said:

Hi MaLd0n,

 

What were the Z390 specific DSDT patches that solved the shutdown issue on Z390?

 

Thanks

try a clover shutdown fix and EmuVariableUefi-64.efi OsxAptioFixDrv-64.efi instead aptiomemoryfix

Share this post


Link to post
Share on other sites
9 hours ago, MaLd0n said:

try a clover shutdown fix and EmuVariableUefi-64.efi OsxAptioFixDrv-64.efi instead aptiomemoryfix

 

Thank you. Indeed, it seems to be an AptioMemoryFix issue.

 

Edited by Pene

Share this post


Link to post
Share on other sites

@MaLd0n I was having problems with an High Sierra installation on my Asus Z390-P.

At the end of the installation, when it came the point of restarting, it freezed. With your CLOVER.zip for Z390, I was able to install successfully! Thank you so much.

 

The problem now is, after installing, when I try to boot the partition to where I just installed to, I get a kernel panic.

I've tried with both the original DSDT.aml file included in the CLOVER.zip and the one you posted afterwards.

 

Any ideas on how to solve this?

Maybe I should add that I'm using an i7-9700k here.

IMG_20181026_162215.jpg

Edited by miguelcobain

Share this post


Link to post
Share on other sites
33 minutes ago, miguelcobain said:

@MaLd0n I was having problems with an High Sierra installation on my Asus Z390-P.

At the end of the installation, when it came the point of restarting, it freezed. With your CLOVER.zip for Z390, I was able to install successfully! Thank you so much.

 

The problem now is, after installing, when I try to boot the partition to where I just installed to, I get a kernel panic.

I've tried with both the original DSDT.aml file included in the CLOVER.zip and the one you posted afterwards.

 

Any ideas on how to solve this?

Maybe I should add that I'm using an i7-9700k here.

 

use it

CLOVER.zip

and extract files, post here

RunMe.app

Share this post


Link to post
Share on other sites

@MaLd0n thank you for your response.

 

After using your CLOVER.zip I still got a kernel panic, but this time a slightly different one (see attached picture).

Notice that there's no "Please go to https://panic.apple.com to report this panic" in the end.

 

So I couldn't boot to run your "RunMe.app".

 

Also an interesting thing is that on this panic, the fans are spinning like crazy.

 

EDIT: seems like with this CLOVER.zip I'm but with the reboot problems which I wasn't before with the one you posted initially for z390!

 

IMG_20181026_170629.jpg

Edited by miguelcobain

Share this post


Link to post
Share on other sites
1 hour ago, miguelcobain said:

@MaLd0n somehow I was able to boot into my old High Sierra installation I had and was able to run RunMe.app.

This installation was the one I had before my Mobo and CPU upgrade.

 

Hope this helps!

Send me Miguels-iMac-2.lan.zip

extract original dsdt witj F4 key in clover boot screen

don't use dsdt from other mobo, diff model

52 minutes ago, Kazuya91 said:

@MaLd0n
sorry for the late response. I was working much lately. My Sound works now! Thank you very much.

k

enjoy

Share this post


Link to post
Share on other sites

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

    No registered users viewing this page.

  • Similar Content

    • By chummdoggin
      A setup with an IVY bridge e5430 dell worked fine. but now seems the XHC device
      is a hardware issue. There is no bios setting to enable disable. Only enable/disable boot/external.USB in general.
      All set to enable. Also just mention of USB in power settings wake on USB.
       
      Did show up when I set up the ports w/USBINJECTALL, then was working on imessage isssue when the DSDT
      stopped loading after updating clover. I had two versions of MAcIasl. One with iasl 6. and one had 6.2a. Kept
      the 6.2a, was RM's most recent. One problem Im confused by is it compiles fine but after saved if its opened,
      the error that was repaired comes back.
       
      This part:
       
                      If (LEqual (PM6H, One))
                      {
                          CreateBitField (BUF0, \_SB.PCI0._Y0C._RW, ECRW)  // _RW_: Read-Write Status
                          Store (Zero, ECRW (If (PM0H)
                                  {
                                      CreateDWordField (BUF0, \_SB.PCI0._Y0D._LEN, F0LN)  // _LEN: Length
                                      Store (Zero, F0LN)
                                  }))
                      }
       
      Loads with the error but not sure what happened on the original that worked.
       
      Any Idea?
       
      Going over the boot log, The XHC device is there under the PCI readings dont think hardware issue... 1e31 Just seems the saved DSDT should not
      have errors after saved, but using the other version of Maciasl, the DSDT would save without errors and open without but it would not load.
      acted like there was no FakeSMC... 
       
      Edit: Seems all the saved DSDT have that error when re-opened using that version  RM's Maciasl w/iasl v.6.2a but seems to load fine.

       
      debug_8785.zip
    • By susteve
      Hello, I am new here, so I apologize if I've chosen the wrong subforum for this question. 
       
      I am scratching my head a bit on an issue with a clients MacBook pro.  He was having USB connection issues and claimed the laptop wasn't detecting any USB connected to it. 
       
      Figuring it was a failed USB port, I took it in but ended up just feeling more confused after doing some diagnostics. 
       
      It came in loaded with Catalina, a recent upgrade spurned the beginning of the issues the client told me. 
       
      I decided to revert it back to the default OS in the base recovery image, which is Yosemite. 
       
      Upon finishing the install, I found that the USB port was in fact working again. Figuring I had resolved the issue, I updated it back to Catalina just to be met with the same issue upon reinstalling. 
       
      SMH 
       
      Tried nvram, pram, and smc reset each to no avail.  
       
      One thing to note is that during boot, the USB is getting power as it lights up when connected during boot up. 
       
      But the ports are dead as soon as it boots into the operating system. 
       
      I have a strong feeling that this is a driver issue. I tried unloading and reloading the USB IO kext, with no noticable change. 
       
      Is anyone here familiar with this issue? Would there be any other kext related troubleshooting i can perform ? Is it possible to revert to the kext used in Yosemite on catalina ?
       
      One last thing to note, on Yosemite the USB was functioning 100%. But I did get a strange notification that the USB ports were using power even when there wasn't any connected to it. Either way, I find it very very odd that it works perfectly in Yosemite. 
       
      Thanks in advance
       
      Steve 
    • By guira
      Hey all, im new in Hackintosh world, I managed to install macOS Mojave in ASUS laptop x555LA, WIFI,HDMI,INTEL graphics, touchpad, laptop keyboard, ethernet, sound( barely, have to change it every time i run the laptop) is WORKING (after to much hours :D), also clover starts well without USB connected.
      Now my problem is that in clover, USB mouse and USB keyboard works perfectly but when MacOS load, don't know why, they stop working(just touchpad and lap keyboard working), I tried all to repair this but I can't, anyone can help me? also brightness not working but not a problem, just want USB keyboard and USB mouse working.
      AH and sorry for my English, im trying my best :D.
      btw, USB mouse and keyboard worked  when installing Mojave, but never worked in desktop or in login.
      Thanks so much , if u need more info I will be here!
    • By kelvin henrique
      Faz pouco menos de uma semana que estou tentando dar boot usando um pendrive no lenovo g40-80, mas todas as vezes que tento algum kernel panic diferente acontece, não entendo tanto de hackintosh mas pelo que li tanto aqui no forum quanto em outros sites me fizeram constatar que talvez o erro seja falta de kexts, alguem possui os kexts para esse notebook ??
       
      primeiro erro que tive era porque estava usando um pendrive de 8gb, o recomendado é 16 no minimo pelo oque vi, fui la, comprei um de 32, mudou o kernel panic mas era só um dos erros resolvidos.
       
      especificações dele:
      Processador: Intel Core i3-5005U
      Grafico: Intel HD Graphics 5500
      originalmente ele vinha com um hd de 500gb e 4gb de ram, mudei pra um ssd de 128gb e 8 gb de ram
       
      ja percebi que unico problema desse notebook é que a placa de wifi não vai funcionar, mas quanto a isso não tem problema pois se conseguir mesmo instalar o mac eu comprou outra
    • By snifferdog
      My Catalina build is running fine except for occasional kernel panics (maybe once or twice a day).  Mobo is Gigabyte Z390P D3, CPU is Core i5-8400, integrated graphics.  My config.plist is attached.
       
      Here is the report which is available when the system reboots.  One thought that occurs to me is to disable 'Put hard disks to sleep when possible' in System Preferences.  I am trying that now.  Thanks for any help.
       
      panic(cpu 1 caller 0xffffff8001e290b7): "AppleAHCIDiskQueueManager::setPowerState(0xffffff8026691d80 : 0xffffff7f8332a96c, 2 -> 3) timed out after 101265 ms"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-6153.11.26/iokit/Kernel/IOServicePM.cpp:5302
      Backtrace (CPU 1), Frame : Return Address
      0xffffff920864bb40 : 0xffffff800173f98b mach_kernel : _handle_debugger_trap + 0x47b
      0xffffff920864bb90 : 0xffffff8001876c15 mach_kernel : _kdp_i386_trap + 0x155
      0xffffff920864bbd0 : 0xffffff800186861e mach_kernel : _kernel_trap + 0x4ee
      0xffffff920864bc20 : 0xffffff80016e6a40 mach_kernel : _return_from_trap + 0xe0
      0xffffff920864bc40 : 0xffffff800173f077 mach_kernel : _DebuggerTrapWithState + 0x17
      0xffffff920864bd40 : 0xffffff800173f45b mach_kernel : _panic_trap_to_debugger + 0x21b
      0xffffff920864bd90 : 0xffffff8001ed2d89 mach_kernel : _panic + 0x61
      0xffffff920864be00 : 0xffffff8001e290b7 mach_kernel : __ZN9IOService12ackTimerTickEv + 0x417
      0xffffff920864be50 : 0xffffff8001e28c79 mach_kernel : __ZN9IOService21actionAckTimerExpiredEP8OSObjectPvS2_S2_S2_ + 0x9
      0xffffff920864be60 : 0xffffff8001e4002e mach_kernel : __ZN10IOWorkLoop9runActionEPFiP8OSObjectPvS2_S2_S2_ES1_S2_S2_S2_S2_ + 0x3e
      0xffffff920864bea0 : 0xffffff8001e27a28 mach_kernel : __ZN9IOService17ack_timer_expiredEPvS0_ + 0x38
      0xffffff920864bec0 : 0xffffff80017811d5 mach_kernel : _thread_call_delayed_timer + 0xea5
      0xffffff920864bf40 : 0xffffff8001780d01 mach_kernel : _thread_call_delayed_timer + 0x9d1
      0xffffff920864bfa0 : 0xffffff80016e613e mach_kernel : _call_continuation + 0x2e
      BSD process name corresponding to current thread: kernel_task
      Boot args: -v darkwake=0 dart=0 debug=0x100 keepsyms=1 kext-dev-mode=1 -disablegfxfirmware -no_compat_check 
      Mac OS version:
      19A583
      Kernel version:
      Darwin Kernel Version 19.0.0: Wed Sep 25 20:18:50 PDT 2019; root:xnu-6153.11.26~2/RELEASE_X86_64
      Kernel UUID: 70EDD61F-86EE-3E1B-873F-98D909B78160
      Kernel slide:     0x0000000001400000
      Kernel text base: 0xffffff8001600000
      __HIB  text base: 0xffffff8001500000
      System model name: iMac18,1 (Mac-4B682C642B45593E)
      System shutdown begun: NO
      Panic diags file available: YES (0x0)
      System uptime in nanoseconds: 5030664182757
      last loaded kext at 64641308877: @filesystems.smbfs    3.4 (addr 0xffffff7f8322c000, size 450560)
      last unloaded kext at 223165165211: org.vulgo.NoVPAJpeg    1.2.8 (addr 0xffffff7f846b4000, size 12288)
      loaded kexts:
      config.plist
×