[Bug 91080] New: [BSW] igt/gem_evict_everything/mlocked-interruptible crash

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 24 03:35:35 PDT 2015


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

            Bug ID: 91080
           Summary: [BSW] igt/gem_evict_everything/mlocked-interruptible
                    crash
           Product: DRI
           Version: unspecified
          Hardware: Other
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: DRM/Intel
          Assignee: intel-gfx-bugs at lists.freedesktop.org
          Reporter: christophe.prigent at intel.com
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
                CC: intel-gfx-bugs at lists.freedesktop.org

Created attachment 116686
  --> https://bugs.freedesktop.org/attachment.cgi?id=116686&action=edit
Kernel configuration

Regression
----------
Tested for the first time with this environment

Setup
------
Platform: Braswell M 
CPU : Intel(R) CPU  @ 1.52 GHz (family: 6, model: 76 stepping: 3)
SoC : BSW C0
CRB : BRASWELL RVP Fab2
Mandatory Reworks : All
Feature Reworks: F28, F32,F33 & F37
Optional reworks : O-01a

Software 
BIOS : BRAS.X64.B074.R00.1505311952
TXE FW : 2.0.0.2064
Ksc : 1.08
Linux distribution: Ubuntu 14.04 LTS 64 bits 
Kernel 4.1-rc8 from git://anongit.freedesktop.org/drm-intel tag
drm-intel-testing-2015-06-19 
Mesa: mesa-10.5.8 from http://cgit.freedesktop.org/mesa/mesa/
Xf86_video_intel: 2.99.917 from
http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/
Libdrm: libdrm-2.4.61 from http://cgit.freedesktop.org/mesa/drm/
Cairo: 1.14.2 from http://cgit.freedesktop.org/cairo
libva: libva-1.6.0.pre1 from http://cgit.freedesktop.org/libva/
intel-driver: 1.6.0.pre1 from http://cgit.freedesktop.org/vaapi/intel-driver
xorg: 1.17.99 installed with script git_xorg.sh
Xserver: xorg-server-1.17.2 from http://cgit.freedesktop.org/xorg/xserver
Intel-gpu-tools: 4fbce7e462ab488fc11037adb571bb3a807459ba from
http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/

Screens:
Connected via HDMI to monitor AOC 230LM00025
Connected via DP to monitor ASUS PB287Q

Steps:
------
1. Execute intel-gpu-tools with command:
cd <...>/intel-gpu-tools/scripts/
./run-tests.sh -r <path>/results  -x .*suspend.* -x
gem_userptr_blits at swapping.* -x gem_dummy_reloc_loop -x gem_concurrent_all.* -x
gem_evict_everything at swapping-hang -x gem_close_race -x gem_cpu_reloc -x
gem_ctx_thrash.* -x drv_hangman.* -x drv_missed_irq_hang -x kms_setmode.* -x
gem_fence_thrash at bo-write-verify-threaded-y -x gem_multi_bsd_sync_loop -x
gem_reloc_vs_gpu at forked-interruptible-faulting-reloc-thrashing -x
gem_seqno_wrap -x
gem_userptr_blits at forked-sync-swapping-multifd-mempressure-interruptible -x
kms_render at gpu-blit -x kms_cursor_crc at cursor-size-change -x
gem_render_linear_blits at swap-thrash -x gem_render_tiled_blits at swap-thrash -x
gem_evict_everything at mlocked-hang -x gem_userptr_blits at mlocked-normal-sync -x
gem_userptr_blits at mlocked-sync-interruptible -x
gem_userptr_blits at mlocked-unsync-normal -x
gem_userptr_blits at mlocked-unsync-interruptible -x gem_exec_big -x
gem_mmap_gtt at medium-copy -x gem_mmap_gtt at medium-copy-xy -x gem_pwrite at huge-gtt
-x gem_pwrite at big-cpu -x gem_pwrite at big-gtt -x gem_pwrite at huge-cpu
2. Wait several hours

Actual result
--------------
2. Crash, DUT not responding when running
gem_evict_everything at mlocked-interruptible

Expected result:
----------------
2. No crash 

