Bug 108634 - [CI][SHARDS] igt@kms_flip@flip-vs-expired-vblank - dmesg-fail - Unclaimed write to register 0x2040
Summary: [CI][SHARDS] igt@kms_flip@flip-vs-expired-vblank - dmesg-fail - Unclaimed wri...
Status: CLOSED DUPLICATE of bug 108633
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: Other All
: high normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-02 09:49 UTC by Martin Peres
Modified: 2018-11-02 15:53 UTC (History)
1 user (show)

See Also:
i915 platform: SNB
i915 features: power/Other


Attachments

Description Martin Peres 2018-11-02 09:49:19 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_5076/shard-snb2/igt@kms_flip@flip-vs-expired-vblank.html

Starting subtest: flip-vs-expired-vblank
(kms_flip:2128) CRITICAL: Test assertion failure function run_test_step, file ../tests/kms_flip.c:713:
(kms_flip:2128) CRITICAL: Failed assertion: reply.sequence == exp_seq
(kms_flip:2128) CRITICAL: Last errno: 25, Inappropriate ioctl for device
Subtest flip-vs-expired-vblank failed.

<7> [57.392570] [drm:check_for_unclaimed_mmio [i915]] GTFIFODBG = 0x082
<4> [57.392575] ------------[ cut here ]------------
<4> [57.392579] Unclaimed write to register 0x2040
<4> [57.392669] WARNING: CPU: 0 PID: 2128 at drivers/gpu/drm/i915/intel_uncore.c:1093 __unclaimed_reg_debug+0x40/0x50 [i915]
<4> [57.392673] Modules linked in: snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i915 x86_pkg_temp_thermal coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel broadcom bcm_phy_lib snd_hda_intel snd_hda_codec tg3 snd_hwdep snd_hda_core mei_me mei snd_pcm prime_numbers lpc_ich
<4> [57.392752] CPU: 0 PID: 2128 Comm: kms_flip Tainted: G     U  W         4.19.0-CI-CI_DRM_5076+ #1
<4> [57.392756] Hardware name: Dell Inc. XPS 8300  /0Y2MRG, BIOS A06 10/17/2011
<4> [57.392822] RIP: 0010:__unclaimed_reg_debug+0x40/0x50 [i915]
<4> [57.392827] Code: 74 05 5b 5d 41 5c c3 45 84 e4 48 c7 c0 71 9e 30 a0 48 c7 c6 67 9e 30 a0 48 0f 44 f0 89 ea 48 c7 c7 7a 9e 30 a0 e8 20 99 e5 e0 <0f> 0b 83 2d 67 7a 19 00 01 5b 5d 41 5c c3 66 90 41 56 41 55 41 89
<4> [57.392831] RSP: 0018:ffffc900004d7cf8 EFLAGS: 00010082
<4> [57.392839] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
<4> [57.392843] RDX: 0000000000000007 RSI: ffffffff820c318e RDI: 00000000ffffffff
<4> [57.392847] RBP: 0000000000002040 R08: 0000000000000000 R09: 0000000000000001
<4> [57.392851] R10: ffffc900004d7ce0 R11: 0000000000000000 R12: 0000000000000000
<4> [57.392855] R13: 0000000000000000 R14: 0000000000000206 R15: ffffffffa01fdafc
<4> [57.392860] FS:  00007fa235837980(0000) GS:ffff880227a00000(0000) knlGS:0000000000000000
<4> [57.392864] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4> [57.392868] CR2: 000055ad21a7e240 CR3: 0000000211902002 CR4: 00000000000606f0
<4> [57.392872] Call Trace:
<4> [57.392942]  gen6_write32+0x1ea/0x220 [i915]
<4> [57.393007]  ? reset_all_global_seqno.part.5+0x3c/0x280 [i915]
<4> [57.393070]  intel_engine_init_global_seqno+0x32/0x130 [i915]
<4> [57.393133]  reset_all_global_seqno.part.5+0xa4/0x280 [i915]
<4> [57.393192]  i915_drop_caches_set+0x261/0x270 [i915]
<4> [57.393205]  simple_attr_write+0xb0/0xd0
<4> [57.393217]  full_proxy_write+0x51/0x80
<4> [57.393229]  __vfs_write+0x31/0x180
<4> [57.393236]  ? rcu_lockdep_current_cpu_online+0x8f/0xd0
<4> [57.393245]  ? rcu_read_lock_sched_held+0x6f/0x80
<4> [57.393251]  ? rcu_sync_lockdep_assert+0x29/0x50
<4> [57.393257]  ? __sb_start_write+0x152/0x1f0
<4> [57.393263]  ? __sb_start_write+0x163/0x1f0
<4> [57.393273]  vfs_write+0xbd/0x1b0
<4> [57.393282]  ksys_write+0x50/0xc0
<4> [57.393294]  do_syscall_64+0x55/0x190
<4> [57.393303]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4> [57.393308] RIP: 0033:0x7fa23486e281
<4> [57.393312] Code: c3 0f 1f 84 00 00 00 00 00 48 8b 05 59 8d 20 00 c3 0f 1f 84 00 00 00 00 00 8b 05 8a d1 20 00 85 c0 75 16 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 57 f3 c3 0f 1f 44 00 00 41 54 55 49 89 d4 53
<4> [57.393316] RSP: 002b:00007fff9e65dcd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
<4> [57.393324] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fa23486e281
<4> [57.393328] RDX: 0000000000000005 RSI: 00007fff9e65dd60 RDI: 0000000000000008
<4> [57.393332] RBP: 00007fff9e65dd00 R08: 0000000000000000 R09: 0000000000000000
<4> [57.393336] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa234857718
<4> [57.393340] R13: 0000000000000003 R14: 00007fa23485c628 R15: 00007fa234858d80
<4> [57.393360] irq event stamp: 165230
<4> [57.393366] hardirqs last  enabled at (165229): [<ffffffff819412dc>] _raw_spin_unlock_irqrestore+0x4c/0x60
<4> [57.393372] hardirqs last disabled at (165230): [<ffffffff8194114d>] _raw_spin_lock_irqsave+0xd/0x50
<4> [57.393378] softirqs last  enabled at (164090): [<ffffffff81c00319>] __do_softirq+0x319/0x48e
<4> [57.393385] softirqs last disabled at (164083): [<ffffffff8108c5e9>] irq_exit+0xa9/0xc0
<4> [57.393450] WARNING: CPU: 0 PID: 2128 at drivers/gpu/drm/i915/intel_uncore.c:1093 __unclaimed_reg_debug+0x40/0x50 [i915]
<4> [57.393454] ---[ end trace 186803250483c639 ]---

This issue was also seen on https://bugs.freedesktop.org/show_bug.cgi?id=108633 on this very day... but not sure what is the cause of what!

<3> [58.571783] [drm:stop_ring [i915]] *ERROR* rcs0 : timed out trying to stop ring
<4> [58.631998] ------------[ cut here ]------------
<4> [58.632004] WARN_ON((dev_priv->uncore.funcs.mmio_readl(dev_priv, (((const i915_reg_t){ .reg = (((engine)->mmio_base) + 0x9c) })), true) & (1 << 9)) == 0)
<4> [58.632093] WARNING: CPU: 0 PID: 2128 at drivers/gpu/drm/i915/intel_ringbuffer.c:414 init_ring_common+0x8fd/0x9f0 [i915]
<4> [58.632097] Modules linked in: snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic i915 x86_pkg_temp_thermal coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel broadcom bcm_phy_lib snd_hda_intel snd_hda_codec tg3 snd_hwdep snd_hda_core mei_me mei snd_pcm prime_numbers lpc_ich
<4> [58.632171] CPU: 0 PID: 2128 Comm: kms_flip Tainted: G     U  W         4.19.0-CI-CI_DRM_5076+ #1
<4> [58.632175] Hardware name: Dell Inc. XPS 8300  /0Y2MRG, BIOS A06 10/17/2011
<4> [58.632240] RIP: 0010:init_ring_common+0x8fd/0x9f0 [i915]
<4> [58.632245] Code: c7 c8 51 22 a0 e8 93 de f3 e0 0f 0b 41 be 80 41 00 00 e9 d0 f9 ff ff 48 c7 c6 b8 86 32 a0 48 c7 c7 41 9c 30 a0 e8 f3 f8 e5 e0 <0f> 0b e9 ea fc ff ff 48 c7 c1 63 9c 30 a0 ba cc 00 00 00 48 c7 c6
<4> [58.632249] RSP: 0018:ffffc900004d7a90 EFLAGS: 00010282
<4> [58.632256] RAX: 0000000000000000 RBX: ffff880219f90000 RCX: 0000000000000000
<4> [58.632260] RDX: 0000000000000007 RSI: ffffffff820c318e RDI: 00000000ffffffff
<4> [58.632263] RBP: ffff88020f1ca158 R08: 000000000ab57280 R09: 0000000000000000
<4> [58.632267] R10: 0000000000000000 R11: 0000000000000000 R12: ffff880219f90000
<4> [58.632271] R13: ffff88020f1c01b8 R14: 00000000000020c0 R15: 0000000000000000
<4> [58.632276] FS:  00007fa235837980(0000) GS:ffff880227a00000(0000) knlGS:0000000000000000
<4> [58.632280] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4> [58.632284] CR2: 000055ad21a7e240 CR3: 0000000211902002 CR4: 00000000000606f0
<4> [58.632287] Call Trace:
<4> [58.632299]  ? _raw_spin_unlock_irqrestore+0x4e/0x60
<4> [58.632367]  init_render_ring+0xf/0x170 [i915]
<4> [58.632429]  i915_gem_init_hw+0x214/0x260 [i915]
<4> [58.632481]  i915_reset+0x227/0x280 [i915]
<4> [58.632532]  i915_reset_device+0x1fb/0x290 [i915]
<4> [58.632587]  ? __intel_get_crtc_scanline+0x1c0/0x1c0 [i915]
<4> [58.632599]  ? work_on_cpu_safe+0x50/0x50
<4> [58.632658]  i915_handle_error+0x219/0x350 [i915]
<4> [58.632669]  ? mark_held_locks+0x50/0x80
<4> [58.632676]  ? _raw_spin_unlock_irqrestore+0x4c/0x60
<4> [58.632732]  ? i915_drop_caches_set+0x14c/0x270 [i915]
<4> [58.632745]  ? __mutex_unlock_slowpath+0x46/0x2b0
<4> [58.632803]  i915_drop_caches_set+0x1a0/0x270 [i915]
<4> [58.632814]  simple_attr_write+0xb0/0xd0
<4> [58.632826]  full_proxy_write+0x51/0x80
<4> [58.632837]  __vfs_write+0x31/0x180
<4> [58.632843]  ? rcu_lockdep_current_cpu_online+0x8f/0xd0
<4> [58.632851]  ? rcu_read_lock_sched_held+0x6f/0x80
<4> [58.632857]  ? rcu_sync_lockdep_assert+0x29/0x50
<4> [58.632863]  ? __sb_start_write+0x152/0x1f0
<4> [58.632868]  ? __sb_start_write+0x163/0x1f0
<4> [58.632878]  vfs_write+0xbd/0x1b0
<4> [58.632887]  ksys_write+0x50/0xc0
<4> [58.632897]  do_syscall_64+0x55/0x190
<4> [58.632905]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4> [58.632909] RIP: 0033:0x7fa23486e281
<4> [58.632914] Code: c3 0f 1f 84 00 00 00 00 00 48 8b 05 59 8d 20 00 c3 0f 1f 84 00 00 00 00 00 8b 05 8a d1 20 00 85 c0 75 16 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 57 f3 c3 0f 1f 44 00 00 41 54 55 49 89 d4 53
<4> [58.632918] RSP: 002b:00007fff9e65dcd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
<4> [58.632925] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fa23486e281
<4> [58.632929] RDX: 0000000000000005 RSI: 00007fff9e65dd60 RDI: 0000000000000008
<4> [58.632932] RBP: 00007fff9e65dd00 R08: 0000000000000000 R09: 0000000000000000
<4> [58.632936] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa234857718
<4> [58.632940] R13: 0000000000000003 R14: 00007fa23485c628 R15: 00007fa234858d80
<4> [58.632958] irq event stamp: 172214
<4> [58.632965] hardirqs last  enabled at (172213): [<ffffffff810f828a>] console_unlock+0x3fa/0x5f0
<4> [58.632970] hardirqs last disabled at (172214): [<ffffffff81001930>] trace_hardirqs_off_thunk+0x1a/0x1c
<4> [58.632976] softirqs last  enabled at (172196): [<ffffffff81c00319>] __do_softirq+0x319/0x48e
<4> [58.632982] softirqs last disabled at (172189): [<ffffffff8108c5e9>] irq_exit+0xa9/0xc0
<4> [58.633046] WARNING: CPU: 0 PID: 2128 at drivers/gpu/drm/i915/intel_ringbuffer.c:414 init_ring_common+0x8fd/0x9f0 [i915]
<4> [58.633049] ---[ end trace 186803250483c63a ]---
<3> [58.743437] [drm:init_ring_common [i915]] *ERROR* rcs0 initialization failed ctl 00000000 (valid? 0) head 00000000 [00007e00] tail 00000000 [00007e00] start 00000000 [expected 00001000]
<3> [58.743634] [drm:i915_gem_init_hw [i915]] *ERROR* Failed to restart rcs0 (-5)
<3> [58.743726] [drm:i915_reset [i915]] *ERROR* Failed to initialise HW following reset (-5)
Comment 1 Chris Wilson 2018-11-02 11:10:37 UTC
The GT powerwell was already dead.

*** This bug has been marked as a duplicate of bug 108633 ***
Comment 2 Martin Peres 2018-11-02 15:53:41 UTC
(In reply to Chris Wilson from comment #1)
> The GT powerwell was already dead.
> 
> *** This bug has been marked as a duplicate of bug 108633 ***

Thanks, moved and archived!


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.