Mac的奔溃

最近一台MBP15在合盖后出现无法唤醒的情况,并且是必现。

{"timestamp":"2021-11-08 23:41:04.00 +0800","bug_type":"210","os_version":"macOS 12.0.1 (21A559)","incident_id":"4AE1F716-38C1-4316-BD49-F1D471C18843"}
{"macOSProcessedStackshotData":"bm8gb24gZGlzayBwYW5pYyBzdGFja3Nob3QgZm91bmQgaW4gY29yZWZpbGU=","macOSPanicString":"panic(cpu 0 caller 0xffffff8000a411e1): AppleAHCIDiskQueueManager::setPowerState(0xffffff852c0e4480 : 0xffffff8002967d08, 0 -> 3) timed out after 101008 ms @IOServicePM.cpp:5524\nPanicked task 0xffffff852b7986a0: 143 threads: pid 0: kernel_task\nBacktrace (CPU 0), panicked thread: 0xffffff852e7efb70, Frame : Return Address\n0xffffffd05babbab0 : 0xffffff800029c00d \n0xffffffd05babbb00 : 0xffffff80003f5d85 \n0xffffffd05babbb40 : 0xffffff80003e5763 \n0xffffffd05babbb90 : 0xffffff800023ba60 \n0xffffffd05babbbb0 : 0xffffff800029c3dd \n0xffffffd05babbcd0 : 0xffffff800029bb96 \n0xffffffd05babbd30 : 0xffffff8000b18649 \n0xffffffd05babbda0 : 0xffffff8000a411e1 \n0xffffffd05babbe00 : 0xffffff8000a409a9 \n0xffffffd05babbe10 : 0xffffff8000a59f8e \n0xffffffd05babbe50 : 0xffffff8000a3f738 \n0xffffffd05babbe70 : 0xffffff80002ecc85 \n0xffffffd05babbee0 : 0xffffff80002edcd2 \n0xffffffd05babbfa0 : 0xffffff800023b18e \n\nProcess name corresponding to current thread (0xffffff852e7efb70): kernel_task\nBoot args: -x\n\nMac OS version:\n21A559\n\nKernel version:\nDarwin Kernel Version 21.1.0: Wed Oct 13 17:33:23 PDT 2021; root:xnu-8019.41.5~1\/RELEASE_X86_64\nKernel UUID: 19BD4E1B-0268-3EE0-BC66-91F035BC9429\nKernelCache slide: 0x0000000000000000\nKernelCache base:  0xffffff8000200000\nKernel slide:      0x0000000000010000\nKernel text base:  0xffffff8000210000\n__HIB  text base: 0xffffff8000100000\nSystem model name: MacBookPro11,4 (Mac-06F11FD93F0323C5)\nSystem shutdown begun: NO\nPanic diags file available: YES (0x0)\nHibernation exit count: 0\n\nSystem uptime in nanoseconds: 151322306693\nLast Sleep:           absolute           base_tsc          base_nano\n  Uptime  : 0x000000233b833879\n  Sleep   : 0x0000000b274b6469 0x00000002b32b98f2 0x0000000000000000\n  Wake    : 0x0000000b39fc449c 0x00000000957143c8 0x0000000b30a1c483\nZone info:\nForeign   : 0xffffff80058f2000 - 0xffffff80058ff000\nNative    : 0xffffff801de35000 - 0xffffffa01de35000\nReadonly  : 0 - 0\nMetadata  : 0xffffffd2f0113000 - 0xffffffd310299000\nBitmaps   : 0xffffffd310299000 - 0xffffffd316299000\nlast started kext at 6912107645: >AGPM\t125 (addr 0xffffff7f96fa0000, size 122880)\nloaded kexts:\n>AGPM\t125\n>X86PlatformShim\t1.0.0\n@filesystems.autofs\t3.0\n>!ALPC\t3.1\n>!AMuxControl\t6.4.9\n>!AGraphicsDevicePolicy\t6.4.9\n>AGDCBacklightControl\t6.4.9\n>!ADiskImages2\t126.40.1\n>!ABacklight\t180.3\n>!AMCCSControl\t1.14\n>!A!IFramebufferAzul\t18.0.2\n>ACPI_SMC_PlatformPlugin\t1.0.0\n|SCSITaskUserClient\t452.30.4\n>!ATopCaseHIDEventDriver\t5010.1\n>!UTopCaseDriver\t5010.1\n>!UCardReader\t532.40.7\n@filesystems.apfs\t1933.41.2\n>AirPort.BrcmNIC\t1400.1.1\n>!AAHCIPort\t351\n>!AFileSystemDriver\t3.0.1\n@filesystems.tmpfs\t1\n@filesystems.lifs\t1\n@filesystems.hfs.kext\t582.40.4\n@BootCache\t40\n@!AFSCompression.!AFSCompressionTypeZlib\t1.0.0\n@!AFSCompression.!AFSCompressionTypeDataless\t1.0.0d1\n@private.KextAudit\t1.0\n>!AACPIButtons\t6.1\n>!ARTC\t2.0.1\n>!ASmartBatteryManager\t161.0.0\n>!AHPET\t1.8\n>!ASMBIOS\t2.1\n>!AACPIEC\t6.1\n>!AAPIC\t1.7\n@!ASystemPolicy\t2.0.0\n@nke.applicationfirewall\t402\n|IOKitRegistryCompatibility\t1\n|EndpointSecurity\t1\n@Dont_Steal_Mac_OS_X\t7.0.0\n@kec.!AEncryptedArchive\t1\n@kext.triggers\t1.0\n>!ASMBusPCI\t1.0.14d1\n>!AGraphicsControl\t6.4.9\n>!ABacklightExpert\t1.1.0\n|IONDRVSupport\t593\n>!ASMBus!C\t1.0.18d1\n@!AGPUWrangler\t6.4.9\n|IOAccelerator!F2\t462.4\n@!AGraphicsDeviceControl\t6.4.9\n|IOGraphics!F\t593\n>IOPlatformPluginLegacy\t1.0.0\n>X86PlatformPlugin\t1.0.0\n>IOPlatformPlugin!F\t6.0.0d8\n>!AActuatorDriver\t5400.25\n>!AHS!BDriver\t5010.1\n>IO!BHIDDriver\t9.0.0\n>!AMultitouchDriver\t5400.25\n>!AInputDeviceSupport\t5400.30\n>!AHIDKeyboard\t228\n>usb.IOUSBHostHIDDevice\t1.2\n>usb.cdc\t5.0.0\n>usb.networking\t5.0.0\n>usb.!UHostCompositeDevice\t1.2\n>!AThunderboltDPInAdapter\t8.5.0\n>!AThunderboltDPAdapter!F\t8.5.0\n>!AThunderboltPCIDownAdapter\t4.1.1\n>!AXsanScheme\t3\n>!AThunderboltNHI\t7.2.8\n|IOThunderbolt!F\t9.3.2\n|IOAHCIBlock!S\t333\n|IO80211!FLegacy\t1200.12.2b1\n|IOSkywalk!F\t1.0\n>mDNSOffloadUserClient\t1.0.1b8\n>corecapture\t1.0.4\n>!A!ILpssGspi\t3.0.60\n|IOAHCI!F\t295\n>usb.!UXHCIPCI\t1.2\n>usb.!UXHCI\t1.2\n>!ABSDKextStarter\t3\n|IOSurface\t302.9\n@filesystems.hfs.encodings.kext\t1\n>usb.!UHostPacketFilter\t1.0\n|IOUSB!F\t900.4.2\n>!AEFINVRAM\t2.1\n>!AEFIRuntime\t2.1\n|IOSMBus!F\t1.1\n|IOHID!F\t2.0.0\n|IOTimeSync!F\t1000.11\n|IONetworking!F\t3.4\n>DiskImages\t493.0.0\n|IO!B!F\t9.0.0\n|IOReport!F\t47\n$quarantine\t4\n$sandbox\t300.0\n@kext.!AMatch\t1.0.0d1\n|CoreAnalytics!F\t1\n>!ASSE\t1.0\n>!AKeyStore\t2\n>!UTDM\t532.40.7\n|IOUSBMass!SDriver\t209.40.6\n|IOSCSIBlockCommandsDevice\t452.30.4\n|IO!S!F\t2.1\n|IOSCSIArchitectureModel!F\t452.30.4\n>!AMobileFileIntegrity\t1.0.5\n$!AImage4\t4.1.0\n@kext.CoreTrust\t1\n>!AFDEKeyStore\t28.30\n>!AEffaceable!S\t1.0\n>!ACredentialManager\t1.0\n>KernelRelayHost\t1\n|IOUSBHost!F\t1.2\n>!UHostMergeProperties\t1.2\n>usb.!UCommon\t1.0\n>!ABusPower!C\t1.0\n>!ASEPManager\t1.0.1\n>IOSlaveProcessor\t1\n>!AACPIPlatform\t6.1\n>!ASMC\t3.1.9\n|IOPCI!F\t2.9\n|IOACPI!F\t1.4\n>watchdog\t1\n@kec.pthread\t1\n@kec.Libm\t1\n@kec.corecrypto\t12.0\n\n\n"}
System Profile:
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0256G, 251 GB
Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1
Boot Volume File System Type: apfs
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533642465238412D50422020
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533642465238412D50422020
USB Device: USB30Bus
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Bluetooth USB Host Controller
Display: Color LCD, 2880 x 1800 Retina, Main, MirrorOff, Online
Model: MacBookPro11,4, BootROM 428.40.10.0.0, 4 processors, Quad-Core Intel Core i7, 2.2 GHz, 16 GB, SMC 2.29f24
Graphics: Intel Iris Pro, Intel Iris Pro, Built-In
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x152), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1710.2)
AirPort: 
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports

看报错是AHCIDiskQueueManager出现了问题,考虑到最近做了几个变动:

  • 因为需要读取NTFS硬盘数据,安装了Paragon NTFS
  • 升级了Big Sur

怀疑是以上的原因导致的。在咨询了Apple的客服,把重置SMC、NVRAM、PRAM三连了一遍,并且还回滚了系统,问题仍然没有得到解决,Apple客服无奈地表示只能去店里拆机看看有没有故障。

但是作为一个不想花时间去店里检修一台快要报废的电脑的懒人,决定自己拆机器搞定,Google了一堆资料,问题都指向了一个点–SSD可能坏了。于是拆机断电,拔下SSD清理了灰尘装回。能不能恢复不抱希望,做好了换SSD的打算。结果出乎意料地恢复了。

于是,在本老古董MBP15上水了一篇Blog。

–EOF