<html>
    <head>
      <base href="https://issues.openmandriva.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_CONFIRMED "
   title="CONFIRMED - Error! Bad return status for module build on kernel"
   href="https://issues.openmandriva.org/show_bug.cgi?id=2076#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_CONFIRMED "
   title="CONFIRMED - Error! Bad return status for module build on kernel"
   href="https://issues.openmandriva.org/show_bug.cgi?id=2076">bug 2076</a>
              from <span class="vcard"><a class="email" href="mailto:dalmagro@scarlet.be" title="MauRice <dalmagro@scarlet.be>"> <span class="fn">MauRice</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=1399&action=diff" name="attach_1399" title="buildfix_kernel_4.9.patch">attachment 1399</a> <a href="attachment.cgi?id=1399&action=edit" title="buildfix_kernel_4.9.patch">[details]</a></span>
buildfix_kernel_4.9.patch

On my other system (Kernel: 4.10.0-14-generic - nVidia diver: 304.102).
I managed to build the kernel modules.

I modified the patch-file 'buildfix_kernel_4.9.patch' at line 55:
Orginal: + page_count, write ? FOLL_WRITE : 0, user_pages, NULL);
Modified:+ page_count, write ? FOLL_WRITE : 0, force, user_pages, NULL);
Than build / install the module with DKMS.

When OpenMandriva release the dkms-nvidia340-340.102.........86_64.rpm  
I can see/test if it work on OpenMandriva.

Attachemnt the modified 'buildfix_kernel_4.9.patch' patch-file:</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>