[Ma-linux] Re: [Novalug] email server locked up again (twice in two days)

Russell Evans russell-evans at qwest.net
Sun Feb 4 02:11:54 EST 2007


Before you get too far you might want to look at the output of sensors
and then reboot into the box's BIOS and verify that the temps match the
the bios numbers. See /etc/sensors.conf to see how the sensors program
computes the values.

In the post of your latest dmesg; there was the following line. 
  ACPI: Thermal Zone [THRM] (40 C)
From that I would assume acpi is able to provide you with a CPU
tempature. cat /proc/acpi/thermal_zone/XXX/temperature where the XXX is
to be replaced might be worth looking at. You might also want to look
at /proc/acpi/thermal_zone/XXX/trip_points to see where the thermal
protection kicks in.

acpi -t will also work to see the current temp so something simple like
the following will work

#!/bin/sh
echo $(date) > temperature.log
while true ; do
  acpi -t >> temperature.log
  sleep 30
done

or 

#!/bin/sh
echo $(date) > temperature.log
while true ; do
  cat /proc/acpi/thermal_zone/XXX/temperature >> temperature.log
  sleep 30
done


Thank you
Russelll



On Sun, 4 Feb 2007 00:43:45 -0500 (EST)
"Jay Hart" <jhart at kevla.org> wrote:

> Got this going, I loaded the modules, lets see what I get after next
> reboot.
> 
> Thanks,
> 
> Jay
> 
> >
> >    > Do you have any way of monitoring CPU temperatures on that box?
> >
> >    Nope, no way that I know of.
> >
> > One of the lm_sensors drivers should work; they handle the chipset
> > temperature and voltage monitors, emulating the National
> > Semiconductor LM78 chip, as well as a whole slate of other T/V
> > monitors.
> >
> > Make sure that you have the package lm_sensors installed, and run
> > the command sensors-detect. Setting it up this way is a little
> > painful and involves editing config files such as modules.config
> > etc. Modern distributions might have more automated setup, but I am
> > not familiar w/them. _______________________________________________
> > Ma-linux mailing lis



More information about the Ma-linux mailing list