<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - igt/drv_module_reload causes call trace"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76582">76582</a>
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>igt/drv_module_reload causes call trace
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>huax.lu@intel.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=96341" name="attach_96341" title="dmesg">attachment 96341</a> <a href="attachment.cgi?id=96341&action=edit" title="dmesg">[details]</a></span>
dmesg

System Environment:
--------------------------
Platform: Haswell
Kernel: drm-intel-fixes/0f4706d2740f2a221cd502922b22e522009041d9

Bug detailed description:
-----------------------------
It causes call trace on all platforms with -nightly, -fixes and -queued
kernel.Test on earlier commit, it also has this issue.

Call trace:
[  200.944162] ------------[ cut here ]------------
[  200.944258] WARNING: CPU: 7 PID: 4296 at fs/sysfs/group.c:216
device_del+0x39/0x16a()
[  200.944406] sysfs group ffffffff81af86d0 not found for kobject 'i2c-6'
[  200.944500] Modules linked in: i915(-) drm_kms_helper drm ipv6 dm_mod
snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi pcspkr serio_raw
i2c_i801 iTCO_wdt iTCO_vendor_support lpc_ich mfd_core snd_hda_codec snd_hwdep
snd_pcm snd_timer snd soundcore battery tpm_infineon tpm_tis tpm wmi
acpi_cpufreq video button [last unloaded: snd_hda_intel]
[  200.945759] CPU: 7 PID: 4296 Comm: rmmod Tainted: G        W   
3.14.0-rc5_drm-intel-fixes_0f4706_20140323+ #950
[  200.945906] Hardware name: ASUS All Series/Z87-EXPERT, BIOS 1008 05/17/2013
[  200.945998]  0000000000000000 0000000000000009 ffffffff81716b43
ffff880251395be8
[  200.946256]  ffffffff81035052 ffffffff00000001 ffffffff81379b9f
ffffffff00000001
[  200.946514]  ffff880252747c00 0000000000000002 ffff88025269e150
0000000000000000
[  200.946773] Call Trace:
[  200.946861]  [<ffffffff81716b43>] ? dump_stack+0x41/0x51
[  200.946950]  [<ffffffff81035052>] ? warn_slowpath_common+0x73/0x8b
[  200.947040]  [<ffffffff81379b9f>] ? device_del+0x39/0x16a
[  200.947128]  [<ffffffff81035102>] ? warn_slowpath_fmt+0x45/0x4a
[  200.947217]  [<ffffffff81379b9f>] ? device_del+0x39/0x16a
[  200.947306]  [<ffffffff81379cd9>] ? device_unregister+0x9/0x12
[  200.947395]  [<ffffffff81379d16>] ? device_destroy+0x34/0x3a
[  200.947485]  [<ffffffff816212d6>] ? i2cdev_detach_adapter+0x3e/0x42
[  200.947574]  [<ffffffff8171ef87>] ? notifier_call_chain+0x2e/0x59
[  200.947665]  [<ffffffff8104e49b>] ? __blocking_notifier_call_chain+0x43/0x5d
[  200.947756]  [<ffffffff81379b97>] ? device_del+0x31/0x16a
[  200.947846]  [<ffffffff81379cd9>] ? device_unregister+0x9/0x12
[  200.947936]  [<ffffffff81620d27>] ? i2c_del_adapter+0x190/0x1d6
[  200.948032]  [<ffffffffa02e557a>] ? intel_dp_encoder_destroy+0x1d/0x62
[i915]
[  200.948126]  [<ffffffffa01d220e>] ? drm_mode_config_cleanup+0x2d/0x216 [drm]
[  200.948220]  [<ffffffffa01ceb54>] ? drm_sysfs_connector_remove+0x74/0x80
[drm]
[  200.948364]  [<ffffffffa02daf6f>] ? intel_modeset_cleanup+0xd1/0xe0 [i915]
[  200.948456]  [<ffffffffa02af96c>] ? i915_driver_unload+0xb6/0x2a0 [i915]
[  200.948548]  [<ffffffffa01cc127>] ? drm_dev_unregister+0x21/0x88 [drm]
[  200.948641]  [<ffffffffa01cc8fe>] ? drm_put_dev+0x48/0x51 [drm]
[  200.948730]  [<ffffffff812f8cee>] ? pci_device_remove+0x38/0x80
[  200.948819]  [<ffffffff8137c23d>] ? __device_release_driver+0x82/0xdb
[  200.948910]  [<ffffffff8137c914>] ? driver_detach+0x6e/0x9a
[  200.948998]  [<ffffffff8137c0a2>] ? bus_remove_driver+0x60/0x7e
[  200.949087]  [<ffffffff812f8e57>] ? pci_unregister_driver+0x17/0x75
[  200.949177]  [<ffffffffa01cdec9>] ? drm_pci_exit+0x3c/0xa0 [drm]
[  200.949268]  [<ffffffff8107e5c3>] ? SyS_delete_module+0x123/0x199
[  200.949358]  [<ffffffff8171c4b2>] ? page_fault+0x22/0x30
[  200.949447]  [<ffffffff817211a2>] ? system_call_fastpath+0x16/0x1b
[  200.949536] ---[ end trace 32f16d9b1d6381ab ]---


Reproduce steps:
----------------------------
1. ./drv_module_reload</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>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>