acidanthera / bugtracker

Acidanthera Bugtracker
383 stars 44 forks source link

Kernel Panics in NVMe controller. "3rd party NVMe controller. Command timeout. Write. " #2380

Open avogadro23 opened 7 months ago

avogadro23 commented 7 months ago

Running Monterey 12.7.1 NVMEFixKext V1.1.1

It's been stable for years running BigSur and prior versions. I upgraded to Monterey in 2023 and now is throwing errors. System crashed while awake. Could this be the NVMEFix Kext, or do I need to increase nand-io-timeoutms:?

panic(cpu 0 caller 0xffffff80179876a2): nvme: "3rd party NVMe controller. Command timeout. Write. fBuiltIn=1 MODEL=XPG GAMMIX S11 Pro FW=S0118C CSTS=0x1 US[1]=0x0 US[0]=0xfb VID=0x1cc1 DID=0x8201 CRITICAL_WARNING=0x0.\n" @IONVMeController.cpp:6090 Panicked task 0xffffff8b7938c670: 344 threads: pid 0: kernel_task Backtrace (CPU 0), panicked thread: 0xffffff8b6d979aa0, Frame : Return Address 0xfffffff56782ba20 : 0xffffff8015079a3d mach_kernel : _handle_debugger_trap + 0x41d 0xfffffff56782ba70 : 0xffffff80151dca16 mach_kernel : _kdp_i386_trap + 0x116 0xfffffff56782bab0 : 0xffffff80151cbd83 mach_kernel : _kernel_trap + 0x4d3 0xfffffff56782bb00 : 0xffffff8015019a90 mach_kernel : _return_from_trap + 0xe0 0xfffffff56782bb20 : 0xffffff8015079e0d mach_kernel : _DebuggerTrapWithState + 0xad 0xfffffff56782bc40 : 0xffffff80150795c6 mach_kernel : _panic_trap_to_debugger + 0x2b6 0xfffffff56782bca0 : 0xffffff8015914a83 mach_kernel : _panic + 0x84 0xfffffff56782bd90 : 0xffffff80179876a2 com.apple.iokit.IONVMeFamily : ZN16IONVMeController14CommandTimeoutEP16AppleNVMeRequest.cold.1 0xfffffff56782bda0 : 0xffffff801796a7cb com.apple.iokit.IONVMeFamily : ZN16IONVMeController13FatalHandlingEv + 0x141 0xfffffff56782bdd0 : 0xffffff8015849d35 mach_kernel : ZN18IOTimerEventSource15timeoutSignaledEPvS0_ + 0xa5 0xfffffff56782be40 : 0xffffff8015849c38 mach_kernel : ZN18IOTimerEventSource17timeoutAndReleaseEPvS0_ + 0xc8 0xfffffff56782be70 : 0xffffff80150ccab5 mach_kernel : _thread_call_delayed_timer + 0x505 0xfffffff56782bee0 : 0xffffff80150cdb82 mach_kernel : _thread_call_delayed_timer + 0x15d2 0xfffffff56782bfa0 : 0xffffff801501919e mach_kernel : _call_continuation + 0x2e Kernel Extensions in backtrace: com.apple.iokit.IONVMeFamily(2.1)[C6D5C7CD-EDA6-3AA5-834A-5C4DF30B8BA1]@0xffffff8017962000->0xffffff801798efff dependency: com.apple.driver.AppleMobileFileIntegrity(1.0.5)[562ADF83-5D7A-3A65-B035-04FB65983513]@0xffffff80167b1000->0xffffff80167d3fff dependency: com.apple.iokit.IOPCIFamily(2.9)[25488D4A-EEA0-3B5D-B4C2-365258F6C938]@0xffffff8017c37000->0xffffff8017c63fff dependency: com.apple.iokit.IOReportFamily(47)[5A8BDE04-C264-33FD-8C75-91A5961515BE]@0xffffff8017c75000->0xffffff8017c77fff dependency: com.apple.iokit.IOStorageFamily(2.1)[63189A2A-E19C-3F1E-96EF-95B7DB154785]@0xffffff8017d7c000->0xffffff8017d92fff

Process name corresponding to current thread (0xffffff8b6d979aa0): kernel_task Boot args: -v debug=0x100 keepsyms=1 -igfxsklaskbl agdpmod=pikera unfairgva=1 alcid=1 chunklist-security-epoch=0 -chunklist-no-rev2-dev

Mac OS version: 21G920

