Author Topic: Computer locks up/freezes randomly  (Read 2234 times)

Offline trustytrev

  • Sr. Member
  • ****
  • Posts: 472
Computer locks up/freezes randomly
« on: May 19, 2012, 11:35:36 AM »
Hello,
      I have noticed a number of computers freezing up randomly.The mouse  and keyboard fail to operate and the only way to regain control is to press the reset button and do a hard restart.It occurs on my computers and a relatives.They all run KDE fully updated.Is there a particular log I can look at for information relating to when the computers freeze?I have kept putting off trying to find a solution but having to travel a significant distance to sort my relatives computer has spurred me into action.
     It can happen whilst using the computer or when it has gone into powersaving mode with the screen blanked out.The keyboard or mouse are inoperable and I can't resort to a console.As far as I am aware the only common factor is the use of KDE as a desktop.
Thanks.
trustytrev. :)
If there's a harder way to do something I'll probably find it.

Offline The Chief

  • Hero Member
  • *****
  • Posts: 2237
Re: Computer locks up/freezes randomly
« Reply #1 on: May 19, 2012, 12:13:55 PM »
I just experienced it - and after a few moments, it shut down on its own.  Booted up normally, after that though.  Also KDE...

Retired Senior Chief, Retired Software Engineer, Active GrandPa

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: Computer locks up/freezes randomly
« Reply #2 on: May 19, 2012, 02:29:53 PM »
never experienced this with current kernel that i can remember

what livecd did you used to instal?  updated system?

what kernel do you have on those machines?

all of the machines with the problem share the same hardware or completely different?
« Last Edit: May 19, 2012, 02:33:51 PM by T6 »
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline janasx1

  • Full Member
  • ***
  • Posts: 147
Re: Computer locks up/freezes randomly
« Reply #3 on: May 19, 2012, 09:59:45 PM »
This has happened to me few times in the recent past.
It also KDE.

I thought there is something wrong with my laptop or my kids messing up with it.
HP Pavilion notebook DV6400, AMD Turion TL-64, 2GB RAM, broadcom BCM4312, nvidia Geforce Go 6150

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: Computer locks up/freezes randomly
« Reply #4 on: May 19, 2012, 10:28:53 PM »
"this happened to me" doesn't help to the original poster

most of us have kde4 and i personally am not experiencing the problem

most of the time this random lock problem happens is caused by a kernel or hardware problem(ram, video card, hard disk and others)

since we need to isolate the problem as much as possible, please, share specific information that can help fixing this particular problem because confirmation of this doesn't add any useful information unless you share all the same hardware, use the same set of apps and same type of partitions with same usage of the op
« Last Edit: May 19, 2012, 10:32:13 PM by T6 »
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline trustytrev

  • Sr. Member
  • ****
  • Posts: 472
Re: Computer locks up/freezes randomly
« Reply #5 on: May 20, 2012, 05:38:50 AM »
Hello,
      Here are the details of the computers.

Machine a:
          Gigabyte G-7N400E motherboard NForce2 chipset
          Geforce Nvidia FX5200 AGP graphics card
          1 GB memory
          kernel 2.6.38.7-pclos1.bfs
          KDE 4.6.5
          PCLinuxOS 2012 fully updated.
          AMD Athlon XP 2500+

Machine b:
          Gigabyte G-7N400E motherboard NForce2 chipset
          Nvidia GeForce4 Ti4200/AGP graphics card
          1 GB memory
          Kernel: 2.6.38.8-pclos1.bfs
          KDE 4.6.5
          PCLinuxOS 2012 fully updated
          AMD Athlon XP 2600+

Machine c:
          Asus M2NS-NVM motherboardNVIDIA
          GeForce 6100 Northbridge with Integrated Graphics Processor
          1 GB memory
          Kernel 2.6.38.8-pclos1.bfs
          KDE 4.6.5
          PCLinuxOS 2012 fully updated
          AMD Athlon 64  3800+

Thanks.
trustytrev. :)
If there's a harder way to do something I'll probably find it.

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: Computer locks up/freezes randomly
« Reply #6 on: May 20, 2012, 09:05:23 AM »
all 3 machines are using old kernels, since all 3 are atlhon with 1 gb of ram bfs is a good option but the last one can use the a64 kernel so all should be using 2.6.38.8-pclos3.bfs and/or .a64 for the last one

all 3 are using nvidia video cards but not sure if the last one can use the current driver, other two maybe older version, there was a post talking about that on this forum

some cards will work weird if you don't set the right driver for them, nv could be used for all 3 but if you can use nvidia proprietary is better

the first two machines are old, 9 years more or less, have you done a memtest on those ram modules?

about maintenance, have you cleaned the machines?  verify that the ram modules are properly inserted on the slots, same for video cards and no dust on the slots

the fans, temperature on the units, if there is much dust in them that can be a problem

psu, is the fan spinning properly?

can you open the bios and verify voltages on the psu?

all 3 machines are old, hard disk failures can't be ruled out easily here, i never did a hard disk test on linux, fsck is the command afik but i don't know the complete procedure

on old mainboards is common to find damaged capacitors like this



if that is the case, this is a reason for random lockups, you can change those if you are good with the soldiering iron but i wouldn't bother doing it, when one or two fail like this, the rest will fail soon so i usually recommend to replace the mainboard completely

video cards could have those too, verify them too

old psus can have capacitors damaged too, if you can open the psu and verify that, it will help but if you never opened a psu or those psus specifically i just would change them, probably both first are damaged or about to fail

the third mainboard could have the same problems so you could check mainboard and psu, since you are using the onboard video card nothing to verify there

on old mainboard with athlon xp processors the temperature can be a problem, the thermal paste probably doesn't exist anymore on them,so if you see that the temperature of those two in the bios is higher than 50 Celsius that could be a problem

if you have replaced the thermal paste before, it is easy to do but the problem is remove the heatsink without breaking those unshielded athlon xp(i broke mine 10 years ago :(  )  because most of them are really hard to install and remove

i wouldn't bother verifying the thermal paste on the third machine, it is probably in perfect shape so just verify in bios the temperature of it, should be between 35 and 43 Celsius
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline trustytrev

  • Sr. Member
  • ****
  • Posts: 472
Re: Computer locks up/freezes randomly
« Reply #7 on: May 20, 2012, 09:33:27 AM »
Hello,
      The machines have all been cleaned of dust and processors reseated with regard to thermal paste.The fans are fine as are the temps showing in the bios-es.I don't think overheating is a problem.The variation in kernels arose due to problems with certain applications/sound and rolling back the kernel was a fix.I have not found any corroded capacitors either.I checked the memory with Memtest on all machines concerned without any problems showing up.
      I was wondering about the KDE system settings power management. ???It seems rather complex.
Thanks.
trustytrev. :)
If there's a harder way to do something I'll probably find it.

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: Computer locks up/freezes randomly
« Reply #8 on: May 20, 2012, 09:46:51 AM »
in a desktop machine the power settings are basically useless, all you can set there for a desktop is time to disable monitor

about psu, since you say that you cleaned the machine it should be ok but if you have doubts, it should be good to check them

when the capacitor is corroded is simple to spot but a inflated capacitor is also a damaged capacitor so if you see deformations on the top or the sides, it is damaged

since you discarded many of the reasons we have now the kernel and hard disk partitions and video card drivers
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline trustytrev

  • Sr. Member
  • ****
  • Posts: 472
Re: Computer locks up/freezes randomly
« Reply #9 on: May 23, 2012, 02:08:27 PM »
Hello,
      I wonder if it could be something running occasionally in the background that takes over all the resources of the machine.
If so how would one go about finding it?(Hadron Collider) :D
trustytrev. :)
If there's a harder way to do something I'll probably find it.

Offline MtnMan

  • Sr. Member
  • ****
  • Posts: 258
  • Aged to perfection
Re: Computer locks up/freezes randomly
« Reply #10 on: May 24, 2012, 10:49:23 AM »
Hello,
      I wonder if it could be something running occasionally in the background that takes over all the resources of the machine.
If so how would one go about finding it?(Hadron Collider) :D
trustytrev. :)

Any luck with this?  I put off updates on FullMonty until yesterday.  This morning I had the same problem you described but I could hear the drive head thrashing about wildly.  I waited for the storm to be over and got control back, went to look in ksystemlog for a clue but it doesn't exist anymore.  I had FF open on one desktop and a VM running on another so maybe it could be to blame.  Like you I would like to know if there is something worth looking at like ksystemlog for a clue.

Nvidia w/current driver and 2.6.38.8-pclos3.bfs.
I worry that the person who thought up Muzak may be thinking up something else. - Lily Tomlin

Offline trustytrev

  • Sr. Member
  • ****
  • Posts: 472
Re: Computer locks up/freezes randomly
« Reply #11 on: May 24, 2012, 11:32:40 AM »
Hello,
      No luck as yet the random nature and being unable to use mouse or keyboard make finding a resolution quite difficult.
Looking at logs after the event is the only option really.However I don't know what I should look for.
Quote
I could hear the drive head thrashing about wildly
A memory issue possibly?
trustytrev. :)
If there's a harder way to do something I'll probably find it.

Offline zorlac

  • Full Member
  • ***
  • Posts: 215
Re: Computer locks up/freezes randomly
« Reply #12 on: May 24, 2012, 11:59:58 AM »
I'd try booting the XFCE iso installed to a USB drive.
KDE just never seemed to like me.  :D

Offline MtnMan

  • Sr. Member
  • ****
  • Posts: 258
  • Aged to perfection
Re: Computer locks up/freezes randomly
« Reply #13 on: May 24, 2012, 01:06:21 PM »
 :D Or even better E17 but...

Quote
A memory issue possibly?
trustytrev.
There was no swap in use for host or guest.  I had left the computer at idle without any issue - the problem started on it's own while I was making coffee - came back to it and found it going off on a tangent.
I worry that the person who thought up Muzak may be thinking up something else. - Lily Tomlin

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Computer locks up/freezes randomly
« Reply #14 on: May 24, 2012, 05:22:00 PM »
I'm thinking it may be MSEC security check running. It can be taxing on the CPU, but doesn't run for long.

ls -l /etc/cron.daily/msec
lrwxrwxrwx 1 root root 27 Oct 22  2010 /etc/cron.daily/msec -> /usr/share/msec/security.sh*


It's run daily by the cron scheduler. Look at /var/log/security.log (as root user) to see if directory permissions and chkrootkit were running at the time of the system "lockup". You'll have to scroll down to the end of the file to see the most current events.

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378