Random freezes

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
emtor
Level 1
Level 1
Posts: 15
Joined: Sun Aug 19, 2018 4:12 am

Random freezes

Post by emtor » Sun Oct 20, 2019 5:14 am

HP Pavilion, Linux Mint 18.1
Laptop came with Win10 with a host of problems from day one: Freezes, sluggishness, fan constantly at full speed, BSOD's etc. No problems in safe mode.
HP troubleshooting utility reports no problems.

Linux Mint 18.1: Less problems than in Win10, but still random freezes, non responsive keyboard, frozen mouse cursor, blinking capslock, fan revs up, rising CPU temp and load (100%). System not recovering. No problems in recovery mode.
Checkbox utility reports no problems.

Memtest86 passes all tests which indicates healthy RAM and CPU.

Running glmark2 graphics testing utilty causes mint to freeze when glmark2 attempt to run the "texture-filter-nearest"-test.

Changing intel_idle.max_cstate from 9 to 1 helped a lot. Mint still freezes but less often and the system recovers by itself after a few seconds.

Two different OS's,-with much the same problems indicates hardware failure . . . HP utility, checkbox utility and the fact that the computer has been in for service at HP with no problems detected indicates the oposite.

Well folks, grind away at this one for a while.

User avatar
smurphos
Level 13
Level 13
Posts: 4792
Joined: Fri Sep 05, 2014 12:18 am
Location: Britisher
Contact:

Re: Random freezes

Post by smurphos » Sun Oct 20, 2019 5:27 am

What's the hardware? Please report output of inxi -Fxxxz run in a terminal.
For custom Nemo actions, useful scripts for the Cinnamon desktop, and Cinnamox themes visit my Github pages.

emtor
Level 1
Level 1
Posts: 15
Joined: Sun Aug 19, 2018 4:12 am

Re: Random freezes

Post by emtor » Sun Oct 20, 2019 5:36 am

Code: Select all

System:    Host: emtor-HP-Pavilion-Notebook Kernel: 4.4.0-165-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Xfce 4.12.3 (Gtk 2.24.28) info: xfce4-panel dm: mdm
           Distro: Linux Mint 18.1 Serena
Machine:   System: HP (portable) product: HP Pavilion Notebook
           Mobo: HP model: 81FC v: 80.21
           Bios: American Megatrends v: F.29 date: 04/03/2018
           Chassis: type: 10
CPU:       Dual core AMD A9-9410 RADEON R5 5 COMPUTE CORES 2C+3G (-MCP-) cache: 2048 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 11578
           clock speeds: min/max: 1400/2900 MHz 1: 2300 MHz 2: 2300 MHz
Graphics:  Card-1: Advanced Micro Devices [AMD/ATI] Stoney [Radeon R2/R3/R4/R5 Graphics]
           bus-ID: 00:01.0 chip-ID: 1002:98e4
           Card-2: Advanced Micro Devices [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445]
           bus-ID: 01:00.0 chip-ID: 1002:6900
           Display Server: X.Org 1.18.4 drivers: ati,amdgpu (unloaded: fbdev,vesa,radeon)
           Resolution: 1920x1080@60.01hz
           GLX Renderer: AMD STONEY (DRM 3.1.0 / 4.4.0-165-generic, LLVM 6.0.0)
           GLX Version: 3.0 Mesa 18.0.5 Direct Rendering: Yes
Audio:     Card-1 Advanced Micro Devices [AMD] Family 15h (Models 60h-6fh) Audio Controller
           driver: snd_hda_intel bus-ID: 00:09.2 chip-ID: 1022:157a
           Card-2 Advanced Micro Devices [AMD/ATI] Device 15b3
           driver: snd_hda_intel bus-ID: 00:01.1 chip-ID: 1002:15b3
           Sound: Advanced Linux Sound Architecture v: k4.4.0-165-generic
Network:   Card-1: Realtek RTL810xE PCI Express Fast Ethernet controller
           driver: r8169 v: 2.3LK-NAPI port: d000
           bus-ID: 03:00.0 chip-ID: 10ec:8136
           IF: eno1 state: down mac: <filter>
           Card-2: Intel Wireless 3165
           driver: iwlwifi bus-ID: 04:00.0 chip-ID: 8086:3165
           IF: wlo1 state: up mac: <filter>
Drives:    HDD Total Size: 256.1GB (8.3% used)
           ID-1: /dev/sda model: SAMSUNG_MZNLN256 size: 256.1GB serial: S2Y2NX0J351035
Partition: ID-1: / size: 227G used: 13G (6%) fs: ext4 dev: /dev/sda2
           ID-2: swap-1 size: 8.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
RAID:      System: supported: N/A
           No RAID devices: /proc/mdstat, md_mod kernel module present
           Unused Devices: none
Sensors:   System Temperatures: cpu: 63.0C mobo: N/A gpu: 0.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 202 Uptime: 1:00 Memory: 892.7/7493.6MB
           Init: systemd v: 229 runlevel: 5 default: 2 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481 running in xfce4-terminal) inxi: 2.2.35 
emtor@emtor-HP-Pavilion-Notebook ~ $
Last edited by karlchen on Sun Oct 20, 2019 6:33 am, edited 1 time in total.
Reason: enclosed the inxi report in [code] [/code] tags to improve readability

User avatar
Pjotr
Level 21
Level 21
Posts: 13860
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Random freezes

Post by Pjotr » Sun Oct 20, 2019 6:02 am

Start by doing a clean installation of Linux Mint 19.2 and take it from there. No sense in running an old Mint version on modern hardware.
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

User avatar
karlchen
Level 20
Level 20
Posts: 11512
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Random freezes

Post by karlchen » Sun Oct 20, 2019 6:38 am

Agree with Pjotr's advice.
The first thought which occurred to me when reading Bios: American Megatrends v: F.29 date: 04/03/2018 in your inxi report, was that the machine is much newer than the operating system, which you have installed.
This is never a good situation, because the older operating system is unlikely to support the newer hardware fully.
Therefore trying Mint 19.2 instead of Mint 18.1 is worth the time.
Image
Linux Mint 19.2 64-bit Cinnamon, Total Commander 9.22a 64-bit
Haß gleicht einer Krankheit, dem Miserere, wo man vorne herausgibt, was eigentlich hinten wegsollte. (Goethe)

emtor
Level 1
Level 1
Posts: 15
Joined: Sun Aug 19, 2018 4:12 am

Re: Random freezes

Post by emtor » Sun Oct 20, 2019 6:59 am

I am about to try a live session of mint 19.2 cinnamon as we speak.
I’ll report back in a moment.

emtor
Level 1
Level 1
Posts: 15
Joined: Sun Aug 19, 2018 4:12 am

Re: Random freezes

Post by emtor » Sun Oct 20, 2019 7:10 am

Mint 19.2 cinnamon live session boots OK.
Freezes when I attempt to connect to wifi.
Mouse cursor moves but no response when clicking on icons after choosing the network.
I’ll give mate and Xfce a try after downloading the iso’s.

deepakdeshp
Level 16
Level 16
Posts: 6255
Joined: Sun Aug 09, 2015 10:00 am

Re: Random freezes

Post by deepakdeshp » Sun Oct 20, 2019 7:26 am

With this hardware Cinnamon should run too. Please check your disk.
https://help.ubuntu.com/community/Smartmontools
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
Regards,
Deepak

I am using Mint 19.2 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

emtor
Level 1
Level 1
Posts: 15
Joined: Sun Aug 19, 2018 4:12 am

Re: Random freezes

Post by emtor » Sun Oct 20, 2019 8:18 am

I’ll give smartmontools a try.
This will be one more step in checking hardware.
So far I can assume that CPU and RAM is OK after running memtest86.
Next will be checking the harddrive . . .

emtor
Level 1
Level 1
Posts: 15
Joined: Sun Aug 19, 2018 4:12 am

Re: Random freezes

Post by emtor » Sun Oct 20, 2019 8:40 am

Smartmontools (short test) reports no errors.
I’ll try the long test later.

emtor
Level 1
Level 1
Posts: 15
Joined: Sun Aug 19, 2018 4:12 am

Re: Random freezes

Post by emtor » Sun Oct 20, 2019 9:33 am

Mint 19.2 Xfce.
Same thing as with cinnamon,-desktop comes up fine.
Clicking wifi icon, choosing my network,- icon disappears.
Clicking the app-icon results in a message: ’’Plugin whisker menu left the panel etc’’.
Also fails to execute xfce-terminal and file manager (child process exo-open).
Battery status, sound and time/date seems to work.

Next up is 19.2 mate.

emtor
Level 1
Level 1
Posts: 15
Joined: Sun Aug 19, 2018 4:12 am

Re: Random freezes

Post by emtor » Sun Oct 20, 2019 10:03 am

