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

M1 Mac Mini Kernel Panic on Restart #2513

Closed
danielisaacrodriguez opened this issue Nov 19, 2020 · 63 comments
Closed

M1 Mac Mini Kernel Panic on Restart #2513

danielisaacrodriguez opened this issue Nov 19, 2020 · 63 comments

Comments

@danielisaacrodriguez
Copy link

On machine restart, the dock hiding animation freezes midway, which to me indicates a hang. On booting back to desktop, the crash reporter appears with the below text. I cut off the long list of loaded kexts but can provide those if needed.

panic(cpu 6 caller 0xfffffe0025cf84d0): "pmap_tte_remove: non-zero pagetable refcount: pmap=0xfffffdf0459337a0 ttep=0xfffffdf0bd7f8410 ptd=0xfffffdf31897a998 refcnt=0x1"
Debugger message: panic
Memory ID: 0x6
OS release type: User
OS version: 20B29
Kernel version: Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:10 PDT 2020; root:xnu-7195.50.7~2/RELEASE_ARM64_T8101
Fileset Kernelcache UUID: 35A645C8D62619060673BEF751E6A7AA
Kernel UUID: D8523129-E878-38BA-A8E0-1D0E8D2470B7
iBoot version: iBoot-6723.50.2
secure boot?: YES
Paniclog version: 13
KernelCache slide: 0x000000001de74000
KernelCache base:  0xfffffe0024e78000
Kernel slide:      0x000000001eae0000
Kernel text base:  0xfffffe0025ae4000
Kernel text exec base:  0xfffffe0025bac000
mach_absolute_time: 0xb36a494728
Epoch Time:        sec       usec
  Boot    : 0x5fb52e8b 0x000d0003
  Sleep   : 0x5fb5c7f5 0x0000d88d
  Wake    : 0x5fb5cbd3 0x00084eff
  Calendar: 0x5fb5dbee 0x0006946f

CORE 0 recently retired instr at 0xfffffe0025d164d0
CORE 1 recently retired instr at 0xfffffe0025d164d0
CORE 2 recently retired instr at 0xfffffe0025d164d0
CORE 3 recently retired instr at 0xfffffe0025d164d0
CORE 4 recently retired instr at 0xfffffe0025d164d4
CORE 5 recently retired instr at 0xfffffe0025d164d4
CORE 6 recently retired instr at 0xfffffe0025d1500c
CORE 7 recently retired instr at 0xfffffe0025d164d4
Panicked task 0xfffffe166d3918e0: 115536 pages, 461 threads: pid 0: kernel_task
Panicked thread: 0xfffffe166d3aa610, backtrace: 0xfffffe401acd3780, tid: 104
		  lr: 0xfffffe0025bf9f7c  fp: 0xfffffe401acd37f0
		  lr: 0xfffffe0025bf9d48  fp: 0xfffffe401acd3860
		  lr: 0xfffffe0025d1b7d0  fp: 0xfffffe401acd3880
		  lr: 0xfffffe0025d0d2fc  fp: 0xfffffe401acd3930
		  lr: 0xfffffe0025bb37e8  fp: 0xfffffe401acd3940
		  lr: 0xfffffe0025bf99d8  fp: 0xfffffe401acd3cd0
		  lr: 0xfffffe0025bf99d8  fp: 0xfffffe401acd3d40
		  lr: 0xfffffe0025bf97f4  fp: 0xfffffe002b53fda0
		  lr: 0xfffffe0026391dec  fp: 0xfffffe002b53fdc0
		  lr: 0xfffffe0025cf84d0  fp: 0xfffffe002b53fe40
		  lr: 0xfffffe00263a6660  fp: 0xfffffe002b53fed0
		  lr: 0xfffffe00263a6644  fp: 0xfffffe002b53ff60
		  lr: 0xfffffe00263a5b88  fp: 0xfffffe002b53ffe0
		  lr: 0xfffffe0025bb3ff4  fp: 0xfffffe401acd3d60
		  lr: 0xfffffe0025c90b10  fp: 0xfffffe401acd3d90
		  lr: 0xfffffe0025c2b24c  fp: 0xfffffe401acd3de0
		  lr: 0xfffffe0025c36304  fp: 0xfffffe401acd3e00
		  lr: 0xfffffe0025c10d30  fp: 0xfffffe401acd3e70
		  lr: 0xfffffe0025c10d30  fp: 0xfffffe401acd3ee0
		  lr: 0xfffffe0025c10c1c  fp: 0xfffffe401acd3f00
		  lr: 0xfffffe0025bbce74  fp: 0x0000000000000000
@tekezo
Copy link
Member

tekezo commented Nov 19, 2020

Since Karabiner-Elements v13.0.0, it is now not related with kernel.
Thus, the panic is caused by a macOS issue.

@tekezo tekezo closed this as completed Nov 19, 2020
@danielisaacrodriguez
Copy link
Author

