Bug 111773

Summary: igt@gem_exec_schedule@preempt-queue-contexts-chain-render dmesg-warn - BUG: sleeping function called from invalid context at ./include/linux/percpu-rwsem.h:38
Product: DRI Reporter: Lakshmi <lakshminarayana.vudum>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: RESOLVED INVALID QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: not set    
Priority: not set CC: intel-gfx-bugs
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: BXT i915 features: GEM/Other

Description Lakshmi 2019-09-23 11:12:50 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_373/fi-apl-guc/igt@gem_exec_schedule@preempt-queue-contexts-chain-render.html

<4> [68.956391] CR2: 0000010000000008
<4> [68.956403] ---[ end trace 79d1874e8f68e529 ]---
<4> [71.855033] RIP: 0010:find_get_entries+0x1f9/0x490
<4> [71.855053] Code: 90 00 00 00 48 8b 45 a8 80 45 b2 01 4d 85 ed 48 8d 70 01 48 89 75 a8 74 9b 4d 85 ed 0f 85 dc fe ff ff 44 89 e3 e9 0c ff ff ff <49> 8b 45 08 4c 8d 40 ff a8 01 4d 0f 44 c5 41 8b 40 34 85 c0 74 4c
<4> [71.855086] RSP: 0018:ffffa67a401d7b30 EFLAGS: 00010246
<4> [71.855099] RAX: 000000000000002f RBX: 000000000000000f RCX: ffff9a4d401fd568
<4> [71.855113] RDX: 0000000000000002 RSI: 0000000000000030 RDI: ffffa67a401d7b50
<4> [71.855127] RBP: ffffa67a401d7bb0 R08: fffff74ec9a7d040 R09: 0000000000000000
<4> [71.855141] R10: 0000000000000000 R11: 0000000000000270 R12: 0000000000000004
<4> [71.855155] R13: 0000010000000000 R14: ffffa67a401d7c80 R15: ffffa67a401d7c00
<4> [71.855169] FS:  0000000000000000(0000) GS:ffff9a4d77a80000(0000) knlGS:0000000000000000
<4> [71.855186] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4> [71.855198] CR2: 0000010000000008 CR3: 0000000265a9c000 CR4: 00000000003406e0
<3> [71.855214] BUG: sleeping function called from invalid context at ./include/linux/percpu-rwsem.h:38
<3> [71.855232] in_atomic(): 0, irqs_disabled(): 1, pid: 239, name: kworker/1:2
<4> [71.855245] INFO: lockdep is turned off.
<4> [71.855255] irq event stamp: 12362
<4> [71.855266] hardirqs last  enabled at (12361): [<ffffffffb59f2c44>] _raw_spin_unlock_irq+0x24/0x50
<4> [71.855285] hardirqs last disabled at (12362): [<ffffffffb59ebd7a>] __schedule+0xaa/0x860
<4> [71.855302] softirqs last  enabled at (11724): [<ffffffffb5c0033e>] __do_softirq+0x33e/0x4ae
<4> [71.855321] softirqs last disabled at (11717): [<ffffffffb50bcd79>] irq_exit+0xa9/0xc0
<3> [71.855336] Preemption disabled at:
<4> [71.855339] [<ffffffffb5131cbb>] wake_up_klogd+0xb/0x60
<4> [71.855359] CPU: 1 PID: 239 Comm: kworker/1:2 Tainted: G     UD           5.3.0-g7ca2b123ae99-drmtip_373+ #1
<4> [71.855378] Hardware name: Intel corporation NUC6CAYS/NUC6CAYB, BIOS AYAPLCEL.86A.0056.2018.0926.1100 09/26/2018
<4> [71.855400] Workqueue: events delayed_fput
<4> [71.855410] Call Trace:
<4> [71.855424]  dump_stack+0x67/0x9b
<4> [71.855435]  ___might_sleep+0x167/0x250
<4> [71.855448]  exit_signals+0x2b/0x3c0
<4> [71.855458]  do_exit+0xaf/0xdb0
<4> [71.855470]  ? process_one_work+0x610/0x610
<4> [71.855480]  ? kthread+0x119/0x130
<4> [71.855491]  rewind_stack_do_exit+0x17/0x20
<3> [71.857244] BUG: sleeping function called from invalid context at kernel/nsproxy.c:217
<3> [71.857270] in_atomic(): 0, irqs_disabled(): 0, pid: 239, name: kworker/1:2
<4> [71.857286] INFO: lockdep is turned off.
<3> [71.857298] Preemption disabled at:
<4> [71.857303] [<0000000000000000>] 0x0
<4> [71.857326] CPU: 1 PID: 239 Comm: kworker/1:2 Tainted: G     UD W         5.3.0-g7ca2b123ae99-drmtip_373+ #1
<4> [71.857346] Hardware name: Intel corporation NUC6CAYS/NUC6CAYB, BIOS AYAPLCEL.86A.0056.2018.0926.1100 09/26/2018
<4> [71.857370] Workqueue: events delayed_fput
<4> [71.857381] Call Trace:
<4> [71.857393]  dump_stack+0x67/0x9b
<4> [71.857405]  ___might_sleep+0x167/0x250
<4> [71.857421]  switch_task_namespaces+0x26/0x70
<4> [71.857437]  do_exit+0x356/0xdb0
<4> [71.857452]  ? process_one_work+0x610/0x610
<4> [71.857465]  ? kthread+0x119/0x130
<4> [71.857478]  rewind_stack_do_exit+0x17/0x20
<6> [72.323832] Console: switching to colour frame buffer device 240x67
Comment 1 CI Bug Log 2019-09-23 11:16:09 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* APL: igt@gem_exec_schedule@preempt-queue-contexts-chain-render  dmesg-warn - BUG: sleeping function called from invalid context at ./include/linux/percpu-rwsem.h:38
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_373/fi-apl-guc/igt@gem_exec_schedule@preempt-queue-contexts-chain-render.html

* APL: igt@runner@aborted - fail - Previous test: gem_exec_schedule (preempt-queue-contexts-chain-render)
  - https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_373/fi-apl-guc/igt@runner@aborted.html
Comment 2 Chris Wilson 2019-09-23 11:24:10 UTC
The actual oops did not make it to the log. The trace suggests notourbug, but cannot say due to loss of important debuginfo.

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.