You are not logged in.

#1 2023-01-07 16:21:50

variable-root
Member
Registered: 2022-06-04
Posts: 13

[SOLVED] Random Freezing

Hello,

I am running Arch linux x86_64 (6.1.3-arch1-1) on a workstation.  The workstation will randomly freeze at various periods. Turning completely unresponsive with a hard reset being the only option forward. The freezes have occurred at various time intervals and regardless of whether or not tasks are being performed (i.e. idle or not).  Often the workstation will be frozen when attempting to return from suspension.  The journalctl entries stop ~1 minute before the freeze (in the most recent instance) and entries further back are valid, normal, and irrelevant. There seems to be little available information, but any help is appreciated.

Last edited by variable-root (2023-01-07 21:14:54)

Offline

#2 2023-01-07 17:08:00

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] Random Freezing

Check the RAM health.


Jin, Jîyan, Azadî

Offline

#3 2023-01-07 17:29:41

variable-root
Member
Registered: 2022-06-04
Posts: 13

Re: [SOLVED] Random Freezing

Is there a specific command that I should try?

$ free -th
               total        used        free      shared  buff/cache   available
Mem:            15Gi       1.8Gi        12Gi        31Mi       1.3Gi        13Gi
Swap:          4.0Gi          0B       4.0Gi
Total:          19Gi       1.8Gi        16Gi
$ vmstat
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
 1  0      0 13023816  91928 1298748    0    0    21     2  180  310  1  0 99  0  0

While a RAM issue makes sense in context I am not sure of how to go about checking without physically swapping out the ram and waiting to see if the issue persists. Unfortunately, this is not possible due to lack of hardware.

Offline

#4 2023-01-07 17:40:33

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] Random Freezing


Jin, Jîyan, Azadî

Offline

#5 2023-01-07 17:44:07

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

Re: [SOLVED] Random Freezing

https://wiki.archlinux.org/title/Stress … MemTest86+

EDIT: Sorry got beaten

Last edited by d_fajardo (2023-01-07 17:44:43)

Offline

#6 2023-01-07 20:11:34

variable-root
Member
Registered: 2022-06-04
Posts: 13

Re: [SOLVED] Random Freezing

Update: I installed memtest86+ as was suggested (rebuilding the grub.cfg after), however upon reboot the workstation now immediately and only went to the bios menu. Using an arch live usb I reinstalled grub, however now although I have gotten the grub menu returned (with the installed arch listed) attempting to boot the installed arch results in:

[ TIME ] Timed out waiting for device /dev/disk/by-uuid/M35C-F156.
[DEPEND] Dependency failed for File System Check on /dev/disk/by-uuid/M35C-F156.
[DEPEND] Dependency failed for /boot.
[DEPEND] Dependency failed for Local File Systems.

Leaving the boot in emergency mode.

List of commands used:

installing memtest86+

$sudo pacman -S memtest86+
$grub-mkconfig -o /boot/grub/grub.cfg

in chroot:

$mount /dev/sda3 /mnt
$mount /dev/sda1 /mnt/boot/
$arch-chroot /mnt
$sudo pacman -S linux
$grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB --removable
$
$mkinitcpio -P
$grub-mkconfig -o /boot/grub/grub.cfg

I also redid the chroot steps a second time after running:

$genfstab -U /mnt >> /mnt/etc/fstab

Last edited by variable-root (2023-01-07 20:15:39)

Offline

#7 2023-01-07 20:44:27

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] Random Freezing

Looks like you're trying to boot from a kernel image that doesn't match the content of /usr/lib/modules/.

Use the 'file' command to check the version of the kernel image and check (or share) /etc/fstab to make sure /boot is being mounted correctly. If you can't fix things also post grub.cfg.


Jin, Jîyan, Azadî

Offline

#8 2023-01-07 21:14:07

variable-root
Member
Registered: 2022-06-04
Posts: 13

Re: [SOLVED] Random Freezing

It seems the uuid for the boot partition was mismatched. Making the appropriate alteration in /etc/fstab has allowed me to boot properly. A newbie mistake in newbie corner smile
Thank you for the help, and although I am technically back where the post began I will heed the advice and find some method for stress testing the RAM. It is given the lack of error messages and logs most likely a hardware issue. I am marking this thread [solved] however if I do reopen the issue I will link the new thread in an edit to this post.

Offline

Board footer

Powered by FluxBB