From a12bfea7a86c5615ddced04cef0360a35294f4db Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 10 Aug 2026 04:30:55 -0700 Subject: [PATCH] Stop the live installer crashing the kernel on pre-T2 Macs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ISO boots linux-t2 on every machine. On a MacBookPro11,4 applesmc finds the SMC and then takes a NULL pointer dereference registering the keyboard-backlight LED, in led_trigger_set_default -> queue_work_on. The udev worker dies mid-init holding locks and the damage spreads: reading the half-registered LED blocks systemd-backlight, opening /dev/rfkill blocks iwd while it holds the global misc_mtx, and every later misc device open blocks behind that mutex. LVM opens one, so the install stops at "Cleaning up existing holders on install disk" and never resumes — no error, no progress, nothing to see. Nothing in the installer needs the SMC. It reads sensors and drives the fans and keyboard backlight, and the firmware manages the fans by itself; the installed system still loads applesmc normally. Blacklisting it in the live environment only, alongside the Panther Lake audio blacklist that exists for the same class of problem. Extracted from #102, which also carried an unrelated rework of the disk probes. Co-Authored-By: cupatea Co-Authored-By: Claude Opus 5 (1M context) --- configs/airootfs/etc/modprobe.d/blacklist-applesmc.conf | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 configs/airootfs/etc/modprobe.d/blacklist-applesmc.conf diff --git a/configs/airootfs/etc/modprobe.d/blacklist-applesmc.conf b/configs/airootfs/etc/modprobe.d/blacklist-applesmc.conf new file mode 100644 index 0000000..568b6dd --- /dev/null +++ b/configs/airootfs/etc/modprobe.d/blacklist-applesmc.conf @@ -0,0 +1,3 @@ +# linux-t2 ships for every machine, and on a pre-T2 Mac its applesmc oopses +# registering the keyboard-backlight LED, wedging udev. Nothing here needs the SMC. +blacklist applesmc