<span style="color: rgb(36, 39, 41); font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 19.5px;">Hi,<br />I am trying to load a kernel module through modprobe. I am using bitbake to build the kernel. When I try to load the kernel in my Custom hardware I am getting following errors.</span>
<pre style="margin-top: 0px; margin-bottom: 0px; padding: 5px; border: 0px; font-size: 13px; width: auto; max-height: 600px; overflow: auto; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; background-color: rgb(239, 240, 241); word-wrap: normal; color: rgb(36, 39, 41);"><code style="margin: 0px; padding: 0px; border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; white-space: inherit;">modprobe g_serial
    configfs: version magic '3.14.38-6UL_ga+ge4944a5 SMP preempt mod_unload modversions ARMv7 p2v8 ' should be '3.14.38-6UL_ga+ge4944a5 SMP preempt mod_unload ARMv7 p2v8 '
    modprobe: can't load module configfs (kernel/fs/configfs/configfs.ko): invalid module format</code></pre><span style="color: rgb(36, 39, 41); font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 19.5px;">below is the dmesg log</span>
<pre style="margin-top: 0px; margin-bottom: 0px; padding: 5px; border: 0px; font-size: 13px; width: auto; max-height: 600px; overflow: auto; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; background-color: rgb(239, 240, 241); word-wrap: normal; color: rgb(36, 39, 41);"><code style="margin: 0px; padding: 0px; border: 0px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; white-space: inherit;">configfs: version magic '3.14.38-6UL_ga+ge4944a5 SMP preempt mod_unload modversions ARMv7 p2v8 ' should be '3.14.38-6UL_ga+ge4944a5 SMP preempt mod_unload ARMv6 p2v8 '</code></pre><span style="color: rgb(36, 39, 41); font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 19.5px;">and uname -a output is </span><br style="color: rgb(0, 0, 0); font-family: Helvetica, sans-serif;" /><span style="color: rgb(0, 0, 0); font-family: Helvetica, sans-serif;"><span style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 15px; line-height: 25.950000762939453px;">Linux imx6ulevk 3.14.38-6UL_ga+ge4944a5 #11 PREEMPT Fri Apr 7 12:35:50 IS</span></span><span style="color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 15px; line-height: 25.950000762939453px;">T 2017 armv7l GNU/Lin</span><span style="color: rgb(0, 0, 0); font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 15px; line-height: 25.950000762939453px;">ux</span><br style="color: rgb(0, 0, 0); font-family: Helvetica, sans-serif;" /><br style="color: rgb(0, 0, 0); font-family: Helvetica, sans-serif;" /><span style="color: rgb(36, 39, 41); font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 19.5px;">what is the wrong with the module.<br /><br />Thanks and Regards,<br />Chandrasekhar</span>