<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 --- - [HSW]igt/module_reload randomly causes system hang"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=65880">65880</a>
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>xunx.fang@intel.com, yangweix.shui@intel.com
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>[HSW]igt/module_reload randomly causes system hang
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>major
          </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=80986" name="attach_80986" title="dmesg">attachment 80986</a> <a href="attachment.cgi?id=80986&action=edit" title="dmesg">[details]</a></span>
dmesg

System Environment:
--------------------------
Arch:           x86_64
Platform:       Haswell
Kernel:    (drm-intel-next-queued)cab8b5862acd55019fbeede6940d1a601912d6b8

Bug detailed description:
-----------------------------
module_reload randomly causes system hang, It happens 1 in 5 runs on haswell
with drm-intel-next-queued kernel.It works well on drm-intel-fixes kernel. 
It also works well on Ivybridge.

output:
module successfully unloaded

Call trace:
[  168.675415] ---[ end trace 51d2d549a433189e ]---
[  168.675416] Kernel panic - not syncing: Fatal exception in interrupt

[  168.686053] ------------[ cut here ]------------
[  168.686158] WARNING: at arch/x86/kernel/smp.c:123
update_process_times+0x50/0x5c()
[  168.686318] Modules linked in: i915(+) drm_kms_helper drm netconsole
configfs ipv6 dm_mod acpi_cpufreq coretemp kvm_intel kvm snd_hda_codec_realtek
microcode pcspkr i2c_i801 iTCO_wdt iTCO_vendor_support snd_hda_intel lpc_ich
snd_hda_codec mfd_core snd_hwdep snd_pcm snd_page_alloc snd_timer snd soundcore
video button mperf freq_table [last unloaded: drm]
[  168.687894] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G      D     
3.10.0-rc5_nightlytop_c18149_20130618_+ #4155
[  168.688052] Hardware name: Intel Corporation Shark Bay Client
platform/Flathead Creek Crb, BIOS HSWLPTU1.86C.0109.R03.1301282055 01/28/2013
[  168.688221]  ffffffff816deda2 0000000000000000 ffffffff8102c68d
ffff88024e20d218
[  168.688535]  0000000000000000 ffff88024e20d120 ffffffff81a58410
0000000000000000
[  168.688848]  0000000000000000 ffff88024e20d218 ffffffff81037010
ffff88024e20d350
[  168.689155] Call Trace:
[  168.689252]  <IRQ>  [<ffffffff816deda2>] ? dump_stack+0xd/0x17
[  168.689438]  [<ffffffff8102c68d>] ? warn_slowpath_common+0x5f/0x77
[  168.689539]  [<ffffffff81037010>] ? update_process_times+0x50/0x5c
[  168.689647]  [<ffffffff81064db5>] ? tick_sched_handle+0x30/0x3b
[  168.689751]  [<ffffffff81065073>] ? tick_sched_timer+0x30/0x4c
[  168.689858]  [<ffffffff8104778b>] ? __run_hrtimer.isra.25+0x4a/0xa2
[  168.689962]  [<ffffffff81047d47>] ? hrtimer_interrupt+0xe3/0x1de
[  168.690067]  [<ffffffff8101bc48>] ? smp_apic_timer_interrupt+0x7e/0x91
[  168.690171]  [<ffffffff816e960a>] ? apic_timer_interrupt+0x6a/0x70
[  168.690275]  [<ffffffff81048dcd>] ? up+0xb/0x36
[  168.690379]  [<ffffffff816daca8>] ? panic+0x184/0x1bb
[  168.690481]  [<ffffffff816dac1b>] ? panic+0xf7/0x1bb
[  168.690585]  [<ffffffff816e45bd>] ? oops_end+0x99/0xa6
[  168.690685]  [<ffffffff816da716>] ? no_context+0x24a/0x275
[  168.690788]  [<ffffffff816e67b5>] ? __atomic_notifier_call_chain+0xa/0xc
[  168.690896]  [<ffffffff816e66d1>] ? __do_page_fault+0x3cd/0x449
[  168.691001]  [<ffffffff8105294b>] ? enqueue_task_fair+0x7af/0x85b
[  168.691107]  [<ffffffff810508f0>] ? select_task_rq_fair+0x271/0x558
[  168.691212]  [<ffffffff8104c1f0>] ? check_preempt_curr+0x36/0x62
[  168.691318]  [<ffffffff8105294b>] ? enqueue_task_fair+0x7af/0x85b
[  168.691424]  [<ffffffff810410ac>] ? wq_worker_waking_up+0xb/0x51
[  168.691530]  [<ffffffff816e3c32>] ? page_fault+0x22/0x30
[  168.691641]  [<ffffffffa007751c>] ? ivb_can_enable_err_int+0x20/0x33 [i915]
[  168.691755]  [<ffffffffa007ccde>] ? ivybridge_irq_handler+0x429/0x491 [i915]
[  168.691863]  [<ffffffff81082bbb>] ? handle_irq_event_percpu+0x24/0x119
[  168.691970]  [<ffffffff81082cde>] ? handle_irq_event+0x2e/0x4c
[  168.692075]  [<ffffffff81085019>] ? handle_edge_irq+0xbb/0xde
[  168.692175]  [<ffffffff810038c1>] ? handle_irq+0x15/0x1d
[  168.692279]  [<ffffffff810035bd>] ? do_IRQ+0x41/0xa6
[  168.692383]  [<ffffffff816e3a2a>] ? common_interrupt+0x6a/0x6a
[  168.692484]  <EOI>  [<ffffffff815ff34c>] ? cpuidle_enter_state+0x43/0xa6
[  168.692665]  [<ffffffff815ff345>] ? cpuidle_enter_state+0x3c/0xa6
[  168.692770]  [<ffffffff815ff46e>] ? cpuidle_idle_call+0xbf/0x10b
[  168.692875]  [<ffffffff810085cb>] ? arch_cpu_idle+0x6/0x17
[  168.692979]  [<ffffffff8105dd7c>] ? cpu_startup_entry+0xa1/0xfd
[  168.693082]  [<ffffffff81b08c6a>] ? start_kernel+0x378/0x383
[  168.693186]  [<ffffffff81b08708>] ? repair_env_string+0x57/0x57
[  168.693290] ---[ end trace 51d2d549a433189f ]---


Reproduce steps:
----------------------------
1. run ./module_reload 5 cycles</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 the assignee for the bug.</li>
      </ul>
    </body>
</html>