LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-18-2019, 04:13 AM   #1
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 9.2
Posts: 1,127

Rep: Reputation: 50
desktop inexplicably freezing


I have a home-built desktop that has been giving problems since I assembled it toghether a bit over two years ago. As far as I know and although I did not purchase expensive components, I did not purchase cheap ones either. All the components except the case, the monitor and a couple of internal backup 500G data hard drives were new at time of assembly. The problem is that it freezes unpredictably, the mouse stops responding and nothing else works including the keyboard. The only solution is then to power down and up and reboot. This may not happen for weeks and then suddenly happens more than once a day for apparently no reason. Sometimes downloads, even small ones, terminate inexplicably and without notice (which could be a separate problem) although the desktop continues to work.

I have no idea if I have a hardware problem or if, being on a WIFI connection in a small country town, the connection is the cause as it seems to regularly be unavailable although experience seems to indicate that very often if not always, it has just become extremely slow even though my usage is very small and well below my allocation. Often I suspect the mobo which is heavily promoted as a game mobo while all I do is some small office work and associated Internet browsing/email. I immediately developed a profound dislike, probably unjustified, of the mobo because, as soon as I powered it on, it showed LED illuminated borders which I did not like.

My question: what could the problem be?

Thank you for your help.

Here are the details:
power supply Corsair VS650 and Corsair memory sticks, Gigabyte mobo

no Windows no dual boot

uname -a
Linux giga 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u6 (2018-10-08) x86_64 GNU/Linux