I understand what you are saying, but I do want to mention that the problem appears after installing karabiner, and resolves after uninstalling. I have done this twice to confirm.

@tekezo
Copy link
Member

tekezo commented Nov 19, 2020

In that case, I guess that Karabiner-Elements triggers an issue of some other incompatible third-vendor apps with Big Sur (e.g., anti-virus software), and the issue causes kernel panic.

@xiao-zang
Copy link

In that case, I guess that Karabiner-Elements triggers an issue of some other incompatible third-vendor apps with Big Sur (e.g., anti-virus software), and the issue causes kernel panic.

I am also experiencing kernel panic when restarting my M1 MacBook Air (see #2517) and uninstalling Karabiner Elements seems to be the only way to fix it. I don't have any anti-virus software installed. Actually my first thought was that Dropbox and iStatMenu might be the cause as those are not yet fully compatible with M1 Mac, so I uninstalled them but the issue persisted. Then I uninstalled Karabiner-Elements, which fixed the issue. The issue did not reemerge after installing Dropbox and iStatMenu again.

@shaunbennett
Copy link

shaunbennett commented Nov 21, 2020

Same issue for myself - on a fresh setup, no issue without Karabiner, kernel panic with.

Does anyone have an M1 Mac with Karabiner and not getting the kernel panic on reboot? (i.e. when you reboot, it doesn't show "your computer restarted because of a problem" after logging in). Hopefully we can narrow down who all this is affecting

@Terubozu
Copy link

I get the same issue on my M1 Mac Mini.

macOS Big Sur 11.0.1 (20B29)
Karabiner-Elements 13.1.0 / 13.1.1 beta

I have not yet installed most of the software other than the OS pre-installed.
If you have Karabiner-Elements installed, your Mac will reboot immediately after the system exits (after the power LED is turned off), even if you have Quit Karabiner before the system exits. In this case, there will be no startup sound.
After the automatic reboot, you will get an error report "your computer restarted because of a problem". Considering the lack of boot sound and the error report, it seems that the kernel panic occurred before the exit sequence was completed, which led to the automatic reboot.
If you uninstall Karabiner-Elements, there is nothing wrong with it and your Mac will turn off.

@qv0vp
Copy link

qv0vp commented Nov 22, 2020

I just set up my Mac Mini M1 and am getting the same error message.

Seems to consistently be triggered upon restart/shutdown. If I quit the app before shutting down, it still happens. My Mac was a migration tool setup from a 2013 15” MacBook Pro.

@jabberwocky7
Copy link

I have the exact same issue with my MacBook Air M1 + Big Sur 11.0.1. Every time I shutdown or restart my MBA, I get a pop up after booting up and logging in saying "your computer restarted because of a problem". I don't have any issues if I uninstall Karabinar Elements, so I'm pretty sure this app is the culprit.

@ghost
Copy link

ghost commented Dec 3, 2020

Just a me too on this with 11.0.1 + Mac Mini M1.

@romancin
Copy link

Me too on MBP M1 :(

@penso
Copy link

penso commented Dec 13, 2020

Same here :( Must use Karabiner Elements as I use a PC keyboard and want to invert Command/Alt..

@penso
Copy link

penso commented Dec 13, 2020

I spent 2 hours checking my system with disk utility, removing Docker, Virtualbox and all software I thought could be the source of this crash, ended up being my lovely Karabiner Elements I use for years to remap Command and Alt. I confirm removing it fixes the issue, and I now use instructions available at https://superuser.com/questions/80976/how-to-re-map-command-and-option-keys-on-mac-os-x-with-a-pc-keyboard and MacOS settings to remap those, you can choose which keyboard you want those change on so I guess even laptop users will be happy.

So long Karabiner, I liked you before! :)

@agentk
Copy link

agentk commented Dec 15, 2020

To confirm this is still happening with macOS Big Sur 11.1 (20C69) on a MacBook Pro (13-inch, M1, 2020).
I was hoping it might have been addressed by a macOS update, but not yet. Removing Karabiner Elements results in a clean reboot, reinstalling it results in a kernel panic on every shutdown.

The kernel panic did not affect the install of the 11.1 update either.

@wookiist
Copy link

Same here... using m1 mac mini :( cannot use mac without Karabiner... but I had to uninstall it to shutdown my mac..
so sad...

@ht55ght55
Copy link

I have also had to uninstall Karabiner... what a pity!!

@agentk
Copy link

agentk commented Dec 17, 2020

To be clear, you shouldn’t have to uninstall Karabiner. Everything works correctly. It kernel panics at the very last step of restart and if you really want to shutdown but it keeps rebooting, click shutdown from the login screen.

@azz147
Copy link

azz147 commented Dec 23, 2020

To be clear, you shouldn’t have to uninstall Karabiner. Everything works correctly. It kernel panics at the very last step of restart and if you really want to shutdown but it keeps rebooting, click shutdown from the login screen.

If I don't uninstall Karabiner, I cannot shut down my Mac since it always restarts after the LED indicator goes off. Even clicking shutdown from the login screen won't shut down the Mac, it keeps restarting.

@islay-malter
Copy link

Same issue. Only thing that works for me is logging out first, then shutting down from the login screen.

@windless0530
Copy link

Since Karabiner-Elements v13.0.0, it is now not related with kernel.
Thus, the panic is caused by a macOS issue.

However, this IS the Karabiner issue, for so many people has proved that this crash happens and ONLY happens when Karabiner is installed on M1 Mac.

The perfect solution is here:
#2517 (comment)

@wookiist
Copy link

Since Karabiner-Elements v13.0.0, it is now not related with kernel.
Thus, the panic is caused by a macOS issue.

However, this IS the Karabiner issue, for so many people has proved that this crash happens and ONLY happens when Karabiner is installed on M1 Mac.

The perfect solution is here:
#2517 (comment)

@windless0530 thanks for the suggestion. I've tested my environment with your solution.
However, it seems we cannot set modifier in detail with Hammerspoon, such as 'right command', 'left command', or 'right option', etc.

Are there more tricks or solution for this case?

BR.

@rickybright
Copy link

Also have this issue.

@camaleo
Copy link

camaleo commented Jan 7, 2021

Since Karabiner-Elements v13.0.0, it is now not related with kernel.
Thus, the panic is caused by a macOS issue.

However, this IS the Karabiner issue, for so many people has proved that this crash happens and ONLY happens when Karabiner is installed on M1 Mac.

I agree, I am facing the same issue on Mac Mini M1, macOS 11.1 and Karabiner 13.1.0
While it works perfectly on another Mac Mini intel, macOS 10.15

The perfect solution is here:
#2517 (comment)

:(

I just need to remap one single key on a new Logitech keyboard... need to learn how to develop: had a look but too ,much complicated for me.

I guess I will wait for a new version of Karabiner.

thank you

@Rondieli
Copy link

Rondieli commented Jan 7, 2021

Not sure if anyone else experienced this, there was a few boots that froze my cursor entirely (both trackpad and external mouse).

device: Macbook Pro m1
macOS: 11.1

I uninstalled Karabiner for now, also no luck with hammerspoon.

@paulcasavant
Copy link

paulcasavant commented Jan 9, 2021

I just found this thread after experiencing this problem and was able to narrow down what seems to be causing the crash for me. I'm on a 13" 16GB M1 MacBook Pro, Big Sur 11.1. I installed the latest Karabiner-Elements 13.1.5 (Beta) and discovered that it only encounters kernel panic if I try to shutdown with an UNSAVED text document open (TextEdit, VSCode, etc.). It does not seem to matter if the document is left open; only that it be saved before shutting down.

I know this sounds strange, but that seems to be the only condition that causes my machine to panic on shutdown. Otherwise, it shuts down completely normal.

@camaleo
Copy link

camaleo commented Jan 9, 2021 via email

@agentk
Copy link

agentk commented Jan 9, 2021

@paulcasavant Does ticking the 'Settings > General > Close windows when quitting an app' have any bearing on the kernel panic for you? And how do you know if you have any unsaved documents?

@paulcasavant
Copy link

paulcasavant commented Jan 9, 2021

@paulcasavant Does ticking the 'Settings > General > Close windows when quitting an app' have any bearing on the kernel panic for you? And how do you know if you have any unsaved documents?

What I mean by "unsaved document" is that if I opened a text file in TextEdit or VSCode and tried to shutdown without first either saving or closing the file, I would encounter a panic. If I repeated the same steps, but saved the file before shutting down, the system would shutdown normally and I would not experience the sudden freeze, pink screen, and "system did not shutdown correctly...or whatever" message upon restarting. I should also add that I should not have said "TextEdit, VSCode" etc." as I only tested it with those two programs and nothing else. ALSO, I misspoke in previous comment and said I have a MacBook Air when I actually have the 13" 16GB M1 MacBook Pro. I verified that I could only replicate the bug if Karabiner was installed.

I think you might be onto something, agentk. I have restarted my machine numerous times in an attempt to find a pattern. First of all, in most of my trials, I tried shutting down with an unsaved document, but I also threw in a few "normal" cases where I did not have an unsaved document open. As expected, across numerous trials I never encountered kernel panic unless there was an unsaved document open. I cannot explain the results, but I will try to recount what happened...

The 'Close windows when quitting app' setting was ENABLED for me by default and so I tried DISABLING it. This resulted in the issue completely going away. I could shutdown with saved and unsaved documents open and would be unable to reproduce the bug. After a bunch of trials, I tried RE-ENABLING the setting and found that the bug was still gone.

Here is where it gets weird...

I then DISABLED the setting again and experienced one kernel panic with an unsaved document, but then it worked fine with unsaved documents on several subsequent trials and I was unable to reproduce it.

Next I RE-ENABLED the setting again and experienced several kernel panics with unsaved files.

Next I DISABLED it again and did not experience the issue at all with saved or unsaved documents.

Except for that one case, the issue seems to be completely gone with that setting DISABLED. I cannot explain why it sometimes works with the setting ENABLED. Before messing with that setting, I had 100% consistency in kernel panic with an unsaved document. This is all very strange and I cannot explain it, but hopefully this helps someone. See my crash report below.

panic(cpu 5 caller 0xfffffe002275ca78): "pmap_tte_remove: non-zero pagetable refcount: pmap=0xfffffdf02da051b0 ttep=0xfffffdf1668b4410 ptd=0xfffffdf152dc3c28 refcnt=0x1"
Debugger message: panic
Memory ID: 0xff
OS release type: User
OS version: 20C69
Kernel version: Darwin Kernel Version 20.2.0: Wed Dec  2 20:40:21 PST 2020; root:xnu-7195.60.75~1/RELEASE_ARM64_T8101
Fileset Kernelcache UUID: 3E6AA74DF723BCB886499A5AAB34FA34
Kernel UUID: 48F71DB3-6C91-3E62-9576-3A1DCEF2B536
iBoot version: iBoot-6723.61.3
secure boot?: YES
Paniclog version: 13
KernelCache slide: 0x000000001aa04000
KernelCache base:  0xfffffe0021a08000
Kernel slide:      0x000000001b544000
Kernel text base:  0xfffffe0022548000
Kernel text exec base:  0xfffffe0022610000
mach_absolute_time: 0x3d15b183
Epoch Time:        sec       usec
  Boot    : 0x5ff966ef 0x0002fcf7
  Sleep   : 0x00000000 0x00000000
  Wake    : 0x00000000 0x00000000
  Calendar: 0x5ff96714 0x0008af72

CORE 0 recently retired instr at 0xfffffe002277ac5c
CORE 1 recently retired instr at 0xfffffe002277ac5c
CORE 2 recently retired instr at 0xfffffe002277ac5c
CORE 3 recently retired instr at 0xfffffe002277ac5c
CORE 4 recently retired instr at 0xfffffe002277ac60
CORE 5 recently retired instr at 0xfffffe0022779798
CORE 6 recently retired instr at 0xfffffe002277ac60
CORE 7 recently retired instr at 0xfffffe002277ac60
Panicked task 0xfffffe166cd898e0: 34311 pages, 458 threads: pid 0: kernel_task
Panicked thread: 0xfffffe166cda1960, backtrace: 0xfffffe303f113780, tid: 104
		  lr: 0xfffffe002265df8c  fp: 0xfffffe303f1137f0
		  lr: 0xfffffe002265dd58  fp: 0xfffffe303f113860
		  lr: 0xfffffe002277ff5c  fp: 0xfffffe303f113880
		  lr: 0xfffffe0022771914  fp: 0xfffffe303f113930
		  lr: 0xfffffe00226177e8  fp: 0xfffffe303f113940
		  lr: 0xfffffe002265d9e8  fp: 0xfffffe303f113cd0
		  lr: 0xfffffe002265d9e8  fp: 0xfffffe303f113d40
		  lr: 0xfffffe002265d804  fp: 0xfffffe0028133da0
		  lr: 0xfffffe0022df83f8  fp: 0xfffffe0028133dc0
		  lr: 0xfffffe002275ca78  fp: 0xfffffe0028133e40
		  lr: 0xfffffe0022e0e688  fp: 0xfffffe0028133ed0
		  lr: 0xfffffe0022e0e66c  fp: 0xfffffe0028133f60
		  lr: 0xfffffe0022e0dbb0  fp: 0xfffffe0028133fe0
		  lr: 0xfffffe0022617ff4  fp: 0xfffffe303f113d60
		  lr: 0xfffffe00226f4b0c  fp: 0xfffffe303f113d90
		  lr: 0xfffffe002268f214  fp: 0xfffffe303f113de0
		  lr: 0xfffffe002269a2cc  fp: 0xfffffe303f113e00
		  lr: 0xfffffe0022674cb0  fp: 0xfffffe303f113e70
		  lr: 0xfffffe0022674cb0  fp: 0xfffffe303f113ee0
		  lr: 0xfffffe0022674b9c  fp: 0xfffffe303f113f00
		  lr: 0xfffffe0022620c14  fp: 0x0000000000000000

last started kext at 373820657: com.apple.driver.AppleHIDKeyboard	222 (addr 0xfffffe0021d74000, size 16384)
loaded kexts:
com.apple.driver.AppleTopCaseHIDEventDriver	4020.6
com.apple.filesystems.autofs	3.0
com.apple.fileutil	20.036.15
com.apple.iokit.IOBluetoothSerialManager	8.0.2f9
com.apple.driver.AppleBiometricServices	1
com.apple.driver.AppleALSColorSensor	1.0.0d1
com.apple.driver.AppleAOPVoiceTrigger	11.5
com.apple.driver.BCMWLANFirmware4378.Hashstore	1
com.apple.driver.SEPHibernation	1
com.apple.driver.CoreKDL	1
com.apple.driver.AppleUSBDeviceNCM	5.0.0
com.apple.driver.DiskImages.ReadWriteDiskImage	493.0.0
com.apple.driver.AppleThunderboltIP	4.0.3
com.apple.driver.DiskImages.UDIFDiskImage	493.0.0
com.apple.driver.DiskImages.RAMBackingStore	493.0.0
com.apple.driver.DiskImages.FileBackingStore	493.0.0
com.apple.driver.AppleSmartBatteryManager	161.0.0
com.apple.filesystems.apfs	1677.60.23
com.apple.driver.AppleFileSystemDriver	3.0.1
com.apple.nke.l2tp	1.9
com.apple.filesystems.tmpfs	1
com.apple.IOTextEncryptionFamily	1.0.0
com.apple.filesystems.hfs.kext	556.60.1
com.apple.security.BootPolicy	1
com.apple.BootCache	40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib	1.0.0
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless	1.0.0d1
com.apple.driver.ApplePMP	1
com.apple.driver.AppleSmartIO2	1
com.apple.AppleEmbeddedSimpleSPINORFlasher	1
com.apple.driver.AppleAVE2	401.63.3
com.apple.driver.ApplePMPFirmware	1
com.apple.driver.AppleT8020SOCTuner	1
com.apple.AGXG13G	172.20.14
com.apple.driver.AppleAVD	375
com.apple.driver.AppleSPMIPMU	1.0.1
com.apple.driver.AppleDPDisplayTCON	1
com.apple.driver.AppleCS42L83Audio	437.96
com.apple.driver.AppleTAS5770LAmp	437.96
com.apple.driver.AppleMobileDispH13G-DCP	140.0
com.apple.driver.AppleJPEGDriver	4.6.0
com.apple.driver.AppleT8103CLPCv3	1
com.apple.driver.AppleSummitLCD	1.0.0
com.apple.driver.usb.AppleUSBHostT8103	1
com.apple.driver.AudioDMAController-T8103	1.58
com.apple.driver.AppleS5L8960XNCO	1
com.apple.driver.AppleT8103PMGR	1
com.apple.driver.AppleS8000AES	1
com.apple.driver.AppleS8000DWI	1.0.0d1
com.apple.driver.AppleS5L8960XWatchDogTimer	1
com.apple.driver.AppleInterruptController	1.0.0d1
com.apple.driver.AppleBluetoothModule	1
com.apple.driver.AppleSamsungSerial	1.0.0d1
com.apple.driver.AppleBCMWLANBusInterfacePCIe	1
com.apple.driver.AppleT8020DART	1
com.apple.driver.AppleSynopsysMIPIDSI	1.0.0
com.apple.driver.AppleS5L8920XPWM	1.0.0d1
com.apple.driver.AppleS5L8940XI2C	1.0.0d2
com.apple.driver.AppleSPIMC	1
com.apple.driver.AppleT8101	1
com.apple.driver.AppleM68Buttons	1.0.0d1
com.apple.iokit.IOUserEthernet	1.0.1
com.apple.iokit.IOKitRegistryCompatibility	1
com.apple.iokit.EndpointSecurity	1
com.apple.driver.AppleDiskImages2	1
com.apple.AppleSystemPolicy	2.0.0
com.apple.nke.applicationfirewall	310
com.apple.kec.InvalidateHmac	1
com.apple.driver.AppleHIDKeyboard	222
com.apple.driver.AppleActuatorDriver	4400.28
com.apple.driver.AppleMultitouchDriver	4400.28
com.apple.driver.AppleHSBluetoothDriver	4020.6
com.apple.driver.IOBluetoothHIDDriver	8.0.2f9
com.apple.kext.triggers	1.0
com.apple.iokit.IOAVBFamily	900.12
com.apple.plugin.IOgPTPPlugin	900.11
com.apple.iokit.IOEthernetAVBController	1.1.0
com.apple.driver.AppleMesaSEPDriver	100.99
com.apple.iokit.IOBiometricFamily	1
com.apple.driver.AppleAOPAudio	14.32
com.apple.driver.IOBluetoothHostControllerPCIeTransport	8.0.2f9
com.apple.iokit.IOBluetoothHostControllerTransport	8.0.2f9
com.apple.driver.AppleConvergedIPCOLYBTControl	1
com.apple.driver.AppleConvergedPCI	1
com.apple.driver.AppleBluetoothDebug	1
com.apple.driver.AppleSEPHDCPManager	1.0.1
com.apple.iokit.AppleSEPGenericTransfer	1
com.apple.driver.usb.networking	5.0.0
com.apple.driver.DiskImages.KernelBacked	493.0.0
com.apple.driver.AppleThunderboltPCIDownAdapter	4.1.1
com.apple.driver.AppleThunderboltDPInAdapter	8.1.4
com.apple.driver.AppleThunderboltDPAdapterFamily	8.1.4
com.apple.driver.AppleThunderboltUSBDownAdapter	1.0.4
com.apple.driver.AppleBTM	1.0.1
com.apple.driver.AppleXsanScheme	3
com.apple.nke.ppp	1.9
com.apple.driver.AppleBSDKextStarter	3
com.apple.filesystems.hfs.encodings.kext	1
com.apple.driver.AppleDCPDPTXProxy	1.0.0
com.apple.driver.DCPDPFamilyProxy	1
com.apple.AGXFirmwareKextG13GRTBuddy	172.20.14
com.apple.AGXFirmwareKextRTBuddy64	172.20.14
com.apple.iokit.IONVMeFamily	2.1.0
com.apple.driver.AppleDiagnosticDataAccessReadOnly	1.0.0
com.apple.driver.AppleNANDConfigAccess	1.0.0
com.apple.driver.DCPAVFamilyProxy	1
com.apple.iokit.IOGPUFamily	20.21.1
com.apple.driver.AppleDialogPMU	1.0.1
com.apple.driver.AppleHIDTransportSPI	4400.35
com.apple.driver.AppleHIDTransport	4400.35
com.apple.driver.AppleInputDeviceSupport	4400.35
com.apple.driver.AppleHPM	3.4.4
com.apple.driver.AppleSPU	1
com.apple.driver.AppleCSEmbeddedAudio	437.96
com.apple.driver.AppleEmbeddedAudio	437.96
com.apple.iokit.AppleARMIISAudio	80.34
com.apple.driver.AppleStockholmControl	1.0.0
com.apple.iokit.IOMobileGraphicsFamily-DCP	343.0.0
com.apple.driver.AppleDCP	1
com.apple.driver.AppleFirmwareKit	1
com.apple.driver.ApplePassthroughPPM	3.0
com.apple.driver.AppleH13CameraInterface	2.77.0
com.apple.driver.AppleH10PearlCameraInterface	14.70.0
com.apple.driver.AppleH11ANEInterface	4.51.0
com.apple.driver.AppleSPMI	1.0.1
com.apple.driver.AppleUSBXDCIARM	1.0
com.apple.driver.AppleUSBXDCI	1.0
com.apple.iokit.IOUSBDeviceFamily	2.0.0
com.apple.driver.usb.AppleUSBXHCIARM	1
com.apple.driver.usb.AppleUSBXHCI	1.2
com.apple.driver.AppleEmbeddedUSBHost	1
com.apple.driver.usb.AppleUSBHub	1.2
com.apple.driver.usb.AppleUSBHostCompositeDevice	1.2
com.apple.driver.AppleT8103TypeCPhy	1
com.apple.driver.AppleSART	1
com.apple.driver.ApplePMGR	1
com.apple.driver.watchdog	1
com.apple.driver.usb.AppleUSBHostPacketFilter	1.0
com.apple.driver.AppleDisplayCrossbar	1.0.0
com.apple.iokit.IODisplayPortFamily	1.0.0
com.apple.driver.AppleTypeCPhy	1
com.apple.driver.AppleThunderboltNHI	7.2.8
com.apple.driver.AppleT8103PCIeC	1
com.apple.iokit.IOThunderboltFamily	9.3.2
com.apple.driver.ApplePIODMA	1
com.apple.driver.AppleT8103PCIe	1
com.apple.driver.AppleBluetoothDebugService	1
com.apple.driver.AppleBCMWLANCore	1.0.0
com.apple.iokit.IO80211FamilyV2	1200.12.2b1
com.apple.driver.IOImageLoader	1.0.0
com.apple.driver.AppleMobileDispH13G-DFR	140.0
com.apple.iokit.IOMobileGraphicsFamily	343.0.0
com.apple.driver.AppleMCA2-T8103	510.72
com.apple.driver.AppleGPIOICController	1.0.2
com.apple.driver.AppleFireStormErrorHandler	1
com.apple.driver.AppleMultiFunctionManager	1
com.apple.driver.corecapture	1.0.4
com.apple.driver.AppleEmbeddedPCIE	1
com.apple.driver.AppleMobileApNonce	1
com.apple.iokit.IOTimeSyncFamily	900.11
com.apple.driver.DiskImages	493.0.0
com.apple.iokit.IOGraphicsFamily	585
com.apple.iokit.IOBluetoothFamily	8.0.2f9
com.apple.iokit.IOBluetoothPacketLogger	8.0.2f9
com.apple.driver.FairPlayIOKit	68.5.0
com.apple.iokit.CoreAnalyticsFamily	1
com.apple.driver.AppleSSE	1.0
com.apple.driver.AppleSEPKeyStore	2
com.apple.driver.AppleUSBTDM	511.60.2
com.apple.iokit.IOUSBMassStorageDriver	184.40.6
com.apple.iokit.IOPCIFamily	2.9
com.apple.iokit.IOSCSIBlockCommandsDevice	436.40.6
com.apple.iokit.IOSCSIArchitectureModelFamily	436.40.6
com.apple.driver.AppleIPAppender	1.0
com.apple.driver.AppleFDEKeyStore	28.30
com.apple.driver.AppleEffaceableStorage	1.0
com.apple.driver.AppleCredentialManager	1.0
com.apple.driver.KernelRelayHost	1
com.apple.iokit.IOUSBHostFamily	1.2
com.apple.driver.AppleUSBHostMergeProperties	1.2
com.apple.driver.usb.AppleUSBCommon	1.0
com.apple.driver.AppleSMC	3.1.9
com.apple.driver.RTBuddy	1.0.0
com.apple.driver.AppleEmbeddedTempSensor	1.0.0
com.apple.driver.AppleARMPMU	1.0
com.apple.iokit.IOAccessoryManager	1.0.0
com.apple.driver.AppleOnboardSerial	1.0
com.apple.iokit.IOSkywalkFamily	1
com.apple.driver.mDNSOffloadUserClient	1.0.1b8
com.apple.iokit.IONetworkingFamily	3.4
com.apple.iokit.IOSerialFamily	11
com.apple.driver.AppleSEPManager	1.0.1
com.apple.driver.AppleA7IOP	1.0.2
com.apple.driver.IOSlaveProcessor	1
com.apple.driver.AppleBiometricSensor	2
com.apple.iokit.IOHIDFamily	2.0.0
com.apple.AUC	1.0
com.apple.iokit.IOAVFamily	1.0.0
com.apple.iokit.IOHDCPFamily	1.0.0
com.apple.iokit.IOCECFamily	1
com.apple.iokit.IOAudio2Family	1.0
com.apple.driver.AppleEmbeddedAudioLibs	1.17
com.apple.driver.AppleFirmwareUpdateKext	1
com.apple.driver.AppleM2ScalerCSCDriver	265.0.0
com.apple.iokit.IOSurface	289.3
com.apple.driver.IODARTFamily	1
com.apple.security.quarantine	4
com.apple.security.sandbox	300.0
com.apple.kext.AppleMatch	1.0.0d1
com.apple.driver.AppleMobileFileIntegrity	1.0.5
com.apple.kext.CoreTrust	1
com.apple.security.AppleImage4	3.0.0
com.apple.iokit.IOCryptoAcceleratorFamily	1.0.1
com.apple.driver.AppleARMPlatform	1.0.2
com.apple.iokit.IOStorageFamily	2.1
com.apple.iokit.IOSlowAdaptiveClockingFamily	1.0.0
com.apple.iokit.IOReportFamily	47
com.apple.kec.pthread	1
com.apple.kec.corecrypto	11.1
com.apple.kec.Libm	1



** Stackshot Succeeded ** Bytes Traced 274740 (Uncompressed 716448) **

@agentk
Copy link

agentk commented Jan 10, 2021

@paulcasavant I haven't been able to replicate any of your crash free restarts unfortunately. I uninstalled 13.1.0, rebooted a couple of times and verified it reboots cleanly. Installed 13.1.5 and rebooted, pink screen on initial reboot. Checked all apps I could find to verify I didn't have any unsaved document changes. Rebooted a few times with and without the 'Close windows when quitting an app' toggle checked. Kernel panic every time for me still.

@ogomez92
Copy link

ogomez92 commented Jan 16, 2021 via email

@tvhung83
Copy link

still looking to remap my right cvontrol key to right option, any hints please?

Here is how I map esc to grave tilde and then CAPSLOCK to esc:

hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000029,"HIDKeyboardModifierMappingDst":0x700000035},{"HIDKeyboardModifierMappingSrc":0x700000039,"HIDKeyboardModifierMappingDst":0x700000029}]}'

More details at: https://www.nanoant.com/mac/macos-function-key-remapping-with-hidutil

@patlux
Copy link

patlux commented Jan 21, 2021

I installed karabiner a few days ago. Since then I have the kernel panics when waking up from sleep mode. :(
(Mac Mini M1)

@stephanedupont
Copy link

Same problem on a Mac MINI M1. Please reopen.

@TimNedvyga
Copy link

I don't experience this issue on 11.2 RC anymore

@geekscloud
Copy link

我不再在11.2 RC上遇到这个问题了

really?

@TimNedvyga
Copy link

really?

yeah, using it over a day now with M1 Mac mini, no kernel panic and, as a bonus, boot up speed become almost twice as fast.

@camaleo
Copy link

camaleo commented Jan 24, 2021 via email

@marcuslannister
Copy link

still looking to remap my right cvontrol key to right option, any hints please?

Here is how I map esc to grave tilde and then CAPSLOCK to esc:

hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000029,"HIDKeyboardModifierMappingDst":0x700000035},{"HIDKeyboardModifierMappingSrc":0x700000039,"HIDKeyboardModifierMappingDst":0x700000029}]}'

