Bug 112404 - [CI][SHARDS]igt@gem_ctx_persistence@smoketest - timeout - general protection fault: 0000 [#1] PREEMPT SMP PTI
Summary: [CI][SHARDS]igt@gem_ctx_persistence@smoketest - timeout - general protection ...
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: not set not set
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-27 08:43 UTC by Lakshmi
Modified: 2019-11-29 19:52 UTC (History)
1 user (show)

See Also:
i915 platform: GLK
i915 features: GEM/Other


Attachments

Description Lakshmi 2019-11-27 08:43:16 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5306/shard-glk2/igt@gem_ctx_persistence@smoketest.html
<6> [412.387099] Console: switching to colour dummy device 80x25
<6> [412.387206] [IGT] gem_ctx_persistence: executing
<5> [412.397568] Setting dangerous option enable_hangcheck - tainting kernel
<5> [412.398277] Setting dangerous option reset - tainting kernel
<7> [412.402616] [drm:i915_gem_execbuffer2_ioctl [i915]] EINVAL at i915_gem_execbuffer2_ioctl:2879
<6> [412.404798] [IGT] gem_ctx_persistence: starting subtest smoketest
<4> [427.337956] general protection fault: 0000 [#1] PREEMPT SMP PTI
<4> [427.337973] CPU: 1 PID: 5578 Comm: gem_ctx_persist Tainted: G     U            5.4.0-rc8-CI-CI_DRM_7420+ #1
<4> [427.337989] Hardware name: Intel Corporation NUC7CJYH/NUC7JYB, BIOS JYGLKCPX.86A.0027.2018.0125.1347 01/25/2018
<4> [427.338101] RIP: 0010:context_close+0x308/0x650 [i915]
<4> [427.338111] Code: 85 f6 0f 85 60 01 00 00 49 8b 44 24 58 48 8b 93 90 02 00 00 48 05 c0 00 00 00 48 8d 9a 78 fd ff ff 48 39 c2 0f 84 e7 00 00 00 <48> 8b 82 a8 fd ff ff a8 01 0f 85 d8 00 00 00 4c 8b 73 28 e8 00 1d
<4> [427.338137] RSP: 0018:ffffc9000045fd38 EFLAGS: 00010283
<4> [427.338147] RAX: ffff88825cab08c0 RBX: deacfffffffffe9a RCX: 0000000000000001
<4> [427.338158] RDX: dead000000000122 RSI: ffff88826d1608f8 RDI: 00000000ffffffff
<4> [427.338170] RBP: ffff88825f262000 R08: ffff88826d1608f8 R09: 0000000000000000
<4> [427.338181] R10: 0000000000000000 R11: 0000000000000000 R12: ffff888234d65840
<4> [427.338192] R13: ffffffff82247a60 R14: ffff88825f262000 R15: ffff88825f262068
<4> [427.338203] FS:  00007fabb1d6ce40(0000) GS:ffff888277e80000(0000) knlGS:0000000000000000
<4> [427.338216] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4> [427.338226] CR2: 00007fabb1da1040 CR3: 00000002719a6000 CR4: 0000000000340ee0
<4> [427.338237] Call Trace:
<4> [427.338311]  ? i915_gem_create_context+0x430/0x430 [i915]
<4> [427.338387]  context_idr_cleanup+0x8/0x10 [i915]
<4> [427.338399]  idr_for_each+0x49/0xd0
<4> [427.338473]  i915_gem_context_close+0x23/0xa0 [i915]
<4> [427.338541]  i915_driver_postclose+0x19/0x50 [i915]
<4> [427.338554]  drm_file_free.part.10+0x1e6/0x280
<4> [427.338564]  drm_release+0xa6/0xe0
<4> [427.338574]  __fput+0xbf/0x250
<4> [427.338585]  task_work_run+0x82/0xb0
<4> [427.338595]  exit_to_usermode_loop+0x98/0xa0
<4> [427.338603]  do_syscall_64+0x1b9/0x210
<4> [427.338612]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4> [427.338622] RIP: 0033:0x7fabb14e9421
<4> [427.338629] Code: f7 d8 64 89 02 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 8b 05 ea cf 20 00 85 c0 75 16 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 3f f3 c3 0f 1f 44 00 00 53 89 fb 48 83 ec 10
<4> [427.338656] RSP: 002b:00007fff30c4f198 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
<4> [427.338669] RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00007fabb14e9421
<4> [427.338680] RDX: 000055f87543e2f0 RSI: 00000000c0406469 RDI: 0000000000000007
<4> [427.338691] RBP: 000055f87543e250 R08: 00007fabb14d2200 R09: 00007fabb14d2240
<4> [427.338703] R10: 746e656d65726975 R11: 0000000000000246 R12: 0000000000000006
<4> [427.338714] R13: 0000000000000007 R14: 000055f87543e2f0 R15: 0000000000000009
<4> [427.338730] Modules linked in: vgem mei_hdcp x86_pkg_temp_thermal coretemp crct10dif_pclmul crc32_pclmul btusb btrtl btbcm btintel snd_hda_codec_hdmi ghash_clmulni_intel bluetooth snd_hda_codec_realtek snd_hda_codec_generic ecdh_generic ecc r8169 realtek i915 i2c_hid snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm mei_me pinctrl_geminilake mei pinctrl_intel prime_numbers
<4> [427.339331] ---[ end trace c7a487c5764f6798 ]---
<3> [427.347564] BUG: sleeping function called from invalid context at kernel/sched/completion.c:99
<3> [427.347586] in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 5578, name: gem_ctx_persist
<4> [427.348268] INFO: lockdep is turned off.
<3> [427.348276] Preemption disabled at:
<4> [427.348279] [<0000000000000000>] 0x0
<4> [427.348293] CPU: 1 PID: 5578 Comm: gem_ctx_persist Tainted: G     UD           5.4.0-rc8-CI-CI_DRM_7420+ #1
<4> [427.348308] Hardware name: Intel Corporation NUC7CJYH/NUC7JYB, BIOS JYGLKCPX.86A.0027.2018.0125.1347 01/25/2018
<4> [427.348324] Call Trace:
<4> [427.348333]  dump_stack+0x71/0x9b
<4> [427.348342]  ___might_sleep+0x178/0x260
<4> [427.348353]  wait_for_completion+0x37/0x1a0
<4> [427.348366]  virt_efi_query_variable_info+0x161/0x1b0
<4> [427.348378]  efi_query_variable_store+0xb3/0x1a0
<4> [427.348391]  ? efivar_entry_set_safe+0x19c/0x220
<4> [427.348401]  efivar_entry_set_safe+0x19c/0x220
<4> [427.348413]  ? efi_pstore_write+0x10b/0x150
<4> [427.348421]  ? efi_pstore_write+0xa0/0x150
<4> [427.348430]  efi_pstore_write+0x10b/0x150
<4> [427.348446]  pstore_dump+0x127/0x340
<4> [427.348460]  kmsg_dump+0x87/0x1c0
<4> [427.348469]  oops_end+0x3e/0x90
<4> [427.348478]  general_protection+0x2d/0x40
<4> [427.348585] RIP: 0010:context_close+0x308/0x650 [i915]
<4> [427.348596] Code: 85 f6 0f 85 60 01 00 00 49 8b 44 24 58 48 8b 93 90 02 00 00 48 05 c0 00 00 00 48 8d 9a 78 fd ff ff 48 39 c2 0f 84 e7 00 00 00 <48> 8b 82 a8 fd ff ff a8 01 0f 85 d8 00 00 00 4c 8b 73 28 e8 00 1d
<4> [427.348623] RSP: 0018:ffffc9000045fd38 EFLAGS: 00010283
<4> [427.348632] RAX: ffff88825cab08c0 RBX: deacfffffffffe9a RCX: 0000000000000001
<4> [427.348644] RDX: dead000000000122 RSI: ffff88826d1608f8 RDI: 00000000ffffffff
<4> [427.348655] RBP: ffff88825f262000 R08: ffff88826d1608f8 R09: 0000000000000000
<4> [427.348666] R10: 0000000000000000 R11: 0000000000000000 R12: ffff888234d65840
<4> [427.348678] R13: ffffffff82247a60 R14: ffff88825f262000 R15: ffff88825f262068
<4> [427.348760]  ? context_close+0x3b9/0x650 [i915]
<4> [427.348835]  ? i915_gem_create_context+0x430/0x430 [i915]
<4> [427.348910]  context_idr_cleanup+0x8/0x10 [i915]
<4> [427.348919]  idr_for_each+0x49/0xd0
<4> [427.348993]  i915_gem_context_close+0x23/0xa0 [i915]
<4> [427.349061]  i915_driver_postclose+0x19/0x50 [i915]
<4> [427.349074]  drm_file_free.part.10+0x1e6/0x280
<4> [427.349085]  drm_release+0xa6/0xe0
<4> [427.349094]  __fput+0xbf/0x250
<4> [427.349104]  task_work_run+0x82/0xb0
<4> [427.349114]  exit_to_usermode_loop+0x98/0xa0
<4> [427.349123]  do_syscall_64+0x1b9/0x210
<4> [427.349132]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4> [427.349141] RIP: 0033:0x7fabb14e9421
<4> [427.349148] Code: f7 d8 64 89 02 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 8b 05 ea cf 20 00 85 c0 75 16 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 3f f3 c3 0f 1f 44 00 00 53 89 fb 48 83 ec 10
<4> [427.349175] RSP: 002b:00007fff30c4f198 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
<4> [427.349188] RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00007fabb14e9421
<4> [427.349199] RDX: 000055f87543e2f0 RSI: 00000000c0406469 RDI: 0000000000000007
<4> [427.349210] RBP: 000055f87543e250 R08: 00007fabb14d2200 R09: 00007fabb14d2240
<4> [427.349222] R10: 746e656d65726975 R11: 0000000000000246 R12: 0000000000000006
<4> [427.349233] R13: 0000000000000007 R14: 000055f87543e2f0 R15: 0000000000000009
<4> [427.377681] ------------[ cut here ]------------
<4> [427.377945] WARNING: CPU: 0 PID: 5578 at kernel/rcu/tree_plugin.h:293 rcu_note_context_switch+0x7e/0x650
<4> [427.377962] Modules linked in: vgem mei_hdcp x86_pkg_temp_thermal coretemp crct10dif_pclmul crc32_pclmul btusb btrtl btbcm btintel snd_hda_codec_hdmi ghash_clmulni_intel bluetooth snd_hda_codec_realtek snd_hda_codec_generic ecdh_generic ecc r8169 realtek i915 i2c_hid snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hwdep snd_hda_core snd_pcm mei_me pinctrl_geminilake mei pinctrl_intel prime_numbers
<4> [427.378254] CPU: 0 PID: 5578 Comm: gem_ctx_persist Tainted: G     UD W         5.4.0-rc8-CI-CI_DRM_7420+ #1
<4> [427.378270] Hardware name: Intel Corporation NUC7CJYH/NUC7JYB, BIOS JYGLKCPX.86A.0027.2018.0125.1347 01/25/2018
<4> [427.378506] RIP: 0010:rcu_note_context_switch+0x7e/0x650
<4> [427.378517] Code: 74 17 65 48 8b 04 25 00 5f 01 00 8b 88 8c 08 00 00 85 c9 0f 84 96 03 00 00 45 84 ed 41 8b 84 24 80 03 00 00 75 69 85 c0 7e 11 <0f> 0b 41 80 bc 24 84 03 00 00 00 0f 84 a2 01 00 00 4c 89 e7 e8 89
<4> [427.378544] RSP: 0018:ffffc9000045f800 EFLAGS: 00010002
<4> [427.378777] RAX: 0000000000000002 RBX: ffff888277e39ec0 RCX: 0000000000000000
<4> [427.378789] RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000000000000000
<4> [427.378801] RBP: ffffc9000045f898 R08: 0000000000000000 R09: 0000000000000000
<4> [427.378812] R10: ffffc9000045f9d0 R11: ffffc9000045fb1f R12: ffff88826d160040
<4> [427.378854] R13: 0000000000000000 R14: ffff888277e39198 R15: ffff888273bb4000
<4> [427.378866] FS:  00007fabb1d6ce40(0000) GS:ffff888277e00000(0000) knlGS:0000000000000000
<4> [427.379100] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4> [427.379111] CR2: 00007fabb1da1040 CR3: 00000002719a6000 CR4: 0000000000340ef0
<4> [427.379122] Call Trace:
<4> [427.379132]  __schedule+0xd0/0x810
<4> [427.379140]  ? __switch_to_asm+0x40/0x70
<4> [427.379148]  ? __switch_to_asm+0x34/0x70
<4> [427.379380]  ? __down_interruptible+0x86/0x130
<4> [427.379390]  schedule+0x34/0xc0
<4> [427.379398]  schedule_timeout+0x225/0x3f0
<4> [427.379408]  ? _raw_spin_unlock_irq+0x2f/0x50
<4> [427.379419]  ? __down_interruptible+0x86/0x130
<4> [427.379428]  __down_interruptible+0xa5/0x130
<4> [427.379668]  ? down_interruptible+0x3d/0x50
<4> [427.379677]  down_interruptible+0x3d/0x50
<4> [427.379687]  efivar_entry_set_safe+0x160/0x220
<4> [427.379700]  ? efi_pstore_write+0x10b/0x150
<4> [427.379708]  ? efi_pstore_write+0xa0/0x150
<4> [427.379937]  efi_pstore_write+0x10b/0x150
<4> [427.379955]  pstore_dump+0x127/0x340
<4> [427.379968]  kmsg_dump+0x87/0x1c0
<4> [427.379976]  oops_end+0x3e/0x90
<4> [427.379984]  general_protection+0x2d/0x40
<4> [427.380519] RIP: 0010:context_close+0x308/0x650 [i915]
<4> [427.380531] Code: 85 f6 0f 85 60 01 00 00 49 8b 44 24 58 48 8b 93 90 02 00 00 48 05 c0 00 00 00 48 8d 9a 78 fd ff ff 48 39 c2 0f 84 e7 00 00 00 <48> 8b 82 a8 fd ff ff a8 01 0f 85 d8 00 00 00 4c 8b 73 28 e8 00 1d
<4> [427.380557] RSP: 0018:ffffc9000045fd38 EFLAGS: 00010283
<4> [427.380567] RAX: ffff88825cab08c0 RBX: deacfffffffffe9a RCX: 0000000000000001
<4> [427.380578] RDX: dead000000000122 RSI: ffff88826d1608f8 RDI: 00000000ffffffff
<4> [427.380589] RBP: ffff88825f262000 R08: ffff88826d1608f8 R09: 0000000000000000
<4> [427.380600] R10: 0000000000000000 R11: 0000000000000000 R12: ffff888234d65840
<4> [427.380612] R13: ffffffff82247a60 R14: ffff88825f262000 R15: ffff88825f262068
<4> [427.380697]  ? context_close+0x3b9/0x650 [i915]
<4> [427.380773]  ? i915_gem_create_context+0x430/0x430 [i915]
<4> [427.380849]  context_idr_cleanup+0x8/0x10 [i915]
<4> [427.380858]  idr_for_each+0x49/0xd0
<4> [427.380932]  i915_gem_context_close+0x23/0xa0 [i915]
<4> [427.381000]  i915_driver_postclose+0x19/0x50 [i915]
<4> [427.381012]  drm_file_free.part.10+0x1e6/0x280
<4> [427.381022]  drm_release+0xa6/0xe0
<4> [427.381031]  __fput+0xbf/0x250
<4> [427.381041]  task_work_run+0x82/0xb0
<4> [427.381051]  exit_to_usermode_loop+0x98/0xa0
<4> [427.381060]  do_syscall_64+0x1b9/0x210
<4> [427.381068]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4> [427.381077] RIP: 0033:0x7fabb14e9421
<4> [427.381085] Code: f7 d8 64 89 02 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 8b 05 ea cf 20 00 85 c0 75 16 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 3f f3 c3 0f 1f 44 00 00 53 89 fb 48 83 ec 10
<4> [427.381111] RSP: 002b:00007fff30c4f198 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
<4> [427.381124] RAX: 0000000000000000 RBX: 0000000000000006 RCX: 00007fabb14e9421
<4> [427.381135] RDX: 000055f87543e2f0 RSI: 00000000c0406469 RDI: 0000000000000007
<4> [427.381147] RBP: 000055f87543e250 R08: 00007fabb14d2200 R09: 00007fabb14d2240
<4> [427.381158] R10: 746e656d65726975 R11: 0000000000000246 R12: 0000000000000006
<4> [427.381169] R13: 0000000000000007 R14: 000055f87543e2f0 R15: 0000000000000009
<4> [427.381185] irq event stamp: 782891
<4> [427.381193] hardirqs last  enabled at (782891): [<ffffffff8101dc14>] do_general_protection+0x174/0x1b0
<4> [427.381208] hardirqs last disabled at (782890): [<ffffffff81001c0a>] trace_hardirqs_off_thunk+0x1a/0x20
<4> [427.381224] softirqs last  enabled at (782886): [<ffffffff81c00385>] __do_softirq+0x385/0x47f
<4> [427.381239] softirqs last disabled at (782705): [<ffffffff810b829a>] irq_exit+0xba/0xc0
<4> [427.381252] ---[ end trace c7a487c5764f6799 ]---
Comment 2 Martin Peres 2019-11-29 19:52:46 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/intel/issues/652.


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.