Bug#713943: Lack of i2c_powermac module may be the cause

2014-02-22 Thread Erik de Castro Lopo
Hi,

A previosu message in this big suggested that the i2c_powermac module 
may be involved.

I can confirm that this module is missing completely for the 3.12 kernel
(there is no module of that name in the /lib/modules/3.12-1-powerpc64/
tree) whereas for the 3.4 kernel this module is available and is being
auto-loaded.

Erik
-- 
--
Erik de Castro Lopo
http://www.mega-nerd.com/


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/2014022219.e55a0fa774c821b1351ed...@mega-nerd.com



Bug#713943: Lack of i2c_powermac module may be the cause

2014-02-22 Thread Erik de Castro Lopo
Erik de Castro Lopo wrote:

 Hi,
 
 A previosu message in this big suggested that the i2c_powermac module 
 may be involved.
 
 I can confirm that this module is missing completely for the 3.12 kernel
 (there is no module of that name in the /lib/modules/3.12-1-powerpc64/
 tree) whereas for the 3.4 kernel this module is available and is being
 auto-loaded.

It seems that the i2c_powermac module from 3.4 is now called i2c-powermac
(underscore replaced with a minux sign).

Manually loading the i2c-powermac module results in fans that run at the
normal. expected low speed. I will be adding this to /etc/modules as a
workaround for this issue.

A question about kernel modules, can one module (eg windfarm_core) be
made to depend on and auto-load another (eg i2c-powermac)?

Erik
-- 
--
Erik de Castro Lopo
http://www.mega-nerd.com/


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20140222192301.8f2302751561e6fc3b47d...@mega-nerd.com



Bug#713943: Lack of i2c_powermac module may be the cause

2014-02-22 Thread Rick Thomas
On Feb 22, 2014, at 12:23 AM, Erik de Castro Lopo er...@mega-nerd.com wrote:

 Hi,
 
 I run debian testing on a dual G5 powermac.
 
 Just upgraded from linux-image-3.4-trunk-powerpc64 to
 linux-image-3.12-1-powerpc64 and found the same issue. The windfarm
 modules are loading but the about 30 seconds to a couple of minutes
 after booting to 3.12-1-powerpc64 the fans speed up to full speed.
 
 lsmod says the windfarm modules are being loaded, and its the same
 modules being loaded under the 3.4 kernel.
 
 I have however found a difference. On 3.12 I get:
 
 dmesg | grep windfarm 
[4.358299] windfarm: initializing for dual-core desktop G5
 
 whereas on 3.4 I get:
 
 dmesg | grep windfarm 
[4.791589] windfarm: initializing for dual-core desktop G5
[9.077416] windfarm: CPUs control loops started.
[   12.440957] windfarm: Backside control loop started.
[   12.491701] windfarm: Slots control loop started.
[   12.592933] windfarm: Drive bay control loop started.
 
 Definitely something wonky there.
 
 Erik

 Erik de Castro Lopo wrote:
 
 Hi,
 
 A previous message in this bug suggested that the i2c_powermac module 
 may be involved.
 
 I can confirm that this module is missing completely for the 3.12 kernel
 (there is no module of that name in the /lib/modules/3.12-1-powerpc64/
 tree) whereas for the 3.4 kernel this module is available and is being
 auto-loaded.
 
 It seems that the i2c_powermac module from 3.4 is now called i2c-powermac
 (underscore replaced with a minux sign).
 
 Manually loading the i2c-powermac module results in fans that run at the
 normal. expected low speed. I will be adding this to /etc/modules as a
 workaround for this issue.
 
 A question about kernel modules, can one module (eg windfarm_core) be
 made to depend on and auto-load another (eg i2c-powermac)?
 
 Erik
 -- 
 --
 Erik de Castro Lopo
 http://www.mega-nerd.com/
 
 -- 
 To unsubscribe, send mail to 713943-unsubscr...@bugs.debian.org.
 


I'm forwarding this to the debian-powerpc list, incase someone there can help!

Rick


