|
List Info
Thread: Problem with CPU temperature (Santa Rosa CPU)
|
|
| Problem with CPU temperature (Santa
Rosa CPU) |

|
2007-10-09 12:33:14 |
Hi list,
i have a Santa Rosa (Core 2 Duo T7300) Acer AS5720
laptop, and i'm
getting problems with the temperature of the CPU. In
particular i'm
using the coretemp module for determining the core
temperature.
Normally (using cpufreqd and the "ondemand"
governor) the CPU stays at
nearly 50C (which i think is quite high since in windows ,
using Core
Temp it gives about 30C).
While compiling this increases up to 95-100C (after which it
shuts
down). The problem is that the fan is not spinning up at
all!
What can be the cause of this behaviour? consider that i'm
using an up
to date system with gentoo-sources-2.6.22-r8.
Any help appreciated,
Regards,
Marco
--
gentoo-laptop gentoo.org mailing list
|
|
| Re: Problem with CPU temperature (Santa
Rosa CPU) |

|
2007-10-09 13:22:28 |
|
your thermal doesn't poll.... make it poll like this: echo "2 seconds" > /proc/acpi/thermal_zone/THRM/polling_frequency or wichever thermal zone is in /proc/acpi/thermal_zone. then verify your trip points in the same THRM directory but in the file trip_points. you should see something like this:
critical (S5): 105 C passive: 76 C: tc1=3 tc2=1 tsp=150 devices=CPU0 active[0]: 67 C: devices= FN1 active[1]: 57 C: devices= FN2
in the eg passive means that your cpu is downclocked since it has passed 76 degrees C
active [0] means that your fan is triggered to on active[1] means that the fan is not triggered and it is shut down. the critical point is when the system shuts down. if the polling_frequency tweak doesn't work then you have another problem (eg i had to compile the fan and thermal module included in kernel since modprobing them would not start the fan). if it works copy the tweak command and put it in some init script (i put it at the start of /etc/init.d/xdm so that i'm sure it loads after acpi, since that file doesn't exists without acpi loaded).
then try installing kima if you're using kde and add the kima kmenu applet to monitor some things. you should be able to see that the processor hardly passes 60 degrees while thermal goes high till the passive point and over; if you monitor also the cpu load and freq you should be able to see how your processors reacts to programs. remember to also install the klaptopdaemon since is quite useful in controlling the cpufreq_utils governors and acpi settings. try also the laptop_mode-tools and see if they can help you have a better use for your disk. the last thing that you can also install is the hddtemp for monitoring your disk temperature.
2007/10/9, Marco Calviani < marco.calviani gmail.com">marco.calviani gmail.com>:
Hi list, i have a Santa Rosa (Core 2 Duo T7300) Acer AS5720 laptop, and i'm getting problems with the temperature of the CPU. In particular i'm using the coretemp module for determining the core temperature.
Normally (using cpufreqd and the "ondemand" governor) the CPU stays at nearly 50C (which i think is quite high since in windows , using Core Temp it gives about 30C). While compiling this increases up to 95-100C (after which it shuts
down). The problem is that the fan is not spinning up at all! What can be the cause of this behaviour? consider that i'm using an up to date system with gentoo-sources-2.6.22-r8.
Any help appreciated,
Regards, Marco -- gentoo-laptop gentoo.org">gentoo-laptop gentoo.org mailing list
-- dott. ing. beso
|
| Re: Problem with CPU temperature (Santa
Rosa CPU) |

