Bug 89250 - drm:i915_reset *ERROR* Failed to reset chip: -19
Summary: drm:i915_reset *ERROR* Failed to reset chip: -19
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) other
: medium normal
Assignee: Ian Romanick
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-20 23:17 UTC by balldigy
Modified: 2015-06-03 16:08 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg with drm.debug=0xe kernel parameter (129.90 KB, text/plain)
2015-02-24 04:27 UTC, Derick
Details
GPU crash dump (846.23 KB, text/plain)
2015-02-24 04:29 UTC, Derick
Details
GPU crash dump on the Gentoo machine (845.82 KB, text/plain)
2015-05-27 21:10 UTC, Nick Pershyn
Details
Gentoo kernel .config file (87.69 KB, text/plain)
2015-05-27 21:21 UTC, Nick Pershyn
Details

Description balldigy 2015-02-20 23:17:34 UTC
Initial DMESG output is below. This happened when watching any video at YouTube using the Google Chrome browser.

[ 4342.802482] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 4342.804024] [drm] stuck on render ring
[ 4342.804982] [drm] GPU HANG: ecode 0:0x9f47f9fd, in chrome [6397], reason: Ring hung, action: reset
[ 4342.804985] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[ 4342.804986] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[ 4342.804988] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[ 4342.804989] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[ 4342.804991] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[ 4342.805089] [drm:i915_reset] *ERROR* Failed to reset chip: -19
[ 4394.512886] sd 6:0:0:0: [sdb] Test WP failed, assume Write Enabled
[ 4394.514710] sd 6:0:0:0: [sdb] Asking for cache data failed
Comment 1 balldigy 2015-02-20 23:24:54 UTC
Unable to add attachment of error log.
Comment 2 Paulo Zanoni 2015-02-23 17:41:22 UTC
(In reply to balldigy from comment #1)
> Unable to add attachment of error log.

Why unable? Please notice that since this is a sysfs file, some tools cannot properly work with it. I recommend you to "cat /sys/class/drm/card0/error > /tmp/error.txt", and then manipulate the /tmp/error.txt file as usual.

Also, the next time you reproduce this bug, can you please attach the full dmesg output? It's even better if you're able to boot with drm.debug=0xe as a Kernel parameter before reproducing the problem.

Can you reproduce this problem consistently?
Comment 3 Derick 2015-02-24 04:27:08 UTC
Created attachment 113781 [details]
dmesg with drm.debug=0xe kernel parameter

This is the full dmesg output immediately after the crash occurs. drm.debug=0xe kernel parameter was set at startup
Comment 4 Derick 2015-02-24 04:29:21 UTC
Created attachment 113782 [details]
GPU crash dump

GPU crash dump that was saved to /sys/class/drm/card0/error
Comment 5 Derick 2015-02-24 04:31:19 UTC
I am having the same problem as well. The bug can always be reproduced by viewing a video on Youtube using Google Chrome. I have attached the dmesg output (with drm.debug=0xe) and the GPU crash report that was generated
Comment 6 Nick Pershyn 2015-05-27 21:08:26 UTC
I have exactly the same problem.

# dmesg | tail
[   21.387478] wlp5s0: associated
[   21.387506] IPv6: ADDRCONF(NETDEV_CHANGE): wlp5s0: link becomes ready
[15216.351856] [drm] stuck on render ring
[15216.352995] [drm] GPU HANG: ecode 0:0x9f47f9fd, in chrome [3525], reason: Ring hung, action: reset
[15216.352997] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[15216.352998] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[15216.352999] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[15216.353001] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[15216.353002] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[15216.353258] [drm:i915_reset] *ERROR* Failed to reset chip: -19


Reproducible always by playing a single video on youtube in chromium browser.

My OS is Gentoo Linux. Here is my 'emerge --info':
# emerge --info
Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.8.4, glibc-2.20-r2, 3.18.12-gentoo x86_64)
=================================================================
System uname: Linux-3.18.12-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T5550_@_1.83GHz-with-gentoo-2.2
KiB Mem:     4032320 total,    209656 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 24 May 2015 20:00:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo
dev-util/cmake:           2.8.12.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.14.1::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://gentoo.kiev.ua/gentoo-distfiles ftp://gentoo.kiev.ua/ http://gentoo.kiev.ua/ftp/ http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/ http://gentoo.iteam.net.ua/ ftp://portage.org.ua/ http://portage.org.ua/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran g3dvl gdbm gif glamor gles2 gpm gtk iconv icu ipv6 jack jpeg kde kipi lame lcms ldap libav libnotify lm_sensors lzma mad matroska mmx mmxext mng modules mp3 mp4 mpeg multilib mysql ncurses nls nptl nsplugin ntfs ogg openexr opengl openmp opus pam pango pcre pdf phonon plasma png policykit postscript ppds pulseaudio python qalculate qt3support qt4 readline scanner sdl semantic-desktop session spell sse sse2 sse3 ssl ssse3 startup-notification svg tcpd theora threads tiff tls truetype twolame udev udisks unicode upower usb utf8 v4l vaapi vdpau vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

P.S. I'll add a crash dump
Comment 7 Nick Pershyn 2015-05-27 21:10:24 UTC
Created attachment 116099 [details]
GPU crash dump on the Gentoo machine
Comment 8 Nick Pershyn 2015-05-27 21:21:43 UTC
Created attachment 116100 [details]
Gentoo kernel .config file
Comment 9 Ville Syrjala 2015-05-29 16:52:41 UTC
What's your Mesa version? Can you try updating to 10.4.3+ or 10.5+. Those should have some gen4+chrome hang fixes.

Also if you update your kernel to 3.19+ then the GPU reset should actually work, and so you wouldn't need to reboot after each hang.
Comment 10 Nick Pershyn 2015-05-30 16:54:46 UTC
I've updated the system from mesa-10.3.7-r1 to mesa-10.5.6. The problem seems to be solved. Will test for several days.

Thanks!
Comment 11 Ander Conselvan de Oliveira 2015-06-03 16:08:23 UTC
(In reply to Nick Pershyn from comment #10)
> I've updated the system from mesa-10.3.7-r1 to mesa-10.5.6. The problem
> seems to be solved. Will test for several days.

Please reopen if still seen with mesa 10.5 or later.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.