What to do about my system freezing up?

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
Massively ignorant
Level 2
Level 2
Posts: 85
Joined: Tue Feb 20, 2018 5:50 pm
Location: North Central Indiana

What to do about my system freezing up?

Post by Massively ignorant » Sun Aug 12, 2018 6:37 pm

Greetings All,

Sigh, my system freezes up, I can’t get any of the Icons on the desktop to respond and can’t open a terminal, I end up power cycling to be able to re-start.

I’ve found the log files, but to the extant that I understand those files, the ones that I found through the GUI only cover the time period since I re-booted.

I use Google Chromium© as my web browser and the freeze-ups seem to happen primarily, perhaps even exclusively, within Google Chromium©.

Here are the results of running inxi -Fxz:

Code: Select all

<user>@<user>-Z370XP-SLI:~$ inxi -Fxz
System:    Host: <user>-Z370XP-SLI Kernel: 4.15.0-30-generic x86_64
           bits: 64 gcc: 7.3.0
           Desktop: Xfce 4.12.3 (Gtk 2.24.31) Distro: Linux Mint 19 Tara
Machine:   Device: desktop System: Gigabyte product: Z370XP SLI serial: N/A
           Mobo: Gigabyte model: Z370XP SLI-CF v: x.x serial: N/A
           UEFI [Legacy]: American Megatrends v: F5 date: 11/09/2017
Battery    hidpp__0: charge: N/A condition: NA/NA Wh
           model: Logitech Wireless Keyboard K330 status: Discharging
CPU:       6 core Intel Core i5-8600K (-MCP-) 
           arch: Skylake rev.10 cache: 9216 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 43200
           clock speeds: max: 4300 MHz 1: 1081 MHz 2: 3800 MHz 3: 3796 MHz
           4: 3428 MHz 5: 3847 MHz 6: 3842 MHz
Graphics:  Card: NVIDIA G72 [GeForce 7300 LE] bus-ID: 01:00.0
           Display Server: x11 (X.Org 1.19.6 )
           drivers: nouveau (unloaded: modesetting,fbdev,vesa)
           Resolution: 1920x1080@60.00hz
           OpenGL: renderer: NV46 version: 2.1 Mesa 18.0.5 Direct Render: Yes
Audio:     Card Intel 200 Series PCH HD Audio
           driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.15.0-30-generic
Network:   Card: Intel Ethernet Connection (2) I219-V
           driver: e1000e v: 3.2.6-k bus-ID: 00:1f.6
           IF: enp0s31f6 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 532.2GB (5.5% used)
           ID-1: /dev/sda model: HFS500G32TND size: 500.1GB
           ID-2: USB /dev/sdb model: STORE_N_GO size: 32.1GB
Partition: ID-1: / size: 458G used: 28G (7%) fs: ext4 dev: /dev/sda1
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 27.8C mobo: 16.8C gpu: 52.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 197 Uptime: 15 min Memory: 1490.7/7923.1MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56 
Many Thanks, Respectfully, Massively ignorant
Last edited by Moem on Mon Aug 13, 2018 1:24 am, edited 1 time in total.
Reason: Adding [code] tags. They retain some formatting that makes your output easier to read.

DAMIEN1307
Level 5
Level 5
Posts: 979
Joined: Tue Feb 21, 2017 8:13 pm
Location: Alamogordo, New Mexico

Re: What to do about my system freezing up?

Post by DAMIEN1307 » Sun Aug 12, 2018 7:00 pm

hi "M.I."...i notice you have an nvidia graphics card installed on your system and have seen others in the forums reporting freezeups etc. that i believe are due to not having the appropriate updated driver...have you run the "driver updater", sometimes also called "additional drivers" (found in the menu) to check and see if other drivers are recommended etc?...i think that might be a good place to start...i dont run Nvidia graphics card myself, but if you could run the driver update and post what you found, someone with the experience here will certainly respond...(i think the "390" is what has been recommended and i notice your "bios" date is recent (11-9-2017) and your running a more recent Intel i7 core)...of course any changes on this will require a reboot...hope this may be of any small help at all...DAMIEN
ORDO AB CHAO

User avatar
trytip
Level 8
Level 8
Posts: 2059
Joined: Tue Jul 05, 2016 1:20 pm

Re: What to do about my system freezing up?

Post by trytip » Sun Aug 12, 2018 11:02 pm

your system is fairly new and needs new software. start with apt upgrade and reboot after. then in menu search for Driver Managerinstall recommended for nvidia and microcode if available. IMPORTANT to reboot after driver/microcode install
Image

Massively ignorant
Level 2
Level 2
Posts: 85
Joined: Tue Feb 20, 2018 5:50 pm
Location: North Central Indiana

Re: What to do about my system freezing up?

Post by Massively ignorant » Mon Aug 13, 2018 4:45 pm

Damien1307 and trytip

Here are the results of running apt upgrade

