Bug 103703 - [BAT] igt@vgem_basic@debugfs - dmesg-fails - regression
Summary: [BAT] igt@vgem_basic@debugfs - dmesg-fails - regression
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-13 07:03 UTC by Marta Löfstedt
Modified: 2017-11-14 10:34 UTC (History)
1 user (show)

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


Attachments

Description Marta Löfstedt 2017-11-13 07:03:04 UTC
From CI_DRM_3334 and all consecutive runs igt@vgem_basic@debugfs dmesg-fails on most BAT machines.
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3334/commits.log

an example:
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_3334/fi-skl-6600u/igt@vgem_basic@debugfs.html

long ftrace on typically:
[  483.304338] prime_vg-4312    1..s. 480563110us : intel_lrc_irq_handler:
...
[  483.304350] Modules linked in: vgem snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_intel snd_hda_codec x86_pkg_temp_thermal intel_powerclamp snd_hwdep coretemp crct10dif_pclmul snd_hda_core crc32_pclmul ghash_clmulni_intel i915 snd_pcm asix usbnet mii mei_me mei prime_numbers i2c_hid pinctrl_sunrisepoint pinctrl_intel
[  483.304387] CPU: 1 PID: 4321 Comm: vgem_basic Tainted: G     U          4.14.0-rc8-CI-CI_DRM_3334+ #1
[  483.304394] Hardware name: Dell Inc. XPS 13 9350/      , BIOS 1.4.12 11/30/2016
[  483.304401] task: ffff8802085c50c0 task.stack: ffffc90001a28000
[  483.304407] RIP: 0010:drm_framebuffer_info+0x77/0xc0
[  483.304412] RSP: 0018:ffffc90001a2bd68 EFLAGS: 00010286
[  483.304417] RAX: 0000000000000000 RBX: fffffffffffffff8 RCX: 0000000000000001
[  483.304423] RDX: 0000000080000001 RSI: 0000000000000000 RDI: 00000000ffffffff
[  483.304428] RBP: ffffc90001a2bda0 R08: 0000000000000000 R09: 0000000000000000
[  483.304434] R10: ffffc90001a2bd58 R11: ffffffff81607ef8 R12: ffff88026dd5a950
[  483.304439] R13: ffff88026dd5a8c8 R14: ffffffff81ce969b R15: ffff880271bce2b8
[  483.304445] FS:  00007f8de58158c0(0000) GS:ffff88027dc80000(0000) knlGS:0000000000000000
[  483.304451] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  483.304456] CR2: 0000000000000010 CR3: 000000026ca80005 CR4: 00000000003606e0
[  483.304462] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  483.304467] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  483.304473] Call Trace:
[  483.304476]  ? drm_mode_gamma_get_ioctl+0xf0/0xf0
[  483.304482]  seq_read+0xe1/0x3a0
[  483.304488]  full_proxy_read+0x54/0x80
[  483.304492]  __vfs_read+0x28/0x120
[  483.304496]  ? putname+0x54/0x60
[  483.304501]  ? rcu_read_lock_sched_held+0x7a/0x90
[  483.304506]  ? entry_SYSCALL_64_fastpath+0x5/0xb1
[  483.304511]  vfs_read+0xa8/0x150
[  483.304515]  SyS_read+0x49/0xb0
[  483.304519]  entry_SYSCALL_64_fastpath+0x1c/0xb1
[  483.304523] RIP: 0033:0x7f8de3ffb6d0
[  483.304526] RSP: 002b:00007ffd88a31858 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
[  483.304533] RAX: ffffffffffffffda RBX: ffffffff81492083 RCX: 00007f8de3ffb6d0
[  483.304538] RDX: 000000000000003f RSI: 000055b2d1ef8b20 RDI: 0000000000000005
[  483.304544] RBP: ffffc90001a2bf88 R08: 0000000000000000 R09: 0000000000000050
[  483.304549] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000005
[  483.304555] R13: 000055b2d1ef8b20 R14: 0000000000000000 R15: 0000000000000000
[  483.304562]  ? __this_cpu_preempt_check+0x13/0x20
[  483.304566] Code: 20 06 00 00 48 a9 f8 ff ff ff 74 63 49 8b 84 24 a8 06 00 00 49 81 c4 a8 06 00 00 49 c7 c6 9b 96 ce 81 49 39 c4 48 8d 58 f8 74 2d <8b> 53 18 48 8d 7d c8 4c 89 f6 e8 4a 5c 00 00 48 8d 7d c8 48 89 
[  483.304618] RIP: drm_framebuffer_info+0x77/0xc0 RSP: ffffc90001a2bd68
[  483.304624] CR2: 0000000000000010
[  483.304628] ---[ end trace 082744115499dbb7 ]---
[  485.129001] BUG: sleeping function called from invalid context at ./include/linux/percpu-rwsem.h:34
[  485.129014] in_atomic(): 0, irqs_disabled(): 1, pid: 4321, name: vgem_basic
[  485.129021] INFO: lockdep is turned off.
[  485.129026] irq event stamp: 24705
[  485.129034] hardirqs last  enabled at (24705): [<ffffffff811fc6d9>] __slab_alloc.isra.23.constprop.28+0x59/0x80
[  485.129045] hardirqs last disabled at (24704): [<ffffffff811fc6a4>] __slab_alloc.isra.23.constprop.28+0x24/0x80
[  485.129055] softirqs last  enabled at (24144): [<ffffffff8191c656>] __do_softirq+0x3a6/0x4ae
[  485.129064] softirqs last disabled at (24123): [<ffffffff810861de>] irq_exit+0xae/0xc0
[  485.129072] CPU: 1 PID: 4321 Comm: vgem_basic Tainted: G     UD         4.14.0-rc8-CI-CI_DRM_3334+ #1
[  485.129079] Hardware name: Dell Inc. XPS 13 9350/      , BIOS 1.4.12 11/30/2016
[  485.129086] Call Trace:
[  485.129091]  dump_stack+0x68/0x9f
[  485.129095]  ___might_sleep+0x1e5/0x240
[  485.129100]  __might_sleep+0x4a/0x80
[  485.129105]  exit_signals+0x24/0x2a0
[  485.129109]  do_exit+0x9a/0xca0
[  485.129114]  ? SyS_read+0x49/0xb0
[  485.129132]  rewind_stack_do_exit+0x17/0x20
[  485.129140] RIP: 0033:0x7f8de3ffb6d0
[  485.129144] RSP: 002b:00007ffd88a31858 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
[  485.129151] RAX: ffffffffffffffda RBX: ffffffff81492083 RCX: 00007f8de3ffb6d0
[  485.129156] RDX: 000000000000003f RSI: 000055b2d1ef8b20 RDI: 0000000000000005
[  485.129162] RBP: ffffc90001a2bf88 R08: 0000000000000000 R09: 0000000000000050
[  485.129168] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000005
[  485.129173] R13: 000055b2d1ef8b20 R14: 0000000000000000 R15: 0000000000000000
[  485.129180]  ? __this_cpu_preempt_check+0x13/0x20
Comment 1 Elizabeth 2017-11-13 21:11:56 UTC
This is a me too on BDW, BSW, BXT, BYT, IVB, KBL and SKL:

[  551.084170] BUG: unable to handle kernel NULL pointer dereference at 0000000000000010
[  551.084193] IP: drm_framebuffer_info+0x78/0xe0 [drm]
[  551.084201] Oops: 0000 [#1] SMP
[  551.084206] Dumping ftrace buffer:
[  551.084211]    (ftrace buffer empty)
[  551.084214] Modules linked in: vgem ip6table_filter ip6_tables cmac bnep iptable_filter snd_hda_codec_hdmi arc4 snd_hda_codec_realtek snd_hda_codec_generic intel_rapl x86_pkg_temp_thermal intel_powerclamp snd_hda_intel coretemp snd_hda_codec iwlmvm snd_hda_core kvm_intel snd_hwdep mac80211 kvm snd_pcm irqbypass crct10dif_pclmul crc32_pclmul snd_seq_midi ghash_clmulni_intel snd_seq_midi_event pcbc snd_rawmidi binfmt_misc snd_seq iwlwifi ir_rc6_decoder nls_iso8859_1 snd_seq_device snd_timer aesni_intel cfg80211 aes_x86_64 crypto_simd snd glue_helper cryptd btusb mei_me intel_cstate btrtl input_leds btbcm soundcore mei shpchp intel_pch_thermal hci_uart rc_rc6_mce intel_rapl_perf btqca ir_lirc_codec lirc_dev btintel bluetooth nuvoton_cir rc_core intel_lpss_acpi ecdh_generic intel_lpss acpi_als mac_hid
[  551.084268]  kfifo_buf acpi_pad industrialio parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_generic usbhid i915 i2c_algo_bit prime_numbers drm_kms_helper syscopyarea e1000e sysfillrect sysimgblt fb_sys_fops ptp nvme drm pps_core sdhci_pci nvme_core sdhci wmi i2c_hid video hid pinctrl_sunrisepoint pinctrl_intel
[  551.084295] CPU: 7 PID: 4859 Comm: vgem_basic Tainted: G     U          4.14.0-rc8-drm-intel-qa-ww46-commit-9a81c14+ #1
[  551.084298] Hardware name:                  /NUC6i7KYB, BIOS KYSKLi70.86A.0050.2017.0831.1924 08/31/2017
[  551.084302] task: ffff950916125d00 task.stack: ffffb188056a4000
[  551.084316] RIP: 0010:drm_framebuffer_info+0x78/0xe0 [drm]
[  551.084319] RSP: 0018:ffffb188056a7d58 EFLAGS: 00010282
[  551.084322] RAX: 0000000000000000 RBX: fffffffffffffff8 RCX: 00000000000279a0
[  551.084325] RDX: ffff950916125d00 RSI: 0000000000000001 RDI: ffff950913f01aa8
[  551.084328] RBP: ffffb188056a7d90 R08: ffff95093eddf580 R09: ffff95091e002c00
[  551.084330] R10: ffff950912b85000 R11: ffff950916125d00 R12: ffff950913f01ad0
[  551.084333] R13: ffff950913f01aa8 R14: 0000000000000001 R15: ffff950911d90b80
[  551.084336] FS:  00007fc80f95f880(0000) GS:ffff95093edc0000(0000) knlGS:0000000000000000
[  551.084339] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  551.084342] CR2: 0000000000000010 CR3: 0000000851d4a003 CR4: 00000000003606e0
[  551.084345] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  551.084347] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  551.084350] Call Trace:
[  551.084365]  ? drm_mode_gamma_get_ioctl+0x140/0x140 [drm]
[  551.084372]  seq_read+0x9e/0x440
[  551.084377]  full_proxy_read+0x54/0x90
[  551.084382]  __vfs_read+0x37/0x160
[  551.084386]  ? security_file_permission+0x9b/0xc0
[  551.084390]  vfs_read+0x93/0x130
[  551.084393]  SyS_read+0x55/0xc0
[  551.084397]  entry_SYSCALL_64_fastpath+0x1e/0xa9
[  551.084400] RIP: 0033:0x7fc80eb886d0
[  551.084402] RSP: 002b:00007fff666a0f38 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
[  551.084406] RAX: ffffffffffffffda RBX: 00007fc80e133b58 RCX: 00007fc80eb886d0
[  551.084408] RDX: 000000000000003f RSI: 00000000023b6bc0 RDI: 0000000000000005
[  551.084411] RBP: 00007fc80e133b00 R08: 0000000000000000 R09: 0000000000000000
[  551.084414] R10: 00000000023b6bc0 R11: 0000000000000246 R12: 00007fc80e133b58
[  551.084416] R13: 0000000000008040 R14: 00007fc80e133b58 R15: 000000000000270a
[  551.084420] Code: 14 18 cc 49 8b 84 24 a8 02 00 00 48 a9 f8 ff ff ff 74 6d 49 8b 84 24 d0 02 00 00 49 81 c4 d0 02 00 00 49 39 c4 48 8d 58 f8 74 31 <8b> 53 18 48 8d 7d c8 48 c7 c6 ed b7 39 c0 e8 c5 5c 00 00 48 8d 
[  551.084469] RIP: drm_framebuffer_info+0x78/0xe0 [drm] RSP: ffffb188056a7d58
[  551.084471] CR2: 0000000000000010
[  551.084478] ---[ end trace 336d5dc896745bac ]---
Comment 2 Marta Löfstedt 2017-11-14 10:34:17 UTC
A fix was integrated on CI_DRM_3343


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.