From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Jan Engelhardt <jengelh@inai.de>
Cc: linuxppc-dev <linuxppc-dev@lists.ozlabs.org>
Subject: Re: therm_pm72 units, interface
Date: Thu, 16 Aug 2012 07:35:51 +1000 [thread overview]
Message-ID: <1345066551.11751.1.camel@pasglop> (raw)
In-Reply-To: <alpine.LNX.2.01.1208151941010.22695@frira.zrqbmnf.qr>
On Wed, 2012-08-15 at 19:53 +0200, Jan Engelhardt wrote:
> About a week ago, an XServe G5 of mine started powering off more or less
> randomly (after 1 hour, chances were good it for it to occur). A
> problematic UPS has already been cut from the loop, and today I cleaned
> the machine inside out with pressurized air. So far it runs, for now at
> least, with a load >= 2.0, but I am keeping an eye on whether this is a
> thermal issue.
>
> To that end, I wanted to obtain some statistics. Despite
> sensors-detect(8) loads lm87.ko for me, running sensors(1) shows no
> sensors. Oddly enough, I found a "kfand" process running that seems to
> stem from therm_pm72.ko, which brings me to the sysfs files.
>
> Is there a reason sensors(1) is not supported for Rackmac3,1?
>
> Certain sysfs files have a value with an unknown unit.
> "current" is likely in Ampere, temperature must be in Celsius
> (because there's no way the server room is 54°F=12°C cold).
>
> Is there a way to obtain the trip points for the hardware?
BTW. There's a new windfarm driver for these in recent kernels...
Appart from that, the trip points are coming from a calibration EEPROM,
you may want to tweak the driver to warn a bit earlier or that sort of
things ? (Or just to print more things out ?)
Cheers,
Ben.
> $ cd /sys/devices/temperature; grep '' *;
> backside_fan_pwm:32
> backside_temperature:54.000
> cpu0_current:34.423
> cpu0_exhaust_fan_rpm:5340
> cpu0_intake_fan_rpm:5340
> cpu0_temperature:72.889
> cpu0_voltage:1.252
> cpu1_current:34.179
> cpu1_exhaust_fan_rpm:4584
> cpu1_intake_fan_rpm:4584
> cpu1_temperature:68.526
> cpu1_voltage:1.259
> dimms_temperature:53.000
> grep: driver: Er en filkatalog
> modalias:platform:temperature
> grep: power: Er en filkatalog
> slots_fan_pwm:20
> slots_temperature:38.500
> grep: subsystem: Er en filkatalog
> uevent:DRIVER=temperature
> uevent:OF_NAME=fan
> uevent:OF_FULLNAME=/u3@0,f8000000/i2c@f8001000/fan@15e
> uevent:OF_TYPE=fcu
> uevent:OF_COMPATIBLE_0=fcu
> uevent:OF_COMPATIBLE_N=1
> uevent:MODALIAS=of:NfanTfcuCfcu
next prev parent reply other threads:[~2012-08-15 21:35 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-15 17:53 therm_pm72 units, interface Jan Engelhardt
2012-08-15 21:35 ` Benjamin Herrenschmidt [this message]
2012-08-16 15:24 ` Jan Engelhardt
2012-08-16 20:51 ` Benjamin Herrenschmidt
2012-08-17 13:51 ` Jan Engelhardt
2012-08-17 20:17 ` Benjamin Herrenschmidt
2012-08-17 14:23 ` Jan Engelhardt
2012-08-15 21:36 ` Benjamin Herrenschmidt
2013-01-17 14:38 ` Jan Engelhardt
2013-01-17 23:38 ` Benjamin Herrenschmidt
2013-07-19 17:43 ` Aaro Koskinen
2013-07-19 23:16 ` Benjamin Herrenschmidt
2013-07-20 20:33 ` Aaro Koskinen
2013-07-20 23:42 ` Benjamin Herrenschmidt
2013-08-02 10:03 ` Michel Dänzer
2013-08-02 12:51 ` Benjamin Herrenschmidt
2013-08-02 14:47 ` Michel Dänzer
2013-08-02 15:58 ` Aaro Koskinen
2013-08-02 16:52 ` Michel Dänzer
2013-08-02 21:02 ` Benjamin Herrenschmidt
2013-08-05 9:13 ` Michel Dänzer
2013-08-05 9:22 ` Benjamin Herrenschmidt
2013-08-05 10:32 ` Michel Dänzer
2013-08-05 10:53 ` Benjamin Herrenschmidt
2013-09-27 15:44 ` Michel Dänzer
2013-08-02 20:47 ` Benjamin Herrenschmidt
2013-08-02 20:56 ` Ben Hutchings
2013-08-02 21:04 ` Benjamin Herrenschmidt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1345066551.11751.1.camel@pasglop \
--to=benh@kernel.crashing.org \
--cc=jengelh@inai.de \
--cc=linuxppc-dev@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).