<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - igt/gem_userptr_blits fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=79237#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - igt/gem_userptr_blits fails"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=79237">bug 79237</a>
              from <span class="vcard"><a class="email" href="mailto:jinxianx.guo@intel.com" title="Guo Jinxian <jinxianx.guo@intel.com>"> <span class="fn">Guo Jinxian</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=102758" name="attach_102758" title="dmesg">attachment 102758</a> <a href="attachment.cgi?id=102758&action=edit" title="dmesg">[details]</a></span>
dmesg

(In reply to <a href="show_bug.cgi?id=79237#c6">comment #6</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=79237#c5">comment #5</a>)
> > (In reply to <a href="show_bug.cgi?id=79237#c4">comment #4</a>)
> > > 
> > > *** This bug has been marked as a duplicate of <a class="bz_bug_link 
          bz_status_VERIFIED  bz_closed"
   title="VERIFIED FIXED - [all]igt/gem_userptr_blits fails with OOM killer"
   href="show_bug.cgi?id=80208">bug 80208</a> ***
> > 
> > <a class="bz_bug_link 
          bz_status_VERIFIED  bz_closed"
   title="VERIFIED FIXED - [all]igt/gem_userptr_blits fails with OOM killer"
   href="show_bug.cgi?id=80208">Bug 80208</a> had fixed, but this bug still able to reproduce on latest
> > -nightly(271bff129a641b5b35d99c9eb0ceb866ca42f692),so reopen it.
> > 
> > Output:
> > root@x-byt06:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests#
> > ./gem_userptr_blits
> > IGT-Version: 1.7-ge74dd22 (x86_64) (Linux:
> > 3.16.0-rc4_drm-intel-nightly_271bff_20140714+ x86_64)
> > Aperture size is 2048 MiB
> > Total RAM is 1894 MiB
> > Subtest input-checking: SUCCESS
> > Subtest usage-restrictions: SUCCESS
> > Subtest invalid-mapping: SUCCESS
> > Test assertion failure function test_forked_access, file
> > gem_userptr_blits.c:583:
> > Failed assertion: memcmp(ptr1, ptr2, PAGE_SIZE) == 0
> > Subtest forked-access: FAIL
> > Subtest forbidden-operations: SUCCESS
> > Testing unsynchronized mappings...
> > Subtest create-destroy-unsync: SUCCESS
> > Subtest unsync-overlap: SUCCESS
> > Subtest unsync-unmap: SUCCESS
> > Subtest unsync-unmap-cycles: SUCCESS
> > Subtest unsync-unmap-after-close: SUCCESS
> > Using 2x1365 1MiB buffers
> > Verifying initialisation...
> > Cyclic blits cpu->gpu, forward...
> > Cyclic blits gpu->cpu, backward...
> > Random blits...
> > Subtest coherency-unsync: SUCCESS
> > Bus error

> Please attach the usual dmesg and run with IGT_LOG_LEVEL=debug to explain
> how it thinks you only have less than 2GiB of ram.</span >

I don't know how to use parameter "IGT_LOG_LEVEL=debug", and the device I used
was 2GiB ram. but this bug is able to reproduce on other device too. Please
check the output below and the dmesg in attachment.

root@x-bytm02:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests#
./gem_userptr_blits
IGT-Version: 1.7-ge74dd22 (x86_64) (Linux:
3.16.0-rc4_drm-intel-nightly_271bff_20140714+ x86_64)
Aperture size is 2048 MiB
Total RAM is 3837 MiB
Subtest input-checking: SUCCESS
Subtest usage-restrictions: SUCCESS
Subtest invalid-mapping: SUCCESS
Test assertion failure function test_forked_access, file
gem_userptr_blits.c:583:
Failed assertion: memcmp(ptr1, ptr2, PAGE_SIZE) == 0
Subtest forked-access: FAIL
Subtest forbidden-operations: SUCCESS
Testing unsynchronized mappings...
Subtest create-destroy-unsync: SUCCESS
Subtest unsync-overlap: SUCCESS
Subtest unsync-unmap: SUCCESS
Subtest unsync-unmap-cycles: SUCCESS
Subtest unsync-unmap-after-close: SUCCESS
Using 2x1365 1MiB buffers
Verifying initialisation...
Cyclic blits cpu->gpu, forward...
Cyclic blits gpu->cpu, backward...
Random blits...
Subtest coherency-unsync: SUCCESS
Bus error (core dumped)
root@x-bytm02:/GFX/Test/Intel_gpu_tools/intel-gpu-tools/tests# free -m
             total       used       free     shared    buffers     cached
Mem:          3837        159       3677          1         15         68
-/+ buffers/cache:         75       3761
Swap:         3905          0       3905</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>