daliansky / XiaoMi-Pro-Hackintosh

XiaoMi NoteBook Pro Hackintosh
BSD Zero Clause License
2.62k stars 473 forks source link

Kernel panic after user login #606

Closed zjkyz8 closed 3 years ago

zjkyz8 commented 3 years ago

Guys, I use OC and update MAC OS recently. From then on, every time I login system MAC kernel panic. Mac safe mode is ok. Below is the snapshot of panic report aac7cf57ffa4d51ddf37972cee8b355f

I dont not whether this is a EFI related issue,it is seems caused by skyguard kext. Does anyone has idea about this?

stevezhengshiqi commented 3 years ago

@zjkyz8 From the log you provided, the skyguard application causes the KP. I suggest to uninstall that app or upgrade it through official website.

zjkyz8 commented 3 years ago

That app has been uninstalled long ago, i highly suspect that uninstallation is not so clean. Is there any way I can find and clean that kext?

stevezhengshiqi commented 3 years ago

You can go to /Library/Extensions and remove it or use UninstallPKG. And then you need to rebuild kextcache through Hackintool or sudo kextcache -i /. Big Sur has many security protocols, and maybe you need to disable SIP to do these steps.

zjkyz8 commented 3 years ago

Thank you very much, I found them, All I need to do is delete those folders and run "sudo kextcache -i"? Is there any other thing i need to do?

stevezhengshiqi commented 3 years ago

You need to delete kexts that related to skyguard in /Library/Extensions, don't delete the whole folder. And the command should be sudo kextcache -i /.

stevezhengshiqi commented 3 years ago

Close as it's a user space problem.

zjkyz8 commented 3 years ago

That works for me, thank you