Kernel version: Darwin Kernel Version 21.6.0: Wed Oct 4 23:55:28 PDT 2023; root:xnu-8020.240.18.704.15~1/RELEASE_X86_64 Kernel UUID: CA525A92-20FF-38D2-AB16-E64095531D5A KernelCache slide: 0x0000000014e00000 KernelCache base: 0xffffff8015000000 Kernel slide: 0x0000000014e10000 Kernel text base: 0xffffff8015010000 __HIB text base: 0xffffff8014f00000 System model name: iMac17,1 (Mac-DB15BD556843C820) System shutdown begun: NO Panic diags file available: YES (0x0) Hibernation exit count: 0

System uptime in nanoseconds: 47782197637778 Last Sleep: absolute base_tsc base_nano Uptime : 0x00002b7528eabd71 Sleep : 0x000013531684c7fc 0x00000001218bdb79 0x000013436692c437 Wake : 0x000013531a3963e3 0x0000000121b3616f 0x0000135316a9fb6b Compressor Info: 6% of compressed pages limit (OK) and 9% of segments limit (OK) with 2 swapfiles and OK swap space Zone info: Zone map: 0xffffff80436f8000 - 0xffffffa0436f8000 . PGZ : 0xffffff80436f8000 - 0xffffff80476f9000 . VM : 0xffffff80476f9000 - 0xffffff8513a2c000 . RO : 0xffffff8513a2c000 - 0xffffff86ad092000 . GEN0 : 0xffffff86ad092000 - 0xffffff8b793c5000 . GEN1 : 0xffffff8b793c5000 - 0xffffff90456f8000 . GEN2 : 0xffffff90456f8000 - 0xffffff9511a2b000 . GEN3 : 0xffffff9511a2b000 - 0xffffff99ddd5e000 . DATA : 0xffffff99ddd5e000 - 0xffffffa0436f8000 Metadata: 0xffffffa0c3c0a000 - 0xffffffa0e3c0a000 Bitmaps : 0xffffffa0e3c0a000 - 0xffffffa0efc0a000

jricks92 commented 7 months ago

I'm getting the same thing on macOS Sonoma 14.3 with NVMEFix 1.1.1. My SSD is an Acer Predator GM7000 4TB.

panic(cpu 0 caller 0xffffff80036c843e): nvme: "3rd party NVMe controller. Command timeout. Write. fBuiltIn=1 MODEL=Predator SSD GM7000 4TB FW=3.A.J.CR CSTS=0x1 US[1]=0x0 US[0]=0x37 VID=0x1dbe DID=0x5236 CRITICAL_WARNING=0x0.\n" @IONVMeController.cpp:6147
Panicked task 0xffffff90289799d8: 533 threads: pid 0: kernel_task
Backtrace (CPU 0), panicked thread: 0xffffff99b4770b30, Frame : Return Address
0xffffffd056eafa80 : 0xffffff8001636c41 
0xffffffd056eafad0 : 0xffffff80017955c0 
0xffffffd056eafb10 : 0xffffff8001784d0c 
0xffffffd056eafb90 : 0xffffff80015d3971 
0xffffffd056eafbb0 : 0xffffff8001636f2d 
0xffffffd056eafca0 : 0xffffff80016365d3 
0xffffffd056eafd00 : 0xffffff8001dd8d0b 
0xffffffd056eafdf0 : 0xffffff80036c843e 
0xffffffd056eafe20 : 0xffffff8001d13b9c 
0xffffffd056eafe70 : 0xffffff8001d13ab6 
0xffffffd056eafea0 : 0xffffff8001690638 
0xffffffd056eafee0 : 0xffffff80016916c8 
0xffffffd056eaffa0 : 0xffffff80015d319e 
      Kernel Extensions in backtrace:
         com.apple.iokit.IONVMeFamily(2.1)[5985F50F-0A7D-3A4B-88B3-9D4C9EC4E43B]@0xffffff80036c1000->0xffffff80036ebfff
            dependency: com.apple.driver.AppleMobileFileIntegrity(1.0.5)[07852425-8607-3C1A-B273-92FC0221EC02]@0xffffff8002c9e000->0xffffff8002cd4fff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[1B194276-D13F-32DD-8B6D-4751C1C73603]@0xffffff8003955000->0xffffff8003986fff
            dependency: com.apple.iokit.IOReportFamily(47)[7EE0B816-0F22-3141-992C-ECEA9CA4B021]@0xffffff8003997000->0xffffff8003999fff
            dependency: com.apple.iokit.IOStorageFamily(2.1)[A96D850A-038F-31D7-9F3D-A6775064548E]@0xffffff8003a8d000->0xffffff8003aa4fff
MatteoBax commented 7 months ago

I know it's not planned, but if a change is made to the kext code could support for PM991 SSDs be added? I opened issue #2361 some time ago.

Gachogavacho commented 6 months ago

I have the same problem asus z790 proart creator wifi board and a Crucial T700 1TB Gen5 NVMe M.2 SSD - CT1000T700SSD3, hangs at start sometimes or just after login. is this a bad drive?