You are not logged in.

#1 2019-12-28 23:10:43

Tavares
Member
Registered: 2019-12-28
Posts: 2

Arch Linux keeps freezing

Hey guys,

I have an issue and I can't figure it out.  My Arch Linux keeps freezing on me.  Sometimes it takes 2min after boot and sometimes it's after 30min.  It completely freezes and doesn't respond to anything no matter how long I wait.  The only thing I can do is to hold down the power button and reboot it. 

My hardware:
Gigabyte X570 Gaming X motherboard
Ryzen 7 3700x CPU
Nvidia Geforce 2070 RTX
16G Ram

On  my mother board I have two M.2 SSDs, one from Samsung and the other from HP
On my Samsung M.2 I have Windows 10 installed.  (gpt disk, UEFI boot)
On my HP M.2 I have Arch Linux installed.  (also gpt UEFI boot)

My Windows 10 never freezes no matter how much work I'm doing.  I could be running 10 programs and playing Red Dead at the same time on Ultra graphic settings without a problem.
My Arch sometimes freezes with just one terminal opened doing nothing.  I have a Conky script that shows me that my Ram is at less than 10% used and CPU at 2% at the moment it freezes.  I can't seem to reproduce the issue to figure out if there's a specific action that makes it freeze, it seems to just happen randomly.

I have a Thinkpad X1 carbon gen 2 (old one) with only Arch installed (Legacy) and I've never had this problem on my thinkpad even though my hardware is 10% the power of my desktop PC. 

Please guys I'd love your help and opinions.  My arch freezing makes it almost unusable! PLEASE HELP!!

Thank you for your time,
Tavares

Offline

#2 2019-12-28 23:18:45

Tavares
Member
Registered: 2019-12-28
Posts: 2

Re: Arch Linux keeps freezing

I also forgot to mention that when I boot into Arch it goes into terminal first and then once I login I have to type startx to load my xfce4 desktop environment.  When I stay in terminal it hasnt frozen on me yet.  That could be because I never stay in terminal long enough to freeze or my issue might just be with the xfce4 desktop environment.  Although I've been using xfce4 on my Thinkpad for years and it never froze on me so I'm really confused... hopefully this added info helps more.

Tavares

Offline

#3 2019-12-28 23:30:19

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: Arch Linux keeps freezing

When it "Freezes", do the keyboard lights blink?
Can you "ping" the box from another computer ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2019-12-28 23:30:33

loqs
Member
Registered: 2014-03-06
Posts: 17,195

Re: Arch Linux keeps freezing

Please post the journal from a boot that ends in a freeze.

Online

#5 2020-01-01 15:08:09

sigod
Member
Registered: 2015-09-11
Posts: 6

Re: Arch Linux keeps freezing

Which video card driver are you using? Nouveau I'm guessing?

Last edited by sigod (2020-01-01 15:09:31)

Offline

#6 2020-01-01 19:04:50

krutoileshii
Member
Registered: 2019-01-15
Posts: 45

Re: Arch Linux keeps freezing

If you have SSH, I would try to SSH into the system. Might still be able to do so even if it's hung and get some logs off of it.

Offline

#7 2020-01-03 10:10:31

Wild Penguin
Member
Registered: 2015-03-19
Posts: 319

Re: Arch Linux keeps freezing

Tavares wrote:

The only thing I can do is to hold down the power button and reboot it.

The question is: what things have you tried? How have you determined it has actually frozen?

What others have suggested (ping, ssh etc.) are good suggestions. Whenever I face a freeze, my goto procedure is (at least roughly) this:

1. CTRL+ALT+F2 (change to another VC from GUI). Sometimes it's just the X.org session which goes hayward.
2. if no response, SysRQ + forced sync. If HDD light blinks, I know the Kernel is not completely hung.
3. Depending on situation, I might SSH into the computer (if Kernel is not completely dead) or
4. a) If it seems just the display driver has hung (up to a point when VCs just don't display but still work underneath), CTRL+ALT+F2 and then CTRL+ALT+DEL should cause a soft reboot!
4. b) If I can not SSH (or feeling lazy and CTRL+ALT+DEL does not work) I'll do a SysRq + REISUB.

