Bug#781934: XServe G5 all fans run full speed

2015-04-04 Thread Milan Kupcevic
Package: src:linux
Version: 3.16.7-ckt7-1
Severity: important


Installing jessie makes XServe G5 fans run full speed all the time.



-- Package-specific info:
** Version:
Linux version 3.16.0-4-powerpc64 (debian-ker...@lists.debian.org) (gcc version 
4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt7-1 (2015-03-01)

** Command line:
root=UUID=47e08bf5-e62c-4488-9715-ecc20f04b351 ro 

** Not tainted

** Kernel log:
[6.514122] systemd[1]: Starting system-getty.slice.
[6.534961] systemd[1]: Created slice system-getty.slice.
[6.544965] systemd[1]: Starting Create list of required static device nodes 
for the current kernel...
[6.575941] systemd[1]: Mounting Debug File System...
[6.597499] systemd[1]: Mounting POSIX Message Queue File System...
[6.619313] systemd[1]: Mounting Huge Pages File System...
[6.673770] systemd[1]: Starting Load Kernel Modules...
[6.698216] systemd[1]: Starting udev Coldplug all Devices...
[6.765327] systemd[1]: Started Set Up Additional Binary Formats.
[6.775556] systemd[1]: Starting Journal Service...
[6.807087] systemd[1]: Started Journal Service.
[7.344876] lp: driver loaded but no devices found
[7.621376] systemd-udevd[171]: starting version 215
[8.488202] [drm] Initialized drm 1.1.0 20060810
[8.733873] systemd-udevd[185]: renamed network interface eth0 to eth2
[8.753893] systemd-udevd[186]: renamed network interface eth1 to eth3
[9.000653] [drm] radeon kernel modesetting enabled.
[9.010302] checking generic (9c008000 96000) vs hw (9800 800)
[9.010309] fb: switching to radeondrmfb from OFfb ATY,BlueSt
[9.024617] Console: switching to colour dummy device 80x25
[9.025144] radeon 0001:06:03.0: enabling device (0086 - 0087)
[9.025601] [drm] initializing kernel modesetting (RV100 0x1002:0x5159 
0x1002:0x0908).
[9.026603] [drm] register mmio base: 0x9008
[9.026623] [drm] register mmio size: 65536
[9.163941] [drm] Not an x86 BIOS ROM, not using.
[9.173981] [drm] Using device-tree clock info
[9.174005] radeon 0001:06:03.0: VRAM: 128M 0x9800 - 
0x9FFF (64M used)
[9.174014] radeon 0001:06:03.0: GTT: 512M 0x7800 - 
0x97FF
[9.178774] [drm] Detected VRAM RAM=128M, BAR=128M
[9.178792] [drm] RAM width 64bits DDR
[9.178972] [TTM] Zone  kernel: Available graphics memory: 2040832 kiB
[9.178980] [TTM] Initializing pool allocator
[9.179111] [drm] radeon: 64M of VRAM memory ready
[9.179123] [drm] radeon: 512M of GTT memory ready.
[9.179181] [drm] GART: num cpu pages 8192, num gpu pages 131072
[9.201437] [drm] PCI GART of 512M enabled (table at 0x6218).
[9.201655] radeon 0001:06:03.0: WB disabled
[9.201676] radeon 0001:06:03.0: fence driver on ring 0 use gpu addr 
0x7800 and cpu addr 0xc00164ad
[9.201692] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[9.201697] [drm] Driver supports precise vblank timestamp query.
[9.201765] [drm] radeon: irq initialized.
[9.201809] [drm] Loading R100 Microcode
[9.237575] radeon 0001:06:03.0: firmware: failed to load radeon/R100_cp.bin 
(-2)
[9.237648] [drm:r100_cp_init] *ERROR* Failed to load firmware!
[9.237657] radeon 0001:06:03.0: failed initializing CP (-2).
[9.237664] radeon 0001:06:03.0: Disabling GPU acceleration
[9.237692] [drm] radeon: cp finalized
[9.238134] i2c i2c-5: therm_pm72: attach_adapter method is deprecated
[9.238146] i2c i2c-5: Please use another way to instantiate your i2c_client
[9.238212] i2c i2c-6: therm_pm72: attach_adapter method is deprecated
[9.238219] i2c i2c-6: Please use another way to instantiate your i2c_client
[9.238272] i2c i2c-7: therm_pm72: attach_adapter method is deprecated
[9.238279] i2c i2c-7: Please use another way to instantiate your i2c_client
[9.238334] i2c i2c-8: therm_pm72: attach_adapter method is deprecated
[9.238341] i2c i2c-8: Please use another way to instantiate your i2c_client
[9.246611] [drm] Connector Table: 1 (generic)
[9.246652] [drm] No TMDS info found in BIOS
[9.246663] [drm] No TV DAC info found in BIOS
[9.246944] [drm] Radeon Display Connectors
[9.246950] [drm] Connector 0:
[9.246954] [drm]   DVI-I-1
[9.246958] [drm]   HPD1
[9.246964] [drm]   DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64
[9.246968] [drm]   Encoders:
[9.246973] [drm] DFP1: INTERNAL_TMDS1
[9.246977] [drm] CRT2: INTERNAL_DAC2
[9.246982] [drm] Connector 1:
[9.246986] [drm]   VGA-1
[9.246991] [drm]   DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60
[9.247004] [drm]   Encoders:
[9.247005] [drm] CRT1: INTERNAL_DAC1
[9.247006] [drm] Connector 2:
[9.247006] [drm]   SVIDEO-1
[9.247007] [drm]   Encoders:
[9.247008] [drm] TV1: INTERNAL_DAC2
[9.345904] [drm] fb mappable at 0x9804
[9.345923] [drm] vram apper at 0x9800
[

Bug#781934: XServe G5: all fans run full speed

2015-04-04 Thread Milan Kupcevic

The therm_pm72 module is obsolete. It does not do thermal management anymore. 
I've compiled windfarm_rm31 and windfarm_pm72 modules and successfully tested 
on an XServe G5 (RackMac3,1) and a Power Mac G5 (PowerMac7,3). 

Milan


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#781934: XServe G5: all fans run full speed

2015-04-04 Thread Milan Kupcevic
tags 781934 + patch
thanks

Index: linux/debian/config/kernelarch-powerpc/config
===
--- linux/debian/config/kernelarch-powerpc/config	(revision 22467)
+++ linux/debian/config/kernelarch-powerpc/config	(working copy)
@@ -389,8 +389,10 @@
 CONFIG_MAC_EMUMOUSEBTN=y
 CONFIG_THERM_WINDTUNNEL=m
 CONFIG_THERM_ADT746X=m
-CONFIG_THERM_PM72=m
+# CONFIG_THERM_PM72 is not set
 CONFIG_WINDFARM=m
+CONFIG_WINDFARM_RM31=m
+CONFIG_WINDFARM_PM72=m
 CONFIG_WINDFARM_PM81=m
 CONFIG_WINDFARM_PM91=m
 CONFIG_WINDFARM_PM112=m
Index: linux/debian/config/kernelarch-powerpc/config-arch-64-be
===
--- linux/debian/config/kernelarch-powerpc/config-arch-64-be	(revision 22467)
+++ linux/debian/config/kernelarch-powerpc/config-arch-64-be	(working copy)
@@ -66,9 +66,12 @@
 ## file: drivers/macintosh/Kconfig
 ##
 CONFIG_WINDFARM=m
+CONFIG_WINDFARM_RM31=m
+CONFIG_WINDFARM_PM72=m
 CONFIG_WINDFARM_PM81=m
 CONFIG_WINDFARM_PM91=m
 CONFIG_WINDFARM_PM112=m
+CONFIG_WINDFARM_PM121=m
 
 ##
 ## file: drivers/net/ethernet/pasemi/Kconfig
Index: linux/debian/installer/powerpc/modules/powerpc-powerpc64/fancontrol-modules
===
--- linux/debian/installer/powerpc/modules/powerpc-powerpc64/fancontrol-modules	(revision 22467)
+++ linux/debian/installer/powerpc/modules/powerpc-powerpc64/fancontrol-modules	(working copy)
@@ -1,5 +1,4 @@
 i2c-powermac ?
-therm_pm72 ?
 windfarm_core ?
 windfarm_cpufreq_clamp ?
 windfarm_lm75_sensor ?
@@ -9,6 +8,12 @@
 windfarm_pm112 ?
 windfarm_pm81 ?
 windfarm_pm91 ?
+windfarm_pm72 ?
+windfarm_rm31 ?
 windfarm_smu_controls ?
 windfarm_smu_sat ?
 windfarm_smu_sensors ?
+windfarm_ad7417_sensor ?
+windfarm_fcu_controls ?
+windfarm_lm87_sensor ?
+windfarm_pid ?