Reply only to list! (Was: G5 fan control and official debian kernels.)

2006-06-27 Thread Jonas Smedegaard
On Tue, 27 Jun 2006 11:11:23 +0200 Sven Luther wrote:

[stuff both targeted at lists and personally]

Please, Sven, respect the Debian code of conduct regarding
mailinglists [1]:

> When replying to messages on the mailing list, do not send a carbon
> copy (CC) to the original poster unless they explicitly request to be
> copied.

No need to apologize about your being used to hitting a specific key in
your MUA. No need to respond at all, really. Just respect the above
quoted guideline, please!


Kind regards,

 - Jonas


[1] http://www.debian.org/MailingLists/#codeofconduct

-- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

 - Enden er nær: http://www.shibumi.org/eoti.htm


pgpFhf8np63Lo.pgp
Description: PGP signature


Re: G5 fan control and official debian kernels.

2006-06-27 Thread Sven Luther
On Tue, Jun 27, 2006 at 11:01:52AM +0200, Jonas Smedegaard wrote:
> On Tue, 27 Jun 2006 10:03:04 +0200 maximilian attems wrote:
> 
> > On Tue, Jun 27, 2006 at 09:47:32AM +0200, Sven Luther wrote:
> > > On Tue, Jun 27, 2006 at 09:17:49AM +0200, maximilian attems wrote:
> 
> > > > did you check it they get loaded by the initramfs?
> > > > please tell which fan and i2c modules need to be added for ppc?
> > > 
> > > No, it is a bug in the kernel, and even loading them by hand
> > > doesn't help.
> > > 
> > > I do have the module in /etc/modules for the above attempt.
> > 
> > that does not put them in the initramfs,
> > use /etc/initramfs-tools/modules for that.
> 
> Sven: Did you check with lsmod that they were in fact loaded (and no
> other related modules was)?

I did indeed check, and indeed adding i2c-powermac with 2.6.17 (2.6.16 was
buggy in this regard apparently) helped solve this. I was not previously aware
that i2c-powermac was needed.

> Perhaps use yaird for debugging this, to make sure the least possible
> is loaded at all.

having the module hand-loaded or in /etc/modules works just fine for this.

> > > Oh, and BTW, initramfs-tools generated ramdisks attempt to load the
> > > atkbd/i8042 modules on hardware not having any ps2 support. Can
> > > anything be done about it.
> > 
> > ppc builds those modular, which makes debuggig an initramfs a pain.
> > we already had an lengthy discussion about that 1/2 year ago.
> > as you like to keep them modular i need to load them or
> > the user might not be able to do anithing in the rescue shell.

What about doing some checks for the subarch that needs them in the first
place, and only load them if needed ? Those needing it are quickly looked at,
and i believe include only :

  - CHRP/Pegasos
  - PReP
  - CHRP/32bit

Not sure about the Power 3 RS6k chrp boxes from IBM, nor more recent
power4/power5 boxes, will investigate.

> > how about fixing those drivers?!

I guess the right thing to do is to add hotplug support to those modules.
But to quote benh :

  10:06 < benh> svenl: the "right" hotplug/udev thingy is a pain in the ass
  that I haven't fully figured out yet

And i guess i fall into this category myself too, so help is welcome in this.

BTW, but the same applies to the i2c-powermac and other such modules, there is
really no reason to load them on anything but the powermac subarch.

> AFAIR this one was not about broken drivers, but working fine when
> loaded as modules, and seldom of any use on that architecture, so left
> out to save space in the kernel. Building drivers modular is all (or
> mostly) about saving space at runtime, isn't it?

Well, with udev taking ages to try loading modules afterward, the time issue
is dubious. But i couldn't agree more about this, and i still believe the
yaird approach is the best one, which should be emulated in the MODULES=dep
way of initramfs-tools.

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: G5 fan control and official debian kernels.

2006-06-27 Thread Jonas Smedegaard
On Tue, 27 Jun 2006 10:03:04 +0200 maximilian attems wrote:

> On Tue, Jun 27, 2006 at 09:47:32AM +0200, Sven Luther wrote:
> > On Tue, Jun 27, 2006 at 09:17:49AM +0200, maximilian attems wrote:

> > > did you check it they get loaded by the initramfs?
> > > please tell which fan and i2c modules need to be added for ppc?
> > 
> > No, it is a bug in the kernel, and even loading them by hand
> > doesn't help.
> > 
> > I do have the module in /etc/modules for the above attempt.
> 
> that does not put them in the initramfs,
> use /etc/initramfs-tools/modules for that.

Sven: Did you check with lsmod that they were in fact loaded (and no
other related modules was)?

Perhaps use yaird for debugging this, to make sure the least possible
is loaded at all.