End of kern.log
---------------
[drm:drm_detect_monitor_audio] Monitor has basic audio support
Jun 23 19:04:39 BSWM8 kernel: [25916.834652] [drm:intel_hpd_irq_event]
[CONNECTOR:50:DP-2] status updated from disconnected to connected
Jun 23 19:06:13 BSWM8 kernel: [26010.223192] BUG: unable to handle kernel NULL
pointer dereference at 0000000000000008
Jun 23 19:06:13 BSWM8 kernel: [26010.229571] IP: [<ffffffffa00e2f9d>]
gen8_ppgtt_insert_entries+0x3a/0x184 [i915]
Jun 23 19:06:13 BSWM8 kernel: [26010.235652] PGD 6c92a067 PUD 6c92b067 PMD 0 
Jun 23 19:06:13 BSWM8 kernel: [26010.241631] Oops: 0000 [#1] SMP 
Jun 23 19:06:13 BSWM8 kernel: [26010.247962] Modules linked in: ipv6 rfcomm
bnep bluetooth rfkill joydev snd_hda_codec_hdmi snd_hda_codec_realtek
snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep
snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi
coretemp kvm_intel snd_rawmidi kvm microcode snd_seq_midi_event serio_raw
snd_seq snd_seq_device snd_timer snd lpc_ich mfd_core soundcore shpchp battery
parport_pc ppdev i915 video drm_kms_helper drm ac lp parport button
acpi_cpufreq r8169
Jun 23 19:06:13 BSWM8 kernel: [26010.268284] CPU: 1 PID: 7763 Comm:
gem_evict_every Tainted: G     U  W      
4.1.0-rc8-drm-intel-testing-tag19june+ #4
Jun 23 19:06:13 BSWM8 kernel: [26010.275106] Hardware name: Intel Corporation
CHERRYVIEW C0 PLATFORM/Braswell CRB, BIOS BRAS.X64.B074.R00.1505311952
05/31/2015
Jun 23 19:06:13 BSWM8 kernel: [26010.282033] task: ffff880179f420c0 ti:
ffff88006c908000 task.ti: ffff88006c908000
Jun 23 19:06:13 BSWM8 kernel: [26010.289282] RIP: 0010:[<ffffffffa00e2f9d>] 
[<ffffffffa00e2f9d>] gen8_ppgtt_insert_entries+0x3a/0x184 [i915]
Jun 23 19:06:13 BSWM8 kernel: [26010.296422] RSP: 0018:ffff88006c90ba68 
EFLAGS: 00010292
Jun 23 19:06:13 BSWM8 kernel: [26010.303544] RAX: ffff88006cb7c000 RBX:
0000000000000000 RCX: 0000000000000000
Jun 23 19:06:13 BSWM8 kernel: [26010.310951] RDX: 000000000008d200 RSI:
0000000000000000 RDI: ffff88006cb7c000
Jun 23 19:06:13 BSWM8 kernel: [26010.318116] RBP: 0000000000000069 R08:
0000000000000000 R09: ffff88006c9dc6c0
Jun 23 19:06:13 BSWM8 kernel: [26010.325274] R10: ffffffffffffffff R11:
ffffffffa00e2700 R12: 0000000000000002
Jun 23 19:06:13 BSWM8 kernel: [26010.332737] R13: ffff88006cb7c000 R14:
0000000000000000 R15: 000000008d200000
Jun 23 19:06:13 BSWM8 kernel: [26010.339907] FS:  00007f1fce531740(0000)
GS:ffff88017fc80000(0000) knlGS:0000000000000000
Jun 23 19:06:13 BSWM8 kernel: [26010.347348] CS:  0010 DS: 0000 ES: 0000 CR0:
000000008005003b
Jun 23 19:06:13 BSWM8 kernel: [26010.354485] CR2: 0000000000000008 CR3:
000000006c929000 CR4: 00000000001006e0
Jun 23 19:06:13 BSWM8 kernel: [26010.361707] Stack:
Jun 23 19:06:13 BSWM8 kernel: [26010.369067]  00000000c0000000 ffff88015bb7f000
0000000000000000 0000000000000000
Jun 23 19:06:13 BSWM8 kernel: [26010.376433]  000000000000006a ffff88015b943a00
0000000000000002 0000000000001000
Jun 23 19:06:13 BSWM8 kernel: [26010.383812]  ffffffffa016e58d ffff88006cb7c000
000000008d200000 ffffffffa00e04a4
Jun 23 19:06:13 BSWM8 kernel: [26010.391486] Call Trace:
Jun 23 19:06:13 BSWM8 kernel: [26010.398852]  [<ffffffffa00e04a4>] ?
ppgtt_bind_vma+0x2e/0x32 [i915]
Jun 23 19:06:13 BSWM8 kernel: [26010.406524]  [<ffffffffa00e4499>] ?
i915_vma_bind+0x8c/0x151 [i915]
Jun 23 19:06:13 BSWM8 kernel: [26010.413963]  [<ffffffffa00ea192>] ?
i915_gem_object_do_pin+0x724/0x7f6 [i915]
Jun 23 19:06:13 BSWM8 kernel: [26010.421175]  [<ffffffffa00de31e>] ?
i915_gem_execbuffer_reserve_vma.isra.13+0x6b/0x111 [i915]
Jun 23 19:06:13 BSWM8 kernel: [26010.428445]  [<ffffffffa00de623>] ?
i915_gem_execbuffer_reserve.isra.14+0x25f/0x2f6 [i915]
Jun 23 19:06:13 BSWM8 kernel: [26010.435213]  [<ffffffffa00dec8c>] ?
i915_gem_do_execbuffer.isra.15+0x5d2/0xd71 [i915]
Jun 23 19:06:13 BSWM8 kernel: [26010.441739]  [<ffffffff810ef869>] ?
kmalloc_order+0x10/0x3d
Jun 23 19:06:13 BSWM8 kernel: [26010.448278]  [<ffffffff810ef8b2>] ?
kmalloc_order_trace+0x1c/0x7e
Jun 23 19:06:13 BSWM8 kernel: [26010.454445]  [<ffffffffa00e03df>] ?
i915_gem_execbuffer2+0x16e/0x205 [i915]
Jun 23 19:06:13 BSWM8 kernel: [26010.460638]  [<ffffffffa004e656>] ?
drm_ioctl+0x322/0x38d [drm]
Jun 23 19:06:13 BSWM8 kernel: [26010.467127]  [<ffffffffa00e0271>] ?
i915_gem_execbuffer+0x339/0x339 [i915]
Jun 23 19:06:13 BSWM8 kernel: [26010.473340]  [<ffffffff81123623>] ?
do_vfs_ioctl+0x360/0x424
Jun 23 19:06:13 BSWM8 kernel: [26010.479356]  [<ffffffff810f1e0f>] ?
__mm_populate+0xda/0xee
Jun 23 19:06:13 BSWM8 kernel: [26010.485158]  [<ffffffff81123730>] ?
SyS_ioctl+0x49/0x77
Jun 23 19:06:13 BSWM8 kernel: [26010.491155]  [<ffffffff810f74ba>] ?
SyS_mlock+0xd9/0x114
Jun 23 19:06:13 BSWM8 kernel: [26010.496842]  [<ffffffff817ac997>] ?
system_call_fastpath+0x12/0x6a
Jun 23 19:06:13 BSWM8 kernel: [26010.502537] Code: 54 49 89 d4 49 c1 ec 1e 55
48 89 d5 48 c1 ea 0c 48 c1 ed 15 41 83 e4 03 53 89 d3 81 e5 ff 01 00 00 81 e3
ff 01 00 00 48 83 ec 28 <8b> 56 08 48 8b 36 48 8d 7c 24 08 e8 ce 64 26 e1 45 31
ff 48 8d 
Jun 23 19:06:13 BSWM8 kernel: [26010.509175] RIP  [<ffffffffa00e2f9d>]
gen8_ppgtt_insert_entries+0x3a/0x184 [i915]
Jun 23 19:06:13 BSWM8 kernel: [26010.515231]  RSP <ffff88006c90ba68>
Jun 23 19:06:13 BSWM8 kernel: [26010.521188] CR2: 0000000000000008
Jun 23 19:06:13 BSWM8 kernel: [26010.527593] ---[ end trace d9c837efa2439b91
]---
Jun 23 19:06:13 BSWM8 kernel: [26010.980357] [drm:i915_gem_open]

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


More information about the intel-gfx-bugs mailing list