蓝牙经常崩溃,真真是要把我劝退了。
定制了USB,板卡是BMC94360CD。用了有好几天了,突然出现蓝牙不定时崩溃。
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: bluetoothd [5090]
Path: /usr/sbin/bluetoothd
Identifier: bluetoothd
Version: ???
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 0
Date/Time: 2023-10-28 06:58:57.5705 +0800
OS Version: macOS 14.0 (23A344)
Report Version: 12
Anonymous UUID: 617503E6-B390-63A0-9190-A1D4AE267B73
Time Awake Since Boot: 39000 seconds
System Integrity Protection: enabled
Crashed Thread: 2
Exception Type: EXC_GUARD
Exception Codes: GUARD_TYPE_USER
Exception Codes: 0x6000000000000012, 0x0000000000000002
Termination Reason: Namespace LIBSYSTEM, Code 2 Application Triggered Fault
Thread 0:
0 libsystem_kernel.dylib 0x7ff815009a2e mach_msg2_trap + 10
1 libsystem_kernel.dylib 0x7ff815017e4a mach_msg2_internal + 84
2 libsystem_kernel.dylib 0x7ff815010b6e mach_msg_overwrite + 653
3 libsystem_kernel.dylib 0x7ff815009d1f mach_msg + 19
4 CoreFoundation 0x7ff815124475 __CFRunLoopServiceMachPort + 143
5 CoreFoundation 0x7ff815122ee5 __CFRunLoopRun + 1371
6 CoreFoundation 0x7ff815122372 CFRunLoopRunSpecific + 557
7 CoreFoundation 0x7ff81519debe CFRunLoopRun + 40
8 bluetoothd 0x1058c86a0 0x105899000 + 194208
9 dyld 0x7ff814cc03a6 start + 1942
Thread 1:
0 libsystem_kernel.dylib 0x7ff81500b152 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x7ff815045ca0 _pthread_wqthread + 416
2 libsystem_pthread.dylib 0x7ff815044b97 start_wqthread + 15
Thread 2 Crashed:
0 libsystem_kernel.dylib 0x7ff81501512a os_fault_with_payload + 10
1 bluetoothd 0x105998ac3 0x105899000 + 1047235
2 bluetoothd 0x10593f042 0x105899000 + 680002
3 bluetoothd 0x105cad5c7 0x105899000 + 4277703
4 bluetoothd 0x105caea40 0x105899000 + 4282944
5 bluetoothd 0x105c8c4ba 0x105899000 + 4142266
6 bluetoothd 0x105c8c0d2 0x105899000 + 4141266
7 libdispatch.dylib 0x7ff814ea02e6 _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x7ff814ea159a _dispatch_client_callout + 8
9 libdispatch.dylib 0x7ff814ea7668 _dispatch_lane_serial_drain + 816
10 libdispatch.dylib 0x7ff814ea8100 _dispatch_lane_invoke + 377
11 libdispatch.dylib 0x7ff814eb1aee _dispatch_root_queue_drain_deferred_wlh + 271
12 libdispatch.dylib 0x7ff814eb13fd _dispatch_workloop_worker_thread + 451
13 libsystem_pthread.dylib 0x7ff815045c47 _pthread_wqthread + 327
14 libsystem_pthread.dylib 0x7ff815044b97 start_wqthread + 15
Thread 3:: StackLoop
0 libsystem_kernel.dylib 0x7ff81500bd4e __psynch_mutexwait + 10
1 libsystem_pthread.dylib 0x7ff815046b30 _pthread_mutex_firstfit_lock_wait + 78
2 libsystem_pthread.dylib 0x7ff8150448f3 _pthread_mutex_firstfit_lock_slow + 217
3 bluetoothd 0x10593ee1f 0x105899000 + 679455
4 bluetoothd 0x10593f327 0x105899000 + 680743
5 libsystem_pthread.dylib 0x7ff815049202 _pthread_start + 99
6 libsystem_pthread.dylib 0x7ff815044bab thread_start + 15
Thread 4:
0 libsystem_kernel.dylib 0x7ff81500b152 __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x7ff815045ca0 _pthread_wqthread + 416
2 libsystem_pthread.dylib 0x7ff815044b97 start_wqthread + 15
Thread 2 crashed with X86 Thread State (64-bit):
rax: 0x0000000002000211 rbx: 0x000000000000004a rcx: 0x0000700003b27508 rdx: 0x0000700003b27510
rdi: 0x0000000000000012 rsi: 0x0000000000000002 rbp: 0x0000700003b275a0 rsp: 0x0000700003b27508
r8: 0x00007f8b3070b140 r9: 0x0000000000000000 r10: 0x000000000000004a r11: 0x0000000000000246
r12: 0x0000700003b27560 r13: 0x00000001061c5030 r14: 0x00000000000004b1 r15: 0x0000700003b27510
rip: 0x00007ff81501512a rfl: 0x0000000000000246 cr2: 0x000000010607a8c0
Logical CPU: 0
Error Code: 0x02000211
Trap Number: 133
Binary Images:
0x106a8e000 - 0x106b19fff libAWDProtobufBluetooth.dylib (*) <d9565c47-4eb6-3022-8760-59d9428d08ba> /System/Library/PrivateFrameworks/WirelessDiagnostics.framework/Versions/A/Libraries/libAWDProtobufBluetooth.dylib
0x106217000 - 0x10621afff com.apple.framework.CoreWLAN (16.0) <ebde0ceb-4d1f-39cf-bbbe-0bf942b337ae> /System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLAN
0x106227000 - 0x10622afff com.apple.IO80211 (1.0) <72fb270b-2d3a-39f4-82fd-1b8af408bd39> /System/Library/PrivateFrameworks/IO80211.framework/Versions/A/IO80211
0x106bae000 - 0x106c01fff IO80211Old.dylib (*) <d5ce0004-ff51-3af6-9c8e-1e8c75f15238> /System/Library/PrivateFrameworks/IO80211.framework/Versions/A/IO80211Old.dylib
0x178716000 - 0x178790fff CoreWLANOld.dylib (*) <d5ce0004-e25a-3348-a650-cf35c9c22c36> /System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLANOld.dylib
0x106246000 - 0x106249fff com.apple.CoreWiFi (kCoreWiFiMarketingVersion) <c9299165-c74b-31ab-b1d9-f4b9707fd273> /System/Library/PrivateFrameworks/CoreWiFi.framework/Versions/A/CoreWiFi
0x1ed27d000 - 0x1ed2a4fff com.apple.WiFiPeerToPeer (520.31.0) <d5ce0004-7a9a-3b78-8be0-03b93c8b24a9> /System/Library/PrivateFrameworks/WiFiPeerToPeer.framework/Versions/A/WiFiPeerToPeer
0x264543000 - 0x2646defff CoreWiFiOld.dylib (*) <d5ce0004-1f7f-393c-8141-02923aa69260> /System/Library/PrivateFrameworks/CoreWiFi.framework/Versions/A/CoreWiFiOld.dylib
0x105899000 - 0x10614cfff bluetoothd (*) <9d91025f-749e-3acd-a0c0-950cad2782a1> /usr/sbin/bluetoothd
0x7ff815008000 - 0x7ff815042ff7 libsystem_kernel.dylib (*) <3690c1fc-599f-39ff-bbdb-85422e9a996c> /usr/lib/system/libsystem_kernel.dylib
0x7ff8150a8000 - 0x7ff815541ffc com.apple.CoreFoundation (6.9) <9daa29f3-fe48-39a9-a70d-1e0fd4750372> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7ff814cba000 - 0x7ff814d562ff dyld (*) <1289b60a-4980-342d-b1a4-250bbee392f1> /usr/lib/dyld
0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
0x7ff815043000 - 0x7ff81504efff libsystem_pthread.dylib (*) <33c43114-85f0-3f32-86d7-8e6a2403d38c> /usr/lib/system/libsystem_pthread.dylib
0x7ff814e9e000 - 0x7ff814ee4ffd libdispatch.dylib (*) <5203f33a-d525-32a5-bd79-2cce93555aee> /usr/lib/system/libdispatch.dylib
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=667.5M resident=0K(0%) swapped_out_or_unallocated=667.5M(100%)
Writable regions: Total=7.4G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=7.4G(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Activity Tracing 256K 1
Dispatch continuations 64.0M 1
IOKit 16K 2
Kernel Alloc Once 8K 1
MALLOC 208.2M 29
MALLOC guard page 48K 12
SQLite page cache 256K 2
STACK GUARD 56.0M 5
Stack 10.0M 5
VM_ALLOCATE 32K 4
VM_ALLOCATE (reserved) 7.1G 10 reserved VM address space (unallocated)
__CTF 824 1
__DATA 26.7M 510
__DATA_CONST 30.9M 330
__DATA_DIRTY 1369K 189
__FONT_DATA 2352 1
__INFO_FILTER 8 1
__LINKEDIT 180.5M 7
__OBJC_RO 70.6M 1
__OBJC_RW 2154K 2
__TEXT 487.0M 526
dsce.got 132K 1
dyld private memory 260K 2
mapped file 33.0M 11
shared memory 592K 8
=========== ======= =======
TOTAL 8.2G 1662
TOTAL, minus reserved VM space 1.1G 1662
-
黑酱为大家不断安利各种软件、工具和教程~
确实是几乎见不到的情况
BMC94360CD是通过PCI转接的吗
1年前 发表回复 -
黑酱为大家不断安利各种软件、工具和教程~
你这个ssdt定制方法还是得合并SSDT-USBX.aml的内容,至少一部分需要合并
1年前 发表回复-
2023-11-06 13:55:01
可以两个都加载,ssdt定制还是得看你原来的dsdt里怎么写的,一般没有通用模板
-
2023-11-06 10:29:36
啊?合并哪些内容?
要不然我在添加中继续加载SSDT-USBX.aml,然后把这个SSDT定制当做补丁加载能行吗?
我现在Hackintool里的引导日志里看见许多错误,是不是就是这个原因?
[ 820.564310]: [AHCI][PRT][00170020] AbortCommands::5382:Port 2 - called, deviceWithError 0, errCode = 0xe0030005
日志里有好多条。看起来,意思好像是port2端口读取失败了。这个port2是指USB的Port2?USB的Port2是一个USB2.0Hub。还是说这个port2是指别的什么端口?
-
-
sige
确实,像你说的,这个SSDT定制USB的方法还是需要SSDT-USBX.aml的,不加载SSDT-USBX.aml的话,睡眠一晚上,第二天早上风扇嗡嗡响,屏幕不亮,断电重启后,有未正确关机的提示。把SSDT-USBX.aml和SSDT定制的USB共同加载,睡眠一晚,第二天也能轻松唤醒。
1年前 发表回复
DefinitionBlock ("", "SSDT", 1, "toleda", "amihdas1", 0x00003000)
{
External (_SB_.PCI0.XHC_.RHUB, DeviceObj) // (from opcode)
Scope (_SB.PCI0.XHC.RHUB)
{
Method (_STA, 0, NotSerialized) // _STA: Status
{
If (_OSI ("Darwin")) // 在Mac关闭原来的RHUB(有的叫HUBN等)
{
Return (Zero)
}
Else
{
Return (0x0F)
}
}
}
Device (_SB.PCI0.XHC.RHU0) // 在下面随便自定义一个喜欢的名称,比如我RHU0
{
Name (_ADR, Zero) // _ADR: Address
Device (HS01) // 这里HS01端口名称随便自定义,别和下面重复就行了,不要超过15个
{
Name (_ADR, One) // _ADR: Address 这里 One是关键 是表示1号端口(port1)
Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
{
Name (UPCP, Package (0x04)
{
0xFF, // 这里0xFF(255)表示启用
Zero, // Zero代表USB2.0 0x03代表USB3.0 0x09代表分正反的TypeC 0x0A代表不带正反(转向器)的TypeC 0xFF代表内建专用连接器如蓝牙摄像头等
Zero,
Zero
})
Return (UPCP)
}
}
Device (SS02)
{
Name (_ADR, 0x12) // _ADR: Address 这里也是关键 如 0xA 是10号端口(port10) 端口号可从Hackintool里面获取
Method (_UPC, 0, Serialized) // _UPC: USB Port Capabilities
{
Name (UPCP, Package (0x04)
{
0xFF,
0x03, // Zero代表USB2.0 0x03代表USB3.0 0x09代表分正反的TypeC 0x0A代表不带正反(转向器)的TypeC 0xFF代表内建专用连接器如蓝牙摄像头等
Zero,
Zero
})
Return (UPCP)
}
}
}
}
SSDT方法这不就用上了。。。。
不是SSDT定制,就是usbmap定制。还真是因为我禁用SSDT-EC-USBX.aml造成的,自从重新启用后,这都好几天了,没有再出现蓝牙崩溃的情况。
莫非你是用ssdt的方法定制的USB?如果不是,SSDT-EC-USBX.aml就是一直都需要的
定制USB后,ACPI里的SSDT-EC-USBX-DESKTOP.aml让我禁用了,后来又把它启用了,现在好像没事了,真是玄幻。
试过更换一下转接板吗?
对呀,94360CD肯定得转接呀。github上有人在MAC OS 13遇见,但是并没有人找出原因。很玄幻,估计是不定期抽风,没准过几天就好了,肯定不是普通现象。要是过几天好了,我告诉你。