|
2007-10-10 02:26:47 |
Hi Beso,
actually i'm getting this error:
cat /proc/acpi/thermal_zone/TZ01/polling_frequency
<polling disabled>
cat /proc/acpi/thermal_zone/TZ01/cooling_mode
<setting not supported>
m
On 10/9/07, Beso <givemesugarr gmail.com> wrote:
> your thermal doesn't poll.... make it poll like this:
> echo "2 seconds" >
> /proc/acpi/thermal_zone/THRM/polling_frequency
> or wichever thermal zone is in /proc/acpi/thermal_zone.
then verify your
> trip points in the same THRM directory but in the file
trip_points. you
> should see something like this:
> critical (S5): 105 C
> passive: 76 C: tc1=3 tc2=1 tsp=150
devices=CPU0
> active[0]: 67 C: devices= FN1
> active[1]: 57 C: devices= FN2
>
> in the eg passive means that your cpu is downclocked
since it has passed 76
> degrees C
> active [0] means that your fan is triggered to on
> active[1] means that the fan is not triggered and it is
shut down.
> the critical point is when the system shuts down.
> if the polling_frequency tweak doesn't work then you
have another problem
> (eg i had to compile the fan and thermal module
included in kernel since
> modprobing them would not start the fan). if it works
copy the tweak command
> and put it in some init script (i put it at the start
of /etc/init.d/xdm so
> that i'm sure it loads after acpi, since that file
doesn't exists without
> acpi loaded).
> then try installing kima if you're using kde and add
the kima kmenu applet
> to monitor some things. you should be able to see that
the processor hardly
> passes 60 degrees while thermal goes high till the
passive point and over;
> if you monitor also the cpu load and freq you should be
able to see how your
> processors reacts to programs. remember to also install
the klaptopdaemon
> since is quite useful in controlling the cpufreq_utils
governors and acpi
> settings. try also the laptop_mode-tools and see if
they can help you have a
> better use for your disk. the last thing that you can
also install is the
> hddtemp for monitoring your disk temperature.
>
> 2007/10/9, Marco Calviani <marco.calviani gmail.com>:
> >
> > Hi list,
> > i have a Santa Rosa (Core 2 Duo T7300) Acer
AS5720 laptop, and i'm
> > getting problems with the temperature of the CPU.
In particular i'm
> > using the coretemp module for determining the core
temperature.
> > Normally (using cpufreqd and the
"ondemand" governor) the CPU stays at
> > nearly 50C (which i think is quite high since in
windows , using Core
> > Temp it gives about 30C).
> > While compiling this increases up to 95-100C
(after which it shuts
> > down). The problem is that the fan is not spinning
up at all!
> > What can be the cause of this behaviour? consider
that i'm using an up
> > to date system with gentoo-sources-2.6.22-r8.
> >
> > Any help appreciated,
> > Regards,
> > Marco
> > --
> > gentoo-laptop gentoo.org mailing list
> >
> >
>
>
>
> --
> dott. ing. beso
--
gentoo-laptop gentoo.org mailing list
|
|
| Problem with CPU temperature (Santa
Rosa CPU) |

|
2007-10-10 02:27:53 |
Hi Volker,
yes i can imagine there could be something wrong with
ACPI, but how
can i recognize it? What is fancontrol?
m
> ACPI. You might be missing some options there. Or
something else. Are you
> using fancontrol? If yes, try without, if no, try with
it ;)
> --
--
gentoo-laptop gentoo.org mailing list
|
|
| Re: Problem with CPU temperature (Santa
Rosa CPU) |

|
2007-10-10 03:18:49 |
Did you compile support for this CPU into kernell ??
It looks like the kernell doesn't know about it at all
Marco Calviani pisze:
> Hi Beso,
> actually i'm getting this error:
>
> cat /proc/acpi/thermal_zone/TZ01/polling_frequency
> <polling disabled>
>
> cat /proc/acpi/thermal_zone/TZ01/cooling_mode
> <setting not supported>
>
> m
>
> On 10/9/07, Beso <givemesugarr gmail.com> wrote:
>
>> your thermal doesn't poll.... make it poll like
this:
>> echo "2 seconds" >
>> /proc/acpi/thermal_zone/THRM/polling_frequency
>> or wichever thermal zone is in
/proc/acpi/thermal_zone. then verify your
>> trip points in the same THRM directory but in the
file trip_points. you
>> should see something like this:
>> critical (S5): 105 C
>> passive: 76 C: tc1=3 tc2=1 tsp=150
devices=CPU0
>> active[0]: 67 C: devices= FN1
>> active[1]: 57 C: devices= FN2
>>
>> in the eg passive means that your cpu is
downclocked since it has passed 76
>> degrees C
>> active [0] means that your fan is triggered to on
>> active[1] means that the fan is not triggered and
it is shut down.
>> the critical point is when the system shuts down.
>> if the polling_frequency tweak doesn't work then
you have another problem
>> (eg i had to compile the fan and thermal module
included in kernel since
>> modprobing them would not start the fan). if it
works copy the tweak command
>> and put it in some init script (i put it at the
start of /etc/init.d/xdm so
>> that i'm sure it loads after acpi, since that file
doesn't exists without
>> acpi loaded).
>> then try installing kima if you're using kde and
add the kima kmenu applet
>> to monitor some things. you should be able to see
that the processor hardly
>> passes 60 degrees while thermal goes high till the
passive point and over;
>> if you monitor also the cpu load and freq you
should be able to see how your
>> processors reacts to programs. remember to also
install the klaptopdaemon
>> since is quite useful in controlling the
cpufreq_utils governors and acpi
>> settings. try also the laptop_mode-tools and see if
they can help you have a
>> better use for your disk. the last thing that you
can also install is the
>> hddtemp for monitoring your disk temperature.
>>
>> 2007/10/9, Marco Calviani <marco.calviani gmail.com>:
>>
>>> Hi list,
>>> i have a Santa Rosa (Core 2 Duo T7300) Acer
AS5720 laptop, and i'm
>>> getting problems with the temperature of the
CPU. In particular i'm
>>> using the coretemp module for determining the
core temperature.
>>> Normally (using cpufreqd and the
"ondemand" governor) the CPU stays at
>>> nearly 50C (which i think is quite high since
in windows , using Core
>>> Temp it gives about 30C).
>>> While compiling this increases up to 95-100C
(after which it shuts
>>> down). The problem is that the fan is not
spinning up at all!
>>> What can be the cause of this behaviour?
consider that i'm using an up
>>> to date system with gentoo-sources-2.6.22-r8.
>>>
>>> Any help appreciated,
>>> Regards,
>>> Marco
>>> --
>>> gentoo-laptop gentoo.org mailing list
>>>
>>>
>>>
>>
>> --
>> dott. ing. beso
>>
--
gentoo-laptop gentoo.org mailing list
|
|
| Re: Problem with CPU temperature (Santa
Rosa CPU) |

