When waking up from sleep, my iMac on MacOS Catalina (*) crashed after 60 seconds with a kernel panic, as shown below. Searching around, I found that this is unfortunately quite common and reasons vary.
Finally, I figured out what caused *my* crashes: the USB devices attached to my Thunderbold 2 display, attached to the iMac’s Thunderbold 3 port using a converter. Re-attaching all devices to a classic USB hub solved the issue for me. Morality: the “old” Apple Retina Thunderbold 2 screen can be used on modern iMacs, but it’s not a good idea to use them as USB hub.
panic(cpu 0 caller 0xffffff80038288b7): "IOSCSIPeripheralDeviceType00::setPowerState(0xffffff810bc54140 : 0xffffff7f83af218a, 0 -> 4) timed out after 100823 ms"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-6153.81.5/iokit/Kernel/IOServicePM.cpp:5302 Backtrace (CPU 0), Frame : Return Address : BSD process name corresponding to current thread: kernel_task Mac OS version: 19D76 Kernel version: Darwin Kernel Version 19.3.0: Thu Jan 9 20:58:23 PST 2020; root:xnu-6153.81.5~1/RELEASE_X86_64 Kernel UUID: A8DDE75C-CD97-3C37-B35D-1070CC50D2CE Kernel slide: 0x0000000002e00000 Kernel text base: 0xffffff8003000000 __HIB text base: 0xffffff8002f00000 System model name: iMac (Mac-XXX) System shutdown begun: NO Panic diags file available: YES (0x0) System uptime in nanoseconds: 951998177346 last loaded kext at 851644864529: >usb.cdc 5.0.0 (addr 0xffffff7f89655000, size 28672) last unloaded kext at 557281301437: |SCSITaskUserClient 422.0.2 (addr 0xffffff7f85a76000, size 28672) loaded kexts: :
(* I know, I know, but I had no choice)