<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [APL] [IGT Basic] drv_module_reload_basic never ends"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94123">94123</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[APL] [IGT Basic] drv_module_reload_basic never ends
</td>
</tr>
<tr>
<th>Product</th>
<td>DRI
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>DRM/Intel
</td>
</tr>
<tr>
<th>Assignee</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>christophe.prigent@intel.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>CC</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=121721" name="attach_121721" title="dmesg_drv_module_reload_basic">attachment 121721</a> <a href="attachment.cgi?id=121721&action=edit" title="dmesg_drv_module_reload_basic">[details]</a></span>
dmesg_drv_module_reload_basic
Platform: Broxton P A0 Platform
CPU Name : Intel(R) @ 1.2 GHz (family: 6, model: 92, stepping: 8) 4 cores
SoC : BROXTON-P A0
CRB : Apollo Lake LPDDR3 RVP2B
Reworks : R17, R18, PNP3
BIOS (IFWI Version): APLK_IFWI_X64_R_2015_44_3_00
KSC: 1.05
Linux distribution: Ubuntu 15.10 64 bits
Kernel: drm-intel-nightly 4.5.0-rc3_d9bd337 from
<a href="http://cgit.freedesktop.org/drm-intel/">http://cgit.freedesktop.org/drm-intel/</a>
commit d9bd337b4b2d46f73005fcdf0e7049e7f8ed5c04
Author: Jani Nikula <<a href="mailto:jani.nikula@intel.com">jani.nikula@intel.com</a>>
Date: Tue Feb 9 17:43:10 2016 +0200
drm-intel-nightly: 2016y-02m-09d-15h-42m-46s UTC integration manifest
drm: tag libdrm-2.4.66-33-gf884af9
intel-gpu-tool: intel-gpu-tools-1.13-195-g8d441ee
DMC 1.06 from: <a href="https://01.org/linuxgraphics/downloads/broxton-dmc-1.06">https://01.org/linuxgraphics/downloads/broxton-dmc-1.06</a>
Steps:
------
1. Execute
cd <...>/intel-gpu-tools/tests
./drv_module_reload_basic
2. Wait a moment
Actual results:
---------------
2. Test never ends
Output:
--------
"unbinding /sys/class/vtconsole/vtcon1/: (M) frame buffer device
>From dmesg:
[ 25.980745] Console: switching to colour dummy device 80x25
[ 26.158298] BUG: unable to handle kernel paging request at 00000000446562dc
[ 26.158304] IP: [<ffffffff810d0c02>] __lock_acquire+0x562/0x1b90
[ 26.158307] PGD 0
[ 26.158308] Oops: 0002 [#1] PREEMPT SMP
[ 26.158310] Modules linked in: snd_hda_codec_hdmi binfmt_misc asix kvm_intel
kvm irqbypass crc32c_intel snd_hda_intel(-) snd_hda_codec snd_hwdep
snd_hda_core snd_seq_dummy serio_raw efivars snd_seq_oss snd_seq_midi
snd_rawmidi snd_seq_midi_event snd_seq snd_seq_device snd_timer snd tpm_tis tpm
i915 i2c_algo_bit drm_er syscopyarea sysfillrect sysimgblt fb_sys_fops drm
intel_gtt agpgart
[ 26.158327] CPU: 1 PID: 1463 Comm: rmmod Tainted: G W
4.5.0-rc3-drm-intel-nightly-no-suspend+ #2
[ 26.158329] Hardware name: Intel Corp. BROXTON P A0 PLATFORM/NOTEBOOK, BIOS
APLK_IFWI_X64_R_2015_44_3_00 10/27/2015
[ 26.158332] task: ffff8801740a8000 ti: ffff88007aa1c000 task.ti:
ffff88007aa1c000
[ 26.158335] RIP: 0010:[<ffffffff810d0c02>] [<ffffffff810d0c02>]
__lock_acquire+0x562/0x1b90
[ 26.158338] RSP: 0000:ffff88007aa1f860 EFLAGS: 00010006
[ 26.158340] RAX: 0000000000000000 RBX: ffff880174f88c08 RCX:
0000000000000000
[ 26.158342] RDX: 0000000000000000 RSI: 0000000000000000 RDI:
ffff880174f88c08
[ 26.158344] RBP: ffff88007aa1f908 R08: 0000000000000001 R09:
0000000000000001
[ 26.158346] R10: ffff8801740a8000 R11: 0000000000000001 R12:
0000000000000000
[ 26.158348] R13: 0000000044656144 R14: 0000000000000000 R15:
0000000000000000
[ 26.158350] FS: 00007f68c4f7f700(0000) GS:ffff88017ec80000(0000)
knlGS:0000000000000000
[ 26.158353] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 26.158355] CR2: 00000000446562dc CR3: 000000007aad3000 CR4:
00000000003406e0
[ 26.158357] Stack:
[ 26.158358] 00000000fffffffa 0000000000000000 ffff88007aa1f8b0
ffffffffa02a34ea
[ 26.158361] 00000010a036c0dd ffff880071f2a338 ffff880175ed4000
ffff880175ed4000
[ 26.158365] ffff880071f2a2f0 ffff880175ed4000 ffff88007aa1f940
ffffffffa036c262
[ 26.158368] Call Trace:
[ 26.158373] [<ffffffffa02a34ea>] ? snd_print_pcm_bits+0x5a/0x80
[snd_hda_codec]
[ 26.158377] [<ffffffffa036c262>] ? hdmi_show_short_audio_desc+0x62/0xd0
[snd_hda_codec_hdmi]
[ 26.158380] [<ffffffff810d2a81>] lock_acquire+0x161/0x1d0
[ 26.158382] [<ffffffff8164a82f>] ? input_event+0x3f/0x70
[ 26.158385] [<ffffffff8189f836>] _raw_spin_lock_irqsave+0x46/0x60
[ 26.158387] [<ffffffff8164a82f>] ? input_event+0x3f/0x70
[ 26.158390] [<ffffffff8164a82f>] input_event+0x3f/0x70
[ 26.158393] [<ffffffffa023fbb0>] snd_jack_report+0xd0/0x100 [snd]
[ 26.158396] [<ffffffffa036ad2e>] hdmi_present_sense+0x14e/0x3a0
[snd_hda_codec_hdmi]
[ 26.158399] [<ffffffff810e38ee>] ? rcu_read_lock_sched_held+0x6e/0xa0
[ 26.158402] [<ffffffffa02a4560>] ? hda_call_codec_resume+0x130/0x130
[snd_hda_codec]
[ 26.158406] [<ffffffffa036afcd>] generic_hdmi_resume+0x4d/0x60
[snd_hda_codec_hdmi]
[ 26.158410] [<ffffffffa02a4504>] hda_call_codec_resume+0xd4/0x130
[snd_hda_codec]
[ 26.158414] [<ffffffffa02a4595>] hda_codec_runtime_resume+0x35/0x50
[snd_hda_codec]
[ 26.158417] [<ffffffff8151f5eb>] __rpm_callback+0x3b/0x60
[ 26.158420] [<ffffffffa02a4560>] ? hda_call_codec_resume+0x130/0x130
[snd_hda_codec]
[ 26.158423] [<ffffffff8151f66c>] rpm_callback+0x5c/0x80
[ 26.158426] [<ffffffffa02a4560>] ? hda_call_codec_resume+0x130/0x130
[snd_hda_codec]
[ 26.158428] [<ffffffff81520a4a>] rpm_resume+0x3ca/0x730
[ 26.158431] [<ffffffff81520e12>] __pm_runtime_resume+0x62/0x80
[ 26.158433] [<ffffffff81515f06>] __device_release_driver+0x56/0x150
[ 26.158436] [<ffffffff81516025>] device_release_driver+0x25/0x40
[ 26.158438] [<ffffffff81515659>] bus_remove_device+0x159/0x180
[ 26.158440] [<ffffffff81511f6e>] device_del+0x1ae/0x240
[ 26.158444] [<ffffffffa0280a60>] snd_hdac_device_unregister+0x20/0x30
[snd_hda_core]
[ 26.158447] [<ffffffffa02a289d>] snd_hda_codec_dev_free+0x1d/0x40
[snd_hda_codec]
[ 26.158451] [<ffffffffa023cdd6>] __snd_device_free+0x46/0x70 [snd]
[ 26.158454] [<ffffffffa023d112>] snd_device_free_all+0x32/0x60 [snd]
[ 26.158457] [<ffffffffa0237994>] release_card_device+0x34/0x90 [snd]
[ 26.158459] [<ffffffff81511689>] device_release+0x59/0x90
[ 26.158462] [<ffffffff81404e20>] kobject_cleanup+0x120/0x160
[ 26.158464] [<ffffffff81404c44>] kobject_put+0x44/0x50
[ 26.158466] [<ffffffff81511977>] put_device+0x17/0x20
[ 26.158469] [<ffffffffa0237bc9>] snd_card_free_when_closed+0x29/0x40 [snd]
[ 26.158472] [<ffffffffa0237d15>] snd_card_free+0x45/0x60 [snd]
[ 26.158475] [<ffffffffa0276aa1>] azx_remove+0x31/0x40 [snd_hda_intel]
[ 26.158477] [<ffffffff81441f4b>] pci_device_remove+0x4b/0xc0
[ 26.158480] [<ffffffff81515f66>] __device_release_driver+0xb6/0x150
[ 26.158482] [<ffffffff81516a24>] driver_detach+0x94/0xc0
[ 26.158484] [<ffffffff8151598a>] bus_remove_driver+0x9a/0xd0
[ 26.158486] [<ffffffff81516d28>] driver_unregister+0x48/0x50
[ 26.158489] [<ffffffff81441509>] pci_unregister_driver+0x29/0x90
[ 26.158491] [<ffffffffa0278ee3>] azx_driver_exit+0x10/0x12d [snd_hda_intel]
[ 26.158494] [<ffffffff81108b75>] SyS_delete_module+0x195/0x230
[ 26.158497] [<ffffffff818a029b>] entry_SYSCALL_64_fastpath+0x16/0x73
[ 26.158499] Code: d6 c9 81 48 c7 c2 7d bb c8 81 be 48 03 00 00 48 c7 c7 49
d5 c9 81 31 c0 e8 8c ea fa ff e9 0c 14 00 00 4d 85 ed 0f 84 03 14 00 00 <f0> 41
ff1 00 00 8b 0d 88 b3 ce 01 45 8b ba 38 08 00 00
[ 26.158521] RIP [<ffffffff810d0c02>] __lock_acquire+0x562/0x1b90
[ 26.158524] RSP <ffff88007aa1f860>
[ 26.158525] CR2: 00000000446562dc
[ 26.158527] ---[ end trace 5aae08909dc09df1 ]---
[ 26.158530] BUG: sleeping function called from invalid context at
include/linux/sched.h:2795
[ 26.158533] in_atomic(): 1, irqs_disabled(): 1, pid: 1463, name: rmmod
[ 26.158535] INFO: lockdep is turned off.
[ 26.158537] irq event stamp: 10264
[ 26.158538] hardirqs last enabled at (10263): [<ffffffff8189da65>]
__mutex_unlock_slowpath+0x125/0x140
[ 26.158542] hardirqs last disabled at (10264): [<ffffffff8189f80c>]
_raw_spin_lock_irqsave+0x1c/0x60
[ 26.158545] softirqs last enabled at (7508): [<ffffffff81084879>]
__do_softirq+0x379/0x460
[ 26.158549] softirqs last disabled at (7491): [<ffffffff81084bae>]
irq_exit+0x4e/0xb0
[ 26.158552] Preemption disabled at:[<ffffffff8164a82f>]
input_event+0x3f/0x70
[ 26.158556] CPU: 1 PID: 1463 Comm: rmmod Tainted: G D W
4.5.0-rc3-drm-intel-nightly-no-suspend+ #2
[ 26.158559] Hardware name: Intel Corp. BROXTON P A0 PLATFORM/NOTEBOOK, BIOS
APLK_IFWI_X64_R_2015_44_3_00 10/27/2015
[ 26.158562] 0000000000000000 ffff88007aa1f590 ffffffff81402712
0000000000000000
[ 26.158566] ffff8801740a8000 ffff88007aa1f5b8 ffffffff810a6bd2
ffffffff81c99791
[ 26.158569] 0000000000000aeb 0000000000000000 ffff88007aa1f5e0
ffffffff810a6c50
[ 26.158572] Call Trace:
[ 26.158575] [<ffffffff81402712>] dump_stack+0x67/0x95
[ 26.158577] [<ffffffff810a6bd2>] ___might_sleep+0x212/0x220
[ 26.158579] [<ffffffff810a6c50>] __might_sleep+0x70/0x90
[ 26.158581] [<ffffffff8108fae4>] exit_signals+0x24/0x130
[ 26.158583] [<ffffffff81080c61>] do_exit+0x131/0xc10
[ 26.158586] [<ffffffff810db5a2>] ? kmsg_dump+0x162/0x170
[ 26.158588] [<ffffffff81007e4d>] oops_end+0xad/0xc0
[ 26.158590] [<ffffffff8104b3e6>] no_context+0x306/0x340
[ 26.158593] [<ffffffff8104b5e9>] __bad_area_nosemaphore+0x1c9/0x1f0
[ 26.158595] [<ffffffff810cf97d>] ? check_usage+0xbd/0x470
[ 26.158597] [<ffffffff8104b623>] bad_area_nosemaphore+0x13/0x20
[ 26.158599] [<ffffffff8104b88f>] __do_page_fault+0x25f/0x4a0
[ 26.158602] [<ffffffff81001030>] ? trace_hardirqs_off_thunk+0x17/0x19
[ 26.158604] [<ffffffff8104badc>] do_page_fault+0xc/0x10
[ 26.158606] [<ffffffff818a1ff2>] page_fault+0x22/0x30
[ 26.158608] [<ffffffff810d0c02>] ? __lock_acquire+0x562/0x1b90
[ 26.158612] [<ffffffffa02a34ea>] ? snd_print_pcm_bits+0x5a/0x80
[snd_hda_codec]
[ 26.158616] [<ffffffffa036c262>] ? hdmi_show_short_audio_desc+0x62/0xd0
[snd_hda_codec_hdmi]
[ 26.158619] [<ffffffff810d2a81>] lock_acquire+0x161/0x1d0
[ 26.158621] [<ffffffff8164a82f>] ? input_event+0x3f/0x70
[ 26.158624] [<ffffffff8189f836>] _raw_spin_lock_irqsave+0x46/0x60
[ 26.158626] [<ffffffff8164a82f>] ? input_event+0x3f/0x70
[ 26.158628] [<ffffffff8164a82f>] input_event+0x3f/0x70
[ 26.158631] [<ffffffffa023fbb0>] snd_jack_report+0xd0/0x100 [snd]
[ 26.158634] [<ffffffffa036ad2e>] hdmi_present_sense+0x14e/0x3a0
[snd_hda_codec_hdmi]
[ 26.158637] [<ffffffff810e38ee>] ? rcu_read_lock_sched_held+0x6e/0xa0
[ 26.158640] [<ffffffffa02a4560>] ? hda_call_codec_resume+0x130/0x130
[snd_hda_codec]
[ 26.158644] [<ffffffffa036afcd>] generic_hdmi_resume+0x4d/0x60
[snd_hda_codec_hdmi]
[ 26.158648] [<ffffffffa02a4504>] hda_call_codec_resume+0xd4/0x130
[snd_hda_codec]
[ 26.158651] [<ffffffffa02a4595>] hda_codec_runtime_resume+0x35/0x50
[snd_hda_codec]
[ 26.158654] [<ffffffff8151f5eb>] __rpm_callback+0x3b/0x60
[ 26.158657] [<ffffffffa02a4560>] ? hda_call_codec_resume+0x130/0x130
[snd_hda_codec]
[ 26.158660] [<ffffffff8151f66c>] rpm_callback+0x5c/0x80
[ 26.158663] [<ffffffffa02a4560>] ? hda_call_codec_resume+0x130/0x130
[snd_hda_codec]
[ 26.158666] [<ffffffff81520a4a>] rpm_resume+0x3ca/0x730
[ 26.158668] [<ffffffff81520e12>] __pm_runtime_resume+0x62/0x80
[ 26.158671] [<ffffffff81515f06>] __device_release_driver+0x56/0x150
[ 26.158673] [<ffffffff81516025>] device_release_driver+0x25/0x40
[ 26.158675] [<ffffffff81515659>] bus_remove_device+0x159/0x180
[ 26.158677] [<ffffffff81511f6e>] device_del+0x1ae/0x240
[ 26.158680] [<ffffffffa0280a60>] snd_hdac_device_unregister+0x20/0x30
[snd_hda_core]
[ 26.158684] [<ffffffffa02a289d>] snd_hda_codec_dev_free+0x1d/0x40
[snd_hda_codec]
[ 26.158688] [<ffffffffa023cdd6>] __snd_device_free+0x46/0x70 [snd]
[ 26.158691] [<ffffffffa023d112>] snd_device_free_all+0x32/0x60 [snd]
[ 26.158693] [<ffffffffa0237994>] release_card_device+0x34/0x90 [snd]
[ 26.158696] [<ffffffff81511689>] device_release+0x59/0x90
[ 26.158698] [<ffffffff81404e20>] kobject_cleanup+0x120/0x160
[ 26.158700] [<ffffffff81404c44>] kobject_put+0x44/0x50
[ 26.158702] [<ffffffff81511977>] put_device+0x17/0x20
[ 26.158705] [<ffffffffa0237bc9>] snd_card_free_when_closed+0x29/0x40 [snd]
[ 26.158708] [<ffffffffa0237d15>] snd_card_free+0x45/0x60 [snd]
[ 26.158710] [<ffffffffa0276aa1>] azx_remove+0x31/0x40 [snd_hda_intel]
[ 26.158713] [<ffffffff81441f4b>] pci_device_remove+0x4b/0xc0
[ 26.158716] [<ffffffff81515f66>] __device_release_driver+0xb6/0x150
[ 26.158718] [<ffffffff81516a24>] driver_detach+0x94/0xc0
[ 26.158720] [<ffffffff8151598a>] bus_remove_driver+0x9a/0xd0
[ 26.158722] [<ffffffff81516d28>] driver_unregister+0x48/0x50
[ 26.158725] [<ffffffff81441509>] pci_unregister_driver+0x29/0x90
[ 26.158727] [<ffffffffa0278ee3>] azx_driver_exit+0x10/0x12d [snd_hda_intel]
[ 26.158730] [<ffffffff81108b75>] SyS_delete_module+0x195/0x230
[ 26.158733] [<ffffffff818a029b>] entry_SYSCALL_64_fastpath+0x16/0x73
[ 26.158735] note: rmmod[1463] exited with preempt_count 1</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>