AsahiLinux / linux

Linux kernel source tree
Other
2.35k stars 90 forks source link

Kernel crash on boot with 6.9.9 (intermittent) - SError Interrupt on CPU0 #310

Closed binaryfields closed 2 weeks ago

binaryfields commented 4 months ago

I am running Fedora 40 with the latest kernel 6.9.9-403 on MacBook Pro M2 Max. Upon booting into the system, the kernel panics before booting into the desktop environment. The issue started to happen with upgrade to the latest kernel, previous kernel 6.6.3-414 worked without any problems.

The issue is intermittent, so it only happens once in a while and it usually goes away with a reboot. It happens once every few reboots (usually between 2-10). I cannot get logs from journald so I'm attaching a screenshot of the boot screen (apologies for quality).

kernel699-serror

jannau commented 4 months ago

That is the controller for the SD card reader. If you aren't using it add module_blacklist=sdhci_pci to the boot args.

binaryfields commented 4 months ago

Thank you, I'll give that a shot and keep you posted.

zzywysm commented 4 months ago

Rather than blacklisting the driver, maybe try turning off autosuspend on that driver instead?

https://github.com/tpwrules/nixos-apple-silicon/blob/b0a2376f6c164a0af963d47386c064cc6fdcd5ea/apple-silicon-support/modules/kernel/default.nix#L85

jannau commented 4 months ago

Change for Fedora-Asahi-Remix: https://pagure.io/fedora-asahi/fedora-asahi-remix-scripts/pull-request/7

marcan commented 2 weeks ago

This is worked around.