<user>@<user>-Z370XP-SLI:~$ apt upgrade
[sudo] password for <user>:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
libarchive13
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 289 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libarchive13 amd64 3.2.2-3.1ubuntu0.1 [289 kB]
Fetched 289 kB in 1s (244 kB/s)
(Reading database ... 310653 files and directories currently installed.)
Preparing to unpack .../libarchive13_3.2.2-3.1ubuntu0.1_amd64.deb ...
Unpacking libarchive13:amd64 (3.2.2-3.1ubuntu0.1) over (3.2.2-3.1) ...
Setting up libarchive13:amd64 (3.2.2-3.1ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) …

and here are the results after running apt upgrade after a shutdown and reboot:

<user>@<user>-Z370XP-SLI:~$ apt upgrade
[sudo] password for <user>:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I looked in Driver Manager after reading Damien1307s post and it said that no proprietary drivers were in use.

I then ran apt upgrade as suggested by trytip and got the results as above. Again Driver Manager reported that no proprietary drivers were in use.

I’m thinking I’ll need to find the Nvidia drivers for the graphics card.

Thanks, Massively ignorant

jpenguin
Level 2
Level 2
Posts: 77
Joined: Sat Nov 12, 2016 11:33 pm

Re: What to do about my system freezing up?

Post by jpenguin » Mon Aug 13, 2018 7:06 pm

What are your kernel parameters?
Is it a ctate bug?

Code: Select all

intel_idle.max_cstate=0
turns them off entirely, but will have you CPU consuming a lot of power

you might try

Code: Select all

processor.max_cstate=5
or something similar. Kernel parameter are set at boot in grub or in

Code: Select all

sudo nano /etc/default/grub
my Ryzen was freezing, now I use processor.max_cstate=5 &
https://github.com/M-Bab/linux-kernel-amdgpu-binaries

Massively ignorant
Level 2
Level 2
Posts: 85
Joined: Tue Feb 20, 2018 5:50 pm
Location: North Central Indiana

Re: What to do about my system freezing up?

Post by Massively ignorant » Mon Aug 13, 2018 8:11 pm

All,

It would seem I am not the only one with the Nvidia driver issue, here is just one of many such threads;

viewtopic.php?t=272180

I’m specifically citing that thread because of what was the last thread when I read it. The post had a run down of things to try, Only my software manager doesn’t look like what the poster is talking about.

jpenguin,

My user name is not even a jest, just strict truth. So I have no idea what you are asking for when you want to know my kernel parameters.

I got this error message when I tried to run the command intel_idle.max_cstate=0: command not found, and the same error message for this command; processor.max_cstate=5: command not found.

I’m also wondering if I should ask the moderators to close this thread as it seems like I should be following one of those other threads, this thread feels entirely too much like a re-hash of some of those other threads.

Thank you all, Respectfully, Massively ignorant

jpenguin
Level 2
Level 2
Posts: 77
Joined: Sat Nov 12, 2016 11:33 pm

Re: What to do about my system freezing up?

Post by jpenguin » Mon Aug 13, 2018 8:36 pm

If I issue

Code: Select all

~$ cat /etc/default/grub
I get

Code: Select all

# If you change this file, run 'update-grub' afterwards to updatey
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="processor.max_cstate=5 rcu_nocbs=0-15 amdgpu.dc=1"
GRUB_CMDLINE_LINUX=""
the kernel parameters are in the GRUB_CMDLINE_LINUX lines

To edit this file, you would do

Code: Select all

sudo nano /etc/default/grub

Massively ignorant
Level 2
Level 2
Posts: 85
Joined: Tue Feb 20, 2018 5:50 pm
Location: North Central Indiana

Re: What to do about my system freezing up?

Post by Massively ignorant » Fri Aug 17, 2018 5:49 pm

Jpenguin, Thank you for your reply.

The internet was down for a while where I’m at and I just haven’t gotten back to this issue.

Here is what I got when I ran the command: cat /etc/default/grub:

<user>@<user>-Z370XP-SLI:~$ cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

Compered to what you posted, I don’t see anything that seems to correspond to the processor information that you show in line 10 [Line count starts from the first line with a # and includes a line number for the line that is blank. The line that starts with <user>@<user> is not included in the count.]

I also see something referencing; “cstat=5” in your post, nothing like that either in my results.

in re, editing files, you might check out this topic: viewtopic.php?f=90&t=274202

Toward the end, gm10 gives me a well deserved scolding for being too hasty.

With the hope to learn something from that conversation, I’m going to be much more cautious in making edits, I’m also going to do a back-up of all my files so I have all the latest ones saved before I do any messing about.

Respectfully, Massively ignorant.

Massively ignorant
Level 2
Level 2
Posts: 85
Joined: Tue Feb 20, 2018 5:50 pm
Location: North Central Indiana

Re: What to do about my system freezing up?

Post by Massively ignorant » Mon Aug 20, 2018 7:55 pm

All, thanks again.

So driver manager still says that there are no propriety drivers installed, but I have a new icon called NVIDIA X server settings in my system tray, and the freezing-up problem hasn't shown up in a few days.

I reckon, if I don't have a freeze-up in a week or so, I'll be back and declare this solved.

Thank you and Respectfully, Massively ignorant

Post Reply

Return to “Newbie Questions”