Re: debian lenny sudden restart

2009-07-30 Thread Shahar Dag
Hi

I once had a computer with restart problems.
It came out that the thermal glue between the processor and the hit sinc was 
missing.

Shahar
  - Original Message - 
  From: Shimon Panfil 
  To: linux-il@cs.huji.ac.il 
  Cc: hai...@haifux.org 
  Sent: Thursday, July 30, 2009 10:17 AM
  Subject: Re: debian lenny sudden restart



  Quoting Steve Litt :

  > On Thursday 16 July 2009 11:21:58 am Shimon Panfil wrote:
  >> Hi folks,
  >> today my main box running debian lenny made sudden restart. How can I
  >> investigate what was the reason? What log should I inspect? I use UPS
  >> so the reason might be more interesting that simple power failure.
  >
  > Hi Shimon,
  >
  > You have a sparsely occurring intermittent -- as a matter of fact so far 
it's
  > a single event. If the cause was software, it's possible you can find a clue
  > in the logs.
  >
  > If I were in your shoes and there's no clue in the logs, I would just wait
  > until the problem becomes frequent enough to be a bother. But if you want to
  > address the problem right now, I'd suggest corrective maintenance:
  >
  > 1) Feel if the power supply is getting too hot, and replace it if so.
  > 2) Vacuum out all the dust from the inside.
  > 3) Pull off, lubricate (electronics lubricant) and reseat all cables.
  > 4) If your motherboard batter is more than a year old, replace it.
  > 5) Disable (open circuit) your reboot button, and replace your on/off button
  > with a simple, non-lighted doorbell button.
  >
  > I learned #5 the hard way -- the reboot and power switches that come with 
the
  > case can go intermittent, and not just intermittent open, but intermittently
  > close without pushing.
  >
  > None of the preceding is diagnostic in nature, but given the rarity of the
  > symptom, if the log files don't have something telling, the preceding are
  > probably the best use of your time.
  >
  > HTH
  >
  > SteveT
  >
  > Steve Litt
  > Recession Relief Package
  > http://www.recession-relief.US
  > Twitter: http://www.twitter.com/stevelitt
  >
  >
  > ___
  > Linux-il mailing list
  > Linux-il@cs.huji.ac.il
  > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
  >
  Hi folks,
  I've got a few more restarts. I have switched off gdm so Xserver  
  failure should not cause a restart. The box seems not too hot, but the  
  problem might be connected with power, all restarts occur after few  
  hours of heavy load.
  There is nothing in logs. It looks like restart button was pressed.

  My box is still under warranty so I can not play with hardware.  
  However  I should like to understand how it works.  In particular I  
  wander, is it possible that some user program cause immediate restart?  
  Is it kernel which does it, or BIOS or whatever?

  CPU: AMD QUAD 9750
  MB: GIGABYTE-GA-MA790
  OS:debian 5.0.2 (lenny)

  Any ideas?




  -- 
  Shimon Panfil: Industrial Physics and Simulations
  http://industrialphys.com

  ___
  Linux-il mailing list
  Linux-il@cs.huji.ac.il
  http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: debian lenny sudden restart

2009-07-30 Thread Shimon Panfil


Quoting Steve Litt :


On Thursday 16 July 2009 11:21:58 am Shimon Panfil wrote:

Hi folks,
today my main box running debian lenny made sudden restart. How can I
investigate what was the reason? What log should I inspect? I use UPS
so the reason might be more interesting that simple power failure.


Hi Shimon,

You have a sparsely occurring intermittent -- as a matter of fact so far it's
a single event. If the cause was software, it's possible you can find a clue
in the logs.

If I were in your shoes and there's no clue in the logs, I would just wait
until the problem becomes frequent enough to be a bother. But if you want to
address the problem right now, I'd suggest corrective maintenance:

1) Feel if the power supply is getting too hot, and replace it if so.
2) Vacuum out all the dust from the inside.
3) Pull off, lubricate (electronics lubricant) and reseat all cables.
4) If your motherboard batter is more than a year old, replace it.
5) Disable (open circuit) your reboot button, and replace your on/off button
with a simple, non-lighted doorbell button.

I learned #5 the hard way -- the reboot and power switches that come with the
case can go intermittent, and not just intermittent open, but intermittently
close without pushing.

None of the preceding is diagnostic in nature, but given the rarity of the
symptom, if the log files don't have something telling, the preceding are
probably the best use of your time.

HTH

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Hi folks,
I've got a few more restarts. I have switched off gdm so Xserver  
failure should not cause a restart. The box seems not too hot, but the  
problem might be connected with power, all restarts occur after few  
hours of heavy load.

There is nothing in logs. It looks like restart button was pressed.

My box is still under warranty so I can not play with hardware.  
However  I should like to understand how it works.  In particular I  
wander, is it possible that some user program cause immediate restart?  
Is it kernel which does it, or BIOS or whatever?


CPU: AMD QUAD 9750
MB: GIGABYTE-GA-MA790
OS:debian 5.0.2 (lenny)

Any ideas?




--
Shimon Panfil: Industrial Physics and Simulations
http://industrialphys.com

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: debian lenny sudden restart

2009-07-19 Thread Amos Shapira
2009/7/19 Omer Zak :
> On Sun, 2009-07-19 at 11:15 +1000, Amos Shapira wrote:
>> 2. There are ways to "checkpoint" long running processes to disk so
>> they won't get lost on process or system crash.
>
> I'll be interested in knowing about those ways, although I currently do
> not run long-running processes (evolution and iceweasel don't really
> count as such).

I don't see anything specific right now but googl'ing for "linux
checkpoint restart" comes up with a few links, most prominent is
Berkeley Labs Checkpoint/Restart (BLCR):
https://ftg.lbl.gov/CheckpointRestart/CheckpointRestart.shtml

Another option I heard about, though never tried, is to take VMware
snapshot - run your calc in a VMware virtual machine and take a
snapshot of the entire VM. Then if it (or its host) crashes for some
reason you should be able to restore it to the checkpointed state.

Hope this helps,

--Amos

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: debian lenny sudden restart

2009-07-19 Thread Maxym Kudelya

On 07/19/2009 06:56 AM, Shimon Panfil wrote:

Yes, I am aware of ways to make long calculations, my mistake was to
relay too much on debian stable
Any super-stable distribution couldn't protect you from hardware 
failures. Try to check your hardware, in debian case you should start with

aptitude install memtest86+ smartmontools cpuburn

--
maxym

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: debian lenny sudden restart

2009-07-18 Thread Shimon Panfil


Quoting Amos Shapira :


1. Are you aware of ways to switch to a different virtual console
and/or cause the X server to restart - both possible from the
keyboard?
2. There are ways to "checkpoint" long running processes to disk so
they won't get lost on process or system crash.

--skipped--
Yes, I am aware of ways to make long calculations, my mistake was to  
relay too much on debian stable


--
Shimon Panfil: Industrial Physics and Simulations
http://industrialphys.com

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: debian lenny sudden restart

2009-07-18 Thread Omer Zak
On Sun, 2009-07-19 at 11:15 +1000, Amos Shapira wrote:
> 1. Are you aware of ways to switch to a different virtual console
> and/or cause the X server to restart - both possible from the
> keyboard?

Those ways don't work for me when the keyboard and mouse both freeze.

> 2. There are ways to "checkpoint" long running processes to disk so
> they won't get lost on process or system crash.

I'll be interested in knowing about those ways, although I currently do
not run long-running processes (evolution and iceweasel don't really
count as such).
   --- Omer


-- 
Linux Mint is insecure by design as it won't accept contributions (bug
reports) from Israelis who choose to defend themselves against suicide
bombers: http://eclelef.blogspot.com/2009/05/palestine_03.html
My own blog is at http://www.zak.co.il/tddpirate/

My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: debian lenny sudden restart

2009-07-18 Thread Amos Shapira
1. Are you aware of ways to switch to a different virtual console
and/or cause the X server to restart - both possible from the
keyboard?
2. There are ways to "checkpoint" long running processes to disk so
they won't get lost on process or system crash.

I'm on the road at the moment so can't provide researched links (and
use a client which allows only top posting - sorry for that)

Cheers,

Amos

On 7/18/09, Shimon Panfil  wrote:
>
> Quoting Omer Zak :
>
>> On Thu, 2009-07-16 at 18:21 +0300, Shimon Panfil wrote:
>>> Hi folks,
>>> today my main box running debian lenny made sudden restart. How can I
>>> investigate what was the reason? What log should I inspect? I use UPS
>>> so the reason might be more interesting that simple power failure.
>>
>> I have a problem, which may be related.
>>
>> Usually it is not restart, but the keyboard and mouse freeze in X-Window
>> and I have to hit the Big Red Button.
>> More rarely, the X-Window subsystem spontaneously restarts.
> --skipped--
>
> It seems, you are right the actual problem is X-server crush (still do
> not understand why).
>   Xlog.0 shows:
> ...
> SetGrabKeysState - disabled
> SetGrabKeysState - enabled
> (EE) Error compiling keymap (server-0)
> (EE) XKB: Couldn't compile keymap
> SetGrabKeysState - disabled
> SetGrabKeysState - enabled
> SetGrabKeysState - disabled
> .
>
> Don't know what does it mean.
>
> It was first (and for sure last) time I used display manager
> so X-server crush has lead to system restart (and long calculation was
> lost).
>
>
>
>
> --
> Shimon Panfil: Industrial Physics and Simulations
> http://industrialphys.com
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>

-- 
Sent from my mobile device

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Debian Lenny Xorg X-Server woes (was: Re: debian lenny sudden restart)

2009-07-18 Thread Omer Zak
Shimon:
1. You may be able to save the long calculation by running it from one
of the consoles instead of the X-Server.
2. Check your keyboard configuration.

Any Debian Lenny Xorg X-Window expert in Linux-IL:
1. Where to set options so that the Xorg.0.log will be more verbose?
(according to man Xorg, the -logverbose option sets the verbosity level)
2. Does the X-Server log runtime information (rather than init-time
only) in the same logfile or in another logfile?
If in another logfile - where?

 --- Omer


On Sat, 2009-07-18 at 09:58 +0300, Shimon Panfil wrote:
> Quoting Omer Zak :
> 
> > On Thu, 2009-07-16 at 18:21 +0300, Shimon Panfil wrote:
> >> Hi folks,
> >> today my main box running debian lenny made sudden restart. How can I
> >> investigate what was the reason? What log should I inspect? I use UPS
> >> so the reason might be more interesting that simple power failure.
> >
> > I have a problem, which may be related.
> >
> > Usually it is not restart, but the keyboard and mouse freeze in X-Window
> > and I have to hit the Big Red Button.
> > More rarely, the X-Window subsystem spontaneously restarts.
> --skipped--
> 
> It seems, you are right the actual problem is X-server crush (still do  
> not understand why).
>   Xlog.0 shows:
> ...
> SetGrabKeysState - disabled
> SetGrabKeysState - enabled
> (EE) Error compiling keymap (server-0)
> (EE) XKB: Couldn't compile keymap
> SetGrabKeysState - disabled
> SetGrabKeysState - enabled
> SetGrabKeysState - disabled
> .
> 
> Don't know what does it mean.
> 
> It was first (and for sure last) time I used display manager
> so X-server crush has lead to system restart (and long calculation was lost).


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: debian lenny sudden restart

2009-07-18 Thread Shimon Panfil


Quoting Omer Zak :


On Thu, 2009-07-16 at 18:21 +0300, Shimon Panfil wrote:

Hi folks,
today my main box running debian lenny made sudden restart. How can I
investigate what was the reason? What log should I inspect? I use UPS
so the reason might be more interesting that simple power failure.


I have a problem, which may be related.

Usually it is not restart, but the keyboard and mouse freeze in X-Window
and I have to hit the Big Red Button.
More rarely, the X-Window subsystem spontaneously restarts.

--skipped--

It seems, you are right the actual problem is X-server crush (still do  
not understand why).

 Xlog.0 shows:
...
SetGrabKeysState - disabled
SetGrabKeysState - enabled
(EE) Error compiling keymap (server-0)
(EE) XKB: Couldn't compile keymap
SetGrabKeysState - disabled
SetGrabKeysState - enabled
SetGrabKeysState - disabled
.

Don't know what does it mean.

It was first (and for sure last) time I used display manager
so X-server crush has lead to system restart (and long calculation was lost).




--
Shimon Panfil: Industrial Physics and Simulations
http://industrialphys.com

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: debian lenny sudden restart

2009-07-16 Thread Steve Litt
On Thursday 16 July 2009 11:21:58 am Shimon Panfil wrote:
> Hi folks,
> today my main box running debian lenny made sudden restart. How can I
> investigate what was the reason? What log should I inspect? I use UPS
> so the reason might be more interesting that simple power failure.

Hi Shimon,

You have a sparsely occurring intermittent -- as a matter of fact so far it's 
a single event. If the cause was software, it's possible you can find a clue 
in the logs.

If I were in your shoes and there's no clue in the logs, I would just wait 
until the problem becomes frequent enough to be a bother. But if you want to 
address the problem right now, I'd suggest corrective maintenance:

1) Feel if the power supply is getting too hot, and replace it if so.
2) Vacuum out all the dust from the inside.
3) Pull off, lubricate (electronics lubricant) and reseat all cables.
4) If your motherboard batter is more than a year old, replace it.
5) Disable (open circuit) your reboot button, and replace your on/off button 
with a simple, non-lighted doorbell button.

I learned #5 the hard way -- the reboot and power switches that come with the 
case can go intermittent, and not just intermittent open, but intermittently 
close without pushing.

None of the preceding is diagnostic in nature, but given the rarity of the 
symptom, if the log files don't have something telling, the preceding are 
probably the best use of your time.

HTH

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: debian lenny sudden restart

2009-07-16 Thread Oleg Goldshmidt
Omer Zak  writes:

> On Thu, 2009-07-16 at 18:21 +0300, Shimon Panfil wrote:
>> Hi folks,
>> today my main box running debian lenny made sudden restart. How can I  
>> investigate what was the reason? What log should I inspect? I use UPS  
>> so the reason might be more interesting that simple power failure.



> Usually it is not restart, but the keyboard and mouse freeze in X-Window
> and I have to hit the Big Red Button.
> More rarely, the X-Window subsystem spontaneously restarts.



> Usually the system gets stuck when I do something (such as opening a new
> page) with the browser (Iceweasel 3.0.6).
>
> Like Shimon, I would appreciate advice which log files to inspect.

In your case, maybe Xorg logs (/var/log/Xorg* or similar, I am not a
debian user)?

Shimon gives less clues, so I'd start to search for suspects in the
syslog...

-- 
Oleg Goldshmidt | p...@goldshmidt.org

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: debian lenny sudden restart

2009-07-16 Thread Omer Zak
On Thu, 2009-07-16 at 18:21 +0300, Shimon Panfil wrote:
> Hi folks,
> today my main box running debian lenny made sudden restart. How can I  
> investigate what was the reason? What log should I inspect? I use UPS  
> so the reason might be more interesting that simple power failure.

I have a problem, which may be related.

Usually it is not restart, but the keyboard and mouse freeze in X-Window
and I have to hit the Big Red Button.
More rarely, the X-Window subsystem spontaneously restarts.

My system is (uname -a):
Linux c2 2.6.26-2-686 #1 SMP Sun Jun 21 04:57:38 UTC 2009 i686 GNU/Linux
It is tainted by nvidia proprietary drivers.

Usually the system gets stuck when I do something (such as opening a new
page) with the browser (Iceweasel 3.0.6).

Like Shimon, I would appreciate advice which log files to inspect.

  --- Omer


-- 
Linux Mint is insecure by design as it won't accept contributions (bug
reports) from Israelis who choose to defend themselves against suicide
bombers: http://eclelef.blogspot.com/2009/05/palestine_03.html
My own blog is at http://www.zak.co.il/tddpirate/

My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


debian lenny sudden restart

2009-07-16 Thread Shimon Panfil


Hi folks,
today my main box running debian lenny made sudden restart. How can I  
investigate what was the reason? What log should I inspect? I use UPS  
so the reason might be more interesting that simple power failure.


--
Shimon Panfil: Industrial Physics and Simulations
http://industrialphys.com

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il