Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

突然死机了n多次,抓到log了 #206

Open
cytown opened this issue May 14, 2022 · 11 comments
Open

突然死机了n多次,抓到log了 #206

cytown opened this issue May 14, 2022 · 11 comments

Comments

@cytown
Copy link

cytown commented May 14, 2022

还是EFI-0.7.1-2021-0707的版本,前一段时间升级到了bigsur。

从5月5日开始经常会死机。通常是播放youtube的时候死机。

看看日志,发现去年就有类似问题,不过不频繁而已。

一会儿试试新的3.0.6会不会好一点。

panic-2021-12-28-034715.txt

panic-2022-05-14-062849.txt
panic-2022-05-14-084912.txt

@cytown
Copy link
Author

cytown commented May 14, 2022

@M69W 3.0.6 的 config-BRCM.plist 有问题,缺了一些配置,导致网卡不能正常启动,我贴了我的修改的diff在下面了,供你参考。

p.diff.zip

@cytown
Copy link
Author

cytown commented May 17, 2022

3.0.6同样复现了,自动重启。

看日志应该是跟GPU相关,难道是显卡驱动的问题?不过开机偶尔还是会有花屏现象,很难说显卡驱动是不是有问题。

panic-2022-05-17-085144.txt

@cytown
Copy link
Author

cytown commented May 17, 2022

这个链接里面有段描述:

acidanthera/bugtracker#967

我的是 UHD 630,更换驱动到 Intel HD Graphics CFL CRB,就没有 panic 过了,看上去之前仿冒的驱动引起的

如何更换驱动呢?

@cytown
Copy link
Author

cytown commented May 21, 2022

换了几个platform-id,不是花屏,就是依然有上述问题。645、655都不行。不知道哪个对应的是620。。。

@M69W
Copy link
Collaborator

M69W commented May 22, 2022

@M69W 3.0.6 的 config-BRCM.plist 有问题,缺了一些配置,导致网卡不能正常启动,我贴了我的修改的diff在下面了,供你参考。

p.diff.zip

老实说,kext 是 未启动的,这个可以排除。
剩下的,就是启动的 brcmfx-country=#a brcmfx-aspm 这两个启动参数,排除法可以排除对比一下。
我99% 时间在用 10.15.7 (19H1715),不过 youtube 网络因素,并没看,经常B站4K,并没出现死机问题。

@cytown
Copy link
Author

cytown commented May 23, 2022

@M69W 3.0.6 的 config-BRCM.plist 有问题,缺了一些配置,导致网卡不能正常启动,我贴了我的修改的diff在下面了,供你参考。
p.diff.zip

老实说,kext 是 未启动的,这个可以排除。 剩下的,就是启动的 brcmfx-country=#a brcmfx-aspm 这两个启动参数,排除法可以排除对比一下。 我99% 时间在用 10.15.7 (19H1715),不过 youtube 网络因素,并没看,经常B站4K,并没出现死机问题。

确实是不需要kext,那应该就是args这个地方了。

另外,最近我测试了:
#59 (comment)_

@cytown
Copy link
Author

cytown commented May 27, 2022

发现就是youtube有这个问题,我试着把chrome里面的Hardware-accelerated video decode给disable了试试,这样就不用gpu解码了。

@cytown
Copy link
Author

cytown commented May 27, 2022

刚刚又有新的crash:

和之前那种iGPU的crash不一样,首次遇到

panic(cpu 8 caller 0xffffff8003bc3356): Kernel trap at 0xffffff8003901082, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0xffffff9365a7c000, CR3: 0x0000000019d68000, CR4: 0x00000000003626e0
RAX: 0xffffffffffa07ca0, RBX: 0xffffff9365483800, RCX: 0x0000000000000360, RDX: 0x0000000000000800
RSP: 0xffffffa077ca3848, RBP: 0xffffffa077ca3860, RSI: 0xffffff9365a7c000, RDI: 0xffffff9365483ca0
R8:  0x0000000000000004, R9:  0x0000000000000001, R10: 0x0000000018103000, R11: 0xffffff8032ab67f8
R12: 0xffffff9365483800, R13: 0x0000000000000800, R14: 0xffffff9365a7bb60, R15: 0x0000000000000000
RFL: 0x0000000000010286, RIP: 0xffffff8003901082, CS:  0x0000000000000008, SS:  0x0000000000000000
Fault CR2: 0xffffff9365a7c000, Error code: 0x0000000000000000, Fault CPU: 0x8, PL: 0, VF: 10

