[Bug 103076] New: GPU HANG: DMAR: DRHD: handling fault status reg 3

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 3 13:04:18 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=103076

            Bug ID: 103076
           Summary: GPU HANG: DMAR: DRHD: handling fault status reg 3
           Product: DRI
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: DRM/Intel
          Assignee: intel-gfx-bugs at lists.freedesktop.org
          Reporter: eblau at eblau.com
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
                CC: intel-gfx-bugs at lists.freedesktop.org

System Architecture: x86_64
Kernel Version:      4.13.3-1-ARCH
Linux Distribution:  Arch Linux
Machine:             MacBook Pro 12,1
Display Connector:   Thunderbolt to DisplayPort (2 external monitors both
connected via Thunderbolt, laptop display disabled)

I hit the following GPU hang when logging in to X and starting my normal set of
running applications. I never make it more than 5 minutes before the entire X
session hangs and requires a hard reboot. I have not been able to capture the
error file for the hang for this reason.

The problem occurs reliably and makes Linux 4.13.3 unusable for me. Reverting
to 4.12.13 makes the problem go away.

Oct 03 08:34:49 eric-macbookpro kernel: DMAR: DRHD: handling fault status reg 3
Oct 03 08:34:49 eric-macbookpro kernel: DMAR: [DMA Write] Request device
[00:02.0] fault addr 2e4a000 [fault reason 23] Unknown
Oct 03 08:35:00 eric-macbookpro kernel: asynchronous wait on fence
i915:Xorg[2616]/0:245b timed out
Oct 03 08:35:00 eric-macbookpro kernel: asynchronous wait on fence
i915:Xorg[2616]/0:245a timed out
Oct 03 08:35:00 eric-macbookpro kernel: [drm] GPU HANG: ecode 8:0:0x85dffffb,
in chromium [6927], reason: Hang on rcs0, action: reset
Oct 03 08:35:00 eric-macbookpro kernel: [drm] GPU hangs can indicate a bug
anywhere in the entire gfx stack, including userspace.
Oct 03 08:35:00 eric-macbookpro kernel: [drm] Please file a _new_ bug report on
bugs.freedesktop.org against DRI -> DRM/Intel
Oct 03 08:35:00 eric-macbookpro kernel: [drm] drm/i915 developers can then
reassign to the right component if it's not a kernel issue.
Oct 03 08:35:00 eric-macbookpro kernel: [drm] The gpu crash dump is required to
analyze gpu hangs, so please always attach it.
Oct 03 08:35:00 eric-macbookpro kernel: [drm] GPU crash dump saved to
/sys/class/drm/card0/error
Oct 03 08:35:00 eric-macbookpro kernel: drm/i915: Resetting chip after gpu hang
Oct 03 08:35:10 eric-macbookpro kernel: [drm:drm_atomic_helper_swap_state
[drm_kms_helper]] *ERROR* [CRTC:46:pipe C] hw_done timed out
Oct 03 08:35:11 eric-macbookpro kernel: asynchronous wait on fence
i915:Xorg[2616]/0:2469 timed out
Oct 03 08:35:11 eric-macbookpro kernel: asynchronous wait on fence
i915:Xorg[2616]/0:2468 timed out
Oct 03 08:35:14 eric-macbookpro kernel: drm/i915: Resetting chip after gpu hang
Oct 03 08:35:20 eric-macbookpro kernel:
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR*
[CRTC:46:pipe C] hw_done timed out
Oct 03 08:35:21 eric-macbookpro kernel:
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR*
[CRTC:46:pipe C] hw_done timed out
Oct 03 08:35:30 eric-macbookpro kernel:
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR*
[CRTC:46:pipe C] flip_done timed out
Oct 03 08:35:31 eric-macbookpro kernel:
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR*
[CRTC:46:pipe C] flip_done timed out
Oct 03 08:35:31 eric-macbookpro kernel: general protection fault: 0000 [#1]
PREEMPT SMP
Oct 03 08:35:31 eric-macbookpro kernel: Modules linked in: fuse cmac bnep
snd_hda_codec_hdmi nls_iso8859_1 nls_cp437 vfat fat brcmfmac brcmutil cfg80211
sch_fq_codel iTCO_wdt iTCO_vendor_support mmc_core snd_hda_codec_cirrus
snd_hda_codec_generic thunderbolt s
Oct 03 08:35:31 eric-macbookpro kernel:  button facetimehd(O) videobuf2_dma_sg
videobuf2_memops videobuf2_v4l2 videobuf2_core videodev media ip_tables
x_tables zfs(PO) zunicode(PO) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O)
algif_skcipher af_alg hid_apple
Oct 03 08:35:31 eric-macbookpro kernel: CPU: 0 PID: 157 Comm: kworker/u8:4
Tainted: P           O    4.13.3-1-ARCH #1
Oct 03 08:35:31 eric-macbookpro kernel: Hardware name: Apple Inc.
MacBookPro12,1/Mac-E43C1C25D4880AD6, BIOS MBP121.88Z.0167.B33.1706181928
06/18/2017
Oct 03 08:35:31 eric-macbookpro kernel: Workqueue: events_unbound
intel_atomic_commit_work [i915]
Oct 03 08:35:31 eric-macbookpro kernel: task: ffff893be4ee2d00 task.stack:
ffffb4eb01230000
Oct 03 08:35:31 eric-macbookpro kernel: RIP:
0010:__mutex_lock.isra.2+0x33d/0x520
Oct 03 08:35:31 eric-macbookpro kernel: RSP: 0000:ffffb4eb01233bc0 EFLAGS:
00010206
Oct 03 08:35:31 eric-macbookpro kernel: RAX: 260f120f3af4fe00 RBX:
ffff893bb31da000 RCX: 0000000000000000
Oct 03 08:35:31 eric-macbookpro kernel: RDX: 260f120f3af4fe07 RSI:
ffff893be4ee2d00 RDI: ffff893bb31e09a0
Oct 03 08:35:31 eric-macbookpro kernel: RBP: ffffb4eb01233c60 R08:
ffff893b04683200 R09: 0000000000000004
Oct 03 08:35:31 eric-macbookpro kernel: R10: ffffb4eb01233c80 R11:
ffffffff8eca248d R12: ffff893bb31d9800
Oct 03 08:35:31 eric-macbookpro kernel: R13: 0000000000000002 R14:
ffff893bb31db800 R15: ffff893bb31e09a0
Oct 03 08:35:31 eric-macbookpro kernel: FS:  0000000000000000(0000)
GS:ffff893beec00000(0000) knlGS:0000000000000000
Oct 03 08:35:31 eric-macbookpro kernel: CS:  0010 DS: 0000 ES: 0000 CR0:
0000000080050033
Oct 03 08:35:31 eric-macbookpro kernel: CR2: 000006a1a808f000 CR3:
00000001f436d000 CR4: 00000000003406f0
Oct 03 08:35:31 eric-macbookpro kernel: Call Trace:
Oct 03 08:35:31 eric-macbookpro kernel:  ? vprintk_emit+0x28e/0x300
Oct 03 08:35:31 eric-macbookpro kernel:  __mutex_lock_slowpath+0x13/0x20
Oct 03 08:35:31 eric-macbookpro kernel:  ? __mutex_lock_slowpath+0x13/0x20
Oct 03 08:35:31 eric-macbookpro kernel:  mutex_lock+0x25/0x30
Oct 03 08:35:31 eric-macbookpro kernel:  ilk_initial_watermarks+0x28/0x60
[i915]
Oct 03 08:35:31 eric-macbookpro kernel:  intel_pre_plane_update+0xa8/0x130
[i915]
Oct 03 08:35:31 eric-macbookpro kernel:  intel_update_crtc+0xc1/0xe0 [i915]
Oct 03 08:35:31 eric-macbookpro kernel:  intel_update_crtcs+0x5b/0x80 [i915]
Oct 03 08:35:31 eric-macbookpro kernel:  intel_atomic_commit_tail+0x24b/0xf80
[i915]
Oct 03 08:35:31 eric-macbookpro kernel:  ? ttwu_do_wakeup+0x1e/0x160
Oct 03 08:35:31 eric-macbookpro kernel:  ? try_to_wake_up+0x59/0x450
Oct 03 08:35:31 eric-macbookpro kernel:  intel_atomic_commit_work+0x12/0x20
[i915]
Oct 03 08:35:31 eric-macbookpro kernel:  process_one_work+0x1de/0x430
Oct 03 08:35:31 eric-macbookpro kernel:  worker_thread+0x47/0x3f0
Oct 03 08:35:31 eric-macbookpro kernel:  kthread+0x125/0x140
Oct 03 08:35:31 eric-macbookpro kernel:  ? process_one_work+0x430/0x430
Oct 03 08:35:31 eric-macbookpro kernel:  ? kthread_create_on_node+0x70/0x70
Oct 03 08:35:31 eric-macbookpro kernel:  ret_from_fork+0x25/0x30
Oct 03 08:35:31 eric-macbookpro kernel: Code: 48 89 c2 e9 3b ff ff ff 48 89 d1
48 83 e1 fd 48 89 d0 48 09 f1 f0 49 0f b1 0f 48 39 c2 0f 84 1d fe ff ff 48 89
c2 e9 8e fe ff ff <8b> 50 60 85 d2 74 12 8b 78 64 48 31 c0 0f 1f 40 00 84 c0 0f
84 
Oct 03 08:35:31 eric-macbookpro kernel: RIP: __mutex_lock.isra.2+0x33d/0x520
RSP: ffffb4eb01233bc0
Oct 03 08:35:31 eric-macbookpro kernel: ---[ end trace e67b8bbb2fa05ad5 ]---
Oct 03 08:35:31 eric-macbookpro kernel: note: kworker/u8:4[157] exited with
preempt_count 1
Oct 03 08:35:46 eric-macbookpro kernel: [drm:drm_atomic_helper_swap_state
[drm_kms_helper]] *ERROR* [CRTC:46:pipe C] hw_done timed out
Oct 03 08:35:56 eric-macbookpro kernel:
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR*
[CRTC:46:pipe C] hw_done timed out
Oct 03 08:36:06 eric-macbookpro kernel:
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR*
[CRTC:46:pipe C] flip_done timed out
Oct 03 08:36:21 eric-macbookpro kernel: [drm:drm_atomic_helper_swap_state
[drm_kms_helper]] *ERROR* [CRTC:46:pipe C] hw_done timed out
Oct 03 08:36:31 eric-macbookpro kernel:
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR*
[CRTC:46:pipe C] hw_done timed out
Oct 03 08:36:41 eric-macbookpro kernel:
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR*
[CRTC:46:pipe C] flip_done timed out
Oct 03 08:36:56 eric-macbookpro kernel: [drm:drm_atomic_helper_swap_state
[drm_kms_helper]] *ERROR* [CRTC:46:pipe C] hw_done timed out
Oct 03 08:37:06 eric-macbookpro kernel:
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR*
[CRTC:46:pipe C] hw_done timed out
Oct 03 08:37:16 eric-macbookpro kernel:
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR*
[CRTC:46:pipe C] flip_done timed out
Oct 03 08:37:31 eric-macbookpro kernel: [drm:drm_atomic_helper_swap_state
[drm_kms_helper]] *ERROR* [CRTC:46:pipe C] hw_done timed out
Oct 03 08:37:41 eric-macbookpro kernel:
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR*
[CRTC:46:pipe C] hw_done timed out
Oct 03 08:37:51 eric-macbookpro kernel:
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR*
[CRTC:46:pipe C] flip_done timed out
Oct 03 08:38:06 eric-macbookpro kernel: [drm:drm_atomic_helper_swap_state
[drm_kms_helper]] *ERROR* [CRTC:46:pipe C] hw_done timed out
Oct 03 08:38:16 eric-macbookpro kernel:
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR*
[CRTC:46:pipe C] hw_done timed out
Oct 03 08:38:26 eric-macbookpro kernel:
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR*
[CRTC:46:pipe C] flip_done timed out
Oct 03 08:38:37 eric-macbookpro kernel: [drm:drm_atomic_helper_swap_state
[drm_kms_helper]] *ERROR* [CRTC:46:pipe C] hw_done timed out
Oct 03 08:38:47 eric-macbookpro kernel:
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR*
[CRTC:46:pipe C] hw_done timed out
Oct 03 08:38:57 eric-macbookpro kernel:
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR*
[CRTC:46:pipe C] flip_done timed out
Oct 03 08:38:57 eric-macbookpro systemd[1]: Started Getty on tty2.
Oct 03 08:39:07 eric-macbookpro acpid[2423]: client 2616[0:0] has disconnected
Oct 03 08:40:29 eric-macbookpro acpid[2423]: client connected from 2616[0:0]
Oct 03 08:40:29 eric-macbookpro acpid[2423]: 1 client rule loaded
Oct 03 08:40:40 eric-macbookpro kernel: [drm:drm_atomic_helper_swap_state
[drm_kms_helper]] *ERROR* [CRTC:46:pipe C] hw_done timed out
Oct 03 08:40:50 eric-macbookpro kernel:
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR*
[CRTC:46:pipe C] hw_done timed out
Oct 03 08:41:00 eric-macbookpro kernel:
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR*
[CRTC:46:pipe C] flip_done timed out
Oct 03 08:41:10 eric-macbookpro kernel: [drm:drm_atomic_helper_swap_state
[drm_kms_helper]] *ERROR* [CRTC:46:pipe C] hw_done timed out
Oct 03 08:41:20 eric-macbookpro kernel:
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR*
[CRTC:46:pipe C] hw_done timed out
Oct 03 08:41:30 eric-macbookpro kernel:
[drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR*
[CRTC:46:pipe C] flip_done timed out

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20171003/afa875c2/attachment-0001.html>


More information about the intel-gfx-bugs mailing list