No Kernel Panic on Shutdown
Okay, so my new computer likes to fail to shutdown in Linux with a kernel panic. Here’s the solution to fix it.
If using Grub:
Add initcall_blacklist=dw_i2c_init_driver to the kernel command line.
Run in the terminal: sudo nano -w /etc/default/grub
Append blacklist string to the GRUB_CMDLINE_LINUX_DEFAULT="… initcall_blacklist=dw_i2c_init_driver"
Save the file.
For Debian: sudo update-grub
For Fedora: grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
For Arch: grub-mkconfig -o /boot/grub/grub.cfg
Reboot and test!
If using goofiboot (Solus):sudo nano -w /etc/kernel/cmdline
Insert the following line: initcall_blacklist=dw_i2c_init_driver
Save the file.sudo clr-boot-manager update
Reboot and test!
If using systemd-boot (Pop_OS):sudo nano -w /etc/kernelstub/configuration
Insert the following line: "initcall_blacklist=dw_i2c_init_driver",
Unless it is the final item in the list, do not miss the trailing comma!
Save the file.sudo kernelstub
Reboot and test!