Problems compiling - compile host thermal issues

then something failed:

simon@laptop:~$ cd /sys/module/acpi
acpi/         acpi_cpufreq/ acpi_pad/     acpiphp/      
simon@laptop:~$ cd /sys/module/acpi/parameters/
acpica_version      ec_delay            ec_storm_threshold
aml_debug_output    ec_event_clearing   immediate_undock
ec_busy_polling     ec_polling_guard    

is the module called acpi, or acpid (note the d)ā€¦

stupid me, the module is called thinkpad_acpi, isnā€™t it:

simon@laptop:/sys/module$ cat thinkpad_acpi/parameters/fan_control 
N

so that doesnā€™t look exactly like a 1ā€¦
Should the file in /etc/modprobe.d/acpid.conf and itā€™s content then be changed to thinkpad_acpi as well? On the other hand ps does show an acpid (which simply could be a daemon to control something):

simon@laptop:/sys/module$ ps aux | grep acpi
root        67  0.0  0.0      0     0 ?        S<   21:42   0:00 [acpi_thermal_pm]
root       558  0.0  0.0      0     0 ?        S<   21:43   0:00 [ktpacpid]
root      2003  0.0  0.0   4396  1784 ?        Ss   21:43   0:00 /usr/sbin/acpid
simon    13313  0.0  0.0  15220  2152 pts/2    R+   22:06   0:00 grep acpi

Iā€™m loosing track a littleā€¦

Well, thereā€™s a difference between the process name and the module name. They donā€™t need to be in sync, actually, they wonā€™t be in sync. Acpid is the (generic) process for handling acpi events, and the module thinkpad_acpi understands your hardware and translates its events to the generic acpi implementation (might be simplified, but this should be itā€¦)
So, the filename acpid.conf is irrelevant (except for itā€™s location and the suffix .conf), BUT, inside, the options will have to be

N, I would expect, means ā€œnoā€, so, no fan control (what ever this meansā€¦ Might be that the bios is in charge, and no operating system based program, might be it means no fan control at allā€¦ I really donā€™t knowā€¦ Just give it a try with 1, or even Y

1 Like

I did two reboots, trying 1 and Y. Both led to Y in thinkpad_acpi/parameters/fan_control and now I can again echo any level value without any error message, but still also without any effect. cat-ing always shows level 1 and 250rpmā€¦
So fan control doesnā€™t seem to work.

yes, sounds like itā€™s broken. Only one thing. When you started compiling, did the fan actually get faster (acustically), or did the fan sound like always turning at the same speed?

It always stays at level 1, which is not even noticeable. Thus later on the throttling kicks in. Iā€™ll try to see if I can do the uefi update tomorrow to see if it changes anything.

This is really getting off-topic in here :smile: but the Thinkpads normally have an embedded controller which handles fan control independent of the OS. If you override this by loading some module though you better be sure that it really does what itā€™s supposed to beā€¦at least this would explain the build failures perfectly.

I assumed so as well. Unfortunately as explained above the fan doesnā€™t react at all to different CPU loads, leading the CPU to throttle during compilation.

Well so far it does (unfortunately) nothing. :-/

Well one theory was that the throttling caused the segfault and thus the idea to manually try to speed up the fan (which didnā€™t work). Thus so far we couldnā€™t verify this theory. If you have an idea for another cause and how to test it, let me know. Iā€™m kind of frustrated by nowā€¦ :frowning:

Did you try to blacklist the module so it wonā€™t take control over the fan at all?

Well, I didnā€™t activate it until this evening.

Ok I see. And if you try to compile it in a VM from windows where the fan control is supposed to be working?

I donā€™t have any windows. (would I otherwise bother to compile a google free open source version of FP OS? :wink: )

Well, but itā€™s possible your machine suffers in general from an overheating problem due to bad application of thermal paste:

Yet one thing you could try is set the cpu governor to powersave to force it to stay in the low frequency regions. Would take much longer to compile this way I guess but could workaround the issue.

While it obviously can be the fact that the thermal paste was badly applied in my laptop I havenā€™t experienced any other issues so far (please be also aware that the Yoga 13 is an ideapad, while the Yoga 12 is a thinkpad ā€“ so no idea how similar the production steps are at all).

I have tried to change the governor before, but it doesnā€™t support any other than the one it uses if I recall correctly.
Iā€™ll try to collect some experience from other Yoga 12 owners in thinkpad forums to see how the fan works for them.

Itā€™s just a brand name, quality and investors change. :frowning: Maybe sending it in for service is also a good approach. If it is out of warranty have a look yourself (p. 81) :slight_smile:

Also possible: Get cheap used desktop hardware as a headless build server you can use with ssh.

Agree. What I wanted to say is that there is not much relation between the Yoga 13 and 12. If it it wasnā€™t a single incident reported on the forum you linked, but a line problem, it still probably wouldnā€™t effect the 12 ā€“ I believe.

If nothing else helps it might worth a try. Itā€™s younger than a year, so shouldnā€™t be a problem.
But as mentioned before first Iā€™d like to update the UEFI (which apparently doesnā€™t work via USB, but only via CD) and to check with other owners if I find some in a thinkpad forum.

I would like to not have to. :slight_smile: I hoped that my laptop could fulfil all my needs.

Just for reference, I did the UEFI update to 1.22 and now itā€™s actually the first time ever that I hear the fan of the laptop. Nevertheless sensors and cat /proc/acpi/ibm/fan still only show level 1 and 257rpmā€¦
Anyway, I hope that this has fixed all thermal issues (still Iā€™m wondering if I should contact support as in the process of trying out building the glue of the rubber feet has melted away and probably the pcb/soldering points donā€™t like the extreme temperature differences either). Iā€™ll give compiling a new try soonā€¦ Thanks to everybody who has helped out so far.

Edit: After more than 7h I finally successfully completed my first build. :slight_smile: