Computer Freezing

wibble

New Member
Joined
Dec 10, 2021
Messages
3
Reaction score
1
Credits
34
Hi all,

I am relatively new to linux. I'm running Ubuntu 18.04 LTS on a home PC. I have recently found that my PC has been locking up causing a range of problems including virtual drives to unmount. I'm reasonably confident that it isn't a system resources issue. When all services are running netdata shows CPU sits at around 2% and RAM typically between 40-50%.

More often than not the PC will eventually come back to life and I can restart my services. However yesterday it remained locked for longer than usual so I did some digging around online and I came across this forum thread: https://www.linux.org/threads/computer-keeps-freezing.35966/

So to answer some of those questions if I run
Code:
inxi -Fnx
I get the following:
System: Host: homeserver Kernel: 4.15.0-163-generic x86_64 bits: 64 gcc: 7.5.0 Console: tty 2
Distro: Ubuntu 18.04.6 LTS
Machine: Device: desktop System: MEDION product: P62024 serial: N/A
Mobo: MEDION model: B460H6-EM v: 1.0 serial: N/A
UEFI: American Megatrends v: 460H6W0X.105 date: 05/19/2020
CPU: 6 core Intel Core i5-10400 (-MT-MCP-) arch: N/A cache: 12288 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 34798
clock speeds: max: 4300 MHz 1: 4045 MHz 2: 3780 MHz 3: 3225 MHz 4: 3756 MHz 5: 3364 MHz 6: 3980 MHz
7: 3910 MHz 8: 3856 MHz 9: 3934 MHz 10: 3823 MHz 11: 4010 MHz 12: 3728 MHz
Graphics: Card: Intel Device 9bc8 bus-ID: 00:02.0
Display Server: N/A drivers: (unloaded: modesetting,fbdev,vesa)
tty size: 116x35 Advanced Data: N/A out of X
Audio: Card Intel Device a3f0 driver: snd_hda_intel bus-ID: 00:1f.3 Sound: ALSA v: k4.15.0-163-generic
Network: Card-1: Intel Device 2723 bus-ID: 02:00.0
IF: N/A state: N/A speed: N/A duplex: N/A mac: N/A
Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: 3000 bus-ID: 03:00.0
IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: XX:XX:XX:XX:XX:XX
Drives: HDD Total Size: 1024.2GB (46.6% used)
ID-1: /dev/nvme0n1 model: E12 size: 1024.2GB
Partition: ID-1: / size: 915G used: 444G (52%) fs: ext4 dev: /dev/dm-1
ID-2: /boot size: 705M used: 227M (35%) fs: ext4 dev: /dev/nvme0n1p2
ID-3: swap-1 size: 1.02GB used: 0.41GB (40%) fs: swap dev: /dev/dm-2
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 27.8C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 401 Uptime: 2:24 Memory: 3752.3/7709.9MB Init: systemd runlevel: 5 Gcc sys: 7.5.0
Client: Shell (bash 4.4.201) inxi: 2.3.56

My /var/log/boot.log gives me the following error:
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
Volume group "ubuntu-vg" not found
Cannot process volume group ubuntu-vg
My PC is turning on and booting OK, but it displays a 'system error' when it has booted up. I found several posts about this error but the remedy involves updating the kernel (https://appuals.com/how-to-fix-failed-to-connect-to-lvmetad-error-on-ubuntu/) which I am reticent to do as I don't really understand this process or why it might be broken, or even if it's likely to be causing a problem. I'm therefore not 100% sure if I want to go digging into something that could make the issue worse, so thought I'd get a sense check from you lovely peeps and see what you might suggest.

TIA :)
 


Brickwizard

Well-Known Member
Joined
Apr 28, 2021
Messages
2,672
Reaction score
1,769
Credits
19,992
Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: 3000 bus-ID: 03:00.0
the R8169 driver dosn't always play nicely [depending on which kernel you have]
see this thread for one answer

ADDENDUM when using inxi Fnx always put a z on the end [inxi -Fnxz] if your posting to forums
 
Last edited:
OP
W

wibble

New Member
Joined
Dec 10, 2021
Messages
3
Reaction score
1
Credits
34
Thanks for the link. I'll try that fix. Failing that, would it be worth buying a different network card, and if so can you recommend one?
 

Brickwizard

Well-Known Member
Joined
Apr 28, 2021
Messages
2,672
Reaction score
1,769
Credits
19,992
can you recommend one
older rtl in the main are ok, but those with atheros chips are normally better supported in linux
 
OP
W

wibble

New Member
Joined
Dec 10, 2021
Messages
3
Reaction score
1
Credits
34
Hey man, just to follow up on this. I downgraded the driver as per the other post and things have been stable for a good few weeks.
Thanks very much for the advice.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top