--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/d1fd7102-6925-4f1a-a04d-24a6cba0e...@pobox.com



Bug#713943: Lack of i2c_powermac module may be the cause

2014-02-22 Thread Ben Hutchings
On Sat, 2014-02-22 at 19:23 +1100, Erik de Castro Lopo wrote:
 Erik de Castro Lopo wrote:
 
  Hi,
  
  A previosu message in this big suggested that the i2c_powermac module 
  may be involved.
  
  I can confirm that this module is missing completely for the 3.12 kernel
  (there is no module of that name in the /lib/modules/3.12-1-powerpc64/
  tree) whereas for the 3.4 kernel this module is available and is being
  auto-loaded.
 
 It seems that the i2c_powermac module from 3.4 is now called i2c-powermac
 (underscore replaced with a minux sign).

These are the same name, so far as the kernel is concerned.

 Manually loading the i2c-powermac module results in fans that run at the
 normal. expected low speed. I will be adding this to /etc/modules as a
 workaround for this issue.

Does it matter whether you load i2c-powermac before or after the
windfarm modules?

 A question about kernel modules, can one module (eg windfarm_core) be
 made to depend on and auto-load another (eg i2c-powermac)?

Yes but I don't think that's the correct solution.  I'll ask upstream.

Ben.

-- 
Ben Hutchings
I haven't lost my mind; it's backed up on tape somewhere.


signature.asc
Description: This is a digitally signed message part


Bug#713943: Lack of i2c_powermac module may be the cause

2014-02-22 Thread David Gosselin
Are you testing on a PowerMac G5 7,3?  Should be in /proc/cpuinfo.
I have a 7,3 model and cannot load the windfarm driver.  It appears that the 
hardware on the 7,3 is not supported.  I’ve been working to update the 
therm_pm72 driver to use the probe interface instead of the attach_adapter 
interface.  Maybe you’re hitting this issue?


On Feb 22, 2014, at 4:44 AM, Rick Thomas rbtho...@pobox.com wrote:

 On Feb 22, 2014, at 12:23 AM, Erik de Castro Lopo er...@mega-nerd.com wrote:
 
 Hi,
 
 I run debian testing on a dual G5 powermac.
 
 Just upgraded from linux-image-3.4-trunk-powerpc64 to
 linux-image-3.12-1-powerpc64 and found the same issue. The windfarm
 modules are loading but the about 30 seconds to a couple of minutes
 after booting to 3.12-1-powerpc64 the fans speed up to full speed.
 
 lsmod says the windfarm modules are being loaded, and its the same
 modules being loaded under the 3.4 kernel.
 
 I have however found a difference. On 3.12 I get:
 
 dmesg | grep windfarm 
   [4.358299] windfarm: initializing for dual-core desktop G5
 
 whereas on 3.4 I get:
 
 dmesg | grep windfarm 
   [4.791589] windfarm: initializing for dual-core desktop G5
   [9.077416] windfarm: CPUs control loops started.
   [   12.440957] windfarm: Backside control loop started.
   [   12.491701] windfarm: Slots control loop started.
   [   12.592933] windfarm: Drive bay control loop started.
 
 Definitely something wonky there.
 
 Erik
 
 Erik de Castro Lopo wrote:
 
 Hi,
 
 A previous message in this bug suggested that the i2c_powermac module 
 may be involved.
 
 I can confirm that this module is missing completely for the 3.12 kernel
 (there is no module of that name in the /lib/modules/3.12-1-powerpc64/
 tree) whereas for the 3.4 kernel this module is available and is being
 auto-loaded.
 
 It seems that the i2c_powermac module from 3.4 is now called i2c-powermac
 (underscore replaced with a minux sign).
 
 Manually loading the i2c-powermac module results in fans that run at the
 normal. expected low speed. I will be adding this to /etc/modules as a
 workaround for this issue.
 
 A question about kernel modules, can one module (eg windfarm_core) be
 made to depend on and auto-load another (eg i2c-powermac)?
 
 Erik
 -- 
 --
 Erik de Castro Lopo
 http://www.mega-nerd.com/
 
 -- 
 To unsubscribe, send mail to 713943-unsubscr...@bugs.debian.org.
 
 
 
 I'm forwarding this to the debian-powerpc list, incase someone there can help!
 
 Rick
 
 
 
 --
 To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: 
 http://lists.debian.org/d1fd7102-6925-4f1a-a04d-24a6cba0e...@pobox.com
 


