<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED --- - [HSW bisected]igt/module_reload causes [drm:hsw_unclaimed_reg_check] *ERROR* Unclaimed write to 44004 and system hang with headless, with power well disabled"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=67813#c23">Comment # 23</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED --- - [HSW bisected]igt/module_reload causes [drm:hsw_unclaimed_reg_check] *ERROR* Unclaimed write to 44004 and system hang with headless, with power well disabled"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=67813">bug 67813</a>
              from <span class="vcard"><a class="email" href="mailto:xunx.fang@intel.com" title="fangxun <xunx.fang@intel.com>"> <span class="fn">fangxun</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=67813#c22">comment #22</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=67813#c21">comment #21</a>)
> > > Are you sure you did the test correctly? Did you kill X and all the other
> > > DRM clients when doing this? If you repeat the test with
> > > i915.disable_power_well=0 do you also get the same problem?
> > 
> > Run with i915.disable_power_well=0, also has same output info.
> > 
> > > 
> > > All conditions necessary to run the other intel-gpu-tools tests apply when
> > > running module_reload.
> > 
> > Clean boot system, then test it.

> I have no idea what happens on your "clean boot system" configuration. Does
> the desktop environment run? Do you have X running?</span >
 "clean boot system" means system boot up without X and the desktop environment
running.

<span class="quote">> That "i915.ko still loaded!" message really suggests there are programs you
> need to kill before doing the tests. Please make sure your testing
> environment is correct before you try to run module_reload.</span >
  Since Kernel 3.12.0rc2, after running "echo 0 >
/sys/class/vtconsole/vtcon1/bind" and "rmmod intel_ips &> /dev/null", lsmod
shows there are still 2 programs using i915 module on haswell(I check all
platform, this only happens on haswell). It causes i915 module can not be
unloaded. I don't know what are the 2 programs, and how to kill them. 

[root@x-hsw24 ~]# lsmod
Module                  Size  Used by
snd_hda_codec_realtek    34049  1
snd_hda_codec_hdmi     27236  1
snd_hda_intel          25263  0
snd_hda_codec         100145  3
snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep               5094  1 snd_hda_codec
snd_seq                41921  0
snd_seq_device          4581  1 snd_seq
snd_pcm                66241  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
iTCO_wdt                4551  1
iTCO_vendor_support     1608  1 iTCO_wdt
snd_timer              15514  2 snd_seq,snd_pcm
snd                    50169  9
snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq,snd_seq_device,snd_pcm,snd_timer
serio_raw               3929  0
pcspkr                  1699  0
microcode               7049  0
soundcore               4219  1 snd
i2c_i801                8374  0
snd_page_alloc          5930  2 snd_hda_intel,snd_pcm
lpc_ich                12608  0
mfd_core                2441  1 lpc_ich
acpi_cpufreq            6299  0
freq_table              2068  1 acpi_cpufreq
uinput                  6676  0
ipv6                  246159  43
i915                  531119  2
drm_kms_helper         22993  1 i915
drm                   199664  2 i915,drm_kms_helper
button                  4261  1 i915
video                  10625  1 i915
dm_mirror              11024  0
dm_region_hash          5831  1 dm_mirror
dm_log                  7220  2 dm_mirror,dm_region_hash
dm_mod                 66376  2 dm_mirror,dm_log</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>