個人 MacBook Air 在升級到 Catalina 以後,常常在休眠模式重啓,隨後在桌面上顯示「由於意外而從新啓動」的信息,如下是跟隨日誌:html
panic(cpu 2 caller 0xffffff80064279d7): "com_apple_driver_AppleUSBCardReaderInterfaceNub::setPowerState(0xffffff8031211a00 : 0xffffff7f87e3af86, 2 -> 0) timed out after 30728 ms"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-6153.41.3/iokit/Kernel/IOServicePM.cpp:5302 Backtrace (CPU 2), Frame : Return Address 0xffffff8106fdbb40 : 0xffffff8005d39a3b 0xffffff8106fdbb90 : 0xffffff8005e70fe5 0xffffff8106fdbbd0 : 0xffffff8005e62a5e 0xffffff8106fdbc20 : 0xffffff8005ce0a40 0xffffff8106fdbc40 : 0xffffff8005d39127 0xffffff8106fdbd40 : 0xffffff8005d3950b 0xffffff8106fdbd90 : 0xffffff80064d17f9 0xffffff8106fdbe00 : 0xffffff80064279d7 0xffffff8106fdbe50 : 0xffffff8006427599 0xffffff8106fdbe60 : 0xffffff800643e94e 0xffffff8106fdbea0 : 0xffffff8006426348 0xffffff8106fdbec0 : 0xffffff8005d7b625 0xffffff8106fdbf40 : 0xffffff8005d7b151 0xffffff8106fdbfa0 : 0xffffff8005ce013e BSD process name corresponding to current thread: kernel_task Mac OS version: 19B88 Kernel version: Darwin Kernel Version 19.0.0: Thu Oct 17 16:17:15 PDT 2019; root:xnu-6153.41.3~29/RELEASE_X86_64 Kernel UUID: 7503CD47-851F-321E-8747-50DB6299165F Kernel slide: 0x0000000005a00000 Kernel text base: 0xffffff8005c00000 __HIB text base: 0xffffff8005b00000 System model name: MacBookAir7,2 (Mac-937CB26E2E02BB01) System shutdown begun: NO Panic diags file available: YES (0x0) System uptime in nanoseconds: 29541206130211 last loaded kext at 29510234574231: >usb.cdc 5.0.0 (addr 0xffffff7f89031000, size 28672) last unloaded kext at 23781756274496: >!AXsanScheme 3 (addr 0xffffff7f89031000, size 32768) loaded kexts: @filesystems.smbfs 3.4 >AudioAUUC 1.70 >!AGraphicsDevicePolicy 4.5.9 @AGDCPluginDisplayMetrics 4.5.9 @fileutil 20.036.15 >!AHV 1 |IOUserEthernet 1.0.1 |IO!BSerialManager 7.0.1f1 >!AUpstreamUserClient 3.6.8 >AGPM 111.2.5 >!APlatformEnabler 2.7.0d0 >X86PlatformShim 1.0.0 >pmtelemetry 1 >!A!IBDWGraphics 14.0.2 @Dont_Steal_Mac_OS_X 7.0.0 >!AHDA 283.14 >!AThunderboltIP 3.1.3 >eficheck 1 >!ABacklight 180.1 >!ASMCLMU 212 >!ALPC 3.1 >AirPort.BrcmNIC 1400.1.1 >!ACameraInterface 7.6.0 >!A!IBDWGraphicsFramebuffer 14.0.2 >!A!ISlowAdaptiveClocking 4.0.0 >!AMCCSControl 1.13 @filesystems.autofs 3.0 >!UCardReader 489.41.1 >!ATopCaseHIDEventDriver 3410.1 >!AVirtIO 1.0 @filesystems.hfs.kext 522.0.9 @!AFSCompression.!AFSCompressionTypeDataless 1.0.0d1 @BootCache 40 @!AFSCompression.!AFSCompressionTypeZlib 1.0.0 @filesystems.apfs 1412.41.1 >!AAHCIPort 341.0.2 @private.KextAudit 1.0 >!ASmartBatteryManager 161.0.0 >!ARTC 2.0 >!AACPIButtons 6.1 >!AHPET 1.8 >!ASMBIOS 2.1 >!AACPIEC 6.1 >!AAPIC 1.7 $!AImage4 1 @nke.applicationfirewall 303 $TMSafetyNet 8 @!ASystemPolicy 2.0.0 |EndpointSecurity 1 >usb.cdc 5.0.0 >!UAudio 320.49 >!AGraphicsControl 4.5.9 |IOAVB!F 800.17 >!ASSE 1.0 >DspFuncLib 283.14 @kext.OSvKernDSPLib 529 @!AGPUWrangler 4.5.9 >!ABacklightExpert 1.1.0 |IONDRVSupport 568 >!AHDA!C 283.14 |IOHDA!F 283.14 |IOAudio!F 300.2 @vecLib.kext 1.2.0 |IO80211!F 1200.12.2b1 >mDNSOffloadUserClient 1.0.1b8 >corecapture 1.0.4 @!AGraphicsDeviceControl 4.5.9 |IOAccelerator!F2 438.2.7 >X86PlatformPlugin 1.0.0 >IOPlatformPlugin!F 6.0.0d8 |IOSlowAdaptiveClocking!F 1.0.0 >!ASMBus!C 1.0.18d1 |IOGraphics!F 568 @plugin.IOgPTPPlugin 810.1 |IOEthernetAVB!C 1.1.0 |IOSkywalk!F 1 @kext.triggers 1.0 |Broadcom!BHost!CUSBTransport 7.0.1f1 |IO!BHost!CUSBTransport 7.0.1f1 |IO!BHost!CTransport 7.0.1f1 >usb.ethernet.asix 5.0.0 >usb.!UHub 1.2 >usb.networking 5.0.0 >usb.!UHostCompositeDevice 1.2 >!AHS!BDriver 3410.1 >IO!BHIDDriver 7.0.1f1 |IO!B!F 7.0.1f1 |IO!BPacketLogger 7.0.1f1 >!AMultitouchDriver 3410.2 >!AInputDeviceSupport 3410.1 >!AHIDKeyboard 209 >!AHSSPIHIDDriver 58 |IOSerial!F 11 |IOSurface 269.6 @filesystems.hfs.encodings.kext 1 |IOAHCIBlock!S 316.40.3 |IOAHCI!F 290.0.1 >!AThunderboltDPInAdapter 6.2.3 >!AThunderboltDPAdapter!F 6.2.3 >!AThunderboltPCIDownAdapter 2.5.2 >!AThunderboltNHI 5.8.0 |IOThunderbolt!F 7.4.6 >!AHSSPISupport 58 >!A!ILpssSpi!C 3.0.60 >!A!ILpssDmac 3.0.60 >!A!ILpssGspi 3.0.60 >usb.!UXHCIPCI 1.2 >usb.!UXHCI 1.2 |IOUSB!F 900.4.2 >!AEFINVRAM 2.1 >!AEFIRuntime 2.1 |IOSMBus!F 1.1 |IOHID!F 2.0.0 $quarantine 4 $sandbox 300.0 @kext.!AMatch 1.0.0d1 >DiskImages 493.0.0 >!AFDEKeyStore 28.30 >!AEffaceable!S 1.0 >!AKeyStore 2 >!UTDM 489.41.1 |IOSCSIBlockCommandsDevice 422.0.2 >!ACredentialManager 1.0 >KernelRelayHost 1 >!ASEPManager 1.0.1 >IOSlaveProcessor 1 |IOTimeSync!F 810.1 |IONetworking!F 3.4 |IOUSBMass!SDriver 157.40.7 |IOSCSIArchitectureModel!F 422.0.2 |IO!S!F 2.1 |IOUSBHost!F 1.2 >!UHostMergeProperties 1.2 >usb.!UCommon 1.0 >!ABusPower!C 1.0 |CoreAnalytics!F 1 >!AMobileFileIntegrity 1.0.5 @kext.CoreTrust 1 |IOReport!F 47 >!AACPIPlatform 6.1 >!ASMC 3.1.9 >watchdog 1 |IOPCI!F 2.9 |IOACPI!F 1.4 @kec.pthread 1 @kec.Libm 1 @kec.corecrypto 1.0
最後經過禁用了日誌中顯示的 「AppleUSBCardReaderInterfaceNub」 相關 kext,解決了這個問題。
如下是解決步驟:
一、下載 Kext Wizard.appapp
二、搜索 AppleUSBCardReaderless
三、Unloadide
選中它,點擊 Unload
ui
注意:在 macOS 從新啓動後,這個內核擴展會被從新加載,若是你須要重啓以後不被加載,能夠直接刪除這個 .kext
,但我不建議這麼作。.net