[Bug 110869] New: [CI][SHARDS] igt at gem_ctx_engines@execute-one(forall)? - dmesg-warn WARNING: inconsistent lock state

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 10 08:23:25 UTC 2019


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

            Bug ID: 110869
           Summary: [CI][SHARDS] igt at gem_ctx_engines@execute-one(forall)?
                    - dmesg-warn WARNING: inconsistent lock state
           Product: DRI
           Version: XOrg git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Intel
          Assignee: intel-gfx-bugs at lists.freedesktop.org
          Reporter: martin.peres at free.fr
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
                CC: intel-gfx-bugs at lists.freedesktop.org

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6208/shard-snb2/igt@gem_ctx_engines@execute-one.html

<6> [933.272564] Console: switching to colour dummy device 80x25
<6> [933.272617] [IGT] gem_ctx_engines: executing
<6> [933.275973] [IGT] gem_ctx_engines: starting subtest execute-one
<4> [933.285189] 
<4> [933.285193] ================================
<4> [933.285195] WARNING: inconsistent lock state
<4> [933.285198] 5.2.0-rc3-CI-CI_DRM_6208+ #1 Tainted: G     U           
<4> [933.285201] --------------------------------
<4> [933.285204] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage.
<4> [933.285207] gem_ctx_engines/3260 [HC0[0]:SC1[1]:HE1:SE0] takes:
<4> [933.285211] 000000002df401ad (&(&i915->mm.obj_lock)->rlock){+.?.}, at:
i915_gem_free_object+0xb4/0x1d0 [i915]
<4> [933.285268] {SOFTIRQ-ON-W} state was registered at:
<4> [933.285273]   lock_acquire+0xa6/0x1c0
<4> [933.285277]   _raw_spin_lock+0x2a/0x40
<4> [933.285319]   __i915_vma_do_pin+0x58c/0xdf0 [i915]
<4> [933.285359]   i915_gem_init+0x2d8/0xac0 [i915]
<4> [933.285389]   i915_driver_load+0xdc0/0x18b0 [i915]
<4> [933.285419]   i915_pci_probe+0x3f/0x1a0 [i915]
<4> [933.285423]   pci_device_probe+0x9e/0x120
<4> [933.285427]   really_probe+0xea/0x3c0
<4> [933.285429]   driver_probe_device+0x10b/0x120
<4> [933.285432]   device_driver_attach+0x4a/0x50
<4> [933.285436]   __driver_attach+0x97/0x130
<4> [933.285438]   bus_for_each_dev+0x74/0xc0
<4> [933.285442]   bus_add_driver+0x13f/0x210
<4> [933.285445]   driver_register+0x56/0xe0
<4> [933.285449]   do_one_initcall+0x58/0x300
<4> [933.285453]   do_init_module+0x56/0x1f6
<4> [933.285456]   load_module+0x24d1/0x2990
<4> [933.285459]   __se_sys_finit_module+0xd3/0xf0
<4> [933.285462]   do_syscall_64+0x55/0x1c0
<4> [933.285465]   entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4> [933.285468] irq event stamp: 52646
<4> [933.285473] hardirqs last  enabled at (52646): [<ffffffff81233008>]
__slab_free+0x3e8/0x4f0
<4> [933.285478] hardirqs last disabled at (52645): [<ffffffff81232d59>]
__slab_free+0x139/0x4f0
<4> [933.285520] softirqs last  enabled at (52060): [<ffffffffa01f2d04>]
__i915_request_commit+0x284/0x6c0 [i915]
<4> [933.285527] softirqs last disabled at (52373): [<ffffffff810b6379>]
irq_exit+0xa9/0xc0
<4> [933.285531] 
other info that might help us debug this:
<4> [933.285534]  Possible unsafe locking scenario:

<4> [933.285538]        CPU0
<4> [933.285540]        ----
<4> [933.285542]   lock(&(&i915->mm.obj_lock)->rlock);
<4> [933.285545]   <Interrupt>
<4> [933.285547]     lock(&(&i915->mm.obj_lock)->rlock);
<4> [933.285550] 
 *** DEADLOCK ***

<4> [933.285554] 1 lock held by gem_ctx_engines/3260:
<4> [933.285557]  #0: 000000007c81970c (rcu_callback){....}, at:
rcu_core+0x472/0x720
<4> [933.285565] 
stack backtrace:
<4> [933.285569] CPU: 5 PID: 3260 Comm: gem_ctx_engines Tainted: G     U       
    5.2.0-rc3-CI-CI_DRM_6208+ #1
<4> [933.285574] Hardware name: Dell Inc. XPS 8300  /0Y2MRG, BIOS A06
10/17/2011
<4> [933.285577] Call Trace:
<4> [933.285580]  <IRQ>
<4> [933.285584]  dump_stack+0x67/0x9b
<4> [933.285588]  mark_lock+0x5c4/0x660
<4> [933.285592]  ? check_usage_backwards+0x150/0x150
<4> [933.285596]  __lock_acquire+0x6c1/0x24c0
<4> [933.285599]  ? _raw_spin_unlock_irqrestore+0x4c/0x60
<4> [933.285603]  ? lockdep_hardirqs_on+0xe3/0x1b0
<4> [933.285641]  ? i915_gem_free_object+0xb4/0x1d0 [i915]
<4> [933.285677]  ? __free_engines+0x39/0x50 [i915]
<4> [933.285681]  ? __slab_free+0x3e8/0x4f0
<4> [933.285684]  ? __slab_free+0x3e8/0x4f0
<4> [933.285688]  ? lockdep_hardirqs_on+0xe3/0x1b0
<4> [933.285692]  ? lock_acquire+0xa6/0x1c0
<4> [933.285695]  lock_acquire+0xa6/0x1c0
<4> [933.285732]  ? i915_gem_free_object+0xb4/0x1d0 [i915]
<4> [933.285736]  ? rcu_core+0x472/0x720
<4> [933.285739]  _raw_spin_lock+0x2a/0x40
<4> [933.285775]  ? i915_gem_free_object+0xb4/0x1d0 [i915]
<4> [933.285812]  i915_gem_free_object+0xb4/0x1d0 [i915]
<4> [933.285848]  ? __free_engines+0x50/0x50 [i915]
<4> [933.285852]  ? rcu_core+0x472/0x720
<4> [933.285886]  ring_context_destroy+0x42/0xe0 [i915]
<4> [933.285921]  __free_engines+0x39/0x50 [i915]
<4> [933.285925]  rcu_core+0x417/0x720
<4> [933.285929]  __do_softirq+0xd8/0x4b9
<4> [933.285934]  irq_exit+0xa9/0xc0
<4> [933.285937]  smp_apic_timer_interrupt+0x9c/0x250
<4> [933.285941]  apic_timer_interrupt+0xf/0x20
<4> [933.285944]  </IRQ>
<4> [933.285948] RIP: 0010:__slab_alloc.isra.28.constprop.34+0x4f/0x70
<4> [933.285952] Code: 89 f2 44 89 ee 48 8b 0c c5 a0 65 15 82 4c 89 e7 48 01 d9
e8 43 fc ff ff f7 c5 00 02 00 00 48 89 c3 74 13 e8 23 3f f6 ff 55 9d <48> 89 d8
5b 5d 41 5c 41 5d 41 5e c3 55 9d e8 0e 41 f6 ff 48 89 d8
<4> [933.285961] RSP: 0018:ffffc900004c7c60 EFLAGS: 00000246 ORIG_RAX:
ffffffffffffff13
<4> [933.285966] RAX: ffff888214558040 RBX: ffff88821d4e2108 RCX:
0000000000000005
<4> [933.285969] RDX: 0000000000000046 RSI: 0000000000000006 RDI:
ffffffff8212df49
<4> [933.285973] RBP: 0000000000000246 R08: 0000000000000001 R09:
0000000000000000
<4> [933.285977] R10: 0000000000000000 R11: 0000000000000000 R12:
ffff888226808d40
<4> [933.285981] R13: 0000000000002cc0 R14: ffffffffa01c11a4 R15:
ffffffffa01c11a4
<4> [933.286016]  ? i915_gem_execbuffer2_ioctl+0xc4/0x430 [i915]
<4> [933.286051]  ? i915_gem_execbuffer2_ioctl+0xc4/0x430 [i915]
<4> [933.286057]  __kmalloc+0x29f/0x2e0
<4> [933.286092]  ? i915_gem_execbuffer_ioctl+0x300/0x300 [i915]
<4> [933.286127]  i915_gem_execbuffer2_ioctl+0xc4/0x430 [i915]
<4> [933.286162]  ? i915_gem_execbuffer_ioctl+0x300/0x300 [i915]
<4> [933.286167]  drm_ioctl_kernel+0x83/0xf0
<4> [933.286171]  drm_ioctl+0x2f3/0x3b0
<4> [933.286205]  ? i915_gem_execbuffer_ioctl+0x300/0x300 [i915]
<4> [933.286211]  ? __handle_mm_fault+0x97c/0xfc0
<4> [933.286216]  do_vfs_ioctl+0xa0/0x6e0
<4> [933.286219]  ? lock_acquire+0xa6/0x1c0
<4> [933.286223]  ? __task_pid_nr_ns+0xb9/0x1f0
<4> [933.286227]  ksys_ioctl+0x35/0x60
<4> [933.286230]  __x64_sys_ioctl+0x11/0x20
<4> [933.286234]  do_syscall_64+0x55/0x1c0
<4> [933.286237]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4> [933.286241] RIP: 0033:0x7f94f64c35d7
<4> [933.286244] Code: b3 66 90 48 8b 05 b1 48 2d 00 64 c7 00 26 00 00 00 48 c7
c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01
f0 ff ff 73 01 c3 48 8b 0d 81 48 2d 00 f7 d8 64 89 01 48
<4> [933.286252] RSP: 002b:00007ffcc7fead28 EFLAGS: 00000246 ORIG_RAX:
0000000000000010
<4> [933.286257] RAX: ffffffffffffffda RBX: 00000000ffffffea RCX:
00007f94f64c35d7
<4> [933.286261] RDX: 00007ffcc7feae40 RSI: 0000000040406469 RDI:
0000000000000005
<4> [933.286265] RBP: 00007ffcc7feae40 R08: 0000000000000000 R09:
000000000000001e
<4> [933.286268] R10: 00000000ffffffe2 R11: 0000000000000246 R12:
0000000040406469
<4> [933.286272] R13: 0000000000000005 R14: 0000000000000005 R15:
00007ffcc7feae40
<6> [933.450016] [IGT] gem_ctx_engines: exiting, ret=0
<5> [933.450221] Setting dangerous option reset - tainting kernel
<6> [933.484950] Console: switching to colour frame buffer device 128x48

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


More information about the intel-gfx-bugs mailing list