Please help me find the cause of freeze ups

Archived topics about LMDE 1 and LMDE 2
Locked
Daan

Please help me find the cause of freeze ups

Post by Daan »

Hi,

My HP desktop at work freezes regularly, and I don't know how to find out what is causing it.

The freezes occur when I've been away over night, either after I suspended the system to RAM or when I've left it running, and no CTRL+ALT or SysRq key combination does anything. After suspending, normally touching the mouse is enough to get back to my work, but not when it is frozen. All I get then is a black screen. Yesterday I left it running, and this morning I found it frozen, with the screen saver displaying the time as 00:14. I pushed the power button for a couple of seconds to reboot the system.

Where can I look to see what causes the freeze ups?

Thanks,

Daan
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
coffee412
Level 8
Level 8
Posts: 2183
Joined: Mon Nov 12, 2012 7:38 pm
Location: I dont know
Contact:

Re: Please help me find the cause of freeze ups

Post by coffee412 »

Daan,

Try going into power management and turning off suspend / Hibernating settings. Let it run over nite and see if you still are having this problem. You can look in /var/log/kern.log and see if something points it out but the freeze up might prevent logging anything to kern.log.

Should the freeze up stop after power management is turned off then its a problem with suspend / hibernate. If it doesnt and still freezes up, I would start looking at the screensaver. perhaps change it to just a blank screen.

Hope this helps...

coffee
Ryzen x1800 Asus Prime x370-Pro 32 gigs Ram RX480 graphics
Dell PE T610, Dell PE T710
- List your hardware Profile: inxi -Fxpmrz
MeshCentral * Virtualbox * Debian * InvoiceNinja * NextCloud * Linux since kernel 2.0.36
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: Please help me find the cause of freeze ups

Post by Monsta »

You can try getting kernel 3.11 from Testing and see if the problem goes away.
Daan

Re: Please help me find the cause of freeze ups

Post by Daan »

Hi coffee,

Thanks for your suggestions.

Under gnome-control-center -> Power, "Never suspend" was already set. Under Brightness and Lock, lock was switched off and turn off screen was set to 30 minutes. I would set it to never, but there is no such option.

Under cinnamon-settings, there is Screensaver & Lock settings, but it only has an option for an away message.

(So confusing, these settings in different places.)

I have now uninstalled (purged) cinnamon-screensaver, I hope that helps. (I will switch off the monitor manually when I leave.)

/var/log/kern.log's oldest entry is from this morning, when I booted the system.

D.
Daan

Re: Please help me find the cause of freeze ups

Post by Daan »

Monsta, thanks for the suggestion. I'll try if other measures do not succeed.
Daan

Re: Please help me find the cause of freeze ups

Post by Daan »

So,...

My system has been running uninterrupted and without freeze-ups since I've uninstalled cinnamon-screensaver. I haven't tried suspending it. The screen switches off automatically if I have been away for a while.
Daan

Re: Please help me find the cause of freeze ups

Post by Daan »

So cinnamon-screensaver has found it's way back onto my system, probably during a large software upgrade, and the freeze-ups are reoccurring. I would uninstall the screensaver, but aptitude then wants to remove mint-meta-debian-cinnamon, and I do not know whether is is save to proceed.

Can I do without mint-meta-debian-cinnamon?

Code: Select all

$ sudo aptitude remove cinnamon-screensaver 
The following packages will be REMOVED:  
  cinnamon-screensaver 
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 306 kB will be freed.
The following packages have unmet dependencies:
 mint-meta-debian-cinnamon : Depends: cinnamon-screensaver but it is not going to be installed.
The following actions will resolve these dependencies:

     Remove the following packages:              
1)     mint-meta-debian-cinnamon                 

     Leave the following dependencies unresolved:
2)     cinnamon recommends cinnamon-screensaver  


Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     cinnamon-screensaver [2.0.3+lmde (debian, now)]    



Accept this solution? [Y/n/q/?]  
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: Please help me find the cause of freeze ups

Post by Monsta »