> > Oh, and BTW, initramfs-tools generated ramdisks attempt to load the
> > atkbd/i8042 modules on hardware not having any ps2 support. Can
> > anything be done about it.
> 
> ppc builds those modular, which makes debuggig an initramfs a pain.
> we already had an lengthy discussion about that 1/2 year ago.
> as you like to keep them modular i need to load them or
> the user might not be able to do anithing in the rescue shell.
> 
> how about fixing those drivers?!

AFAIR this one was not about broken drivers, but working fine when
loaded as modules, and seldom of any use on that architecture, so left
out to save space in the kernel. Building drivers modular is all (or
mostly) about saving space at runtime, isn't it?


 - Jonas

-- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

 - Enden er nær: http://www.shibumi.org/eoti.htm


pgpjOm5Jv8roM.pgp
Description: PGP signature


Re: G5 fan control and official debian kernels.

2006-06-27 Thread maximilian attems
On Tue, Jun 27, 2006 at 09:47:32AM +0200, Sven Luther wrote:
> On Tue, Jun 27, 2006 at 09:17:49AM +0200, maximilian attems wrote:
> > hello svenl,
> > 
> > On Sun, 25 Jun 2006, Sven Luther wrote:
> > 
> > > I have been experimenting with 2.6.16 and 2.6.17 and builtin or modular
> > > THERM_PM72 on my XServer G5.
> > > 
> > > The result is as follows :
> > > 
> > >   2.6.16 + modular fan control -> airplan noise level.
> > >   2.6.17 + modular fan control -> still noisy, but orders of magnitude 
> > > lower.
> > >   2.6.17 + builtin fan control -> noisy, but acceptable noise level.
> > 
> > did you check it they get loaded by the initramfs?
> > please tell which fan and i2c modules need to be added for ppc?
> 
> No, it is a bug in the kernel, and even loading them by hand doesn't help.
> 
> I do have the module in /etc/modules for the above attempt.

that does not put them in the initramfs,
use /etc/initramfs-tools/modules for that.
 
> > we currently do in scripts/init-premount/thermal
> > case "$DPKG_ARCH" in
> > # load the right modules
> > powerpc|ppc64)
> > modprobe -q i2c-keywest
> > modprobe -q therm_pm72
> > ;;
> 
> Indeed. There are the winfarm ones too.

not sure, i didn't see an i2c-keywest.c in the linux-2.6 source.
 
> > > So, i believe that the choice for the debian kernel is to have builtin 
> > > both
> > > the I2C_POWERMAC and the THERM_PM72 modules.
> > > 
> > > Of the other therm control modules, we have :
> > > 
> > >   CONFIG_WINDFARM
> > >   CONFIG_WINDFARM_PM81
> > >   CONFIG_WINDFARM_PM91
> > >   CONFIG_WINDFARM_PM112
> > > 
> > > I suppose they also will all benefit from being builtin, right ?
> > 
> > afaik ubuntu has those modular too,
> > please check if loading them real early helps!?
> 
> i don't have the hardware for thos,e which is why i wrote this one. It seems
> common knowledge that they need to be builtin for now though.

well i question that "common" knowledge as a very userfriendly distro
does not do it!?
maybe benh has some opinion on it.
 
> > non-modular may need db-measurement arg :)
> 
> not necessarily, but i admit i am not all that knowledgeable about this.

db measurement would give a clear cut.
 
> Oh, and BTW, initramfs-tools generated ramdisks attempt to load the
> atkbd/i8042 modules on hardware not having any ps2 support. Can anything be
> done about it.

ppc builds those modular, which makes debuggig an initramfs a pain.
we already had an lengthy discussion about that 1/2 year ago.
as you like to keep them modular i need to load them or
the user might not be able to do anithing in the rescue shell.

how about fixing those drivers?!

regards

-- 
maks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: G5 fan control and official debian kernels.

2006-06-27 Thread Sven Luther
On Tue, Jun 27, 2006 at 09:17:49AM +0200, maximilian attems wrote:
> hello svenl,
> 
> On Sun, 25 Jun 2006, Sven Luther wrote:
> 
> > I have been experimenting with 2.6.16 and 2.6.17 and builtin or modular
> > THERM_PM72 on my XServer G5.
> > 
> > The result is as follows :
> > 
> >   2.6.16 + modular fan control -> airplan noise level.
> >   2.6.17 + modular fan control -> still noisy, but orders of magnitude 
> > lower.
> >   2.6.17 + builtin fan control -> noisy, but acceptable noise level.
> 
> did you check it they get loaded by the initramfs?
> please tell which fan and i2c modules need to be added for ppc?
> 
> we currently do in scripts/init-premount/thermal
> case "$DPKG_ARCH" in
> # load the right modules
> powerpc|ppc64)
> modprobe -q i2c-keywest
>   modprobe -q therm_pm72
>   ;;

