OpenIntelWireless / IntelBluetoothFirmware

Intel Bluetooth Kernel Extensions for macOS
https://OpenIntelWireless.github.io/IntelBluetoothFirmware
GNU General Public License v3.0
2.47k stars 262 forks source link

Random Panics #436

Closed naveenkrdy closed 1 year ago

naveenkrdy commented 1 year ago

Have you read the docs?

Yes

macOS Version

macOS 13.3.1 (a)

Kext Version

v2.2.0

Wireless Adapter Model and USB Product ID

WIFI 6 AX200

Description

As the title says. System panics randomly when in sleep.

Info in System Report - Bluetooth

Bluetooth Controller:
  Address:  
  State:    On
  Chipset:  THIRD_PARTY_DONGLE
  Discoverable: Off
  Firmware Version: v256 c256
  Supported services:   0x382039 < HFP AVRCP A2DP HID Braille AACP GATT SerialPort >
  Transport:    USB
  Vendor ID:    0x004C (Apple)
  Not Connected:
  iPhone:
  Address:  
  Vendor ID:    0x004C
  Product ID:   0x7003
  Firmware Version: 0.0.0
  Minor Type:   MobilePhone
  JBL WAVE100TWS:
  Address:  
  Minor Type:   Headset
  MERKURY E027T:
  Address:  
  Firmware Version: 0.0.0
  Minor Type:   Headset
  MZ-5500:
  Address:  
  Vendor ID:    0x05D6
  Product ID:   0x000A
  Firmware Version: 0.0.0
  Minor Type:   Headset
  Naveen’s Apple Watch:
  Address:  
 RSSI:  -64
  Naveen’s Apple Watch:
  Address:  
  Tim Apple:
  Address:  
  RSSI: -74
  TK-123:
  Address:  
  Firmware Version: 0.0.0
  Minor Type:   Headset

Relevant log output

N/A

Kernel Panic Logs

panic(cpu 0 caller 0xffffff8008de2316): zone_require failed: address in unexpected zone id 399 (iokit.IOBufferMemoryDescriptor) (addr: 0xffffffa5a2af5350, expected: ipc ports) @zalloc.c:1432
Panicked task 0xffffffaf3be268b8: 197 threads: pid 0: kernel_task
Backtrace (CPU 0), panicked thread: 0xffffffaa6ed22b30, Frame : Return Address
0xffffffc4af1774b0 : 0xffffff80086705fd mach_kernel : _handle_debugger_trap + 0x4ad
0xffffffc4af177500 : 0xffffff80087c4b84 mach_kernel : _kdp_i386_trap + 0x114
0xffffffc4af177540 : 0xffffff80087b4619 mach_kernel : _kernel_trap + 0x3c9
0xffffffc4af1775a0 : 0xffffff8008610951 mach_kernel : _return_from_trap + 0xc1
0xffffffc4af1775c0 : 0xffffff80086708dd mach_kernel : _DebuggerTrapWithState + 0x5d
0xffffffc4af1776b0 : 0xffffff800866ff87 mach_kernel : _panic_trap_to_debugger + 0x1a7
0xffffffc4af177710 : 0xffffff8008ddd09b mach_kernel : _panic + 0x84
0xffffffc4af177800 : 0xffffff8008de2316 mach_kernel : ___smr_tail_invalid + 0x2bd0
0xffffffc4af177860 : 0xffffff8008de2340 mach_kernel : ___smr_tail_invalid + 0x2bfa
0xffffffc4af177870 : 0xffffff80086522c1 mach_kernel : _ipc_mqueue_copyin + 0xf41
0xffffffc4af177890 : 0xffffff800864dcbe mach_kernel : _ipc_kmsg_copyin_from_kernel + 0x7e
0xffffffc4af177900 : 0xffffff80086768df mach_kernel : _kernel_mach_msg_send + 0xef
0xffffffc4af177940 : 0xffffff8008d4fbe6 mach_kernel : __ZN12IOUserClient18_sendAsyncResult64EPyiS0_jj + 0x276
0xffffffc4af177a80 : 0xffffff800b491ee9 com.apple.iokit.IOUSBHostFamily : __ZN22AppleUSBHostUserClient17requestCompletionEP37AppleUSBHostUserClientAsyncParamBlockij + 0x87
0xffffffc4af177ab0 : 0xffffff800d8372e7 com.zxystd.IntelBTPatcher : __ZL17asyncIOCompletionPvS_ij + 0x207
0xffffffc4af177b20 : 0xffffff800b48a711 com.apple.iokit.IOUSBHostFamily : __ZN17AppleUSBIORequest8completeEv + 0xa35
0xffffffc4af177cf0 : 0xffffff8009e4ed88 com.apple.driver.usb.AppleUSBCommon : __ZN24AppleUSBRequestCompleter20completeRequestQueueEP11queue_entry + 0x452
0xffffffc4af177ef0 : 0xffffff8009e4e919 com.apple.driver.usb.AppleUSBCommon : __ZN24AppleUSBRequestCompleter12checkForWorkEv + 0x143
0xffffffc4af177f20 : 0xffffff8008d161ce mach_kernel : __ZN10IOWorkLoop15runEventSourcesEv + 0x12e
0xffffffc4af177f60 : 0xffffff8008d15817 mach_kernel : __ZN10IOWorkLoop10threadMainEv + 0x37
0xffffffc4af177fa0 : 0xffffff800861019e mach_kernel : _call_continuation + 0x2e
      Kernel Extensions in backtrace:
         com.apple.driver.usb.AppleUSBCommon(1.0)[ECF88315-F552-3B7E-AB5F-650F148429EF]@0xffffff8009e4c000->0xffffff8009e4ffff
         com.apple.iokit.IOUSBHostFamily(1.2)[9E02B054-8E56-3AE6-A4D0-1F5DB853C708]@0xffffff800b436000->0xffffff800b4abfff
            dependency: com.apple.driver.AppleBusPowerController(1.0)[95C644D4-B16C-3595-96B0-68A902F73C39]@0xffffff800990f000->0xffffff8009912fff
            dependency: com.apple.driver.AppleSMC(3.1.9)[DD55DA6A-679A-3797-947C-0B50B7B5B659]@0xffffff8009cc3000->0xffffff8009cdffff
            dependency: com.apple.driver.usb.AppleUSBCommon(1.0)[ECF88315-F552-3B7E-AB5F-650F148429EF]@0xffffff8009e4c000->0xffffff8009e4ffff
            dependency: com.apple.driver.AppleUSBHostMergeProperties(1.2)[14D2A608-4575-31E1-AEB3-EE4D7976FCDE]@0xffffff800b50d000->0xffffff800b50dfff
            dependency: com.apple.iokit.IOACPIFamily(1.4)[D342E754-A422-3F44-BFFB-DEE93F6723BC]@0xffffff800ac21000->0xffffff800ac22fff
         com.zxystd.IntelBTPatcher(2.2)[F092EAC7-8693-3E95-ADCD-EFD18C44142F]@0xffffff800d834000->0xffffff800d842fff
            dependency: as.vit9696.Lilu(1.6.5)[66379430-E0B1-3594-8AA8-D799339E1853]@0xffffff800c544000->0xffffff800c56ffff
            dependency: com.apple.iokit.IOUSBHostFamily(1.2)[9E02B054-8E56-3AE6-A4D0-1F5DB853C708]@0xffffff800b436000->0xffffff800b4abfff

