G5 needs i2c-keywest for proper operation of therm_pm72

Bug #27269 reported by Ben Collins
16
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Fix Released
Medium
Adam Conrad

Bug Description

Booting my G5 (PowerMac7,3), the fans spin up full speed unless therm_pm72 is
loaded. It does get loaded at boot, however it needs i2c-keywest in order to
operate (there is no inter-module dep, it's all soft-deps). i2c-keywest provides
the i2c bus where the fans are communicated to.

Somehow need i2c-keywest to be loaded automatically at boot.

Revision history for this message
globetrotterdk (globetrotterdk) wrote :

I am told that I have the same problem with a G5 1.8 GHz. single tower. The ouput of:

"sudo modprobe i2c-keywest"

and

"sudo modprobe therm_pm72"

was:

FATAL: Module i2c_keywest not found.

and

FATAL: Module therm_pm72 not found.

Revision history for this message
Adam Conrad (adconrad) wrote :

Fixed in initramfs-tools_0.40ubuntu22, just uploaded. Should hit mirrors after the usual archive processing delays.

Changed in initramfs-tools:
status: Unconfirmed → Fix Released
Revision history for this message
globetrotterdk (globetrotterdk) wrote :

Benjamin Herrenschmidt <email address hidden> wrote:

> If it's a PowerMac9,1, you need to use the new windfarm module, more
> specifically the windfarm_pm91 control module.
>
> /proc/cpuinfo should tell you what model it is.

/proc/cpuinfo returned:

"sudo: /proc/cpuinfo: command not found"

sudo modprobe windfarm_pm91 returned:

"$ sudo modprobe windfarm_pm91
FATAL: Module windfarm_pm91 not found."

Revision history for this message
Jon Tai (jontai) wrote :

I also have a G5 (two 2.0GHz processors; PowerMac7,3) that spins up its fans to full speed shortly after boot. I installed Dapper Flight 5 from CD-ROM, and have since fully updated the system with apt (and rebooted), but the problem is still there.

lsmod does not indicate that therm_pm72 or i2c_keywest are loaded when I first log in, but even if I load them manually (sudo modprobe ...), the fans continue at full speed.

dmesg shows:
[ 29.938357] Freeing unused kernel memory: 248k freed
[ 31.083732] Capability LSM initialized
[ 31.138192] /u3@0,f8000000/i2c@f8001000: Missing interrupt or address !
[ 31.138350] Found KeyWest i2c on "mac-io", 1 channel, stepping: 4 bits
[ 31.146609] PowerMac G5 Thermal control driver 1.2b2
[ 31.146778] Detected fan controls:
[ 31.146781] 0: PWM fan, id 1, location: BACKSIDE,SYS CTRLR FAN
[ 31.146784] 1: RPM fan, id 2, location: DRIVE BAY
[ 31.146787] 2: PWM fan, id 2, location: SLOT,PCI FAN
[ 31.146790] 3: RPM fan, id 3, location: CPU A INTAKE
[ 31.146793] 4: RPM fan, id 4, location: CPU A EXHAUST
[ 31.146796] 5: RPM fan, id 5, location: CPU B INTAKE
[ 31.146798] 6: RPM fan, id 6, location: CPU B EXHAUST
[ 31.855366] hda: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2000kB Cache, UDMA(66)
[ 31.855382] Uniform CD-ROM driver Revision: 3.20

I did not experience this problem on Breezy. Booting up a Breezy live CD, the dmesg shows:

[ 100.648564] RAMDISK driver initialized: 16 RAM disks of 1048576K size 1024 blocksize
[ 100.648976] MacIO PCI driver attached to K2 chipset
[ 100.649868] PowerMac G5 Thermal control driver 1.2b2
[ 100.650186] Detected fan controls:
[ 100.650308] 0: PWM fan, id 1, location: BACKSIDE,SYS CTRLR FAN
[ 100.650498] 1: RPM fan, id 2, location: DRIVE BAY
[ 100.650655] 2: PWM fan, id 2, location: SLOT,PCI FAN
[ 100.650820] 3: RPM fan, id 3, location: CPU A INTAKE
[ 100.650985] 4: RPM fan, id 4, location: CPU A EXHAUST
[ 100.651152] 5: RPM fan, id 5, location: CPU B INTAKE
[ 100.651318] 6: RPM fan, id 6, location: CPU B EXHAUST
[ 100.651545] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

cat /proc/cpuinfo (on Dapper) shows:
processor : 0
cpu : PPC970FX, altivec supported
clock : 2000.000000MHz
revision : 3.0 (pvr 003c 0300)

processor : 1
cpu : PPC970FX, altivec supported
clock : 2000.000000MHz
revision : 3.0 (pvr 003c 0300)

timebase : 33333333
machine : PowerMac7,3
motherboard : PowerMac7,3 MacRISC4 Power Macintosh
detected as : 336 (PowerMac G5)
pmac flags : 00000000
L2 cache : 512K unified
pmac-generation : NewWorld

I'd be happy to provide more information; this problem makes Dapper completely unusable for me.

Revision history for this message
globetrotterdk (globetrotterdk) wrote :

This issue still exists in Xubuntu Dapper PPC (desktop version). According to Benjamin Herrenschmidt <email address hidden> this issue should have been sussed by now. Is Ubuntu asleep at the wheel, not supporting the PPC platform any more or all of the above? This has been sorted in Fedora Core 5 PPC, but I would rather use Ubuntu/Kubuntu/Xubuntu.

Revision history for this message
bertrand anares (bertranddekoninck) wrote :

I had the same bug in breezy on my 2*2.0ghz G5 (powermac7,3)and I compiled the 2.6.14 kernel. It ran fine.
This bug was said to be solved in dapper and I upgraded my system. Same bug.

My own kernel did not run anymore. I've compiled 2.6.16 (and got random hangs) and finally 2.6.17. Now I've got a stable system and fans run at the good speed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.