|
2007-10-10 03:32:31 |
Hi Dexter,
yes, Core2 Support is enabled in the kernel, together
with all the
ACPI support enabled in the monolithic kernel.
m
On 10/10/07, dexter <dexters84 gmail.com> wrote:
> Did you compile support for this CPU into kernell ??
> It looks like the kernell doesn't know about it at all
>
--
gentoo-laptop gentoo.org mailing list
|
|
| Problem with CPU temperature (Santa
Rosa CPU) |

|
2007-10-10 05:53:06 |
Hi Volker,
i'm attaching my kernel .config. As you can see all the
ACPI related
points are enabled.
> posting your config? make menuconfig and reading the
help-text to all the
> acpi-options?
>
Thanks, i've found fancontrol, but since the laptop lacks
some chipset
to control the fan itself, the /etc/fancontrol is not
created.
I've realized that the temperature given in the
/proc/acpi/thermal_zone/TZ01/temperature is more or less
random at a
given machine startup and it does not change while the
machine is on.
When it start at a temperature above 60C, the fan starts
(and never
switch off) but the cores temperature remains low (~35C). If
it's 0C
or 50C or something below this threshold, the fan does not
switch on
and the core temp increases up to 100C.....
It would be nice to be able to link the fan control directly
with the
coretemp and not with the ACPI thermal zone....
m
--
gentoo-laptop gentoo.org mailing list
|
|
| Problem with CPU temperature (Santa
Rosa CPU) |

|
2007-10-10 05:55:06 |
Sorry i missed the attachment.
regards,
m
|
|
|
| Re: Problem with CPU temperature (Santa
Rosa CPU) |