More details at: https://www.nanoant.com/mac/macos-function-key-remapping-with-hidutil

Thanks, It works for me.

@tvhung83
Copy link

FYI, I partially achieve Hyper key with: https://gist.github.com/tvhung83/9f8240cb79c066d3b7b4a403c90a5018
I said partially because with Karabiner, I can map both esc and Hyper using the same CAPLOCKS key, but now I have to use a separate key (right ⌃) for Hyper.

@geekscloud
Copy link

真的吗?

是的,现在在M1 Mac mini上使用一天多,没有内核恐慌,另外,启动速度几乎是M1 Mac mini的两倍。

The official version is coming out, so I want to upgrade in advance.
I want to hold back
😂

@patlux
Copy link

patlux commented Jan 26, 2021

Still kernel panics on 11.2 RC. I just uninstalled karabiner. I hope the crashes will stop now. Really annoying. Tried Hammerspoon but the inputs feels quite slow to me....

Are there any other ways to map cmd + hjkl to the arrows? Mapping caps lock to esc works great with hidutil 👍

patlux added a commit to patlux/dotfiles that referenced this issue Jan 26, 2021
@jonpdw
Copy link

jonpdw commented Jan 27, 2021

Hi @patlux . I was using Karabiner Elements to map cmd + hjkl to the arrows as well. I have found a way to do it using Keyboard Maestro that is working well for me.

