You are not logged in.

#1 2016-10-10 12:48:56

Rilton Farstrider
Member
Registered: 2016-10-10
Posts: 1

Total system freeze

I've been having total systems freezes under certain conditions. The freeze happens generally when I'm watching an HTML5 video, such as youtube. Within 10 minutes or so into the video I get a system freeze, every time. I couldn't find a solution so I started watching youtube on VLC by inputting the link. After a week the system started to crash with VLC as well.

During system freeze:
1. Keyboard unresponsive, numlock and caps lock lights don't change.
2. Sysrq keys don't work (are enabled).
3. Audio loop from video, 1-2 seconds loop.
4. Power button doesn't work.

I've monitored my memory usage and I didn't see any leaks from it during the crash.

(~)uname -a
Linux Archy 4.7.6-1-ARCH #1 SMP PREEMPT Fri Sep 30 19:28:42 CEST 2016 x86_64 GNU/Linux

(~)lspci -v | grep VGA
VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09) (prog-if 00 [VGA controller])

Journalctl right before crash, had to force shutdown and restart:

(~)journalctl --since=today
~~
Oct 10 13:49:17 Archy kernel: fuse init (API version 7.25)
Oct 10 13:49:17 Archy systemd[1]: Mounting FUSE Control File System...
Oct 10 13:49:17 Archy systemd[1]: Mounted FUSE Control File System.
Oct 10 13:49:18 Archy dbus[480]: [system] Activating via systemd: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service'
Oct 10 13:49:18 Archy systemd[1]: Starting RealtimeKit Scheduling Policy Service...
Oct 10 13:49:18 Archy dbus[480]: [system] Successfully activated service 'org.freedesktop.RealtimeKit1'
Oct 10 13:49:18 Archy systemd[1]: Started RealtimeKit Scheduling Policy Service.
Oct 10 13:49:18 Archy rtkit-daemon[875]: Successfully called chroot.
Oct 10 13:49:18 Archy rtkit-daemon[875]: Successfully dropped privileges.
Oct 10 13:49:18 Archy rtkit-daemon[875]: Successfully limited resources.
Oct 10 13:49:18 Archy rtkit-daemon[875]: Running.
Oct 10 13:49:18 Archy rtkit-daemon[875]: Canary thread running.
Oct 10 13:49:18 Archy rtkit-daemon[875]: Watchdog thread running.
Oct 10 13:49:18 Archy rtkit-daemon[875]: Successfully made thread 839 of process 839 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
Oct 10 13:49:18 Archy rtkit-daemon[875]: Supervising 1 threads of 1 processes of 1 users.
Oct 10 13:49:19 Archy rtkit-daemon[875]: Supervising 1 threads of 1 processes of 1 users.
Oct 10 13:49:19 Archy rtkit-daemon[875]: Successfully made thread 901 of process 839 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
Oct 10 13:49:19 Archy rtkit-daemon[875]: Supervising 2 threads of 1 processes of 1 users.
Oct 10 13:49:19 Archy rtkit-daemon[875]: Supervising 2 threads of 1 processes of 1 users.
Oct 10 13:49:19 Archy rtkit-daemon[875]: Successfully made thread 908 of process 839 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
Oct 10 13:49:19 Archy rtkit-daemon[875]: Supervising 3 threads of 1 processes of 1 users.
Oct 10 13:49:19 Archy rtkit-daemon[875]: Supervising 3 threads of 1 processes of 1 users.
Oct 10 13:49:19 Archy rtkit-daemon[875]: Successfully made thread 909 of process 839 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
Oct 10 13:49:19 Archy rtkit-daemon[875]: Supervising 4 threads of 1 processes of 1 users.
Oct 10 14:03:40 Archy systemd[1]: Starting Cleanup of Temporary Directories...
Oct 10 14:03:41 Archy systemd[1]: Started Cleanup of Temporary Directories.
Oct 10 14:11:36 Archy wpa_supplicant[559]: wlp7s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-45 noise=9999 txrate=433300
Oct 10 14:16:58 Archy systemd-udevd[23841]: Process '/usr/bin/tlp auto' failed with exit code 4.
Oct 10 14:16:58 Archy kernel: ahci 0000:00:1f.2: port does not support device sleep
-- Reboot --
Oct 10 14:52:42 Archy systemd-journald[152]: Runtime journal (/run/log/journal/) is 8.0M, max 395.1M, 387.1M free.
Oct 10 14:52:43 Archy systemd-journald[152]: System journal (/var/log/journal/) is 288.0M, max 4.0G, 3.7G free.
Oct 10 14:52:44 Archy systemd-journald[152]: Time spent on flushing to /var is 448.565ms for 2 entries.
Oct 10 14:52:44 Archy kernel: Linux version 4.7.6-1-ARCH (builduser@tobias) (gcc version 6.2.1 20160830 (GCC) ) #1 SMP PREEMPT Fri Sep 30 19:28:42 CEST 2016
~~

