Subject: Bug Report: Kernel Regression on MacBook Pro 11,5 (Mid 2015) – applesmc Fan Control Broken & GPU Thermal Hangs
-
Hi Dan,
Thanks for the very detailed report. To see what changed between the two kernels, we need a few details. With the new kernel booted, please paste the output of:
uname -r cat /sys/kernel/security/lockdown lsmod | grep applesmc ls -l /sys/devices/platform/applesmc.768/ | grep fan sudo dmesg | grep -iE "applesmc|lockdown|smc"And the output of
uname -rwith the previous kernel, so we can compare versions. One note:pwm1andpwm2showing N/A is normal forapplesmc, which doesn't expose those attributes and usesfanX_outputandfanX_manualinstead. What matters is why writing to them is not possible now.Best regards
-
Hi Sergi,
Here are the outputs from the commands you requested. As you can see, under this new kernel, the behavior has changed significantly. Lockdown is no longer active, but we have run into a completely different issue directly inside the applesmc driver itself.
Here are the full details:- Running Kernel Version
bash
$ uname -r
7.3.0-soplos-v1- Kernel Lockdown State
bash
$ cat /sys/kernel/security/lockdown
[none] integrity confidentiality(This is fine now. Lockdown is disabled [none], so in theory, nothing should be blocking sysfs writes anymore).
- Checking the applesmc Module
bash
$ lsmod | grep applesmc
applesmc 32768 0(The module is successfully loaded into memory).
- Listing sysfs Attributes for Fans
bash
$ ls -l /sys/devices/platform/applesmc.768/ | grep fan
$(This command returned absolutely nothing. The /sys/devices/platform/applesmc.768/ directory exists, but under this new kernel, attributes like fanX_manual or fanX_output were not created at all. This explains why mbpfan fails to detect any fans).
- dmesg Logs
bash
$ sudo dmesg | grep -iE "applesmc|lockdown|smc"
[ 0.012539] ACPI: SSDT 0x0000000078D7D000 000024 (v01 APPLE SmcDppt 00001000 INTL 20140424)
[ 9.516864] applesmc: unknown parameter 'legacy_format' ignored
[ 9.650262] applesmc: key=758 fan=2 temp=52 index=47 acc=0 lux=2 kbd=1Key Finding:
Notice this specific line in the log:
[ 9.516864] applesmc: unknown parameter 'legacy_format' ignored
It looks like in the new upstream 7.x kernel series, some module parameters have been renamed or completely removed, or there was a heavy refactor in applesmc.c. While the module successfully probes the hardware and recognizes there are 2 fans (fan=2), it fails to expose the sysfs interfaces because of the unrecognized/ignored module parameter or a structural change in the driver initialization.
Do you have the legacy_format parameter hardcoded in the new kernel config or inside /etc/modprobe.d/? It seems the new applesmc code no longer recognizes it, which leaves userspace fan management completely broken.
Let me know what we should try next!
Best regards,
Dan
Should I try removing the legacy_format parameter from the modprobe configuration files in /etc/modprobe.d/ (if present) and reload the module, or would you prefer to inspect the 7.3.0 kernel source code to see what changed with this driver? -
Hi Sergi,
I have some deeper insights after testing both the initial install kernel (7.2.10) and the latest 7.3.0-soplos-v1.
The constant maximum fan speeds (~6150 / 5700 RPM) are actually a hardware-level SMC failsafe trigger, not a generic lock. The laptop is physically boiling immediately after boot, with both the CPU and dGPU sitting at 79°C – 81°C in absolute idle. The chassis and the aluminum hinge area are burning to the touch, and the exhaust air is very hot, so the fans are doing their job, but they can't keep up with the heat source.
Here is the smoking gun from sensors under idle:
bash
amdgpu-pci-0100
Adapter: PCI adapter
edge: +81.0°C
sclk: 300 MHz
mclk: 1 GHzThe Core Issue:
Even when forcing the performance level to low via sysfs, the memory clock (mclk) remains permanently stuck at 1 GHz (maximum state) while the system is idle. Only the sclk drops to 300 MHz. This creates a massive thermal load (the battery interface reports an idle drain of 1.18 A @ 11.04 V ≈ ~13W just for the board package).
Additionally, trying to pass "battery" to power_dpm_force_performance_level now rejects the input with an Invalid argument error, confirming that the power profiles have changed or broken in the upstream 7.x transitions.
It looks like the 7.x kernel series introduced a severe power management regression for the AMD Radeon R9 M370X (amdgpu/Cape Verde family), preventing the dGPU from entering proper low-power states. The SMC simply steps in to prevent thermal meltdown, running the fans at 100% hard limits because the sysfs fan attributes are missing/refactored.
Let me know if you want me to boot with specific amdgpu boot parameters (like amdgpu.dpm=0 or forced power states) to debug further!
Best regards,
Dan -
Hi Sergi,
I did a clean boot using the Apple native boot picker (holding Alt/Option), completely bypassing the OpenCore loader to ensure the 7.x kernel reads unmodified ACPI tables.
The issue persists, but the timeline reveals the exact breakdown:- Immediately after boot (System Idle - OK):
• Fans: Modulating correctly at medium speeds (~3900 / 3600 RPM).
• dGPU: sclk: 400 MHz / mclk: 1 GHz. Temperatures around 74°C–78°C.
• Battery: Charging lock releases (0.00 A current, 11.40 V). - After a few minutes in idle (The Breakdown):
• dGPU PM Fails: The amdgpu driver fails to keep the card down. The core clock suddenly spikes and gets stuck at sclk: 800 MHz / mclk: 1 GHz.
• Thermal Soak: Internal board/chassis temperatures (TM0P, TPCD) immediately jump by ~7°C as the dGPU dumps massive heat.
• SMC Failsafe: As soon as the heat spreads, the hardware SMC chip takes over and locks the fans back to absolute maximums (6156 / 5701 RPM) to prevent a meltdown.
Conclusion:
OpenCore is not the culprit. The 7.x kernel has a severe idle power management regression with the AMD Radeon R9 M370X. After a few minutes of uptime, amdgpu loses power control, the card starts cooking the chassis, and the hardware SMC steps in with a 100% fan emergency override because the kernel lacks the sysfs fan modulation attributes to handle it gracefully.
Best regards,
Dan
- Immediately after boot (System Idle - OK):
-
Hi Sergi,
You can close this report and please don't waste any time on it.
I'm so sorry!
I managed to boot the machine into macOS Sequoia and the results are identical—the CPU immediately spikes to 97°C and the fans max out at 5000+ RPM under zero load.
The missing sysfs attributes in kernel 7.3 simply caused mbpfan to fail, which allowed the hardware SMC chip to take full emergency control and run the fans at 100% to protect the dying hardware. The underlying issue is a physical thermal failure inside the laptop (most likely a ruptured heatpipe or zero mounting pressure), not a regression in your kernel config.
Thanks again for your time and your awesome work on Soplos Linux!
Best regards,
Dan -
Hi Dan!
No need to apologize at all, quite the opposite. The diagnostic work you did was absolutely brilliant. You ruled out layer after layer (OpenCore, kernel parameters, GPU power management) until you got to the root of the problem.
It's a shame it's a physical failure in the laptop (the heatpipe/mounting pressure theory makes perfect sense with those 97°C in macOS), but on the other hand, it's a huge relief to know it's not a regression in Soplos or the 7.x kernel. The fact that the SMC is forcing the fans to maximum is literally the system trying to save the machine.
I'll consider this report closed and don't worry about it anymore. Thank you so much for the amazing investigation you did and for the care you put into the project. Best regards, and I hope you can get that MacBook repaired!
-
Thanks for the kind reply.
It's no drama. Fortunately heattthing is one of the cheapest parts. And I'll check if the mbp was really treated with new thermal paste. Fortunately, in the time I've been digging around in mbp's I've accumulated 5.5, 9.2, 10.1 and the heating 11.5. So there's something to work on. -
Hi Dan!
Glad to see you're taking it philosophically. You're absolutely right, cooling parts are usually one of the cheapest things to replace, and if you already have a good stash of spares from the 5.5, 9.2, 10.1 and 11.5 models, you've got some fun work ahead. Hopefully it's just the thermal paste and you can bring it back to life without much drama.
As a fun fact, I'm actually on the lookout for a 2012 MBP precisely so I can recover and test the very first Soplos Linux ISOs I made back in 2013. So I totally get the affection for these machines!
Best regards, and let us know how the surgery goes!
-
Hi Sergi,
I haven't gotten around to the repair yet—we had a holiday, so the whole week was thrown off. If it's just thermal paste on the 11.5-inch MBP, I'll try replacing it with Grizzly thermal tape this time. In the meantime, I installed Soplos Linux Tyson on MacBook Pro 9,2 (8+8 GB Hynix RAM and P210 SSD), and it runs like a charm. I haven’t run into any issues so far. The only minor thing is creating a web app using your application—it only allows you to use Firefox. I use Brave, Origin, and Zen, so I handled it the old-fashioned way.
Thanks again for the great work. As usual, the installation and fine-tuning went by in a flash and without any issues.
Soplos is a lifesaver for older Intel MBP's. Aside from the typically tedious process of installing vanilla Debian, I don’t know of a better option for this hardware yet. -
Hi Dan,
Thanks for sharing it! We're really glad Tyson runs so well on the MacBook Pro 9,2 and that you see it as a good option for older Intel MBPs. Good luck with the repair on the other machine.
About web app creation, thanks for pointing out that it only allows Firefox, we've noted it.
Best regards
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login