Public bug reported:

I wanted to test a snap application called clementine and opened up
preferences after it was launched and playing music. After clicking on
something my whole system hanged.

Regardless of the app, I decided to lookup how something like that could
manage to "kill" the whole system and make it completely unresponsive.

Device info is in the collected information attached. I am using NVIDIA
1060 as a primary graphics card.

I have persistent journald logging enabled so the kernel log was saved
up to a certain point.

The interesting part is here, too bad I could not get
/sys/class/drm/card1/error state:

окт 28 19:45:03 blade org.gnome.Nautilus[5312]: libGL error: MESA-LOADER: 
failed to retrieve device information
окт 28 19:45:03 blade kernel: kauditd_printk_skb: 6 callbacks suppressed
окт 28 19:45:03 blade kernel: audit: type=1400 audit(1509209103.252:186): 
apparmor="DENIED" operation="open" profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:
окт 28 19:45:03 blade kernel: audit: type=1400 audit(1509209103.252:187): 
apparmor="DENIED" operation="open" profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:
окт 28 19:45:03 blade kernel: audit: type=1400 audit(1509209103.252:188): 
apparmor="DENIED" operation="open" profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:
окт 28 19:45:03 blade kernel: audit: type=1400 audit(1509209103.252:189): 
apparmor="DENIED" operation="open" profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:
окт 28 19:45:03 blade kernel: audit: type=1400 audit(1509209103.252:190): 
apparmor="DENIED" operation="open" profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:
окт 28 19:45:03 blade kernel: audit: type=1400 audit(1509209103.252:191): 
apparmor="DENIED" operation="open" profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:
окт 28 19:45:03 blade kernel: audit: type=1400 audit(1509209103.252:192): 
apparmor="DENIED" operation="open" profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:
окт 28 19:45:03 blade kernel: audit: type=1400 audit(1509209103.252:193): 
apparmor="DENIED" operation="open" profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:
окт 28 19:45:03 blade org.gnome.Nautilus[5312]: libGL error: Version 4 or later 
of flush extension not found
окт 28 19:45:03 blade org.gnome.Nautilus[5312]: libGL error: failed to load 
driver: i915
окт 28 19:45:03 blade audit[13782]: AVC apparmor="DENIED" operation="open" 
profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:02.0/revision" pid=13782 comm="cle
окт 28 19:45:03 blade kernel: audit: type=1400 audit(1509209103.346:194): 
apparmor="DENIED" operation="open" profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:
окт 28 19:45:03 blade kernel: audit: type=1400 audit(1509209103.346:195): 
apparmor="DENIED" operation="open" profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:
окт 28 19:45:03 blade audit[13782]: AVC apparmor="DENIED" operation="open" 
profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:02.0/config" pid=13782 comm="cleme
окт 28 19:45:03 blade audit[13782]: AVC apparmor="DENIED" operation="open" 
profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:02.0/revision" pid=13782 comm="cle
окт 28 19:45:03 blade audit[13782]: AVC apparmor="DENIED" operation="open" 
profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:02.0/config" pid=13782 comm="cleme
окт 28 19:45:03 blade org.gnome.Nautilus[5312]: libGL error: MESA-LOADER: 
failed to retrieve device information
окт 28 19:45:03 blade gnome-shell[5472]: STACK_OP_ADD: window 0x4800095 already 
in stack
окт 28 19:45:03 blade gnome-shell[5472]: STACK_OP_ADD: window 0x4800095 already 
in stack
окт 28 19:45:03 blade org.gnome.Nautilus[5312]: [projectM] Allocating idle 
preset...
окт 28 19:45:03 blade org.gnome.Nautilus[5312]: [PresetFactory] path is Geiss & 
Sperl - Feedback (projectM idle HDR mix).milk
окт 28 19:45:03 blade org.gnome.Nautilus[5312]: [PresetFactory] url is 
idle://Geiss & Sperl - Feedback (projectM idle HDR mix).milk
окт 28 19:45:09 blade kernel: [drm] GPU HANG: ecode 9:0:0xefdffffe, in 
clementine [13782], reason: Hang on rcs0, action: reset
окт 28 19:45:09 blade kernel: [drm] GPU hangs can indicate a bug anywhere in 
the entire gfx stack, including userspace.
окт 28 19:45:09 blade kernel: [drm] Please file a _new_ bug report on 
bugs.freedesktop.org against DRI -> DRM/Intel
окт 28 19:45:09 blade kernel: [drm] drm/i915 developers can then reassign to 
the right component if it's not a kernel issue.
окт 28 19:45:09 blade kernel: [drm] The gpu crash dump is required to analyze 
gpu hangs, so please always attach it.
окт 28 19:45:09 blade kernel: [drm] GPU crash dump saved to 
/sys/class/drm/card1/error
окт 28 19:45:09 blade kernel: drm/i915: Resetting chip after gpu hang
окт 28 19:45:10 blade /usr/lib/gdm3/gdm-x-session[5304]: (II) event13 - (II) 
COMPANY USB Device: (II) SYN_DROPPED event - some input events have been lost.
окт 28 19:45:10 blade kernel: [drm:gen8_reset_engines [i915]] *ERROR* rcs0: 
reset request timeout
окт 28 19:45:10 blade kernel: [drm:i915_reset [i915]] *ERROR* Failed to reset 
chip: -5

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: linux-image-4.13.0-16-generic 4.13.0-16.19
ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
Uname: Linux 4.13.0-16-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.1
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  dima       6896 F.... pulseaudio
 /dev/snd/controlC1:  dima       6896 F.... pulseaudio
CurrentDesktop: ubuntu:GNOME
Date: Sat Oct 28 19:54:44 2017
InstallationDate: Installed on 2017-02-27 (243 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Alpha amd64 (20170227)
MachineType: Razer Blade
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-16-generic 
root=UUID=3f515c94-cd91-48b4-80f6-84ec24cb7b8f ro rootflags=subvol=@ quiet 
button.lid_init_state=open pcie_aspm=off ath10k_core.debug_mask=0x4041
RelatedPackageVersions:
 linux-restricted-modules-4.13.0-16-generic N/A
 linux-backports-modules-4.13.0-16-generic  N/A
 linux-firmware                             1.169
SourcePackage: linux
UpgradeStatus: Upgraded to artful on 2017-09-13 (44 days ago)
dmi.bios.date: 01/10/2017
dmi.bios.vendor: Razer
dmi.bios.version: 1.00
dmi.board.name: Razer
dmi.board.vendor: Razer
dmi.chassis.type: 9
dmi.chassis.vendor: Razer
dmi.modalias: 
dmi:bvnRazer:bvr1.00:bd01/10/2017:svnRazer:pnBlade:pvr6.06:rvnRazer:rnRazer:rvr:cvnRazer:ct9:cvr:
dmi.product.family: 1A586755
dmi.product.name: Blade
dmi.product.version: 6.06
dmi.sys.vendor: Razer

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: amd64 apport-bug artful

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1728271

Title:
  drm/i915: Resetting chip after gpu hang

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I wanted to test a snap application called clementine and opened up
  preferences after it was launched and playing music. After clicking on
  something my whole system hanged.

  Regardless of the app, I decided to lookup how something like that
  could manage to "kill" the whole system and make it completely
  unresponsive.

  Device info is in the collected information attached. I am using
  NVIDIA 1060 as a primary graphics card.

  I have persistent journald logging enabled so the kernel log was saved
  up to a certain point.

  The interesting part is here, too bad I could not get
  /sys/class/drm/card1/error state:

  окт 28 19:45:03 blade org.gnome.Nautilus[5312]: libGL error: MESA-LOADER: 
failed to retrieve device information
  окт 28 19:45:03 blade kernel: kauditd_printk_skb: 6 callbacks suppressed
  окт 28 19:45:03 blade kernel: audit: type=1400 audit(1509209103.252:186): 
apparmor="DENIED" operation="open" profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:
  окт 28 19:45:03 blade kernel: audit: type=1400 audit(1509209103.252:187): 
apparmor="DENIED" operation="open" profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:
  окт 28 19:45:03 blade kernel: audit: type=1400 audit(1509209103.252:188): 
apparmor="DENIED" operation="open" profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:
  окт 28 19:45:03 blade kernel: audit: type=1400 audit(1509209103.252:189): 
apparmor="DENIED" operation="open" profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:
  окт 28 19:45:03 blade kernel: audit: type=1400 audit(1509209103.252:190): 
apparmor="DENIED" operation="open" profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:
  окт 28 19:45:03 blade kernel: audit: type=1400 audit(1509209103.252:191): 
apparmor="DENIED" operation="open" profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:
  окт 28 19:45:03 blade kernel: audit: type=1400 audit(1509209103.252:192): 
apparmor="DENIED" operation="open" profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:
  окт 28 19:45:03 blade kernel: audit: type=1400 audit(1509209103.252:193): 
apparmor="DENIED" operation="open" profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:
  окт 28 19:45:03 blade org.gnome.Nautilus[5312]: libGL error: Version 4 or 
later of flush extension not found
  окт 28 19:45:03 blade org.gnome.Nautilus[5312]: libGL error: failed to load 
driver: i915
  окт 28 19:45:03 blade audit[13782]: AVC apparmor="DENIED" operation="open" 
profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:02.0/revision" pid=13782 comm="cle
  окт 28 19:45:03 blade kernel: audit: type=1400 audit(1509209103.346:194): 
apparmor="DENIED" operation="open" profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:
  окт 28 19:45:03 blade kernel: audit: type=1400 audit(1509209103.346:195): 
apparmor="DENIED" operation="open" profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:
  окт 28 19:45:03 blade audit[13782]: AVC apparmor="DENIED" operation="open" 
profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:02.0/config" pid=13782 comm="cleme
  окт 28 19:45:03 blade audit[13782]: AVC apparmor="DENIED" operation="open" 
profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:02.0/revision" pid=13782 comm="cle
  окт 28 19:45:03 blade audit[13782]: AVC apparmor="DENIED" operation="open" 
profile="snap.clementine.clementine" 
name="/sys/devices/pci0000:00/0000:00:02.0/config" pid=13782 comm="cleme
  окт 28 19:45:03 blade org.gnome.Nautilus[5312]: libGL error: MESA-LOADER: 
failed to retrieve device information
  окт 28 19:45:03 blade gnome-shell[5472]: STACK_OP_ADD: window 0x4800095 
already in stack
  окт 28 19:45:03 blade gnome-shell[5472]: STACK_OP_ADD: window 0x4800095 
already in stack
  окт 28 19:45:03 blade org.gnome.Nautilus[5312]: [projectM] Allocating idle 
preset...
  окт 28 19:45:03 blade org.gnome.Nautilus[5312]: [PresetFactory] path is Geiss 
& Sperl - Feedback (projectM idle HDR mix).milk
  окт 28 19:45:03 blade org.gnome.Nautilus[5312]: [PresetFactory] url is 
idle://Geiss & Sperl - Feedback (projectM idle HDR mix).milk
  окт 28 19:45:09 blade kernel: [drm] GPU HANG: ecode 9:0:0xefdffffe, in 
clementine [13782], reason: Hang on rcs0, action: reset
  окт 28 19:45:09 blade kernel: [drm] GPU hangs can indicate a bug anywhere in 
the entire gfx stack, including userspace.
  окт 28 19:45:09 blade kernel: [drm] Please file a _new_ bug report on 
bugs.freedesktop.org against DRI -> DRM/Intel
  окт 28 19:45:09 blade kernel: [drm] drm/i915 developers can then reassign to 
the right component if it's not a kernel issue.
  окт 28 19:45:09 blade kernel: [drm] The gpu crash dump is required to analyze 
gpu hangs, so please always attach it.
  окт 28 19:45:09 blade kernel: [drm] GPU crash dump saved to 
/sys/class/drm/card1/error
  окт 28 19:45:09 blade kernel: drm/i915: Resetting chip after gpu hang
  окт 28 19:45:10 blade /usr/lib/gdm3/gdm-x-session[5304]: (II) event13 - (II) 
COMPANY USB Device: (II) SYN_DROPPED event - some input events have been lost.
  окт 28 19:45:10 blade kernel: [drm:gen8_reset_engines [i915]] *ERROR* rcs0: 
reset request timeout
  окт 28 19:45:10 blade kernel: [drm:i915_reset [i915]] *ERROR* Failed to reset 
chip: -5

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: linux-image-4.13.0-16-generic 4.13.0-16.19
  ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
  Uname: Linux 4.13.0-16-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3.1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  dima       6896 F.... pulseaudio
   /dev/snd/controlC1:  dima       6896 F.... pulseaudio
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Oct 28 19:54:44 2017
  InstallationDate: Installed on 2017-02-27 (243 days ago)
  InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Alpha amd64 (20170227)
  MachineType: Razer Blade
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-16-generic 
root=UUID=3f515c94-cd91-48b4-80f6-84ec24cb7b8f ro rootflags=subvol=@ quiet 
button.lid_init_state=open pcie_aspm=off ath10k_core.debug_mask=0x4041
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-16-generic N/A
   linux-backports-modules-4.13.0-16-generic  N/A
   linux-firmware                             1.169
  SourcePackage: linux
  UpgradeStatus: Upgraded to artful on 2017-09-13 (44 days ago)
  dmi.bios.date: 01/10/2017
  dmi.bios.vendor: Razer
  dmi.bios.version: 1.00
  dmi.board.name: Razer
  dmi.board.vendor: Razer
  dmi.chassis.type: 9
  dmi.chassis.vendor: Razer
  dmi.modalias: 
dmi:bvnRazer:bvr1.00:bd01/10/2017:svnRazer:pnBlade:pvr6.06:rvnRazer:rnRazer:rvr:cvnRazer:ct9:cvr:
  dmi.product.family: 1A586755
  dmi.product.name: Blade
  dmi.product.version: 6.06
  dmi.sys.vendor: Razer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1728271/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to