Invalid module format

Alejandro D?az ealejandro at outlook.com
Wed Feb 21 16:39:32 EST 2018


On Thu, Feb 22, 2018 at 02:52:39AM +0530, Srishti Sharma wrote:
> On Thu, Feb 22, 2018 at 2:50 AM, Alejandro D?az <ealejandro at outlook.com>
> wrote:
> 
> > On Thu, Feb 22, 2018 at 02:42:23AM +0530, Srishti Sharma wrote:
> > > Hello,
> > >
> > > While trying to load a module from the linux-next branch , I get the
> > error
> > > that the module format is invalid, this was because the kernel I compiled
> > > was different from the kernel I was trying to load the module into, so I
> > > installed the kernel from the same source as the module, and it booted
> > for
> > > only once right after the installation. When I try to boot into the same
> > > kernel, my system reboots. What should I do so that I am able to boot
> > into
> > > it everytime ?
> >
> > Hi,
> >
> > Do you get an error message before the new kernel reboots?
> >
> 
>  No, I don't get any error messages.

Do you get anything on the screen? Grub might be passing "quiet" as a
parameter which I believe suppresses messages(you want to disable for
troubleshooting purposes)

> 
> > Did you use the same config provided by your distribution(or a hand-rolled
> > config)?
> >
> 
> I used the same config provided.
> 
> Regards,
> Srishti

Regards,

Alex




More information about the Kernelnewbies mailing list