title: insmod: 'error ... invalid module format' - cross compilation usage
body: <p>I would like to solve this error which occurred, apparently, when updating and building a Kernel and using a previous Linux Device Driver Module (I changed one or two parameter setting to the kernel, compiled and built and get new Kernel image, for which the problem get started).</p>
  
  <p>But, when building the new module device driver , I keep getting the error:</p>
  
  <p><strong>[nn.nnn] 'module.ko': version magic '4.9.0-00011-ge82bfab-dirty SMP mod_unload 
   aarch64' should be '4.9.0 SMP mod_unload aarch64'</strong></p>
  
  <p>Few comments:</p>
  
  <ul>
  <li>Checked a previous post related issue (<a href="https://stackoverflow.com/questions/34379013/insmod-error-inserting-hello-ko-1-invalid-module-format">insmod error: inserting &#39;./hello.ko&#39;: -1 Invalid module format&quot;</a>), but it uses 'uname -a' which is not helpfull for me as I using my Linux OS as compilation environment to other OS (embedded) - cross-compilation usage. </li>
  <li>I searched for the version string across the Kernel source tree (kernel downloaded package) but found only the places of auto-generated strings (at ../include/generated/utsrelease.h)</li>
  <li>the Makefiles both for Kernel (I am using uImage: u-boot Legacy uImage, Linux / OS Kernel) and for the module.ko using same CROSS_COMPILE path.</li>
  </ul>
  
  <p>What I am missing here?</p>