Mint 19.2 mate: mint menu quits, menu icon disappears then system freezes.
2nd. attempt: Lots of error messages: squashfs error: unable to read page etc . . .

Mint 19.1 mate: Same behaviour as mint 19.2.

My experience with linux distros is that most of them will not work. The only one that works partly on my new HP is mint 18.3 Xfce.
On my old and recently dead Lenovo, Ubuntu 12-something worked well, as did mint 17.2.
On my old HP I tried a few but gave up and went back to Win7.
Everything else refused to even install. However, I’reluctant to give up and go back to windows. Linux is a much better system . . . When it works.

deepakdeshp
Level 16
Level 16
Posts: 6255
Joined: Sun Aug 09, 2015 10:00 am

Re: Random freezes

Post by deepakdeshp » Sun Oct 20, 2019 12:33 pm

Linux and Mint in particular works on millions of machines including mine flawlessly.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
Regards,
Deepak

I am using Mint 19.2 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

emtor
Level 1
Level 1
Posts: 15
Joined: Sun Aug 19, 2018 4:12 am

Re: Random freezes

Post by emtor » Sun Oct 20, 2019 1:12 pm

I know,- linux works for most, but not all. There’s a database that lists which computers work with which distros and quite a few machines don’t go along well with all versions of linux,- some of them not at all.

https://community.linuxmint.com/hardware/search

emtor
Level 1
Level 1
Posts: 15
Joined: Sun Aug 19, 2018 4:12 am

Re: Random freezes

Post by emtor » Mon Oct 21, 2019 5:42 am

The following OS's have been tried so far:
Mint 18.1 cinnamon/mate/Xfce
Mint 18.2 Xfce
Mint 19 Xfce
Mint 19.1 Mate
Mint 19.2 Cinnamon/Mate/Xfce
Ubuntu 19.2
Xubuntu 18.04.3

All of these execpt 18.1 have the following behaviour: Clicking wifi icon makes the icon disappear, clicking mint-menu causes the icon to disappear and causes all desktop apps to crash one after another.

As for Mint 18.1,- I have not been able to provoke a freeze as long as I stay away from using firefox/chromium.
Freezes only occur when surfing the web, depending (mostly) upon the content of the sites I'm visiting, and especially when downloading something,
like a Mint ISO. In these instances the download fails seconds after it has started. Restarting the download causes it to fail within seconds.
Downloading torrents . . . same thing. Download speed halts every few seconds.
What does this mean? Web browsers or wifi? I should connect by cable to the ethernet directly, but I can't find the cable. If I find it I'll give it a shot.

Hardware:
RAM OK (memtest 86)
CPU OK (since memtest86 in fact runs)
Harddrive OK (smartmontools)
GPU seems to either have a hardware or driver problem. Running glmark2, GPU benchmark utility causes glmark2 and OS to freeze.

That's it so far.

User avatar
thx-1138
Level 7
Level 7
Posts: 1926
Joined: Fri Mar 10, 2017 12:15 pm
Location: Athens, Greece

Re: Random freezes

Post by thx-1138 » Mon Oct 21, 2019 3:56 pm

...Mint 18.1 -> kernel 4.4.0-53 -> where kernel 4.4 release date, 10 Jan 2016
A9-9410 release date -> June 2016

Usually people try if newer kernels / firmware has fixed stuff, not the other way around...

intel_idle.max_cstate -> for Intel (well, obviously...)

...after booting...dmesg | less & journalctl -p5...anything the kernel wants to tell you?

...after the freeze / crash & having rebooted...
less /var/log/kern.log
journalctl -b -1

(else, random testing until the cows come home...mooooo!)

...(Stoney is a pain under Linux) - do the logs report AMD related errors?
amdgpu.dc=0 (in grub's parameters) might be a good starting point.
That is, with kernels that support your A9-9410 in the first place.

tldr: unless you start with latest Mint 19 & check the logs, it will never ever work properly.

emtor
Level 1
Level 1
Posts: 15
Joined: Sun Aug 19, 2018 4:12 am

Re: Random freezes

Post by emtor » Wed Oct 23, 2019 10:29 am

Mint 19.2 boots and mint menu, firefox, file manager and terminal works on and off for each boot.
Clicking the wifi icon causes the above not to work at all.

Opening terminal and running dmesg | less produces output but as soon as I click "edit" to select all and copy the terminal shuts off.
A bit hard to present any output here when 19.2 behaves in this way.
What should I be looking for when running these commands?

Post Reply

Return to “Newbie Questions”