Wind River Support Network

HomeDefectsLIN8-4998
Fixed

LIN8-4998 : DRM crashes in many system units with RCPL9

Created: Oct 27, 2016    Updated: Dec 9, 2019
Resolved Date: Nov 10, 2016
Found In Version: 8.0.0.9
Fix Version: 8.0.0.12
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Kernel

Description

Attempting to run WRL8 with RCPL9 on several system unit models fails during starting up of X. 

The following Oops while booting (captured from a minicom trace):
<snip>
Wind River Linux 8.0.0.9 localhost ttyS0

localhost login: ------------[ cut here ]------------
kernel BUG at /home/os4690build/build_workspace/wrl8_build/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/drivers/gpu/drm/drm_mm.c:305!
invalid opcode: 0000 [#1] PREEMPT SMP
Modules linked in: tun gpio_ich iTCO_wdt iTCO_vendor_support coretemp acpi_cpufreq i2c_i801 lpc_ich aipdcs(O) elofousb(O) i915 snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec tpm_tis video snd_hda_core sch_fq_codel fuse [last unloaded: aipikbps]
CPU: 1 PID: 2684 Comm: X Tainted: G O 4.1.21-WR8.0.0.9_standard #1
Hardware name: IBM CORPORATION 4800784/IntelG45/ICH10R/DME1737, BIOS 86KT210 09/08/2015
task: ffff8800d8d7b060 ti: ffff88007f6ec000 task.ti: ffff88007f6ec000
RIP: 0010:[<ffffffff81539566>] [<ffffffff81539566>] drm_mm_insert_node_in_range_generic+0x386/0x390
RSP: 0018:ffff88007f6efa08 EFLAGS: 00010206
RAX: ffff88007fb8d780 RBX: 0000000000000000 RCX: ffff88007fb8d790
RDX: 000000007ffff000 RSI: ffff88007fb8d780 RDI: ffff8800d63e6640
RBP: ffff88007f6efa88 R08: 000000000042d000 R09: 0000000000000000
R10: 000000007fffe000 R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000000000 R14: ffff8800d74786d8 R15: ffff8800d63e6640
FS: 00007f54ea3f78c0(0000) GS:ffff88011fd00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000008ef000 CR3: 00000000d6340000 CR4: 00000000000406e0
Stack:
 ffff88007fb8d780 0000000000001000 ffff8800d63e6640 0000100000000000
 000000007fffe000 0000000000000001 000000000042d000 000000000000e000
 000000007fff1000 000000007fffd000 ffff88007f6efa88 0000000080000000
Call Trace:
 [<ffffffffa0116b49>] i915_gem_object_do_pin+0x789/0xb80 [i915]
 [<ffffffffa0116f7a>] i915_gem_object_pin+0x3a/0x40 [i915]
 [<ffffffffa01051e5>] i915_gem_execbuffer_reserve_vma.isra.6+0x95/0x160 [i915]
 [<ffffffffa01055ec>] i915_gem_execbuffer_reserve.isra.7+0x33c/0x380 [i915]
 [<ffffffffa0105f31>] i915_gem_do_execbuffer.isra.13+0x901/0x13e0 [i915]
 [<ffffffff810b6bcc>] ? rcu_read_unlock_special+0x1c/0x20
 [<ffffffff810b14b8>] ? __rcu_read_unlock+0x68/0x70
 [<ffffffffa0118799>] ? i915_gem_pwrite_ioctl+0x109/0xac0 [i915]
 [<ffffffff8107dec0>] ? preempt_count_add+0xa0/0xf0
 [<ffffffffa0107734>] i915_gem_execbuffer2+0xd4/0x240 [i915]
 [<ffffffff81530709>] drm_ioctl+0x129/0x520
 [<ffffffffa0107660>] ? i915_gem_execbuffer+0x310/0x310 [i915]
 [<ffffffff8141f544>] ? timerqueue_del+0x24/0x70
 [<ffffffff810bb7fe>] ? __remove_hrtimer+0x4e/0xb0
 [<ffffffff811bd846>] do_vfs_ioctl+0x2a6/0x4b0
 [<ffffffff811c7c12>] ? __fget+0x72/0xb0
 [<ffffffff811bdad1>] SyS_ioctl+0x81/0xa0
 [<ffffffff81003312>] ? sys_rt_sigreturn+0xb2/0xc0
 [<ffffffff819d7cdb>] system_call_fastpath+0x16/0x6e
Code: 02 00 00 00 00 ad de 48 89 57 18 48 8b 45 c0 e9 bf fe ff ff 0f 0b 8b 4d 9c 29 d1 48 01 c8 48 89 45 c0 e9 a3 fe ff ff 0f 0b 0f 0b <0f> 0b 0f 0b 66 0f 1f 44 00 00 66 66 66 66 90 55 83 ff 01 48 c7
RIP [<ffffffff81539566>] drm_mm_insert_node_in_range_generic+0x386/0x390
 RSP <ffff88007f6efa08>
---[ end trace c15193a427e43b5e ]--- 

Workaround

Revert commit:
commit 101b506a7fc7be3f0d0a337ade270eb5eb5a2857
Author: Michel Thierry <michel.thierry@intel.com>
Date: Thu Oct 1 13:33:57 2015 +0100

    drm/i915: Wa32bitGeneralStateOffset & Wa32bitInstructionBaseOffset

Steps to Reproduce

Configure project:
/net/pek-lpd-susbld/pek-lpd-susbld12/wrlinux-8.0-rcpl/wrlinux-8/wrlinux/configure --enable-board=intel-x86-64 --enable-rootfs=glibc-small --enable-kernel=standard --enable-reconfig --enable-bootimage=iso --enable-rm-oldimgs=yes --with-rcpl-version=0009

It should be a generic issue on standard WRL8 RCPL9 with Xorg graphic environment and an old i915 graphic chip.

Other Downloads


Live chat
Online