H/W path Device Class Description
=================================================================
system Default string (Default string)
/0 bus AB350-Gaming 3-CF
/0/0 memory 64KiB BIOS
/0/27 memory 16GiB System Memory
/0/27/0 memory [empty]
/0/27/1 memory 8GiB DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
/0/27/2 memory [empty]
/0/27/3 memory 8GiB DIMM DDR4 Synchronous Unbuffered (Unregistered) 2133 MHz (0.5 ns)
/0/29 memory 384KiB L1 cache
/0/2a memory 2MiB L2 cache
/0/2b memory 8MiB L3 cache
/0/2c processor AMD Ryzen 5 1400 Quad-Core Processor
/0/100 bridge Advanced Micro Devices, Inc. [AMD]
/0/100/0.2 generic Advanced Micro Devices, Inc. [AMD]
/0/100/1.3 bridge Advanced Micro Devices, Inc. [AMD]
/0/100/1.3/0 bus Advanced Micro Devices, Inc. [AMD]
/0/100/1.3/0/0 usb1 bus xHCI Host Controller
/0/100/1.3/0/0/2 printer M283x Series
/0/100/1.3/0/1 usb2 bus xHCI Host Controller
/0/100/1.3/0.1 storage Advanced Micro Devices, Inc. [AMD]
/0/100/1.3/0.2 bridge Advanced Micro Devices, Inc. [AMD]
/0/100/1.3/0.2/0 bridge Advanced Micro Devices, Inc. [AMD]
/0/100/1.3/0.2/0/0 enp5s0 network RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
/0/100/1.3/0.2/1 bridge Advanced Micro Devices, Inc. [AMD]
/0/100/1.3/0.2/1/0 wlp6s0 network Wireless 7260
/0/100/1.3/0.2/4 bridge Advanced Micro Devices, Inc. [AMD]
/0/100/3.1 bridge Advanced Micro Devices, Inc. [AMD]
/0/100/3.1/0 display GK208 [GeForce GT 710B]
/0/100/3.1/0.1 multimedia GK208 HDMI/DP Audio Controller
/0/100/7.1 bridge Advanced Micro Devices, Inc. [AMD]
/0/100/7.1/0 generic Advanced Micro Devices, Inc. [AMD]
/0/100/7.1/0.2 generic Advanced Micro Devices, Inc. [AMD]
/0/100/7.1/0.3 bus Advanced Micro Devices, Inc. [AMD]
/0/100/7.1/0.3/0 usb3 bus xHCI Host Controller
/0/100/7.1/0.3/0/1 input USB Keyboard
/0/100/7.1/0.3/0/2 input Microsoft USB Optical Mouse
/0/100/7.1/0.3/0/3 scsi11 storage USB DISK 2.0
/0/100/7.1/0.3/0/3/0.0.0 /dev/sde disk 15GB USB DISK 2.0
/0/100/7.1/0.3/0/3/0.0.0/0 /dev/sde disk 15GB
/0/100/7.1/0.3/0/3/0.0.0/0/1 /dev/sde1 volume 14GiB EXT4 volume
/0/100/7.1/0.3/1 usb4 bus xHCI Host Controller
/0/100/8.1 bridge Advanced Micro Devices, Inc. [AMD]
/0/100/8.1/0 generic Advanced Micro Devices, Inc. [AMD]
/0/100/8.1/0.2 storage FCH SATA Controller [AHCI mode]
/0/100/8.1/0.3 multimedia Advanced Micro Devices, Inc. [AMD]
/0/100/14 bus FCH SMBus Controller
/0/100/14.3 bridge FCH LPC Bridge
/0/101 bridge Advanced Micro Devices, Inc. [AMD]
/0/102 bridge Advanced Micro Devices, Inc. [AMD]
/0/103 bridge Advanced Micro Devices, Inc. [AMD]
/0/104 bridge Advanced Micro Devices, Inc. [AMD]
/0/105 bridge Advanced Micro Devices, Inc. [AMD]
/0/106 bridge Advanced Micro Devices, Inc. [AMD]
/0/107 bridge Advanced Micro Devices, Inc. [AMD]
/0/108 bridge Advanced Micro Devices, Inc. [AMD]
/0/109 bridge Advanced Micro Devices, Inc. [AMD]
/0/10a bridge Advanced Micro Devices, Inc. [AMD]
/0/10b bridge Advanced Micro Devices, Inc. [AMD]
/0/10c bridge Advanced Micro Devices, Inc. [AMD]
/0/10d bridge Advanced Micro Devices, Inc. [AMD]
/0/10e bridge Advanced Micro Devices, Inc. [AMD]
/0/1 scsi0 storage
/0/1/0.0.0 /dev/sda disk 275GB Crucial_CT275MX3
/0/1/0.0.0/1 /dev/sda1 volume 23GiB EXT4 volume
/0/1/0.0.0/2 /dev/sda2 volume 232GiB Extended partition
/0/1/0.0.0/2/5 /dev/sda5 volume 9536MiB EXT4 volume
/0/1/0.0.0/2/6 /dev/sda6 volume 9536MiB EXT4 volume
/0/1/0.0.0/2/7 /dev/sda7 volume 15GiB Linux swap volume
/0/1/0.0.0/2/8 /dev/sda8 volume 9536MiB EXT4 volume
/0/1/0.0.0/2/9 /dev/sda9 volume 9536MiB EXT4 volume
/0/1/0.0.0/2/a /dev/sda10 volume 9536MiB EXT4 volume
/0/1/0.0.0/2/b /dev/sda11 volume 170GiB EXT4 volume
/0/2 scsi1 storage
/0/2/0.0.0 /dev/cdrom disk iHAS124 F
/0/2/0.0.0/0 /dev/cdrom disk
/0/2/0.0.0/0/2 volume 15EiB Windows FAT volume
/0/3 scsi4 storage
/0/3/0.0.0 /dev/sdb disk 500GB SAMSUNG HD502HJ
/0/3/0.0.0/1 /dev/sdb1 volume 93GiB EXT4 volume
/0/3/0.0.0/2 /dev/sdb2 volume 372GiB Extended partition
/0/3/0.0.0/2/5 /dev/sdb5 volume 93GiB EXT4 volume
/0/3/0.0.0/2/6 /dev/sdb6 volume 279GiB EXT4 volume
/0/4 scsi5 storage
/0/4/0.0.0 /dev/sdd disk 500GB SAMSUNG HD502HJ
/0/4/0.0.0/1 /dev/sdd1 volume 93GiB EXT4 volume
/0/4/0.0.0/2 /dev/sdd2 volume 372GiB Extended partition
/0/4/0.0.0/2/5 /dev/sdd5 volume 93GiB EXT4 volume
/0/4/0.0.0/2/6 /dev/sdd6 volume 279GiB EXT4 volume


lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1450
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 1451
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 1453
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 1453
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 1454
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 1454
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 59)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1460
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1461
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1462
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1463
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1464
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1465
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1466
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1467
03:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 43bb (rev 02)
03:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] Device 43b7 (rev 02)
03:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b2 (rev 02)
04:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b4 (rev 02)
04:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b4 (rev 02)
04:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b4 (rev 02)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
06:00.0 Network controller: Intel Corporation Wireless 7260 (rev bb)
09:00.0 VGA compatible controller: NVIDIA Corporation GK208 [GeForce GT 710B] (rev a1)
09:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP Audio Controller (rev a1)
11:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device 145a
11:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 1456
11:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 145c
12:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Device 1455
12:00.2 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
12:00.3 Audio device: Advanced Micro Devices, Inc. [AMD] Device 1457
lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 13fe:4200 Kingston Technology Company Inc.
Bus 003 Device 003: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0
Bus 003 Device 002: ID 046d:c31c Logitech, Inc. Keyboard K120
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 04e8:3328 Samsung Electronics Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 
Old 01-18-2019, 05:20 AM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 3,682
Blog Entries: 1

Rep: Reputation: 796Reputation: 796Reputation: 796Reputation: 796Reputation: 796Reputation: 796Reputation: 796
Unpredictable is often hardware. Cooling? Bad RAM? Or other issues like bad power from the power company. Maybe it happens everytime the AC kicks on. Or when the wash goes to the spin cycle. Or the fridge kicks on. I tend to do laptops these days and rarely have those issues anymore (built in UPS, plus last generation graphics).

Although computer keeps going but keyboard and mouse stop responding is often X crashing a bit. A bad video driver or other quirks. With other computers you'll find that ssh still works remotely for the non-responsive machine. Upgrading to the latest versions of the kernel, X, and video drivers often fixes issues like those these days. In olden days you had to have your "new" hardware six plus months before drivers were "good enough" to not do quirky things like that. Assuming a new-ish distro and not some years old version of ubuntu.

If your boot drive is on the USB, you might try a different USB port. Or other measures to ensure that the cable relative to the ports does not move. I've had odd failures when my thumb drive was in it's death throws. When it finally died, the system just shut off and that drive was never read-able by any other device again. Or even recognized as plugged in.
 
1 members found this post helpful.
Old 01-18-2019, 09:52 AM   #3
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: CentOS at the time of this writing, but some others over the years too...
Posts: 2,554

Rep: Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215
Have you tried more than just the one distro on it, to see if other distros do the same thing? Because that may help you work out if it's hardware or just a bad driver at fault. You may also want to check the drive you have the system installed on, assuming it's a SATA drive, you could check it's SMART status with smartctl

You should also put command outputs into CODE tags, because it's not as easy to read otherwise.
 
1 members found this post helpful.
Old 01-18-2019, 02:14 PM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 11,054
Blog Entries: 7

Rep: Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791
can you ctrl-alt-F2 to another console when the freeze happens?

are you really running that OS from a USB hard drive, as Shadow_7 suggests? that would be a hell of a bottleneck.

fwiw, i once had a 64-bit laptop that was reduced to accept no more than 2GB of RAM (go figure). thing is, it would happily accept a second 2GB RAM stick, and work too, until the system started using memory from the 2nd stick, and freeze.
what a piece of crap that was (MSI, if you need to know).
just to give you a picture of what could be wrong with your self-built system.

Quote:
Originally Posted by Shadow_7 View Post
Or other issues like bad power from the power company. Maybe it happens everytime the AC kicks on. Or when the wash goes to the spin cycle. Or the fridge kicks on. I tend to do laptops these days and rarely have those issues anymore (built in UPS, plus last generation graphics).
i've been using a desktop at home for years, and never had such issues. maybe i have "good electricity".
 
2 members found this post helpful.
Old 01-18-2019, 03:15 PM   #5
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 3,682
Blog Entries: 1