Here is a video explaining how I set it up.

And here are the files if you want to try it:
Vim (Command JKHL) Macros.kmmacros.zip

Note that when you import the macro group it will be disabled by default. You will need to enable the group for it to work.

@patlux
Copy link

patlux commented Jan 27, 2021

@jonpdw Man thank you a lot! Great video! Just installed Keyboard Maestro with your macros and it just works as fast as with karabiner. 💪

@jonpdw
Copy link

jonpdw commented Jan 27, 2021

Yay, I am so glad it helped

@ogomez92
Copy link

ogomez92 commented Jan 27, 2021 via email

@jonpdw
Copy link

jonpdw commented Jan 27, 2021

Hi @ogomez92 Keyboard Maestro can do it but its a little verbose.
Here is a video explaining how to do it

Here are the macros you see in the video

Let me know if it works for you?

@ogomez92
Copy link

ogomez92 commented Jan 27, 2021 via email

@patlux
Copy link

patlux commented Jan 27, 2021

@ogomez92 I did it with hidutil:

hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x0007000000e7,
 "HIDKeyboardModifierMappingDst":0x0007000000e6}]}'

You can also create a file which will execute the command on login.

/edit: Oh sorry, you want to swap control with option. The snippet above maps the right cmd to right option. Just change the HIDKeyboardModifierMappingSrc to 0x0007000000e4. You can find all options here: https://developer.apple.com/library/archive/technotes/tn2450/_index.html

