On Fri, 10 Apr 2015 01:07:52 +0200
Laurent Vivier <Laurent(a)Vivier.EU> wrote:
Le 09/04/2015 00:18, Dan Horák a écrit :
> On Thu, 09 Apr 2015 00:05:22 +0200
> Laurent Vivier <Laurent(a)Vivier.EU> wrote:
>
>> Le 08/04/2015 23:28, Dan Horák a écrit :
>>> On Wed, 08 Apr 2015 23:07:10 +0200
>>> Laurent Vivier <Laurent(a)Vivier.EU> wrote:
>>>
>>>> Le 07/04/2015 23:13, Peter Robinson a écrit :
>>>>> Fedora 22 Beta TC2 for POWER is available.
>>>>>
>>>>> Please test :)
>>>>>
>>>>>
http://ppc.koji.fedoraproject.org/compose/22_Beta_TC2/
>>>> I've tested Fedora-Server-DVD-ppc64-22_Beta_TC2.iso on my
>>>> PowerMac G5, and it doesn't boot by pressing "C" during
the boot
>>>> sequence (it usually works).
>>>>
>>>> I've tried to force the boot from openfirmware by doing:
>>>>
>>>> boot cd:,\boot\grub\powerpc-ieee1275\core.elf
>>>>
>>>> and it works... then it hangs (systemd is starting and hangs
>>>> sometime after "Reached target Local File Systems (Pre)." or
>>>> "Started udev Wait for Complete Device Initialization.")
>>>>
>>>> The "windfarm" is not loaded in the kernel and fans are
quickly
>>>> at full speed: this is a lot of noise.
>>>> On a system with fans working correctly, I have the following
>>>> modules loaded :
>>>> windfarm_cpufreq_clamp
>>>> windfarm_max6690_sensor
>>>> windfarm_smu_sensors
>>>> windfarm_lm75_sensor
>>>> windfarm_smu_controls
>>>> windfarm_pm112
>>>> windfarm_smu_sat
>>>> windfarm_pid
>>>> windfarm_core
>>>>
>>>> Is it possible to add them in the initrd ?
>>> seems as omission in our kernel config, all other G5 thermal mgmt
>>> drivers are built in, except the pm112, will be fixed in the next
>>> kernel build
>> Thank you, but I think it will not be enough: my other system is a
>> PowerMac11,2 (-> pm112) whereas I did the test on a PowerMac7,3.
>>
>> I guess you should add also pm72, pm81, pm121, pm91.
> they are already enabled as built-in, see
>
http://pkgs.fedoraproject.org/cgit/kernel.git/tree/config-powerpc64?h=f22
Yes, I've been able to access a shell by adding "init=/bin/bash" on
the kernel command line.
The modules needed to calm down fans are : i2c-powermac and
windfarm_pm72 (this one triggers the others).
They are, of course, available in the ISO.
But what I don't understand is why they are available as modules
whereas they have been marked as 'y' (not 'm') in the config.
I guess this is because CONFIG_I2C is set to 'm' in config-generic.
You should set it to 'y' in config-powerpc64 (at least, like in
config-armv7-generic) to pull windfarm and i2c-powermac.Otherwise, I
think the i2c-powermac module is not automatically loaded by the
kernel.
yeah, sounds reasonable, all arches (s390x disables it explicitly) are
setting CONFIG_I2C to Y, so it might get moved to config-generic. After
that the Y for WINDFARM_PM* modules will be in effect too. The kernel
configs need definitely some work, it is on our to-do list ...
Dan