If all of the above and SysRq does not work, it is indeed a hard hung up. It is still worthwhile to try do a forced sync and mount-readonly (just in case Kernel is alive, but at this point it is already done) and then use the power button. But it is very rare to get to a point where using power button is actually needed (save for starting from poweroff), however it can happen.

Indeed check the logs afterwards in any case. Hanging can be caused by just about anything.

(Try journalctl -b -1 and then paste the log somewhere; if the session has been long, you could do journalctl --since '10 minutes ago' to get a bit shorter / manageable log size, but of course change the timespan accordingly to a long enough timespan to actually get the relevant log entries).

EDIT: A few clarifications

Last edited by Wild Penguin (2020-01-03 10:23:24)

Offline

#8 2020-01-04 01:05:38

ieti
Member
Registered: 2019-12-17
Posts: 6

Re: Arch Linux keeps freezing

I experience freezes from time to time. Hardware is again Ryzen and Nvidia. Maybe issues are connected.

My Hardware:
Gigabyte B450 Auros Pro
Ryzen 5 3600
Nvidia 1660 Super
16G Ram

Usually it freezes in Chromium and last it showed the below in the logs:

Jan 04 02:16:10 loki slim[27178]: [27178:27206:0104/021610.340498:ERROR:object_proxy.cc(632)] Failed to call method: org.freedesktop.ScreenSaver.Inhibit: object_path= /org/freedesktop/Scree>
Jan 04 02:16:10 loki slim[27178]: [27178:27206:0104/021610.340519:ERROR:power_save_blocker_x11.cc(330)] No response to Inhibit() request!
Jan 04 02:16:14 loki kernel: NVRM: GPU at PCI:0000:09:00: GPU-4b1bbee0-8968-af05-2a72-b0aff8bf67a0
Jan 04 02:16:14 loki kernel: NVRM: GPU Board Serial Number: 
Jan 04 02:16:14 loki kernel: NVRM: Xid (PCI:0000:09:00): 61, pid=593, 0cec(3098) 00000000 00000000
Jan 04 02:16:23 loki slim[27178]: [27178:27206:0104/021623.616920:ERROR:object_proxy.cc(632)] Failed to call method: org.freedesktop.ScreenSaver.UnInhibit: object_path= /org/freedesktop/Scr>
Jan 04 02:16:23 loki slim[27178]: [27178:27206:0104/021623.616940:ERROR:power_save_blocker_x11.cc(403)] No response to Uninhibit() request!
Jan 04 02:16:43 loki slim[593]: (EE) client bug: timer event5 debounce: offset negative (-905ms)
Jan 04 02:16:43 loki slim[593]: (EE) client bug: timer event5 debounce short: offset negative (-918ms)
Jan 04 02:16:46 loki slim[593]: (EE) client bug: timer event5 debounce: offset negative (-473ms)
Jan 04 02:16:46 loki slim[593]: (EE) client bug: timer event5 debounce: offset negative (-353ms)
Jan 04 02:16:46 loki slim[593]: (EE) client bug: timer event5 debounce short: offset negative (-366ms)
Jan 04 02:16:49 loki slim[593]: (EE) client bug: timer event5 debounce: offset negative (-252ms)
Jan 04 02:16:49 loki slim[593]: (EE) client bug: timer event5 debounce: offset negative (-148ms)
Jan 04 02:16:49 loki slim[593]: (EE) client bug: timer event5 debounce short: offset negative (-161ms)
Jan 04 02:16:49 loki slim[593]: (EE) client bug: timer event5 debounce: offset negative (-36ms)
Jan 04 02:16:50 loki slim[593]: (EE) client bug: timer event5 debounce: offset negative (-451ms)
Jan 04 02:16:50 loki slim[593]: (EE) client bug: timer event5 debounce short: offset negative (-464ms)
Jan 04 02:16:57 loki slim[593]: (EE) client bug: timer event5 debounce: offset negative (-403ms)
Jan 04 02:16:57 loki slim[593]: (EE) client bug: timer event5 debounce: offset negative (-323ms)
Jan 04 02:16:57 loki slim[593]: (EE) client bug: timer event5 debounce short: offset negative (-336ms)
Jan 04 02:17:16 loki kernel: nvidia-modeset: WARNING: GPU:0: Lost display notification (0:0x00000000); continuing.
Jan 04 02:17:36 loki kernel: nvidia-modeset: WARNING: GPU:0: Lost display notification (0:0x00000000); continuing.
Jan 04 02:17:43 loki acpid[533]: client 593[0:0] has disconnected

