Re: "insmod: error inserting 'abc.ko' : -1 Invalid Format"

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

 



Hi,On 1/26/06, Sunil Agham <sunil.agham@xxxxxxxxx> wrote:>>>> On 1/26/06, Parag N(पराग़) <panemade@xxxxxxxxx> wrote:> >> > Hi,> > On 1/26/06, Sunil Agham <sunil.agham@xxxxxxxxx> wrote:> > >> > > Hi,> > >> > > I am using SUSE 9.2 (kernel 2.6.8-24). i am having problem with> inserting> > > modules in the kernel.i am getting following error message> > >> > > "insmod: error inserting ' abc.ko' : -1 Invalid Format"> > Might be you have compiled module program with some other kernel> > sources which is not currently running kernel and you are trying to> > load your module there.> > If you want to insert your module in currently running kernel then> > always compile that module with currently running kernel's source> > files.> >> But it's not working even after installing fresh copy. Is it true that SUSE> has provided the linux source code which is same as current working kernel?I> have version 2.6.8-24.> & why it wasn't giving error earlier? Everything was working fine.
      you can check which is currently running kernel version by uname-r. then you compile with this command in makee.g. make -C /lib/modules/`uname -r`/build  M=path_to_your_kernel_module     Do this and reply about what happened?Regards,Parag.��������!���W��v������ޗ��{��f������ޖw�n'�������Y�����


[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