Backtrace (CPU 8), Frame : Return Address
0xffffffa077ca3260 : 0xffffff8003a8b26d mach_kernel : _handle_debugger_trap + 0x3fd
0xffffffa077ca32b0 : 0xffffff8003bd2993 mach_kernel : _kdp_i386_trap + 0x143
0xffffffa077ca32f0 : 0xffffff8003bc2f8a mach_kernel : _kernel_trap + 0x55a
0xffffffa077ca3340 : 0xffffff8003a2fa2f mach_kernel : _return_from_trap + 0xff
0xffffffa077ca3360 : 0xffffff8003a8aa8d mach_kernel : _DebuggerTrapWithState + 0xad
0xffffffa077ca3480 : 0xffffff8003a8ad83 mach_kernel : _panic_trap_to_debugger + 0x273
0xffffffa077ca34f0 : 0xffffff800429c5fa mach_kernel : _panic + 0x54
0xffffffa077ca3560 : 0xffffff8003bc3356 mach_kernel : _sync_iss_to_iks + 0x2c6
0xffffffa077ca36e0 : 0xffffff8003bc303d mach_kernel : _kernel_trap + 0x60d
0xffffffa077ca3730 : 0xffffff8003a2fa2f mach_kernel : _return_from_trap + 0xff
0xffffffa077ca3750 : 0xffffff8003901082 
0xffffffa077ca3860 : 0xffffff80059c0565 com.apple.driver.AirPort.BrcmNIC : _otp_read_pci + 0xbd
0xffffffa077ca38b0 : 0xffffff80059bf52f com.apple.driver.AirPort.BrcmNIC : _initvars_srom_pci + 0x1bf
0xffffffa077ca39a0 : 0xffffff80059a0677 com.apple.driver.AirPort.BrcmNIC : _si_doattach + 0x9c1
0xffffffa077ca3a30 : 0xffffff800599fc30 com.apple.driver.AirPort.BrcmNIC : _si_attach + 0x5c
0xffffffa077ca3a90 : 0xffffff80057cab37 com.apple.driver.AirPort.BrcmNIC : _wlc_attach + 0xaf
0xffffffa077ca3b50 : 0xffffff80056de9cf com.apple.driver.AirPort.BrcmNIC : __ZN15AirPort_BrcmNIC8wlcStartEv + 0x19d
0xffffffa077ca3c20 : 0xffffff80056dcf6c com.apple.driver.AirPort.BrcmNIC : __ZN15AirPort_BrcmNIC10startGatedEP9IOService + 0x444
0xffffffa077ca3c90 : 0xffffff80056dcb15 com.apple.driver.AirPort.BrcmNIC : __ZN15AirPort_BrcmNIC10_doCommandEP8OSObjectPvS2_S2_S2_ + 0x4b
0xffffffa077ca3cc0 : 0xffffff80041ef49f mach_kernel : __ZN13IOCommandGate9runActionEPFiP8OSObjectPvS2_S2_S2_ES2_S2_S2_S2_ + 0xaf
0xffffffa077ca3d20 : 0xffffff80056ddc38 com.apple.driver.AirPort.BrcmNIC : __ZN15AirPort_BrcmNIC5startEP9IOService + 0x3dc
0xffffffa077ca3d90 : 0xffffff8007bb4df1 as.lvs1974.AirportBrcmFixup : __ZN16AirportBrcmFixupC2Ev + 0xaf1
0xffffffa077ca3dd0 : 0xffffff80041c468b mach_kernel : __ZN9IOService14startCandidateEPS_ + 0xeb
0xffffffa077ca3e40 : 0xffffff80041c421e mach_kernel : __ZN9IOService15probeCandidatesEP12OSOrderedSet + 0xcce
0xffffffa077ca3ef0 : 0xffffff80041c33bf mach_kernel : __ZN9IOService14doServiceMatchEj + 0x30f
0xffffffa077ca3f50 : 0xffffff80041c6136 mach_kernel : __ZN15_IOConfigThread4mainEPvi + 0x186
0xffffffa077ca3fa0 : 0xffffff8003a2f13e mach_kernel : _call_continuation + 0x2e
      Kernel Extensions in backtrace:
         as.lvs1974.AirportBrcmFixup(2.1.4)[A77978E4-5380-38FA-A8C1-EE045FE6211C]com.apple.0xffffff8007bb2000-com.apple.driver.0xffffff8007bbefff
            dependency: as.vit9696.Lilu(1.6.0)[6167D1C2-7FCA-3319-8246-9CAAFA704235]com.apple.0xffffff8007841000-com.apple.driver.0xffffff800786bfff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[4169693C-CDDE-3CA7-800A-F665762B5B4C]com.apple.0xffffff800656c000-com.apple.driver.0xffffff8006594fff
         com.apple.driver.AirPort.BrcmNIC(1400.1.1)[8760F69B-5833-39B6-B035-A547C2D49F6F]com.apple.0xffffff80056b2000-com.apple.driver.0xffffff8005c0bfff
            dependency: com.apple.driver.corecapture(1.0.4)[40DA112B-E36E-3D0B-AC9B-F34EB05A5859]com.apple.0xffffff8006d26000-com.apple.driver.0xffffff8006d3cfff
            dependency: com.apple.driver.mDNSOffloadUserClient(1.0.1b8)[1457C19A-C372-3087-90F9-5D91F55A3A8A]com.apple.0xffffff8006566000-com.apple.driver.0xffffff800656afff
            dependency: com.apple.iokit.IO80211Family(1200.12.2b1)[E13BA1C5-C24C-3D7B-B24A-7DC5733010E3]com.apple.0xffffff8005514000-com.apple.driver.0xffffff8005693fff
            dependency: com.apple.iokit.IONetworkingFamily(3.4)[33709930-C117-3E62-8A77-17E286360393]com.apple.0xffffff80062e0000-com.apple.driver.0xffffff80062f6fff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[4169693C-CDDE-3CA7-800A-F665762B5B4C]com.apple.0xffffff800656c000-com.apple.driver.0xffffff8006594fff
            dependency: com.apple.iokit.IOSkywalkFamily(1)[2396783B-943B-39BC-A0C4-5EECFAD2D378]com.apple.0xffffff8006637000-com.apple.driver.0xffffff8006658fff

Process name corresponding to current thread: kernel_task
Boot args: keepsyms=1 forceRenderStandby=0 brcmfx-country=#a brcmfx-aspm chunklist-security-epoch=0 -chunklist-no-rev2-dev chunklist-security-epoch=0 -chunklist-no-rev2-dev

Mac OS version:
Not yet set

Kernel version:
Darwin Kernel Version 20.6.0: Tue Apr 19 21:04:45 PDT 2022; root:xnu-7195.141.29~1/RELEASE_X86_64

panic-2022-05-27-070058.txt

@cytown
Copy link
Author

cytown commented May 30, 2022

发现3.0.6还是挺多问题的,1. cpu占用奇高,导致温度一直徘徊在70℃以上,时不时还跑到90℃ 2. 无法待机,或者说待机的时候cpu继续发热,风扇不停,如果不插电很快就没电了。

@M69W 还是要麻烦查一下原因。

现在换回071了。。。

@goodwe1l
Copy link

goodwe1l commented Jun 2, 2022

我咋没有这个问题,我自己升上来的
image

@cytown
Copy link
Author

cytown commented Jun 2, 2022

我咋没有这个问题,我自己升上来的 image

你的系统不是11吧?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants