You are not logged in.

#1 2013-12-06 00:59:49

squaresurf
Member
Registered: 2013-07-18
Posts: 12

[SOLVED] Random Freeze

==============
EDIT: I haven't had this issue within a week of my last `pacman -Syu` so it seems that a software update fixed it. Thank you everyone for you help.
==============

Lately my computer has been having issues where it freezes up and won't respond to any input and the xserver no longer updates. I ran `pacman -Syu` yesterday so I'm sure I have the latest code. I'm running xmonad with xmobar. I have my cpu usage, temperature, and ram usage shown in my status bar. When this freeze occurs none of the system resources look out of the norm and are frozen. Where should I start debugging this issue?

Last edited by squaresurf (2013-12-16 17:16:55)

Offline

#2 2013-12-06 02:40:10

amvakar
Member
Registered: 2013-12-04
Posts: 21

Re: [SOLVED] Random Freeze

The first step is to run something like

sudo journalctl --since=today

and see what the system was doing right before the crash. 'today' can be changed to any time before the crash, obviously.

Offline

#3 2013-12-06 02:57:11

dodo3773
Member
Registered: 2011-03-17
Posts: 818

Re: [SOLVED] Random Freeze

I used to have a similar issue a long time ago and it was due to compositing. Do you use a composite manager like xcompmgr, compton, etc...? If you do and you cannot find any useful information in any of your logs I would maybe look there (try disabling and see if it helps). Also, if you are an nvidia closed source driver user there has been a bunch of strange issues reported about lockups recently (over the course of the last month or so) due to the driver update.

Offline

#4 2013-12-06 03:03:24

dazemc
Member
From: Seattle, Washington, USA
Registered: 2013-03-02
Posts: 64

Re: [SOLVED] Random Freeze

I was having similiar problems with the NVIDIA driver...Try switching to nouveau.
If you want to keep both...https://wiki.archlinux.org/index.php/NV … au_drivers

Last edited by dazemc (2013-12-06 03:04:38)

Offline

#5 2013-12-06 07:29:06

jrussell
Member
From: Cape Town, South Africa
Registered: 2012-08-16
Posts: 510

Re: [SOLVED] Random Freeze

I had an issue where everything would lock up and I couldn't ssh in and it was the result of a bad sata cable.


bitcoin: 1G62YGRFkMDwhGr5T5YGovfsxLx44eZo7U

Offline

#6 2013-12-06 17:07:59

squaresurf
Member
Registered: 2013-07-18
Posts: 12

Re: [SOLVED] Random Freeze

Thank you everyone for the help.

@amvakar: I was able to look through the log and I found an interesting error that repeats itself.

The following keeps repeating itself in my logs at a frequency that would probably make my system freeze. I'm not sure what it means, but it looks like it could be a mermory error. I'm going to run a memory test and will post the results when I'm back online.

Dec 05 13:34:35 dpsarch kernel: lm90 2-004c: Register 0x7 read failed (-6)
Dec 05 13:34:35 dpsarch kernel: lm90 2-004c: Register 0x11 read failed (-6)
Dec 05 13:34:35 dpsarch kernel: lm90 2-004c: Register 0x2 read failed (-6)
Dec 05 13:34:36 dpsarch kernel: lm90 2-004c: Register 0x6 read failed (-6)
Dec 05 13:34:36 dpsarch kernel: lm90 2-004c: Register 0x5 read failed (-6)
Dec 05 13:34:36 dpsarch kernel: lm90 2-004c: Register 0x20 read failed (-6)
Dec 05 13:34:36 dpsarch kernel: lm90 2-004c: Register 0x19 read failed (-6)
Dec 05 13:34:36 dpsarch kernel: lm90 2-004c: Register 0x21 read failed (-6)
Dec 05 13:34:36 dpsarch kernel: lm90 2-004c: Register 0x0 read failed (-6)
Dec 05 13:34:36 dpsarch kernel: lm90 2-004c: Register 0x1 read failed (-6)
Dec 05 13:34:36 dpsarch kernel: lm90 2-004c: Register 0x8 read failed (-6)

@dodo3773: I did have a composite manager, but I just verified that I no longer have it in my .xinitrc. So I don't think that is what is causing this issue.

@dazemc: I also used the nvidia driver at first, but am now using the nouveau driver exclusively.

@jrussell: Per the errors in my logs above, I think you may be on to something here.

Offline

#7 2013-12-06 18:56:28

amvakar
Member
Registered: 2013-12-04
Posts: 21

Re: [SOLVED] Random Freeze

lm90 is actually a driver for a variety of temperature sensors on the I2C bus. Several possibilities as to why this would bog down the system, from the simplest of driver bugs to an actual hardware failure hiding behind seemingly-OK temperature readings, though I'd need to know more about the hardware and kernel setup to dig any further.

Offline

#8 2013-12-06 20:33:49

squaresurf
Member
Registered: 2013-07-18
Posts: 12

Re: [SOLVED] Random Freeze

My memory test came back with everything healthy.

@amvakar, I do have lm_sensors installed. I use it to monitor the cpu temperatures. What kind of information do you need about my hardware and kernel setup? Do you think this log error has anything to do with the issue?

Dec 05 17:05:58 dpsarch kernel: i2c i2c-2: sendbytes: NAK bailout.

I also have these errors in my log, but I'm not sure they're related:

Dec 05 09:13:41 dpsarch kernel: shpchp 0000:00:0a.0: Cannot reserve MMIO region
Dec 05 09:13:41 dpsarch kernel: shpchp 0000:00:0b.0: Cannot reserve MMIO region
Dec 05 09:13:41 dpsarch kernel: pci 0000:00:07.3: AMD GPIO region 0x10b0 already in use!

Offline

#9 2013-12-06 22:49:11

squaresurf
Member
Registered: 2013-07-18
Posts: 12

Re: [SOLVED] Random Freeze

It just froze again. I looked at `journalctl` right away this time and there are no logs for the time range that the freeze occurred. Is there a log that I can enable that will watch my computer more aggressively?

Offline

#10 2013-12-07 00:00:50

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: [SOLVED] Random Freeze

squaresurf,

on a similar case I launched following command:

top -b > ~/my-top-data.txt

running it will give you a log file containing a second-by-second playback of roughly what your computer was doing up until the crash.

"top" belongs to procps-ng.

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

#11 2013-12-07 04:02:33

sufur
Banned
From: san francisco
Registered: 2013-12-07
Posts: 23
Website

Re: [SOLVED] Random Freeze

I've had a few lockups lately too. We just had a major update so hopefully that'll cure the ill. Seems to happen mostly
when flash is or has been running. I havnt tried to trace it tho. One of the beautys of having an SSD is you can kill
X and have it running again in seconds. This has made me lazy about it.....good luck. kind of a cop-out solution I suppose....

Last edited by sufur (2013-12-07 04:03:12)


end~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         .o0o.     the question is never 'how'? or 'why'? .... in the end its always 'how much'?   .o0o.
  ---| remember and know that you'll always be best with what you enjoy and have fun doing, the very best |---

Offline

#12 2013-12-09 21:42:15

squaresurf
Member
Registered: 2013-07-18
Posts: 12

Re: [SOLVED] Random Freeze

I did a `pacman -Syu` today and it has been going well so far. If I don't have a freeze this week, I will close this thread as solved.

@mektub great idea, I will do that if I freeze again.

@sufur I'm running a xmonad setup so rebooting is quite fast as well. I just don't like having to reopen everything again. That definitely becomes counter productive.

Offline

Board footer

Powered by FluxBB