Metapackage can be safely removed (it's there for convenience), but I heard that cinnamon-screensaver is an essential part of Cinnamon 2.0, and the latter may cease to function without it. Be careful.
Daan

Re: Please help me find the cause of freeze ups

Post by Daan »

Then why doesn't cinnamon depend on cinnamon-screensaver?

Is there a way switch off the Cinnamon screensaver? I don't see such option in Cinnamon Settings.

Thanks!

D.
User avatar
austin.texas
Level 20
Level 20
Posts: 12003
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: Please help me find the cause of freeze ups

Post by austin.texas »

As Monsta suggested earlier, a newer kernel could fix the problem - it did for me.
You can try getting kernel 3.11 from Testing and see if the problem goes away.
These suggestions may help, if that doesn't work.
http://forums.linuxmint.com/viewtopic.php?f=90&t=145337
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
Daan

Re: Please help me find the cause of freeze ups

Post by Daan »

Thanks for your suggestions.

I think I already have kernel 3.11:

Code: Select all

$ uname -srv
Linux 3.11-2-amd64 #1 SMP Debian 3.11.8-1 (2013-11-13)
Daan

Re: Please help me find the cause of freeze ups

Post by Daan »

I just found out that I can login on my frozen computer through ssh. I thought I checked before, but I only succeeded just now. Apparently it's not as frozen as I thought. Still, the computer does not respond to mouse or keyboard input (including sys rescue key combinations). And the screen is frozen. This happens once in while, either when I am working on it or when the screen saver is on.

Now I tried killing several of the Cinnamon processes that showed up with ps aux|grep cinnamon. A few seconds after the last one I tried,

Code: Select all

daan@lophelia:~$ killall cinnamon-session
the screen went black and then the graphical login screen appeared. :)

How can I now find out the cause of the freeze-ups and a way to prevent them?

Here's kern.log in case that helps.

Code: Select all

