[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PowerMac G5 fans run out of control with kernel 4.17.0-3-powerpc64 but not with 4.16.0-1-powerpc64



On 09/03/2018 04:42 AM, Wolfram Sang wrote:

The bug is “status: NEEDINFO”, so I assume it’s not fixed yet.  In the meantime, manually loading the windfarm modules is a tested workaround.

Does this workaround work for you, too?

"However, there is a workaround: In addition to CONFIG_I2C_POWERMAC=y you
need to compile "Device Drivers → Macintosh device drivers → WINDFARM=y"
statically into the kernel. Then, the relevant WINDFARM_xx module gets
automatically loaded again."


That is what I have here :

nix# uname -r
4.18.5-genunix

nix# lsmod | grep -i -e 'windfarm'
windfarm_cpufreq_clamp     3725  1
windfarm_max6690_sensor     4463  1
windfarm_lm75_sensor     4957  1
windfarm_smu_sensors     7991  1
windfarm_smu_controls     8646  8
windfarm_pm112         15016  0
windfarm_smu_sat        8232  9 windfarm_pm112
windfarm_pid            3379  1 windfarm_pm112
windfarm_core 11943 7 windfarm_cpufreq_clamp,windfarm_smu_controls,windfarm_max6690_sensor,windfarm_smu_sat,windfarm_smu_sensors,windfarm_lm75_sensor,windfarm_pm112

nix# cd /boot
nix# ls -lapb
total 250596
drwxr-xr-x  2 root root      4096 Aug 28 19:17 ./
drwxr-xr-x 23 root root      4096 Oct 22  2017 ../
-rw-r--r--  1 root root    169433 Mar 20 08:31 config-4.15.0-2-powerpc64
-rw-r--r--  1 root root    159301 Aug 28 19:16 config-4.18.5-genunix
lrwxrwxrwx 1 root root 25 Aug 26 19:55 initrd.img -> initrd.img-4.18.5-genunix
-rw-r--r--  1 root root  21791594 Mar 28 20:00 initrd.img-4.15.0-2-powerpc64
-rw-r--r--  1 root root   4796131 Aug 28 19:16 initrd.img-4.18.5-genunix
-rw-r--r--  1 root root   4091837 Mar 20 08:31 System.map-4.15.0-2-powerpc64
-rw-r--r--  1 root root   4108522 Aug 28 19:16 System.map-4.18.5-genunix
lrwxrwxrwx 1 root root 22 Aug 28 19:16 vmlinux -> vmlinux-4.18.5-genunix
-rwxr-xr-x  1 root root  25135392 Mar 20 08:31 vmlinux-4.15.0-2-powerpc64
-rw-r--r--  1 root root 196052440 Aug 28 19:16 vmlinux-4.18.5-genunix
nix#
nix# grep -E -e 'CONFIG_I2C_POWERMAC|WINDFARM' config-4.18.5-genunix
CONFIG_WINDFARM=m
CONFIG_WINDFARM_PM81=m
CONFIG_WINDFARM_PM72=m
CONFIG_WINDFARM_RM31=m
CONFIG_WINDFARM_PM91=m
CONFIG_WINDFARM_PM112=m
CONFIG_WINDFARM_PM121=m
CONFIG_I2C_POWERMAC=y
nix#

Seems to work fine so long as there is a monitor attached at boot time.
If there isn't then the whole system goes into loud windfarm mode and is
a warm brick.

Dennis


Reply to: