<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:huax.lu@intel.com" title="lu hua <huax.lu@intel.com>"> <span class="fn">lu hua</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - [HSW regression] module_reload doesn't work on Haswell"
href="https://bugs.freedesktop.org/show_bug.cgi?id=70336">bug 70336</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>FIXED
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - [HSW regression] module_reload doesn't work on Haswell"
href="https://bugs.freedesktop.org/show_bug.cgi?id=70336#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - [HSW regression] module_reload doesn't work on Haswell"
href="https://bugs.freedesktop.org/show_bug.cgi?id=70336">bug 70336</a>
from <span class="vcard"><a class="email" href="mailto:huax.lu@intel.com" title="lu hua <huax.lu@intel.com>"> <span class="fn">lu hua</span></a>
</span></b>
<pre>Test on latest -nightly kernel.
Run the first cycle, It causes call trace:
output:
module successfully unloaded
module successfully loaded again
dmesg:
[ 31.122255] ------------[ cut here ]------------
[ 31.122373] WARNING: CPU: 2 PID: 3913 at fs/sysfs/file.c:498
sysfs_attr_ns+0x25/0x8c()
[ 31.122545] sysfs: kobject \xffffffd0\xffffff85\xffffff85\x04\xffffff9e
without dirent
[ 31.122660] Modules linked in: netconsole configfs ipv6 dm_mod
snd_hda_codec_realtek pcspkr snd_hda_codec_hdmi i2c_i801 iTCO_wdt
iTCO_vendor_support lpc_ich mfd_core snd_hda_codec snd_hwdep snd_pcm
snd_page_alloc snd_timer snd soundcore acpi_cpufreq i915(-) video button
drm_kms_helper drm freq_table [last unloaded: snd_hda_intel]
[ 31.124140] CPU: 2 PID: 3913 Comm: rmmod Not tainted
3.12.0-rc7_nightlytop_265a90_20131104_+ #2203
[ 31.124317] Hardware name: Intel Corporation Shark Bay Client
platform/Flathead Creek Crb, BIOS HSWLPTU1.86C.0131.R03.1307262359 07/26/2013
[ 31.124498] 0000000000000000 0000000000000009 ffffffff8170464c
ffff880243723cd8
[ 31.124827] ffffffff8103319e ffff880200000000 ffffffff8112f8b7
ffff880243723ca8
[ 31.125153] ffffffff81adc2b0 ffff88009e073610 ffff88009e0c7a00
ffff88009e13db40
[ 31.125477] Call Trace:
[ 31.125579] [<ffffffff8170464c>] ? dump_stack+0x41/0x51
[ 31.125693] [<ffffffff8103319e>] ? warn_slowpath_common+0x73/0x8b
[ 31.125809] [<ffffffff8112f8b7>] ? sysfs_attr_ns+0x25/0x8c
[ 31.125916] [<ffffffff8103324e>] ? warn_slowpath_fmt+0x45/0x4a
[ 31.126028] [<ffffffff8112f8b7>] ? sysfs_attr_ns+0x25/0x8c
[ 31.126142] [<ffffffff8112f934>] ? sysfs_remove_file+0x16/0x32
[ 31.126255] [<ffffffff8136ab85>] ? device_del+0x114/0x17a
[ 31.126368] [<ffffffff8136abf4>] ? device_unregister+0x9/0x12
[ 31.126487] [<ffffffffa000befc>] ? drm_sysfs_connector_remove+0x7d/0x89
[drm]
[ 31.126672] [<ffffffffa00905fc>] ? intel_modeset_cleanup+0xb9/0xe2 [i915]
[ 31.126796] [<ffffffffa00628ca>] ? i915_driver_unload+0xb6/0x2a7 [i915]
[ 31.126909] [<ffffffffa000954e>] ? drm_dev_unregister+0x21/0xd0 [drm]
[ 31.127025] [<ffffffffa0009ba6>] ? drm_put_dev+0x48/0x51 [drm]
[ 31.127137] [<ffffffff812eb190>] ? pci_device_remove+0x24/0x48
[ 31.127251] [<ffffffff8136d34f>] ? __device_release_driver+0x68/0xc1
[ 31.127364] [<ffffffff8136da29>] ? driver_detach+0x6e/0x99
[ 31.127476] [<ffffffff8136d1ab>] ? bus_remove_driver+0x78/0xb9
[ 31.127590] [<ffffffff812eb2c5>] ? pci_unregister_driver+0x17/0x75
[ 31.127703] [<ffffffffa000b210>] ? drm_pci_exit+0x3b/0x72 [drm]
[ 31.127817] [<ffffffff81077d1d>] ? SyS_delete_module+0x1a3/0x219
[ 31.127929] [<ffffffff81709ef2>] ? page_fault+0x22/0x30
[ 31.128039] [<ffffffff8170ebe2>] ? system_call_fastpath+0x16/0x1b
[ 31.128152] ---[ end trace 67e4404f3dd63a8a ]---
Run the 2nd cycle, It segfault.
output:
./module_reload: line 27: 18675 Segmentation fault rmmod i915
WARNING: i915.ko still loaded!</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 on the CC list for the bug.</li>
</ul>
</body>
</html>