After discussion with BenH, the response to this one is i2c-powermac.

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: G5 fan control and official debian kernels.

2006-06-27 Thread Sven Luther
On Tue, Jun 27, 2006 at 09:17:49AM +0200, maximilian attems wrote:
> hello svenl,
> 
> On Sun, 25 Jun 2006, Sven Luther wrote:
> 
> > I have been experimenting with 2.6.16 and 2.6.17 and builtin or modular
> > THERM_PM72 on my XServer G5.
> > 
> > The result is as follows :
> > 
> >   2.6.16 + modular fan control -> airplan noise level.
> >   2.6.17 + modular fan control -> still noisy, but orders of magnitude 
> > lower.
> >   2.6.17 + builtin fan control -> noisy, but acceptable noise level.
> 
> did you check it they get loaded by the initramfs?
> please tell which fan and i2c modules need to be added for ppc?

No, it is a bug in the kernel, and even loading them by hand doesn't help.

I do have the module in /etc/modules for the above attempt.

> we currently do in scripts/init-premount/thermal
> case "$DPKG_ARCH" in
> # load the right modules
> powerpc|ppc64)
> modprobe -q i2c-keywest
>   modprobe -q therm_pm72
>   ;;

Indeed. There are the winfarm ones too.

> > So, i believe that the choice for the debian kernel is to have builtin both
> > the I2C_POWERMAC and the THERM_PM72 modules.
> > 
> > Of the other therm control modules, we have :
> > 
> >   CONFIG_WINDFARM
> >   CONFIG_WINDFARM_PM81
> >   CONFIG_WINDFARM_PM91
> >   CONFIG_WINDFARM_PM112
> > 
> > I suppose they also will all benefit from being builtin, right ?
> 
> afaik ubuntu has those modular too,
> please check if loading them real early helps!?

i don't have the hardware for thos,e which is why i wrote this one. It seems
common knowledge that they need to be builtin for now though.

> non-modular may need db-measurement arg :)

not necessarily, but i admit i am not all that knowledgeable about this.

Oh, and BTW, initramfs-tools generated ramdisks attempt to load the
atkbd/i8042 modules on hardware not having any ps2 support. Can anything be
done about it.

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: G5 fan control and official debian kernels.

2006-06-27 Thread maximilian attems
hello svenl,

On Sun, 25 Jun 2006, Sven Luther wrote:

> I have been experimenting with 2.6.16 and 2.6.17 and builtin or modular
> THERM_PM72 on my XServer G5.
> 
> The result is as follows :
> 
>   2.6.16 + modular fan control -> airplan noise level.
>   2.6.17 + modular fan control -> still noisy, but orders of magnitude lower.
>   2.6.17 + builtin fan control -> noisy, but acceptable noise level.

did you check it they get loaded by the initramfs?
please tell which fan and i2c modules need to be added for ppc?

we currently do in scripts/init-premount/thermal
case "$DPKG_ARCH" in
# load the right modules
powerpc|ppc64)
modprobe -q i2c-keywest
modprobe -q therm_pm72
;;

 
> So, i believe that the choice for the debian kernel is to have builtin both
> the I2C_POWERMAC and the THERM_PM72 modules.
> 
> Of the other therm control modules, we have :
> 
>   CONFIG_WINDFARM
>   CONFIG_WINDFARM_PM81
>   CONFIG_WINDFARM_PM91
>   CONFIG_WINDFARM_PM112
> 
> I suppose they also will all benefit from being builtin, right ?

afaik ubuntu has those modular too,
please check if loading them real early helps!?
non-modular may need db-measurement arg :)

best regards

-- 
maks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



G5 fan control and official debian kernels.

2006-06-25 Thread Sven Luther
Hi all,

I have been experimenting with 2.6.16 and 2.6.17 and builtin or modular
THERM_PM72 on my XServer G5.

The result is as follows :

  2.6.16 + modular fan control -> airplan noise level.
  2.6.17 + modular fan control -> still noisy, but orders of magnitude lower.
  2.6.17 + builtin fan control -> noisy, but acceptable noise level.

So, i believe that the choice for the debian kernel is to have builtin both
the I2C_POWERMAC and the THERM_PM72 modules.

Of the other therm control modules, we have :

  CONFIG_WINDFARM
  CONFIG_WINDFARM_PM81
  CONFIG_WINDFARM_PM91
  CONFIG_WINDFARM_PM112

I suppose they also will all benefit from being builtin, right ?

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]