Process name corresponding to current thread (0xffffffaa6ed22b30): kernel_task
Boot args: keepsyms=1

Mac OS version:
22E261

Kernel version:
Darwin Kernel Version 22.4.0: Mon Mar  6 21:00:17 PST 2023; root:xnu-8796.101.5~3/RELEASE_X86_64
Kernel UUID: CF2A42DA-3F7C-30C6-9433-6F2076FF1F94
roots installed: 0
KernelCache slide: 0x0000000008200000
KernelCache base:  0xffffff8008400000
Kernel slide:      0x00000000082dc000
Kernel text base:  0xffffff80084dc000
__HIB  text base: 0xffffff8008300000
System model name: MacBookPro16,1 (Mac-E1008331FDC96864)
System shutdown begun: NO
Panic diags file available: YES (0x0)
Hibernation exit count: 0

System uptime in nanoseconds: 258482863772
Last Sleep:           absolute           base_tsc          base_nano
  Uptime  : 0x0000003c2ec7835f
  Sleep   : 0x0000003c0c4427e0 0x0000000117c5790c 0x00000026ef914b1f
  Wake    : 0x0000003c29aa6a05 0x00000001ccbc6752 0x0000003c12e53af3
Compressor Info: 0% of compressed pages limit (OK) and 0% of segments limit (OK) with 0 swapfiles and OK swap space
Zone info:
  Zone map: 0xffffff9a6e605000 - 0xffffffba6e605000
  . PGZ   : 0xffffff9a6e605000 - 0xffffff9a70606000
  . VM    : 0xffffff9a70606000 - 0xffffff9f3ce05000
  . RO    : 0xffffff9f3ce05000 - 0xffffffa0d6605000
  . GEN0  : 0xffffffa0d6605000 - 0xffffffa5a2e05000
  . GEN1  : 0xffffffa5a2e05000 - 0xffffffaa6f605000
  . GEN2  : 0xffffffaa6f605000 - 0xffffffaf3be05000
  . GEN3  : 0xffffffaf3be05000 - 0xffffffb408605000
  . DATA  : 0xffffffb408605000 - 0xffffffba6e605000
  Metadata: 0xffffffc451d39000 - 0xffffffc471d39000
  Bitmaps : 0xffffffc471d39000 - 0xffffffc474d39000
  Extra   : 0 - 0
zxystd commented 1 year ago

I think it is fixed.