@jonpdw
Copy link

jonpdw commented Jan 27, 2021 via email

@LordZorgoth
Copy link

Just adding that I also encountered this kernel panic. I uninstalled Karabiner and it went away.

@Semajk
Copy link

Semajk commented Mar 1, 2021

Unchecking karabiner_grabber and karabiner_observer in Input Monitoring in Privacy & Security in System Preferences on my M1 Mac Mini stops the panic and the "restarted due to problem" messages after restarts. This of course renders Karabiner inoperable. When I rechecked them as a test, then restarted the Mac Mini, the "restarted due to problem" message reappeared.
Before I came across this thread and realized Karabiner might be causing the problem, an Apple advisor told me I should reinstall the operating system on my brand new Mac Mini. I was reluctant to do that and I didn't, and I'm glad I found this thread.

@camaleo
Copy link

camaleo commented Mar 2, 2021 via email

@guylyons
Copy link

I just encountered this issue with a MacBook Air M1, and the only fix was to remove Karabiner.

@scotnery
Copy link

Mac Mini M1 having this issue kernel panic on restart

@huix9527
Copy link

huix9527 commented Apr 7, 2021

karabiner crashes my m1 mac mini everytime it restarts

@chinleo
Copy link

chinleo commented Sep 10, 2022

Monterey 12.5.1 (21G83) on MacBook Pro (13-inch, M1, 2020) still has the bug .
Karabiner-Elements-14.8.0

@ogomez92
Copy link

ogomez92 commented Sep 10, 2022 via email

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