<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 24, 2018 at 4:59 AM, Tobin C. Harding <span dir="ltr"><<a href="mailto:me@tobin.cc" target="_blank">me@tobin.cc</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Feb 22, 2018 at 02:42:23AM +0530, Srishti Sharma wrote:<br>
</span><span class="">> Hello,<br>
><br>
> While trying to load a module from the linux-next branch<br>
<br>
</span>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>
<span class=""><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>
</span>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></blockquote><div>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 :(</div><div><br></div><div>Regards,</div><div>Srishti </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hope this helps,<br>
Tobin.<br>
</blockquote></div><br></div></div>