Kernal Panic when sleeping - Ventura

Hi, my iMac 2017 4K, running off external NVME USBC 3.1 gen2, is throwing a Kernel panic after a few hours of being asleep. I have enabled TRIM, disabled turn off hard disks when sleeping but it's still happening regularly.


Any ideas what's causing it?


panic(cpu 1 caller 0xffffff801e323a4e):  initproc exited -- exit reason namespace 2 subcode 0xa description: none




Thread 4 crashed




RAX: 0x000060000251f390, RBX: 0x0000000000000000, RCX: 0x000000000000002f, RDX: 0x0000000002646c80


RSP: 0x000070000c9e2d20, RBP: 0x000070000c9e2d20, RSI: 0x0000000000000045, RDI: 0x000060000299aa80


R8:  0x000000000b86c4f8, R9:  0x00006000013f4040, R10: 0x00000000000b7918, R11: 0x0060000000000000


R12: 0x0000600003d7a700, R13: 0x0000600003d7a758, R14: 0x000070000c9e2e30, R15: 0x0000600003d7a794


RFL: 0x0000000000010246, RIP: 0x00007ff80987a96a, CS:  0x000000000000002b, SS:  0x0000000000000023




Thread 0: 0xffffff90400100c8


0x00007ff8099cf24a


0x00007ff809878d0b




Thread 1: 0xffffff903e68e598


0x00007ff8099d4da2


0x00007ff809869b65


0x00007ff80987b7af


0x00007ff80986d088


0x00007ff80986dd39


0x00007ff8098783fc


0x00007ff809a04c55


0x00007ff809a03bbf




Thread 2: 0xffffff903dccd0c8


0x00007ff8099cac3e


0x00007ff809a03bbf




Thread 3: 0xffffff903d4cc0c8


0x00007ff8099cc57e


0x00007ff8098c088f


0x00007ff8098c07e2


0x000000010aa8c779


0x00007ff809867033


0x00007ff809869b65


0x00007ff80987b7af


0x00007ff80986d088


0x00007ff80986dd39


0x00007ff8098783fc


0x00007ff809a04c55


0x00007ff809a03bbf




Thread 4: 0xffffff903cf57598


0x00007ff80987a96a


0x000000010aa90bbb


0x000000010aa94d51


0x000000010aa94e7d


0x000000010aa91733


0x00007ff8097694e6


0x000000010aa91d08


0x000000010aa91b7c


0x00007ff8098670cd


0x00007ff8098811a7


0x00007ff80986d088


0x00007ff809881cd4


0x00007ff80986d088


0x00007ff80986dd39


0x00007ff8098783fc


0x00007ff809a04c55


0x00007ff809a03bbf




Thread 5: 0xffffff903ed40b30


0x00007ff8099c94ce


0x00007ff8098679f5


0x000000010aa50248


0x00007ff809a081d3


0x00007ff809a03bd3






Mac OS version:


22G630




Kernel version:


Darwin Kernel Version 22.6.0: Mon Feb 19 19:48:53 PST 2024; root:xnu-8796.141.3.704.6~1/RELEASE_X86_64


Kernel UUID: 8FA1B0A8-5DC1-3601-9D60-FC75DBA31F21


roots installed: 0


System model name: iMac18,2 (Mac-77F17D7DA9285301)


System shutdown begun: NO


Panic diags file available: NO (0xe00002bc)

iMac, OS X 10.11

Posted on Apr 19, 2024 11:56 PM

Reply

Similar questions

10 replies

Apr 23, 2024 9:24 AM in response to Jim_Jiminy

I agree with @Barney-15E that the UGreen enclosure is the most likely culprit. I was assisting another user recently where we suspect the UGreen enclosure was the source of the problem. Over the years I have discovered that Macs are very particular about the devices used for external storage and even more particular for boot drives. I have also found the quality of many external docks & enclosures to be less than stellar. I've never personally used any UGreen products. I tend to stay with brands that have a long history of quality & compatibility such as Plugable, StarTech, and OWC. I always try to get USB devices which utilize the ASMedia USB chipset and support UASP since they tend to be found in the better quality products.


The "initproc" is a very early stage of the boot process and usually indicates some sort of hardware issue.


Plus waking from sleep can be tricky for external devices and SSDs. Make sure you have unchecked "Put hard disk to sleep when possible" in the System Settings since some SSDs have trouble waking up from system sleep. SSDs will put themselves into a low power mode if needed without the need for the OS to tell the SSD.


It is also possible the problem is with your SSD or even a compatibility issue between SSD, UGreen, and the Mac.


Or maybe you have a memory problem since you have two different types of Kernel Panics with one mentioning a Page Fault which many times indicates a memory issue.


You may want to try running the Apple Diagnostics to see if any hardware issues are detected. Unfortunately the diagnostics rarely detect issues, but it never hurts to try.


You can try to run a longer more thorough memory test by creating & using a bootable MemtTest86 USB stick. Just use the default settings since I have found modifying the Memtest86 CPU settings for 2017+ Macs may cause problems with the test. Unfortunately a passing result means nothing since the only useful diagnostic is one which reports an issue.


Apr 20, 2024 8:24 AM in response to Jim_Jiminy

It doesn't look like a kernel extension problem, so something hardware is most likely.

The UVCService was the last loaded kext, so it could be related to USB Video Class driver.


I found some info about a conflict with Chrome, but that was resolved in 2017.


The panic log indicates a fault in cr2. I don't know if that is related.


If you can run it without using the external drive, that could isolate the problem to the Mac or to the interaction with the SSD.

Apr 20, 2024 8:59 AM in response to Barney-15E

Hi, thanks for having a look. The internal skinny HDD is now my Time Machine as it was so slow... hence me using the external solution - massive speed boost. Yes it must be the external enclosure / driver as it never did this when running off internal. It doesn't do it every time, maybe about 10 times in last 2 months when in sleep, and ONLY in sleep...which is weird....Maybe I should try a different make? This is a UGREEN one off amazon, and the actual NVME drive is a Kingston a2000.

Apr 20, 2024 2:27 PM in response to Barney-15E

Hi, UGREEN is the make, nothing to do with being "green"! They make loads of things from phone chargers, cables to enclosures etc etc


Yeah, it's definitely when its been asleep its happening - I'll come back to the iMac after a few hours of it being asleep and that black screen will be there with the white icon and have to hold down power button to force restart.

Kernal Panic when sleeping - Ventura

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.