P.S. My first Arch build.

Last edited by Rilton Farstrider (2016-10-10 12:49:49)

Offline

#2 2016-10-10 15:16:51

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: Total system freeze

Hello and welcome here.
You know that Arch Linux forum is not very prone to hand holding, so you have to show some efforts searching by yourself first.
The systemd journal you posted doesn't show anything, but there are many threads about intel GPU and intel or modesetting drivers, or about freezes.
So search first and tell what you found and why this is not what you need.
See you soon again with more work from your part.

Offline

#3 2016-10-17 06:33:41

SeoDisparate
Member
Registered: 2015-09-12
Posts: 10

Re: Total system freeze

I recently started having the same issue.

Sysrq (REISUB) keys don't work during the freeze as well (system is completely unresponsive), and it occurs while watching a video on Youtube, so I'm certain I have the same bug.

Journalctl has no logs around the time of the freeze (with syslog-ng enabled as well for those apps that don't utilize systemd logs).

This freeze has occured on both my systems, a laptop and a desktop.

Any ideas on what I should do to further diagnose the problem?

EDIT: Note I tried running the instance of Firefox in firejail, and it seems to have no effect (freeze would still occur).

EDIT2: Note I'm using the linux-grsec kernel (unmodified) on both systems. Not sure if this info has any significance but I figure it's worth mentioning.

Last edited by SeoDisparate (2016-10-17 06:38:41)

Offline

#4 2016-10-17 08:51:31

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: Total system freeze

Same symptoms don't mean same cause.
The most probable cause for total freezes, in my opinion, is hardware related.
Could you test with a live linux distro, doing exactly the same things and watching Youtube videos, and see if the freezes still occur.

Offline

#5 2016-10-17 12:15:45

SeoDisparate
Member
Registered: 2015-09-12
Posts: 10

Re: Total system freeze

berbae wrote:

Could you test with a live linux distro, doing exactly the same things and watching Youtube videos, and see if the freezes still occur.

By "live linux distro" I do you mean a virtualized machine or live as in a live installation medium environment?

In the meantime I will be testing with an Arch Linux vm with qemu, I hope that's ok and what you mean.

Offline

#6 2016-10-17 14:35:55

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: Total system freeze

SeoDisparate wrote:

By "live linux distro" I do you mean a virtualized machine or live as in a live installation medium environment?

I meant a live installation CD/DVD or USB stick of a distro like Ubuntu.

If there are no freezes after enough time using it in the same way as the installed system, a hardware issue could be eliminated.
And a configuration problem is then probably the cause of the freezes.

Offline

#7 2016-10-20 22:40:19

20721
Member
Registered: 2016-10-20
Posts: 6

Re: Total system freeze

I have the same problem after  my arch updated to Linux Archy 4.7.6-1-ARCH my computer started to freeze. Two days ago I changed the Linux kernel to  LTS Kernel and I thought that fixed the problem but I was wrong, after using my computer for some hours while trying to watch a video  my computer got frozen again!! I have been using fedora on the same computer and so far everything works fine so I guess probably it is software related. Any suggestions?

Offline

#8 2016-10-21 09:08:19

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: Total system freeze

20721 wrote:

I have been using fedora on the same computer and so far everything works fine so I guess probably it is software related.

What kernel Fedora uses? What graphical driver? I don't even know if it uses systemd.

And you didn't say anything about your machine: is it old, recent?
Do some researches and come again with more detailed infos.

Offline

#9 2016-10-21 16:51:22

20721
Member
Registered: 2016-10-20
Posts: 6

Re: Total system freeze

berbae wrote:
20721 wrote:

I have been using fedora on the same computer and so far everything works fine so I guess probably it is software related.

What kernel Fedora uses? What graphical driver? I don't even know if it uses systemd.

And you didn't say anything about your machine: is it old, recent?
Do some researches and come again with more detailed infos.


This is the information about my computer:

Linux Archpc 4.4.25-1-lts #1 SMP Sun Oct 16 19:53:04 CEST 2016 x86_64 GNU/Linux

lscpu:

Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                8
On-line CPU(s) list:   0-7
Thread(s) per core:    2
Core(s) per socket:    4
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 60
Model name:            Intel(R) Core(TM) i7-4712HQ CPU @ 2.30GHz
Stepping:              3
CPU MHz:               2715.976
CPU max MHz:           3300.0000
CPU min MHz:           800.0000
BogoMIPS:              4589.40
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              6144K
NUMA node0 CPU(s):     0-7

lspci :

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:04.0 Signal processing controller: Intel Corporation Device 0c03 (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 (rev d5)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM87 Express LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
00:1f.6 Signal processing controller: Intel Corporation 8 Series Chipset Family Thermal Management Controller (rev 05)
02:00.0 3D controller: NVIDIA Corporation GK107GLM [Quadro K1100M] (rev a1)
06:00.0 Network controller: Intel Corporation Wireless 7260 (rev bb)
07:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5249 PCI Express Card Reader (rev 01)

The kernel in fedora is 3.17.4-301.fc21 x86_64

Last edited by 20721 (2016-10-21 17:51:46)

Offline

#10 2016-10-21 22:24:16

seth
Member
Registered: 2012-09-03
Posts: 50,927

Re: Total system freeze

> 02:00.0 3D controller: NVIDIA Corporation GK107GLM [Quadro K1100M] (rev a1)

nvidia or nouveau? How do you play the video? Does it make a difference if you use the xv or vdpau sink? (only relevant for nvidia, you can control this with eg. mplayer as media player)
Also you need to qualify "freeze" - does the keyboard react (numlock leds)? can you still switch the VT or ping the machine?

Offline

#11 2016-10-23 00:37:04

20721
Member
Registered: 2016-10-20
Posts: 6

Re: Total system freeze

When the computer Freeze nothing works, no even the keyboard. I have to nouveau. About the xv or vdpau sink I not really know how to answer this question.  How can I check if I use xv or vdpau sink? I haven't checked if I can ping but I will check it.  I can't switch to VT when it Freeze.

Offline

#12 2016-10-23 08:07:07

seth
Member
Registered: 2012-09-03
Posts: 50,927

Re: Total system freeze

"I have to nouveau"? No? Should be supported by current nvidia blob.

mplayer -vo xv foo.mp4
mplayer -vo vdpau foo.mp4

On "how to check" you first need to answer on "How do you play the video?"

Offline

#13 2016-10-23 21:30:38

20721
Member
Registered: 2016-10-20
Posts: 6

Re: Total system freeze

I have nouveau,  I use xv I don't have even have any vdpau packeges in my arch.  The freeze happens even when I not playing any video. I just sometimes  using some applications and when I try to open another, e.g. GIMP my pc freeze.

Offline

#14 2016-10-24 06:21:33

seth
Member
Registered: 2012-09-03
Posts: 50,927

Re: Total system freeze

There's no vdpau package, but nouveau may not support it, yes.
I'd start by trying the nvidia blob. Also it might be important which DE you use, eg. gnome uses a GL compositor, KDE by default, Gnome on wayland is a general source for all kinds of trouble ...

Offline

#15 2016-10-24 16:20:38

20721
Member
Registered: 2016-10-20
Posts: 6

Re: Total system freeze

I will try to use nvidia blob that means that I need to remove nouveau? I have gnome version 3.22.1

Offline

#16 2016-10-24 16:41:45

seth
Member
Registered: 2012-09-03
Posts: 50,927

Offline

#17 2016-10-26 21:30:37

20721
Member
Registered: 2016-10-20
Posts: 6

Re: Total system freeze

seth wrote:

You only got to blacklist it. See https://wiki.archlinux.org/index.php/NVIDIA


I am using the Nvidia  driver now. But I still have the same problem.

Offline

#18 2016-11-03 04:12:18

SeoDisparate
Member
Registered: 2015-09-12
Posts: 10

Re: Total system freeze

I expereinced no freezes while playing youtube videos in a LUbuntu live installation environment.

However, I stopped getting freezes on my laptop and desktop, so maybe for me the issue was fixed by an update?

(Wasn't sure if I should post since I stopped getting this issue, but I figure I should at least post my results.)

Offline

Board footer

Powered by FluxBB