<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 24, 2018 at 10:45 AM, Alex Arvelaez <span dir="ltr"><<a href="mailto:ealejandro@outlook.com" target="_blank">ealejandro@outlook.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div><div><div class="h5">
<p dir="ltr"><br>
On Feb 24, 2018 12:07 AM, Srishti Sharma <<a href="mailto:srishtishar@gmail.com" target="_blank">srishtishar@gmail.com</a>> wrote:<br>
><br>
><br>
><br>
> On Sat, Feb 24, 2018 at 4:59 AM, Tobin C. Harding <me@tobin.cc> wrote:<br>
>><br>
>> On Thu, Feb 22, 2018 at 02:42:23AM +0530, Srishti Sharma wrote:<br>
>> > Hello,<br>
>> ><br>
>> > While trying to load a module from the linux-next branch<br>
>><br>
>> Do you mean from linux-next tree or from a branch called linux-next in<br>
>> some other tree?  (Not that it matters that much :)<br>
>><br>
>> >, I get the error<br>
>> > that the module format is invalid, this was because the kernel I compiled<br>
>> > was different from the kernel I was trying to load the module into, so I<br>
>> > installed the kernel from the same source as the module, and it booted for<br>
>> > only once right after the installation. When I try to boot into the same<br>
>> > kernel, my system reboots. What should I do so that I am able to boot into<br>
>> > it everytime ?<br>
>><br>
>> What are you trying to achieve?  Are you doing testing on linux-next or<br>
>> do you just want to use the module?  If you just want to use the module<br>
>> you could build the module for the current running kernel instead of<br>
>> rebuilding the kernel.  Copy the module someplace and write a new<br>
>> makefile same as you would if you were developing your own [test]<br>
>> modules.<br>
>><br>
>> (For the record I happened to be trying to learn about linux-next myself<br>
>> this morning and built a kernel that just goes into a reboot loop<br>
>> without even getting to the grub menu.  It boots in a VM though so now<br>
>> I'm playing with the cofig.)<br>
>><br>
> Something was wrong with the configuration file, so I copied the configuration of my running kernel and it boots now, but after running make, the modules don't get generated, so there is something I am missing in the configuration options again :(</p>
</div></div><p dir="ltr">Are they getting built? did you do make modules_install?</p></div></blockquote><div>  After compilation I got .o files and not .ko , I used make .</div><div>  </div><div>  Regards,</div><div>  Srishti </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><span class="">
<p dir="ltr">> Regards,<br>
> Srishti <br>
><br>
>  <br>
>><br>
>> Hope this helps,<br>
>> Tobin.<br>
><br>
></p>
</span><p dir="ltr">Regards,</p>
<p dir="ltr">Alex</p>
</div>

</blockquote></div><br></div></div>