Rep: Reputation: 796Reputation: 796Reputation: 796Reputation: 796Reputation: 796Reputation: 796Reputation: 796
Quote:
Originally Posted by ondoho View Post
i've been using a desktop at home for years, and never had such issues. maybe i have "good electricity".
The 70s era trailer isn't exactly up to modern building codes. Plus country living and near the top of the hill. Our transformer often gets hit by lightning. And even when that's not the issue, older 350W+ desktops would blow the fuse on that pole. Well once you add in a 42" 450W HDTV and 2x 225W studio monitors and such. I remember getting my first raspberry pi and shutting down my desktop while I played with it. My room got so cold.
 
1 members found this post helpful.
Old 01-25-2019, 08:58 AM   #6
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 9.2
Posts: 1,127

Original Poster
Rep: Reputation: 50
The main hard drive is a SSD about 2 years old (as reported in the original post). As I understand, my Debian 9 distro is automatically updated and I do not have another distro to try although I could try that as a last resort (sometimes the problem does not show for weeks).
Today I had the problem in a way that happened before but had forgotten, the cursor follows on the screen the movement of the mouse for about one second or more and then stops for a second or more while the mouse keeps moving and then the cursor resumes following mouse movement from that point, this sequence is repeated for a few seconds to about half a minute sometimes before often freezing. This was followed today by an automatic power-down (not the first such occurrence) of the desktop. Pressing the power-on switch of the board was ineffective and I had to turn the switch off and back on at the power supply to be able to power on the board from its own (case) switch. When it freezes without powering down, nothing works from the keyboard or the mouse although the monitor continues to show the frozen screen.

The case has 2 external fans (on top of the cpu fan) and the desktop does not behave differently in 45C ambient temperature which did not bother it a few days ago (house AC awaiting replacement) while the unused but powered on laptop switched itself off automatically due to the heat but today is only 32C. The desktop did the same thing in another town generating its own power. I live alone and the only electrical gadget that "kicks in" automatically is a medium size fridge, the lights have never dimmed as they usually do under a sudden large power surge.

Maybe this could narrow down the possible causes and someone could have new or confirming suggestions.
 
Old 01-25-2019, 09:36 PM   #7
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 3,682
Blog Entries: 1

Rep: Reputation: 796Reputation: 796Reputation: 796Reputation: 796Reputation: 796Reputation: 796Reputation: 796
That's seems more like a swap issue. ATM firefox in debian buster (testing) seems to have a major memory leak and causes this on my system. I switched to using chromium and no issues. I couldn't even open an IMDB page without firefox almost crashing my system. But I launch from a terminal so I can get to that terminal and ^C to end firefox before it completely crashes the system most of the time. It was very annoying as I was pushing 50-ish days of uptime before the update glitched firefox.
 
1 members found this post helpful.
Old 01-26-2019, 03:38 AM   #8
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 1,205

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
It could be the PS has a stability problem. A read through the reviews on https://www.newegg.com/Product/Produ...82E16817139228 and http://www.tomshardware.com/answers/...-good-psu.html suggests the VS650 falls short of bulletproof. If you've been using it for more than two years without a UPS or high quality surge suppression it could have been damaged. If you buy a new PS and it doesn't help, at least you have a spare, a handy thing to have around for troubleshooting.
 
1 members found this post helpful.
Old 03-01-2019, 11:23 PM   #9
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 9.2
Posts: 1,127

Original Poster
Rep: Reputation: 50
I have replaced the Corsair VF650 with a Evga GD series 550Watt and had exactly the same problem within 24 hours - so it's not the PS. I'll just see how often it happens - if it's better or worse or same.
I may have bought cheap memory sticks. I may have to live with this problem till I get a better quality new desktop after properly researching every component.
I'll update if I find something new.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
hard drive inexplicably goes read-only after machine is on a couple of hours greenphreak Linux - Hardware 7 08-22-2007 02:30 PM
Server connection issue solved inexplicably by ping out donnoit Linux - Networking 1 08-08-2007 06:01 PM
nine-tenths of bookmarks inexplicably vanished Hosiah Mandriva 5 08-02-2006 09:44 AM
K3b inexplicably stopped working apachedude Linux - Software 2 01-27-2005 12:59 PM
PVR box is unstable; clock is inaccurate, crashes inexplicably when recording Electrode Linux - Hardware 0 10-24-2003 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 09:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration