Re: [SLUG] Computer keeps turning itself off.

2007-01-03 Thread Joseph Goncalves
 
  try:
  cat /proc/acpi/thermal_zone/*/trip_points
  to see what temperature the computer will turn off at and
  cat /proc/acpi/thermal_zone/*/temperature
  to see the temperature the computer is currently at...

 That's interesting, I didn't know about those, though I do have a
 temp monitor on my lappy screen.  Any ideas on how to tweak them as I
 see the critical temp is set at 109C and the other temps at 108C, and
 during the recent hot weather with no room aircond when running
 Winders under VMware it would occasionally shut down - yes the CPU
 fan is running.
If I understand what you are saying correctly, I believe you are asking 
if you could tweak the trip points. The short answer is no, if your 
computer is overheating, it is overheating. But if you have a problem 
with your computer overheating, you could use cpufreqd to slow the CPU 
down if the temperature goes above a certain temperature. That would 
have an effect of cooling down the machine a bit. 

You also could use the on-demand governor that automatically switches 
your CPU from a slow to faster speed based on the demand on the CPU. 
Since your computer's CPU wouldn't be running at 100% all of the time, 
this would have a significant cooling effect. This again can be setup 
with cpufreqd. 

I use cpufreqd on all my laptops, because I had a problem with one 
laptop overheating when I was compiling.
 Howard.
 LANNet Computing Associates - Your Linux people
 http://lannetlinux.com When you want a computer system that works,
 just choose Linux; When you want a computer system that works, just,
 choose Microsoft. --
 Flatter government, not fatter government; abolish the Australian
 states.
Regards
Joseph
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Computer keeps turning itself off.

2007-01-03 Thread Ken Wilson

Is the heat sink properly seated on the processor?
I removed a heatsink to clean the blanket of fluff the fan had forced 
in, then replaced it but had not locked down all the catches properly. 
It ran for a while then just shut down like the plug was pulled. Restart 
immediately and it would shut down immediately, restart next day and it 
would run for 40minutes the first time, the 2 minutes after an immediate 
restart. Once I had the catches all secured properly it worked again.

Ken

Adelle Hartley wrote:

Carlo Sogono wrote:
My first question would be: Does it just switch off or do you 
see some sort of shutdown sequence?


My money's on cooling if it just switches off.


That seems to be the widespread consensus, and it does just switch off.

The amount of time between being switched on and switching itself off ranges
from minutes to hours.

It's a P3, and isn't supposed to need a fan.  The main fan is working
though.

Adelle.



--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Computer keeps turning itself off.

2007-01-03 Thread Joseph Goncalves
What type of cpu does your laptop have?

On Thursday 04 January 2007 05:17, Howard Lowndes wrote:
 Sadly I now discover that my lappy is not capable of cpu speed
 control :(

 Joseph Goncalves wrote:
  try:
cat /proc/acpi/thermal_zone/*/trip_points
  to see what temperature the computer will turn off at and
cat /proc/acpi/thermal_zone/*/temperature
  to see the temperature the computer is currently at...
 
  That's interesting, I didn't know about those, though I do have a
  temp monitor on my lappy screen.  Any ideas on how to tweak them
  as I see the critical temp is set at 109C and the other temps at
  108C, and during the recent hot weather with no room aircond when
  running Winders under VMware it would occasionally shut down - yes
  the CPU fan is running.
 
  If I understand what you are saying correctly, I believe you are
  asking if you could tweak the trip points. The short answer is no,
  if your computer is overheating, it is overheating. But if you have
  a problem with your computer overheating, you could use cpufreqd to
  slow the CPU down if the temperature goes above a certain
  temperature. That would have an effect of cooling down the machine
  a bit.
 
  You also could use the on-demand governor that automatically
  switches your CPU from a slow to faster speed based on the demand
  on the CPU. Since your computer's CPU wouldn't be running at 100%
  all of the time, this would have a significant cooling effect. This
  again can be setup with cpufreqd.
 
  I use cpufreqd on all my laptops, because I had a problem with one
  laptop overheating when I was compiling.
 
  Howard.
  LANNet Computing Associates - Your Linux people
  http://lannetlinux.com When you want a computer system that
  works, just choose Linux; When you want a computer system that
  works, just, choose Microsoft. --
  Flatter government, not fatter government; abolish the Australian
  states.
 
  Regards
  Joseph

 --
 Howard.
 LANNet Computing Associates - Your Linux people
 http://lannetlinux.com When you want a computer system that works,
 just choose Linux; When you want a computer system that works, just,
 choose Microsoft. --
 Flatter government, not fatter government; abolish the Australian
 states.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Computer keeps turning itself off.

2007-01-03 Thread Joseph Goncalves
Have a look at the modules 
in /lib/modules/2.6.18-1.2849.fc6/kernel/arch/i386/kernel/cpu/cpufreq.  
One of these are bound to expose control of your cpu's speed 
over /sys/devices/system/cpu/cpu0/cpufreq/. cpuspeed, powernowd, 
cpufreqd, etc all pretty much do the same thing in this sys folder to 
control your cpu's speed given battery, AC, temperature, etc. states.

The cpufreq_ondemand, cpufreq_conservative, cpufreq_powersave are 
frequency governors that set the cpu frequency between the 
scaling_min_freq and scaling_max_freq values of this sys folder. 

My guess for the Celeron would be the ACPI Processor P-States driver. 
but if this doesn't work then one of the Intel speedstep drivers may 
work.

If you get this working you could easily double the battery life of your 
laptop and probably make it run quieter.

On Thursday 04 January 2007 11:06, Howard Lowndes wrote:
 # cat /proc/cpuinfo
 processor   : 0
 vendor_id   : GenuineIntel
 cpu family  : 15
 model   : 2
 model name  : Mobile Intel(R) Celeron(R) CPU 2.50GHz
 stepping: 9
 cpu MHz : 2493.933
 cache size  : 256 KB
 fdiv_bug: no
 hlt_bug : no
 f00f_bug: no
 coma_bug: no
 fpu : yes
 fpu_exception   : yes
 cpuid level : 2
 wp  : yes
 flags   : fpu vme de pse tsc msr pae mce cx8 mtrr pge mca
 cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe up cid
 xtpr bogomips: 4989.96


 I tried running:
   service cpuspeed start
 but it fails to run. When I look at the script it's doing a grep for
 est in the flags field, which is not found and hence cpuspeed fails.

 I notice that /etc/cpuspeed.conf doesn't have $DRIVER defined.  The
 likely drivers that I can find are:
 # ll /lib/modules/2.6.18-1.2849.fc6/kernel/drivers/cpufreq/
 total 56
 -rwxr--r-- 1 root root 15608 Nov 11 06:57 cpufreq_conservative.ko
 -rwxr--r-- 1 root root 14252 Nov 11 06:57 cpufreq_ondemand.ko
 -rwxr--r-- 1 root root  7860 Nov 11 06:57 cpufreq_powersave.ko
 -rwxr--r-- 1 root root 13336 Nov 11 06:57 cpufreq_stats.ko


 Any ideas?

 Joseph Goncalves wrote:
  What type of cpu does your laptop have?
 
  On Thursday 04 January 2007 05:17, Howard Lowndes wrote:
  Sadly I now discover that my lappy is not capable of cpu speed
  control :(
 
  Joseph Goncalves wrote:
  try:
  cat /proc/acpi/thermal_zone/*/trip_points
  to see what temperature the computer will turn off at and
  cat /proc/acpi/thermal_zone/*/temperature
  to see the temperature the computer is currently at...
 
  That's interesting, I didn't know about those, though I do have
  a temp monitor on my lappy screen.  Any ideas on how to tweak
  them as I see the critical temp is set at 109C and the other
  temps at 108C, and during the recent hot weather with no room
  aircond when running Winders under VMware it would occasionally
  shut down - yes the CPU fan is running.
 
  If I understand what you are saying correctly, I believe you are
  asking if you could tweak the trip points. The short answer is
  no, if your computer is overheating, it is overheating. But if
  you have a problem with your computer overheating, you could use
  cpufreqd to slow the CPU down if the temperature goes above a
  certain temperature. That would have an effect of cooling down
  the machine a bit.
 
  You also could use the on-demand governor that automatically
  switches your CPU from a slow to faster speed based on the demand
  on the CPU. Since your computer's CPU wouldn't be running at 100%
  all of the time, this would have a significant cooling effect.
  This again can be setup with cpufreqd.
 
  I use cpufreqd on all my laptops, because I had a problem with
  one laptop overheating when I was compiling.
 
  Howard.
  LANNet Computing Associates - Your Linux people
  http://lannetlinux.com When you want a computer system that
  works, just choose Linux; When you want a computer system that
  works, just, choose Microsoft. --
  Flatter government, not fatter government; abolish the
  Australian states.
 
  Regards
  Joseph
 
  --
  Howard.
  LANNet Computing Associates - Your Linux people
  http://lannetlinux.com When you want a computer system that
  works, just choose Linux; When you want a computer system that
  works, just, choose Microsoft. --
  Flatter government, not fatter government; abolish the Australian
  states.

 --
 Howard.
 LANNet Computing Associates - Your Linux people
 http://lannetlinux.com When you want a computer system that works,
 just choose Linux; When you want a computer system that works, just,
 choose Microsoft. --
 Flatter government, not fatter government; abolish the Australian
 states.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Computer keeps turning itself off.

2007-01-02 Thread Adelle Hartley
Hi,

I'm using xubuntu via SSH and the computer keeps turning itself off.
Sometimes, /var/log/syslog contains a message about terminating on signal
15, but usually nothing.

I don't have any genuine clues as to what is causing the problem.  Could
this be related to power management?  How do I check whether power
management is on or off, and how do I turn it off?  Is there a config file I
can edit?  Google doesn't seem to want to help me on this one.

Adelle.

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Computer keeps turning itself off.

2007-01-02 Thread Penedo

On 03/01/07, Adelle Hartley [EMAIL PROTECTED] wrote:


Hi,

I'm using xubuntu via SSH and the computer keeps turning itself off.
Sometimes, /var/log/syslog contains a message about terminating on signal
15, but usually nothing.



My first suspicion in such cases is the hardware - is the computer cooled
well enough? Does the CPU fan work and seats well on the CPU? If you have
sensors then maybe install lm-sensors (possibly with some GUI front-end) and
see whether everything is ok.

Does the computer work well under different configurations (under windows,
for instance. Yes, I know that running windows and work well are
contradictory but I'm referring to the hardware).

Did the computer work well before and just started to act or is it a new
computer/installation?

Cheers,

--P
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Computer keeps turning itself off.

2007-01-02 Thread Carlo Sogono

Adelle Hartley wrote:

Hi,

I'm using xubuntu via SSH and the computer keeps turning itself off.
Sometimes, /var/log/syslog contains a message about terminating on signal
15, but usually nothing.


My first question would be: Does it just switch off or do you see some 
sort of shutdown sequence?


My money's on cooling if it just switches off.



I don't have any genuine clues as to what is causing the problem.  Could
this be related to power management?  How do I check whether power
management is on or off, and how do I turn it off?  Is there a config file I
can edit?  Google doesn't seem to want to help me on this one.

Adelle.


--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Computer keeps turning itself off.

2007-01-02 Thread Adelle Hartley
Penedo wrote:
 Did the computer work well before and just started to act or 
 is it a new computer/installation?

It was working well for more than a month before the problem developed.  I
tried reinstalling xubuntu from scratch, and it worked for about a week
before developing the problem again.

Adelle.

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Computer keeps turning itself off.

2007-01-02 Thread Adelle Hartley
Carlo Sogono wrote:
 
 My first question would be: Does it just switch off or do you 
 see some sort of shutdown sequence?
 
 My money's on cooling if it just switches off.

That seems to be the widespread consensus, and it does just switch off.

The amount of time between being switched on and switching itself off ranges
from minutes to hours.

It's a P3, and isn't supposed to need a fan.  The main fan is working
though.

Adelle.


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Computer keeps turning itself off.

2007-01-02 Thread Penedo

On 03/01/07, Adelle Hartley [EMAIL PROTECTED] wrote:


That seems to be the widespread consensus, and it does just switch off.

The amount of time between being switched on and switching itself off
ranges
from minutes to hours.

It's a P3, and isn't supposed to need a fan.  The main fan is working
though.



Did you try to touch (carefully) all the sides of the computer? Does it have
hardware sensors? Can you find corelation between room temperature/time-off
and uptime? What about the heat sink?

--P
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Computer keeps turning itself off.

2007-01-02 Thread Joseph Goncalves
On Wednesday 03 January 2007 14:32, Penedo wrote:
 On 03/01/07, Adelle Hartley [EMAIL PROTECTED] wrote:
  Hi,
 
  I'm using xubuntu via SSH and the computer keeps turning itself
  off. Sometimes, /var/log/syslog contains a message about
  terminating on signal 15, but usually nothing.

 My first suspicion in such cases is the hardware - is the computer
 cooled well enough? Does the CPU fan work and seats well on the CPU?
 If you have sensors then maybe install lm-sensors (possibly with some
 GUI front-end) and see whether everything is ok.

try: 
cat /proc/acpi/thermal_zone/*/trip_points 
to see what temperature the computer will turn off at and 
cat /proc/acpi/thermal_zone/*/temperature
to see the temperature the computer is currently at...

Regards
Joseph
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Computer keeps turning itself off.

2007-01-02 Thread Ben Donohue

Hi Adelle,
Could be just a dud power supply...
Also sometimes when bits heat up they expand and a connection is broken, 
power stops, seen it before.
Also (might be a bit obvious but hey...) check that the power cable in 
the power supply is in properly. Might be only just connecting. Try 
another cable and another socket.
Once had a Kambrook power board that would turn everything off if too 
much juice was drawn through it. Then it would reset.
Also check the power supply connection from the power supply to the 
motherboard inside the case might need reseating...

Ben



Adelle Hartley wrote:

Carlo Sogono wrote:
  
My first question would be: Does it just switch off or do you 
see some sort of shutdown sequence?


My money's on cooling if it just switches off.



That seems to be the widespread consensus, and it does just switch off.

The amount of time between being switched on and switching itself off ranges
from minutes to hours.

It's a P3, and isn't supposed to need a fan.  The main fan is working
though.

Adelle.


  

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


RE: [SLUG] Computer keeps turning itself off.

2007-01-02 Thread Adelle Hartley
Howard Lowndes wrote:
  It's a P3, and isn't supposed to need a fan.  The main fan 
 is working 
  though.
 
 P3s do have a fan on the CPU.

You're right.  The main fan is the cpu fan.  The power supply is external,
so there is no fan for it.

Anyway, it's not hot.

Adelle.

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html