<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 --- - [BYT and probably others] crash on module load"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=74161">74161</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>[BYT and probably others] crash on module load
          </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>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jbarnes@virtuousgeek.org
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </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>After a few unload/load cycles I get the following backtrace.  Looks like the
PCI dev tree got corrupted somehow (maybe related to the i2c teardown <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [BYT] DP i2c warning on module unload"
   href="show_bug.cgi?id=74033">bug
#74033</a>.

[  841.552383] [drm] Initialized drm 1.1.0 20060810
[  841.582102] [drm:i915_dump_device_info], i915 device info: gen=7,
pciid=0x0f31 flags=is_mobile,need_gfx_hws,is_valleyview,has_hotplug,
[  841.582617] ------------[ cut here ]------------
[  841.582637] WARNING: CPU: 0 PID: 4002 at include/linux/kref.h:47
kref_get.part.4+0x1b/0x28()
[  841.582647] Modules linked in: i915(O+) drm_kms_helper(O) drm(O) coretemp
kvm_intel kvm snd_hda_codec_hdmi crc32_pclmul aesni_intel aes_i586
snd_hda_codec_realtek xts lrw gf128mul ablk_helper cryptd hid_sensor_magn_3d
hid_sensor_accel_3d hid_sensor_gyro_3d hid_sensor_trigger
industrialio_triggered_buffer kfifo_buf industrialio hid_sensor_iio_common
snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_page_alloc snd_seq_midi
snd_seq_midi_event snd_rawmidi ppdev snd_seq dm_multipath scsi_dh
snd_seq_device snd_timer rfcomm bnep bluetooth snd microcode asix usbnet mii
soundcore hid_sensor_hub dw_dmac_pci dw_dmac_core binfmt_misc nls_iso8859_1
parport_pc mac_hid lp parport dm_mirror dm_region_hash dm_log hid_generic
usbhid hid igb dca ptp pps_core i2c_algo_bit video ahci libahci [last unloaded:
drm]
[  841.582791] CPU: 0 PID: 4002 Comm: modprobe Tainted: G        W  O
3.13.0-rc8+ #1
[  841.582801] Hardware name: NEXCOM VTC1010/Aptio CRB, BIOS 5.6.5 09/24/2013
[  841.582808]  00000000 00000000 f1031aa0 c264be23 00000000 f1031ad0 c20538de
c281af34
[  841.582827]  00000000 00000fa2 c2823cc1 0000002f c264ed5b c264ed5b f1031b0c
e9a0e214
[  841.582844]  e9a0e1b4 f1031ae0 c20539a2 00000009 00000000 f1031ae8 c264ed5b
f1031b04
[  841.582862] Call Trace:
[  841.582873]  [<c264be23>] dump_stack+0x41/0x52
[  841.582885]  [<c20538de>] warn_slowpath_common+0x7e/0xa0
[  841.582895]  [<c264ed5b>] ? kref_get.part.4+0x1b/0x28
[  841.582904]  [<c264ed5b>] ? kref_get.part.4+0x1b/0x28
[  841.582913]  [<c20539a2>] warn_slowpath_null+0x22/0x30
[  841.582923]  [<c264ed5b>] kref_get.part.4+0x1b/0x28
[  841.582932]  [<c2642f0d>] klist_next+0xbd/0xd0
[  841.582943]  [<c2338c90>] ? pci_do_find_bus+0x40/0x40
[  841.582953]  [<c240b0b1>] bus_find_device+0x51/0x90
[  841.582963]  [<c2338e89>] pci_get_dev_by_id+0x39/0x80
[  841.582972]  [<c2338c90>] ? pci_do_find_bus+0x40/0x40
[  841.582982]  [<c2338feb>] pci_get_class+0x4b/0x50
[  841.583024]  [<f8c65774>] intel_detect_pch+0x44/0x3d0 [i915]
[  841.583083]  [<f8cd0283>] ? intel_uncore_early_sanitize+0x73/0xa0 [i915]
[  841.583123]  [<f8c68566>] i915_driver_load+0x376/0xdc0 [i915]
[  841.583149]  [<f8c339aa>] drm_dev_register+0x6a/0x140 [drm]
[  841.583171]  [<f8c35a3a>] drm_get_pci_dev+0x8a/0x1e0 [drm]
[  841.583183]  [<c21d5b97>] ? sysfs_do_create_link_sd.isra.2+0xa7/0x1c0
[  841.583221]  [<f8c65655>] i915_pci_probe+0x35/0x60 [i915]
[  841.583232]  [<c2338bff>] pci_device_probe+0x6f/0xc0
[  841.583241]  [<c21d5cd5>] ? sysfs_create_link+0x25/0x40
[  841.583251]  [<c240caf5>] driver_probe_device+0x105/0x380
[  841.583261]  [<c2338b52>] ? pci_match_device+0xb2/0xc0
[  841.583270]  [<c240ce21>] __driver_attach+0x71/0x80
[  841.583279]  [<c240cdb0>] ? __device_attach+0x40/0x40
[  841.583288]  [<c240af57>] bus_for_each_dev+0x47/0x80
[  841.583298]  [<c240c55e>] driver_attach+0x1e/0x20
[  841.583306]  [<c240cdb0>] ? __device_attach+0x40/0x40
[  841.583315]  [<c240c1b7>] bus_add_driver+0x157/0x230
[  841.583325]  [<c240d3e9>] driver_register+0x59/0xe0
[  841.583335]  [<c20483f0>] ? __set_pmd_pte+0xa0/0xa0
[  841.583344]  [<c2337632>] __pci_register_driver+0x32/0x40
[  841.583413]  [<f8c35c95>] drm_pci_init+0x105/0x110 [drm]
[  841.583430]  [<f8b85000>] ? 0xf8b84fff
[  841.583468]  [<f8b85062>] i915_init+0x62/0x64 [i915]
[  841.583478]  [<c2002122>] do_one_initcall+0xd2/0x190
[  841.583490]  [<c20e71f8>] ? tracepoint_module_notify+0x118/0x180
[  841.583500]  [<f8b85000>] ? 0xf8b84fff
[  841.583510]  [<c20499ff>] ? set_memory_nx+0x5f/0x70
[  841.583522]  [<c20c140d>] load_module+0x1afd/0x21c0
[  841.583536]  [<c20c1b5f>] SyS_init_module+0x8f/0xf0
[  841.583546]  [<c21351eb>] ? vm_mmap_pgoff+0x7b/0xa0
[  841.583559]  [<c265a40d>] sysenter_do_call+0x12/0x28
[  841.583567] ---[ end trace fe2f0989e9d27dc2 ]---
[  841.583582] BUG: unable to handle kernel paging request at ffffffcd
[  841.583592] IP: [<c2338ce3>] match_pci_dev_by_id+0x53/0x80</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>