Re: error during inserting module......invalid module format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2006-07-07 at 13:35 -0700, mayank rana wrote:
> hi 
> I am trying simple kernel module program 'HELLO WORLD'. for 2.6.5-EL
> kernel.
> It compiled successfully but when i am trying to insmod it is giving
> error like
> -1 invalid module format.
> I also try to see output using modinfo but it is not showing
> anything.......
> Please help me out how to overcome this error.
> Thnx

Hi,

you probably are using a broken makefile (see the RHEL4 release notes
for a correct makefile) and remember that you need to use the .ko ...

Greetings,
  Arjan van de Ven
> 


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux