<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [CI][BAT] igt* incomplete - /dev/kmsg buffer overrun, some messages lost"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103706#c19">Comment # 19</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [CI][BAT] igt* incomplete - /dev/kmsg buffer overrun, some messages lost"
href="https://bugs.freedesktop.org/show_bug.cgi?id=103706">bug 103706</a>
from <span class="vcard"><a class="email" href="mailto:marta.lofstedt@intel.com" title="Marta Löfstedt <marta.lofstedt@intel.com>"> <span class="fn">Marta Löfstedt</span></a>
</span></b>
<pre>I file this here because I still believe we need to trim the ftrace buffer so
that we get "header" of the BUG_ON backtrace.
I this case I believe it is probably <a class="bz_bug_link
bz_status_NEW "
title="NEW - [BAT][CI] Incomplete : kernel BUG at drivers/gpu/drm/i915/intel_lrc.c:880!"
href="show_bug.cgi?id=102035">bug 102035</a>. However, since we also have
<a class="bz_bug_link
bz_status_NEW "
title="NEW - [BAT] igt@kms_addfb_basic@invalid-set-prop - incomplete - kernel BUG at drivers/gpu/drm/i915/intel_lrc.c:886!"
href="show_bug.cgi?id=103533">bug 103533</a>, I would need to objdump the actual kernel that was run in order to
figure out which line it was.
I don't know if decreasing the
CONFIG_GLOBAL_TRACE_BUF_SIZE further will help. Maybe the ftrace will always
write over the expected:
"<4>[ 607.672089] ------------[ cut here ]------------
<2>[ 607.672099] kernel BUG at drivers/gpu/drm/i915/intel_lrc.c:891!
<4>[ 607.672155] invalid opcode: 0000 [#1] PREEMPT SMP"
<a href="https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3351/shard-apl2/igt@kms_chv_cursor_fail@pipe-c-128x128-bottom-edge.html">https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3351/shard-apl2/igt@kms_chv_cursor_fail@pipe-c-128x128-bottom-edge.html</a>
<0>[ 327.861785] kms_chv_-2351 1..s1 327841533us : intel_lrc_irq_handler:
rcs0 csb[0d]: status=0x00008002:0x00000003
<0>[ 327.861847] kms_chv_-2351 1..s1 327841534us : intel_lrc_irq_handler:
rcs0 out[0]: ctx=3.1, seqno=19d37
<0>[ 327.861865] ---------------------------------
<4>[ 327.861875] Modules linked in: vgem 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 snd_hda_intel snd_hda_codec
lpc_ich snd_hwdep r8169 mii snd_hda_core mei_me snd_pcm mei prime_numbers
pinctrl_broxton pinctrl_intel
<4>[ 327.861960] CPU: 1 PID: 2351 Comm: kms_chv_cursor_ Tainted: G U
4.14.0-CI-CI_DRM_3351+ #1
<4>[ 327.861977] Hardware name: /NUC6CAYB, BIOS
AYAPLCEL.86A.0040.2017.0619.1722 06/19/2017
<4>[ 327.861995] task: ffff8802342ccec0 task.stack: ffffc900002b0000
<4>[ 327.862049] RIP: 0010:intel_lrc_irq_handler+0x40f/0xa00 [i915]
<4>[ 327.862061] RSP: 0018:ffff88027fc83ef0 EFLAGS: 00010202
<4>[ 327.862073] RAX: 0000000000000005 RBX: 0000000000000000 RCX:
00000000000002b4
<4>[ 327.862086] RDX: 0000000000000004 RSI: ffff88027608f5b8 RDI:
ffff88027608f4e8
<4>[ 327.862100] RBP: ffff88027fc83f58 R08: ffff8802761c3000 R09:
0000000000000002
<4>[ 327.862113] R10: 0000000000000000 R11: ffff8802703679c0 R12:
ffff8802703679c0
<4>[ 327.862126] R13: ffff88027032d040 R14: ffff8802705f2158 R15:
ffff8802705f2160
<4>[ 327.862140] FS: 00007f25fc1b9a40(0000) GS:ffff88027fc80000(0000)
knlGS:0000000000000000
<4>[ 327.862155] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4>[ 327.862167] CR2: 00005598c236cc18 CR3: 000000023633a000 CR4:
00000000003406e0
<4>[ 327.862181] Call Trace:
<4>[ 327.862190] <IRQ>
<4>[ 327.862204] tasklet_hi_action+0x8e/0x110
<4>[ 327.862217] __do_softirq+0xc6/0x4af
<4>[ 327.862228] do_softirq_own_stack+0x2a/0x40
<4>[ 327.862238] </IRQ>
<4>[ 327.862282] ? __i915_add_request+0x1ee/0x460 [i915]
<4>[ 327.862295] do_softirq.part.4+0x56/0x60
<4>[ 327.862306] __local_bh_enable_ip+0x8c/0xa0
<4>[ 327.862350] i915_gem_do_execbuffer+0xde4/0x1550 [i915]
<4>[ 327.862371] ? lock_acquire+0xaf/0x200
<4>[ 327.862382] ? __might_fault+0x3e/0x90
<4>[ 327.862431] ? i915_gem_execbuffer+0x2b0/0x2b0 [i915]
<4>[ 327.862476] i915_gem_execbuffer2+0x1d7/0x3c0 [i915]
<4>[ 327.862488] ? __might_fault+0x3e/0x90
<4>[ 327.862532] ? i915_gem_execbuffer+0x2b0/0x2b0 [i915]
<4>[ 327.862544] drm_ioctl_kernel+0x65/0xb0
<4>[ 327.862555] drm_ioctl+0x295/0x340
<4>[ 327.862598] ? i915_gem_execbuffer+0x2b0/0x2b0 [i915]
<4>[ 327.862611] ? lock_acquire+0xaf/0x200
<4>[ 327.862622] ? task_work_run+0x7b/0xc0
<4>[ 327.862634] do_vfs_ioctl+0x8f/0x670
<4>[ 327.862644] ? entry_SYSCALL_64_fastpath+0x5/0xb1
<4>[ 327.862655] ? trace_hardirqs_on_caller+0xde/0x1c0
<4>[ 327.862667] SyS_ioctl+0x3b/0x70
<4>[ 327.862678] entry_SYSCALL_64_fastpath+0x1c/0xb1
<4>[ 327.862689] RIP: 0033:0x7f25fa3b8587
<4>[ 327.862697] RSP: 002b:00007ffc179775e8 EFLAGS: 00000246 ORIG_RAX:
0000000000000010
<4>[ 327.862713] RAX: ffffffffffffffda RBX: ffffc900002b3ff0 RCX:
00007f25fa3b8587
<4>[ 327.862726] RDX: 00007ffc17977680 RSI: 0000000040406469 RDI:
0000000000000004
<4>[ 327.862739] RBP: 000000000000003c R08: 0000000000000008 R09:
0000000000000000
<4>[ 327.862752] R10: 0000000000000073 R11: 0000000000000246 R12:
0000000000000046
<4>[ 327.862766] R13: 00007f25fa67cc20 R14: 0000000000000000 R15:
0000000000000000
<4>[ 327.862782] Code: e9 d8 fc ff ff 41 8b 46 24 44 8d a8 70 03 00 00 48 8b
45 c0 4c 03 a8 b8 0b 00 00 41 c7 86 9c 03 00 00 ff ff ff ff e9 80 fc ff ff <0f>
0b 0f 0b 0f 0b 49 8b 86 80 03 00 00 4d 89 f7 a8 02 74 20 41
<1>[ 327.862934] RIP: intel_lrc_irq_handler+0x40f/0xa00 [i915] RSP:
ffff88027fc83ef0
<7>[ 327.863162] [drm:gen8_irq_handler [i915]] hotplug event received, stat
0x00000020, dig 0x10001918, pins 0x00000040
<7>[ 327.863268] [drm:intel_hpd_irq_handler [i915]] digital hpd port C - short
<7>[ 327.863374] [drm:intel_dp_hpd_pulse [i915]] got hpd irq on port C - short
<7>[ 327.863436] [drm:intel_power_well_enable [i915]] enabling always-on
<7>[ 327.863486] [drm:intel_power_well_enable [i915]] enabling DC off
<7>[ 327.863839] [drm:gen9_set_dc_state [i915]] Setting DC state from 01 to 00
<4>[ 327.863843] ---[ end trace e93b116545516f76 ]---</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>