|
2007-10-10 10:28:00 |
|
cat /proc/acpi/thermal_zone/TZ01/polling_frequency <polling disabled>
th ats why i told you to do this commanda:
echo "2 seconds" > /proc/acpi/thermal_zone/TZ01/polling:frequency
this enables the polling of your thermal every 2 seconds. this should be enough. do you have the other file that i mentioned:
/proc/acpi/thermal_zone/TZ01/trip_points ?! this sets the trip points for your processor. whitout it you governor cannot understand what to do even if it polls right.
as for the kernel thigs, set these options:
select processor type: intel core2 instead of normal x86 CONFIG_X86_SPEEDSTEP_CENTRINO=y instead of m CONFIG_ACPI_FAN=y instead of m CONFIG_MICROCODE=y instead of m (for what i know cpu micocode is needed on intels)
CONFIG_K8_NUMA=n instead of y (this should be the amdk8 numa, that you should not need. if it's not then let him be) CONFIG_X86_MCE_AMD=n instead of y (you don't need amd mce features since they are not included into intel cpus)
CONFIG_NR_CPUS=32 <-- this leaves me a little dazzled: do you really have 32 cpus in your core?! for what i know this sets the real number of cpus inside the kernel, but i might be wrong. so if this is really what i think it is, ie the real nr of cpus (not virtual ones) set this to 2 or 4 based on your cpu cores.
CONFIG_HOTPLUG_CPU=n instead of y (i don't really think that you'll unplug your cpu from your laptop when the laptop is still running considering that you don't use multi cpus but a single multicore cpu. the same goes for memory hotplug: i don't think that your laptop supports it, so just disable it.)
for what i have seen the acpi problems may be due to a failure in loading the intel speedstep module. if you look into the modules loaded (lsmod) you should not see it. so it's better to insert it directly in the kernel, since it is one of the first modules called (if you use it as a module you should be loading it with initramdisk before loading acpi to have a full acpi configuration).
try setting these options and recompile and install the new kernel and modules and reboot (kexec is not working on my amd turion with 64bit enabled and so may also be for your core2duo).
2007/10/10, Marco Calviani < marco.calviani gmail.com">marco.calviani gmail.com>:
Sorry i missed the attachment.
regards, m
-- dott. ing. beso
|
| Re: Problem with CPU temperature (Santa
Rosa CPU) |

|
2007-10-10 13:12:05 |
Hi Beso,
sorry i misunderstood your suggestion. I did what you
suggest and
this is the result of the trip_points:
critical (S5): 100C
which i suppose is the reason why at that temperature the
laptop switch off.
So, nothing except for the critical state. Should i have to
add there something?
An additional problem is this:
doing a
$ cat /proc/acpi/thermal_zone/TZ01/temperature
it gives only a:
temperature: 0C
My question is:
even if i change the polling frequency, how the fan can
start if the
temperature gives 0??
Do you know if it's possible to link the fan start with the
core
temperature instead of the ACPI thermal zone?
Regards,
m
>
> thats why i told you to do this commanda:
> > echo "2 seconds" >
> /proc/acpi/thermal_zone/TZ01/polling:frequency
> >
> this enables the polling of your thermal every 2
seconds. this should be
> enough.
> do you have the other file that i mentioned:
> > /proc/acpi/thermal_zone/TZ01/trip_points ?!
> this sets the trip points for your processor. whitout
it you governor cannot
> understand what to do even if it polls right.
>
> as for the kernel thigs, set these options:
> select processor type: intel core2 instead of normal
x86
> CONFIG_X86_SPEEDSTEP_CENTRINO=y instead of m
> CONFIG_ACPI_FAN=y instead of m
> CONFIG_MICROCODE=y instead of m (for what i know cpu
micocode is needed on
> intels)
> CONFIG_K8_NUMA=n instead of y (this should be the amdk8
numa, that you
> should not need. if it's not then let him be)
> CONFIG_X86_MCE_AMD=n instead of y (you don't need amd
mce features since
> they are not included into intel cpus)
> CONFIG_NR_CPUS=32 <-- this leaves me a little
dazzled: do you really have 32
> cpus in your core?! for what i know this sets the real
number of cpus inside
> the kernel, but i might be wrong. so if this is really
what i think it is,
> ie the real nr of cpus (not virtual ones) set this to 2
or 4 based on your
> cpu cores.
> CONFIG_HOTPLUG_CPU=n instead of y (i don't really think
that you'll unplug
> your cpu from your laptop when the laptop is still
running considering that
> you don't use multi cpus but a single multicore cpu.
the same goes for
> memory hotplug: i don't think that your laptop supports
it, so just disable
> it.)
> for what i have seen the acpi problems may be due to a
failure in loading
> the intel speedstep module. if you look into the
modules loaded (lsmod) you
> should not see it. so it's better to insert it directly
in the kernel, since
> it is one of the first modules called (if you use it as
a module you should
> be loading it with initramdisk before loading acpi to
have a full acpi
> configuration).
> try setting these options and recompile and install the
new kernel and
> modules and reboot (kexec is not working on my amd
turion with 64bit enabled
> and so may also be for your core2duo).
>
> 2007/10/10, Marco Calviani <marco.calviani gmail.com>:
> > Sorry i missed the attachment.
> >
> > regards,
> > m
> >
> >
>
>
>
> --
> dott. ing. beso
--
gentoo-laptop gentoo.org mailing list
|
|
|
|