Bug 27159

Summary: i915 drivers hangs on kernel >= 5.7 with some Intel chips
Product: Mageia Reporter: Aurelien Oudelet <ouaurelien>
Component: RPM PackagesAssignee: Kernel and Drivers maintainers <kernel>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: High CC: chmos, choucroot, francis.renet, fri, yvesbrungard
Version: Cauldron   
Target Milestone: Mageia 7   
Hardware: x86_64   
OS: Linux   
Whiteboard: MGA7TOO
Source RPM: kernel-5.7.14-7.mga7.src.rpm CVE:
Status comment:
Attachments: journalctl -b -1 output on affected system.

Description Aurelien Oudelet 2020-08-21 13:00:59 CEST
Created attachment 11815 [details]
journalctl -b -1 output on affected system.

On MLO forums, several users reported systems hang with newest kernel-desktop image but 5.6 series linux kernel works fine on their hardware.

Full discussion here: https://www.mageialinux-online.org/forum/topic-27844-2+noyau-5-7-14-7-mga7-ne-demarre-pas.php

There is:
kernel: i915 0000:00:02.0: GPU HANG: ecode 7:1:8edcfc79, in gnome-shell [2829]
kernel: GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
kernel: Please file a _new_ bug report at https://gitlab.freedesktop.org/drm/intel/issues/new.
kernel: Please see https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs for details.
kernel: drm/i915 developers can then reassign to the right component if it's not a kernel issue.
kernel: The GPU crash dump is required to analyze GPU hangs, so please always attach it.
kernel: GPU crash dump saved to /sys/class/drm/card0/error
kernel: i915 0000:00:02.0: Resetting chip for stopped heartbeat on rcs0
kernel: i915 0000:00:02.0: gnome-shell[2829] context reset due to GPU hang

Assigning to Kernel and Drivers Maintainers.
Aurelien Oudelet 2020-08-21 13:01:31 CEST

Summary: i915 drivers hangs on kernel-desktop-5.7.14-7 with recent Intel chips (CPU0: Intel(R) Pentium(R) CPU G3250T @ 2.80GHz) => i915 drivers hangs on kernel-desktop-5.7.14-7 with some Intel chips (CPU0: Intel(R) Pentium(R) CPU G3250T @ 2.80GHz)

Aurelien Oudelet 2020-08-21 13:02:01 CEST

Source RPM: (none) => kernel-5.7.14-7.mga7.src.rpm

Comment 1 papoteur 2020-08-28 09:58:37 CEST
Maybe related:
https://gitlab.freedesktop.org/drm/intel/-/issues/2024 not yet solved.

CC: (none) => yves.brungard_mageia

Alain Choucroot 2020-09-01 14:03:48 CEST

CC: (none) => choucroot

Comment 2 Christian Müller 2020-11-08 12:11:56 CET
My system is affected, too.

lspcidrake | grep VGA
Card:Intel 810 and later: Intel Corporation|Xeon E3-1200 v3 Processor Integrated Graphics Controller [DISPLAY_VGA] (rev: 06)

Seems there is a patch:
https://gitlab.freedesktop.org/drm/intel/-/issues/2024

CC: (none) => chmos

Comment 3 Morgan Leijström 2020-11-08 14:43:19 CET
According to that issue thread several chips are affected, and also kernel 5.9 is affected and that patch fixed it for a 5.9 user.

Thus setting to cauldron despite no Mageia cauldron user reported it yet. - with mga7too of course.

Version: 7 => Cauldron
Whiteboard: (none) => MGA7TOO
CC: (none) => fri
Summary: i915 drivers hangs on kernel-desktop-5.7.14-7 with some Intel chips (CPU0: Intel(R) Pentium(R) CPU G3250T @ 2.80GHz) => i915 drivers hangs on kernel >= 5.7 with some Intel chips

Comment 4 Francis RENET 2020-11-15 16:54:16 CET
Bug can be corrected in i915_debugfs.c by set critical section whith a mutex.
You could see that on kernel.org.
Chris Wilson correct the bug

CC: (none) => francis.renet

Comment 5 Christian Müller 2020-12-05 14:10:15 CET
fixed for me by kernel 5.9.12 from testing repository.
Comment 6 sturmvogel 2022-07-10 22:11:46 CEST
MGA7 is EOL since June 2021. Based on comment 5 the fix was introduced in kernel 5.9.x


Closing as FIXED.

Resolution: (none) => FIXED
Status: NEW => RESOLVED