Oct 12 13:35:30 lophelia kernel: [408726.077571] ------------[ cut here ]------------
Oct 12 13:35:30 lophelia kernel: [408726.077604] WARNING: CPU: 1 PID: 2171 at /build/linux-T4t6fp/linux-3.16.7-ckt11/drivers/gpu/drm/i915/intel_display.c:3324 intel_crtc_wait_for_pending_flips+0x165/0x170 [i915]()
Oct 12 13:35:30 lophelia kernel: [408726.077632] Modules linked in: arc4 ecb md4 hmac nls_utf8 cifs dns_resolver fscache cfg80211 binfmt_misc cpufreq_powersave cpufreq_stats cpufreq_userspace cpufreq_conservative pci_stub vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic x86_pkg_temp_thermal intel_powerclamp iTCO_wdt iTCO_vendor_support intel_rapl coretemp kvm_intel snd_hda_intel snd_hda_controller kvm snd_hda_codec snd_hwdep crc32_pclmul snd_pcm_oss ghash_clmulni_intel snd_mixer_oss cryptd snd_pcm lpc_ich mei_me hp_wmi sparse_keymap rfkill snd_timer psmouse snd mei soundcore pcspkr shpchp tpm_infineon i2c_i801 serio_raw mfd_core tpm_tis tpm evdev processor loop fuse parport_pc ppdev lp parport autofs4 ext4 crc16 mbcache jbd2 btrfs xor usb_storage raid6_pq vga16fb vgastate uvesafb sg sd_mod crc_t10dif sr_mod crct10dif_generic cdrom ahci ehci_pci libahci ata_generic ehci_hcd crct10dif_pclmul crct10dif_common crc32c_intel i915 libata video i2c_algo_bit drm_kms_helper e1000e drm ptp usbcore pps_core i2c_core scsi_mod usb_common thermal_sys wmi button
Oct 12 13:35:30 lophelia kernel: [408726.077647] CPU: 1 PID: 2171 Comm: Xorg Tainted: G           O  3.16.0-4-amd64 #1 Debian 3.16.7-ckt11-1+deb8u4
Oct 12 13:35:30 lophelia kernel: [408726.077648] Hardware name: Hewlett-Packard HP Compaq 6200 Pro SFF PC/1497, BIOS J01 v02.01 04/06/2011
Oct 12 13:35:30 lophelia kernel: [408726.077651]  0000000000000009 ffffffff8150b465 0000000000000000 ffffffff81067767
Oct 12 13:35:30 lophelia kernel: [408726.077652]  0000000000000000 ffff880127c1f000 ffff8800c5cd8210 ffff8800c1f88000
Oct 12 13:35:30 lophelia kernel: [408726.077654]  ffff8800c1f88000 ffffffffa02d8dc5 0000000000000000 ffff880128fe3630
Oct 12 13:35:30 lophelia kernel: [408726.077655] Call Trace:
Oct 12 13:35:30 lophelia kernel: [408726.077661]  [<ffffffff8150b465>] ? dump_stack+0x41/0x51
Oct 12 13:35:30 lophelia kernel: [408726.077665]  [<ffffffff81067767>] ? warn_slowpath_common+0x77/0x90
Oct 12 13:35:30 lophelia kernel: [408726.077679]  [<ffffffffa02d8dc5>] ? intel_crtc_wait_for_pending_flips+0x165/0x170 [i915]
Oct 12 13:35:30 lophelia kernel: [408726.077682]  [<ffffffff810a7a40>] ? prepare_to_wait_event+0xf0/0xf0
Oct 12 13:35:30 lophelia kernel: [408726.077695]  [<ffffffffa02e22df>] ? intel_crtc_set_config+0x92f/0xd50 [i915]
Oct 12 13:35:30 lophelia kernel: [408726.077706]  [<ffffffffa00d8d11>] ? drm_mode_set_config_internal+0x61/0xe0 [drm]
Oct 12 13:35:30 lophelia kernel: [408726.077712]  [<ffffffffa016da6b>] ? restore_fbdev_mode+0xab/0xd0 [drm_kms_helper]
Oct 12 13:35:30 lophelia kernel: [408726.077718]  [<ffffffffa016f5f0>] ? drm_fb_helper_restore_fbdev_mode_unlocked+0x20/0x60 [drm_kms_helper]
Oct 12 13:35:30 lophelia kernel: [408726.077723]  [<ffffffffa016f64e>] ? drm_fb_helper_set_par+0x1e/0x50 [drm_kms_helper]
Oct 12 13:35:30 lophelia kernel: [408726.077726]  [<ffffffff8130f73e>] ? fb_set_var+0x15e/0x3b0
Oct 12 13:35:30 lophelia kernel: [408726.077729]  [<ffffffff810ff32c>] ? delayacct_end+0x7c/0x90
Oct 12 13:35:30 lophelia kernel: [408726.077732]  [<ffffffff8113ca80>] ? sleep_on_page+0x10/0x10
Oct 12 13:35:30 lophelia kernel: [408726.077734]  [<ffffffff81306e2b>] ? fbcon_blank+0x1cb/0x2b0
Oct 12 13:35:30 lophelia kernel: [408726.077738]  [<ffffffff8137aa51>] ? do_unblank_screen+0xb1/0x1d0
Oct 12 13:35:30 lophelia kernel: [408726.077741]  [<ffffffff81371083>] ? complete_change_console+0x53/0xe0
Oct 12 13:35:30 lophelia kernel: [408726.077743]  [<ffffffff81372059>] ? vt_ioctl+0xf49/0x10d0
Oct 12 13:35:30 lophelia kernel: [408726.077755]  [<ffffffffa00d3c60>] ? drm_setmaster_ioctl+0xd0/0xd0 [drm]
Oct 12 13:35:30 lophelia kernel: [408726.077756]  [<ffffffff8136617c>] ? tty_ioctl+0x26c/0xb40
Oct 12 13:35:30 lophelia kernel: [408726.077760]  [<ffffffff811e2c9c>] ? fsnotify+0x23c/0x300
Oct 12 13:35:30 lophelia kernel: [408726.077763]  [<ffffffff811ba4ef>] ? do_vfs_ioctl+0x2cf/0x4b0
Oct 12 13:35:30 lophelia kernel: [408726.077765]  [<ffffffff811aa54d>] ? __sb_end_write+0x2d/0x70
Oct 12 13:35:30 lophelia kernel: [408726.077768]  [<ffffffff811a82d2>] ? vfs_write+0x172/0x1f0
Oct 12 13:35:30 lophelia kernel: [408726.077770]  [<ffffffff811ba751>] ? SyS_ioctl+0x81/0xa0
Oct 12 13:35:30 lophelia kernel: [408726.077773]  [<ffffffff81513668>] ? page_fault+0x28/0x30
Oct 12 13:35:30 lophelia kernel: [408726.077775]  [<ffffffff8151164d>] ? system_call_fast_compare_end+0x10/0x15
Oct 12 13:35:30 lophelia kernel: [408726.077777] ---[ end trace 0239e7bc69e050a9 ]---
Oct 12 13:35:30 lophelia kernel: [408726.077780] [drm:intel_pipe_set_base] *ERROR* pipe is still busy with an old pageflip
Oct 12 13:57:05 lophelia kernel: [410020.828792] ------------[ cut here ]------------
Oct 12 13:57:05 lophelia kernel: [410020.828827] WARNING: CPU: 0 PID: 2171 at /build/linux-T4t6fp/linux-3.16.7-ckt11/drivers/gpu/drm/i915/intel_display.c:3324 intel_crtc_wait_for_pending_flips+0x165/0x170 [i915]()
Oct 12 13:57:05 lophelia kernel: [410020.828829] Modules linked in: arc4 ecb md4 hmac nls_utf8 cifs dns_resolver fscache cfg80211 binfmt_misc cpufreq_powersave cpufreq_stats cpufreq_userspace cpufreq_conservative pci_stub vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic x86_pkg_temp_thermal intel_powerclamp iTCO_wdt iTCO_vendor_support intel_rapl coretemp kvm_intel snd_hda_intel snd_hda_controller kvm snd_hda_codec snd_hwdep crc32_pclmul snd_pcm_oss ghash_clmulni_intel snd_mixer_oss cryptd snd_pcm lpc_ich mei_me hp_wmi sparse_keymap rfkill snd_timer psmouse snd mei soundcore pcspkr shpchp tpm_infineon i2c_i801 serio_raw mfd_core tpm_tis tpm evdev processor loop fuse parport_pc ppdev lp parport autofs4 ext4 crc16 mbcache jbd2 btrfs xor usb_storage raid6_pq vga16fb vgastate uvesafb sg sd_mod crc_t10dif sr_mod crct10dif_generic cdrom ahci ehci_pci libahci ata_generic ehci_hcd crct10dif_pclmul crct10dif_common crc32c_intel i915 libata video i2c_algo_bit drm_kms_helper e1000e drm ptp usbcore pps_core i2c_core scsi_mod usb_common thermal_sys wmi button
Oct 12 13:57:05 lophelia kernel: [410020.828897] CPU: 0 PID: 2171 Comm: Xorg Tainted: G        W  O  3.16.0-4-amd64 #1 Debian 3.16.7-ckt11-1+deb8u4
Oct 12 13:57:05 lophelia kernel: [410020.828900] Hardware name: Hewlett-Packard HP Compaq 6200 Pro SFF PC/1497, BIOS J01 v02.01 04/06/2011
Oct 12 13:57:05 lophelia kernel: [410020.828902]  0000000000000009 ffffffff8150b465 0000000000000000 ffffffff81067767
Oct 12 13:57:05 lophelia kernel: [410020.828905]  0000000000000000 ffff880127c1f000 ffff8800c5cd8210 ffff8800c1f88000
Oct 12 13:57:05 lophelia kernel: [410020.828908]  ffff8800c1f88000 ffffffffa02d8dc5 0000000000000000 ffff880128fe3630
Oct 12 13:57:05 lophelia kernel: [410020.828911] Call Trace:
Oct 12 13:57:05 lophelia kernel: [410020.828919]  [<ffffffff8150b465>] ? dump_stack+0x41/0x51
Oct 12 13:57:05 lophelia kernel: [410020.828924]  [<ffffffff81067767>] ? warn_slowpath_common+0x77/0x90
Oct 12 13:57:05 lophelia kernel: [410020.828940]  [<ffffffffa02d8dc5>] ? intel_crtc_wait_for_pending_flips+0x165/0x170 [i915]
Oct 12 13:57:05 lophelia kernel: [410020.828945]  [<ffffffff810a7a40>] ? prepare_to_wait_event+0xf0/0xf0
Oct 12 13:57:05 lophelia kernel: [410020.828959]  [<ffffffffa02dbf10>] ? intel_crtc_disable_planes+0x30/0x1a0 [i915]
Oct 12 13:57:05 lophelia kernel: [410020.828972]  [<ffffffffa02dc495>] ? ironlake_crtc_disable+0x45/0x900 [i915]
Oct 12 13:57:05 lophelia kernel: [410020.828987]  [<ffffffffa02dda93>] ? __intel_set_mode+0x293/0x1560 [i915]
Oct 12 13:57:05 lophelia kernel: [410020.828991]  [<ffffffff8118fe54>] ? __kmalloc+0x4b4/0x4c0
Oct 12 13:57:05 lophelia kernel: [410020.829005]  [<ffffffffa02e1372>] ? intel_set_mode+0x12/0x30 [i915]
Oct 12 13:57:05 lophelia kernel: [410020.829019]  [<ffffffffa02e227f>] ? intel_crtc_set_config+0x8cf/0xd50 [i915]
Oct 12 13:57:05 lophelia kernel: [410020.829023]  [<ffffffff8150f7e4>] ? __ww_mutex_lock+0x14/0x85
Oct 12 13:57:05 lophelia kernel: [410020.829036]  [<ffffffffa00d8d11>] ? drm_mode_set_config_internal+0x61/0xe0 [drm]
Oct 12 13:57:05 lophelia kernel: [410020.829047]  [<ffffffffa00d974a>] ? drm_framebuffer_remove+0xca/0x110 [drm]
Oct 12 13:57:05 lophelia kernel: [410020.829058]  [<ffffffffa00dd45f>] ? drm_mode_rmfb+0xdf/0x110 [drm]
Oct 12 13:57:05 lophelia kernel: [410020.829067]  [<ffffffffa00cd8b7>] ? drm_ioctl+0x1c7/0x5b0 [drm]
Oct 12 13:57:05 lophelia kernel: [410020.829073]  [<ffffffff811bdc9e>] ? dput+0x9e/0x170
Oct 12 13:57:05 lophelia kernel: [410020.829077]  [<ffffffff811ba4ef>] ? do_vfs_ioctl+0x2cf/0x4b0
Oct 12 13:57:05 lophelia kernel: [410020.829081]  [<ffffffff810851ac>] ? task_work_run+0x9c/0xd0
Oct 12 13:57:05 lophelia kernel: [410020.829084]  [<ffffffff811ba751>] ? SyS_ioctl+0x81/0xa0
Oct 12 13:57:05 lophelia kernel: [410020.829087]  [<ffffffff8151190a>] ? int_signal+0x12/0x17
Oct 12 13:57:05 lophelia kernel: [410020.829091]  [<ffffffff8151164d>] ? system_call_fast_compare_end+0x10/0x15
Oct 12 13:57:05 lophelia kernel: [410020.829093] ---[ end trace 0239e7bc69e050aa ]---
Oct 12 14:05:58 lophelia pulseaudio[6463]: Stale PID file, overwriting
.
Daan

Re: Please help me find the cause of freeze ups

Post by Daan »

Just as a note to however reads this (maybe my work's helpdesk): logging into my frozen computer hasn't worked last couple of times I've tried.
Locked

Return to “LMDE Archive”