Closed qianqiangliu closed 3 years ago
尝试过降级EFI么?
也许是新加入的这两个参数导致的 -igfxblr igfxonln=1
使用 USBMap 重新映射USB端口后,解决了睡眠无法唤醒问题。
重映射USB还是唤不醒,强制重启之后出现问题: Sleep Wake failure in EFI
Failure code:: 0x00000000 0x0000001f
Please IGNORE the below stackshot
================================================================ Date/Time: 2021-07-08 22:47:05.629 +0800 OS Version: ??? ??? (Build ???) Architecture: x86_64 Report Version: 32
Data Source: Stackshots Shared Cache: 4A889CE9-8D7E-304E-A5F7-84D819B0BF9C slid base address 0x7fff20082000, slide 0x82000
Event: Sleep Wake Failure Duration: 0.00s Steps: 1
Boot args: darkwake=0 igfxonln=1 igfxrpsc=1 chunklist-security-epoch=0 -chunklist-no-rev2-dev
Time Awake Since Boot: 11s
Process: swd [263] Architecture: x86_64 Footprint: 352 KB Time Since Fork: 3s Num samples: 1 (1)
Thread 0x73d 1 sample (1) priority 4 (base 4) <thread QoS background (requested background), thread darwinbg, process darwinbg, IO tier 2> 1 start + 1 (libdyld.dylib + 89949) [0x7fff203abf5d] 1 1 ??? [0x1067a7454] 1 1 ??? [0x1067a71e8] 1 1 __stack_snapshot_with_config + 10 (libsystem_kernel.dylib + 146934) [0x7fff2037ddf6] 1 1 ??? [0xffffff80002331f6] 1 1 ??? [0xffffff800093fc9e] 1 1 ??? [0xffffff8000849ef1] 1 1 ??? [0xffffff800025651f] 1 *1 ??? [0xffffff800028d8fd] (running) 1
Binary Images:
0x7fff2035a000 - 0x7fff20389fff libsystem_kernel.dylib (7195.121.3)
开启RTC补丁,解决了这个问题。
RTC补丁
RTC补丁默认是启用的
最终发现是内存问题,换了内存条好了。
机型配置信息
描述问题
睡眠后,键盘或鼠标无法唤醒,BIOS已经打开了USB唤醒功能。升级EFI之后出现的问题,之前的没有问题。 长按电源键关机再开机出现Kernel Panic,日志如下: panic(cpu 0 caller 0xffffff80027c52a6): Kernel trap at 0xffffff7f9d860285, type 14=page fault, registers: CR0: 0x000000008001003b, CR2: 0x0000000000000000, CR3: 0x0000000007821000, CR4: 0x00000000003626e0 RAX: 0xffffff8003440e01, RBX: 0xffffff93520ac000, RCX: 0x0000000000000000, RDX: 0x0000000001000000 RSP: 0xffffffa093953a70, RBP: 0xffffffa093953a80, RSI: 0xffffff93536fb7f0, RDI: 0x0000000000000000 R8: 0xffffff868a58b260, R9: 0x00000000ffffffff, R10: 0x0000000000000005, R11: 0xffffffd39f746dd0 R12: 0xffffff93520ac000, R13: 0x0000000000000000, R14: 0xffffff9351215a00, R15: 0xffffff869dfcbb60 RFL: 0x0000000000010202, RIP: 0xffffff7f9d860285, CS: 0x0000000000000008, SS: 0x0000000000000010 Fault CR2: 0x0000000000000000, Error code: 0x0000000000000000, Fault CPU: 0x0, PL: 0, VF: 1
Backtrace (CPU 0), Frame : Return Address 0xffffffa093953490 : 0xffffff800268e02d 0xffffffa0939534e0 : 0xffffff80027d48e3 0xffffffa093953520 : 0xffffff80027c4eda 0xffffffa093953570 : 0xffffff8002632a2f 0xffffffa093953590 : 0xffffff800268d84d 0xffffffa0939536b0 : 0xffffff800268db43 0xffffffa093953720 : 0xffffff8002e9d68a 0xffffffa093953790 : 0xffffff80027c52a6 0xffffffa093953910 : 0xffffff80027c4f8d 0xffffffa093953960 : 0xffffff8002632a2f 0xffffffa093953980 : 0xffffff7f9d860285 0xffffffa093953a80 : 0xffffff8002dc69ab 0xffffffa093953af0 : 0xffffff8002dc653e 0xffffffa093953ba0 : 0xffffff8002dc56df 0xffffffa093953c00 : 0xffffff8002dc5108 0xffffffa093953c40 : 0xffffff8002dbda14 0xffffffa093953c80 : 0xffffff80053f7dcc 0xffffffa093953cd0 : 0xffffff8005429a52 0xffffffa093953d80 : 0xffffff80054287f0 0xffffffa093953e60 : 0xffffff800548ee44 0xffffffa093953e80 : 0xffffff80026d44b5 0xffffffa093953ef0 : 0xffffff80026d5424 0xffffffa093953fa0 : 0xffffff800263213e Kernel Extensions in backtrace: com.apple.iokit.IOUSBHostFamily(1.2)[5190CA74-773E-3915-B4AA-8FDB4D1ED52B]@0xffffff800547c000->0xffffff800550afff dependency: com.apple.driver.AppleBusPowerController(1.0)[66C01074-5C99-3222-91D1-F80B98D55EDD]@0xffffff8003a2e000->0xffffff8003a31fff dependency: com.apple.driver.AppleSMC(3.1.9)[406AA67A-5111-3CA1-8C7A-A95B18AF6252]@0xffffff8003d4e000->0xffffff8003d66fff dependency: com.apple.driver.usb.AppleUSBCommon(1.0)[96B84822-9BC5-3DC8-86F0-6E38178E615B]@0xffffff8003e9e000->0xffffff8003ea1fff dependency: com.apple.driver.AppleUSBHostMergeProperties(1.2)[CFEDF52B-3A3F-30DF-B042-81434B369E0F]@0xffffff8005577000->0xffffff8005577fff dependency: com.apple.iokit.IOACPIFamily(1.4)[0D13DDA8-F6FE-3649-A850-DE1D9BFF8CEF]@0xffffff8004c3a000->0xffffff8004c3bfff com.apple.iokit.IOUSBFamily(900.4.2)[7A341354-75C8-3449-8C91-B25D96C7D951]@0xffffff80053d5000->0xffffff800543afff dependency: com.apple.driver.usb.AppleUSBCommon(1.0)[96B84822-9BC5-3DC8-86F0-6E38178E615B]@0xffffff8003e9e000->0xffffff8003ea1fff dependency: com.apple.iokit.IOPCIFamily(2.9)[B99B3B05-71B8-3178-8C27-E0A0ACA9F16E]@0xffffff800515f000->0xffffff8005187fff dependency: com.apple.iokit.IOUSBHostFamily(1.2)[5190CA74-773E-3915-B4AA-8FDB4D1ED52B]@0xffffff800547c000->0xffffff800550afff com.wch.usbserial(1.0)[AD765268-B76B-3619-A05F-DA24C7F8F230]@0xffffff7f9d85f000->0xffffff7f9d862fff dependency: com.apple.iokit.IOSerialFamily(11)[9787C647-19B8-36EB-BC27-2CD8D028FABF]@0xffffff800521b000->0xffffff8005220fff dependency: com.apple.iokit.IOUSBFamily(900.4.2)[7A341354-75C8-3449-8C91-B25D96C7D951]@0xffffff80053d5000->0xffffff800543afff
Process name corresponding to current thread: kernel_task Boot args: darkwake=0 -igfxblr igfxonln=1
Mac OS version: 20E241
Kernel version: Darwin Kernel Version 20.4.0: Thu Apr 22 21:46:47 PDT 2021; root:xnu-7195.101.2~1/RELEASE_X86_64 Kernel UUID: 068F99A3-1DB3-31C0-87D5-09942F122BB6 KernelCache slide: 0x0000000002400000 KernelCache base: 0xffffff8002600000 Kernel slide: 0x0000000002410000 Kernel text base: 0xffffff8002610000 __HIB text base: 0xffffff8002500000 System model name: Macmini8,1 (Mac-7BA5B2DFE22DDD8C) System shutdown begun: NO Panic diags file available: YES (0x0) Hibernation exit count: 0
System uptime in nanoseconds: 2014602483569 Last Sleep: absolute base_tsc base_nano Uptime : 0x000001d50faa5b99 Sleep : 0x0000000000000000 0x0000000000000000 0x0000000000000000 Wake : 0x0000000000000000 0x0000000a91a45790 0x0000000000000000 last started kext at 2010899909232: >!UAudio 405.39 (addr 0xffffff7f9b912000, size 315392) last stopped kext at 721357297099: @macos.driver.!UEthernetHost 8.1.1 (addr 0xffffff7f9b972000, size 16384) loaded kexts: com.intel.driver.EnergyDriver 3.7.0 com.wch.usbserial 1 as.acidanthera.mieze.!IMausi 1.0.6 ru.joedm.SMCSuperIO 1.2.3 as.vit9696.SMCProcessor 1.2.3 as.vit9696.VirtualSMC 1.2.3 org.acidanthera.NVMeFix 1.0.7 as.vit9696.!AALC 1.6.0 as.vit9696.WhateverGreen 1.4.9 as.vit9696.Lilu 1.5.3 @filesystems.afpfs 11.3 @nke.asp_tcp 8.2 @filesystems.smbfs 3.5