Full log can be get from: https://www.dropbox.com/s/x7pw2wppivnah … -file?dl=1

Hope this helps.

Last edited by ieti (2020-01-04 01:25:09)

Offline

#9 2020-01-06 01:12:10

herOldMan
Member
Registered: 2013-10-11
Posts: 151

Re: Arch Linux keeps freezing

Hi,

I am also using a Ryzen 7 and I am also having intermittant freezes, sometimes once a week, other times twice a day. The system was built ~ 2 years ago and I did not see the problem until early/mid December (the intermittant nature of the freeze makes it very difficult to associate it with updates).

There is no relevant information in the journal nor Xorg logs.

The problem occurs under all loads from idle to heavy use. Neither heavy use nor an extended idle state will induce the problem.

Switching to the lts kernel did not solve the problem.

When it freezes it is truely frozen: it no longer appears on the network and is unavailable via ssh. Using a wired usb keyboard: CTRL+ALT+F2/F3/etc is not functional, there are no blinking LEDs, and SysRq is not responsive. The only resort is the reset button.

Memtest and SMART tests show all is well. The machine responds very well to stress tests.

Updating my BIOs (Crosshair VI) did not help.

Last edited by herOldMan (2020-01-06 01:13:28)

Offline

#10 2020-01-12 10:56:10

Rickrock
Member
From: The Netherlands
Registered: 2014-11-23
Posts: 46

Re: Arch Linux keeps freezing

Same problem here.
System freezes once in awhile, today after 2 hours of use.

Light blinks and there is nothing I can do but a hard reboot.

My laptop has an Intel cpu, and intel video.

I had the same issue while running Manjaro on it.

Offline

#11 2020-01-12 16:07:10

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: Arch Linux keeps freezing

We have not heard from Tavares since his two posts last year.  They have not told us whether or not they had blinking keyboard LEDs, and we may never know.

Rickrock; you are definitely encountering a kernel panic. https://wiki.archlinux.org/index.php/Ge … nel_panics
herOldMan:  You may not have a kernel panic.  Can you ping the box when it is in this state?

This appears to be an abandoned thread.  We don't know much about the OP's problem.  Rickrock and herOldMan don't have the exact same problem.  I shall leave this thread open for now, but may end up closing it in the near future unless we hear from Travares.  Should I close it, I invite both of you to start your own threads.  If you feel this thread is relevant, you can always link back to it.

Last edited by ewaller (2020-01-13 15:45:31)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#12 2020-01-13 10:49:32

Rickrock
Member
From: The Netherlands
Registered: 2014-11-23
Posts: 46

Re: Arch Linux keeps freezing

Okay, Ewaller.

If I may add one thing that may or may not help the OP.
Try a different kernel, since I am using 4.19 the panic did not occur.

Offline

#13 2020-02-25 11:53:55

ESP
Member
Registered: 2017-08-19
Posts: 2

Re: Arch Linux keeps freezing

Hi,

I have had the same problem with intel nuc 6 since 1 month ago,
the problem is solved with kernel 4.19 LTS, every time I update to kernel 5.x LTS, the problem is accrued again

Please try to downgrade the kernel to 4.19 and test again.

Offline

Board footer

Powered by FluxBB