--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/24c384ea-f3de-49e7-a29e-3c1abbe80...@appleside.org



Bug#713943: Lack of i2c_powermac module may be the cause

2014-02-22 Thread Erik de Castro Lopo
Ben Hutchings wrote:

  Manually loading the i2c-powermac module results in fans that run at the
  normal. expected low speed. I will be adding this to /etc/modules as a
  workaround for this issue.
 
 Does it matter whether you load i2c-powermac before or after the
 windfarm modules?

Loading after is fine. I therefore assume that loading before is also
fine.

Erik
-- 
--
Erik de Castro Lopo
http://www.mega-nerd.com/


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20140223022629.5aa3a81f3ef3424130110...@mega-nerd.com



Bug#713943: Lack of i2c_powermac module may be the cause

2014-02-22 Thread Erik de Castro Lopo
David Gosselin wrote:

 Are you testing on a PowerMac G5 7,3?  Should be in /proc/cpuinfo.
 I have a 7,3 model and cannot load the windfarm driver.  It appears
 that the hardware on the 7,3 is not supported.  I’ve been working to
 update the therm_pm72 driver to use the probe interface instead of the
 attach_adapter interface.  Maybe you’re hitting this issue?

Nope, seems to be 11,2:


platform: PowerMac
model   : PowerMac11,2
machine : PowerMac11,2
motherboard : PowerMac11,2 MacRISC4 Power Macintosh 
detected as : 337 (PowerMac G5 Dual Core)


Erik
-- 
--
Erik de Castro Lopo
http://www.mega-nerd.com/


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20140223022840.de1c11b823017c14f79d2...@mega-nerd.com



Bug#713943: Lack of i2c_powermac module may be the cause

2014-02-22 Thread Rick Thomas

I have a single processor MacPro G5 PowerMac7,3 running Jessie.

model   : PowerMac7,3
machine : PowerMac7,3
motherboard : PowerMac7,3 MacRISC4 Power Macintosh 
detected as : 336 (PowerMac G5)



I also have a dual core G5 PowerMac11,2 but it's running MacOS-X.

The 7,3 has exactly the problem described.  Adding the line i2c-powermac to 
/etc/modules is enough to fix the problem.  As for the windfarm driver on that 
machine, 

$ lsmod | grep -i wind | wc -l
0

Sometime soon, I'll put a spare disk into the 11,2 and install Jessie on it.  
I'll give results and CC this bugreport.

Rick


On Feb 22, 2014, at 7:28 AM, Erik de Castro Lopo er...@mega-nerd.com wrote:

 David Gosselin wrote:
 
 Are you testing on a PowerMac G5 7,3?  Should be in /proc/cpuinfo.
 I have a 7,3 model and cannot load the windfarm driver.  It appears
 that the hardware on the 7,3 is not supported.  I’ve been working to
 update the therm_pm72 driver to use the probe interface instead of the
 attach_adapter interface.  Maybe you’re hitting this issue?
 
 Nope, seems to be 11,2:
 
 
platform: PowerMac
model   : PowerMac11,2
machine : PowerMac11,2
motherboard : PowerMac11,2 MacRISC4 Power Macintosh 
detected as : 337 (PowerMac G5 Dual Core)
 
 
 Erik
 -- 
 --
 Erik de Castro Lopo
 http://www.mega-nerd.com/
 
 
 -- 
 To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: 
 http://lists.debian.org/20140223022840.de1c11b823017c14f79d2...@mega-nerd.com
 
 


--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5ce3db0a-4116-45e9-af61-bc4bb5e08...@pobox.com