Re: Missing __versions section on .ko

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

 



On Tue, Sep 18, 2012 at 7:27 PM, Pritam Bankar
<pritambankar1988@xxxxxxxxx> wrote:
> Any idea what causes __versions section to get added in *.ko module. A
> simple hello.ko on ubuntu 12.04 i386 machine gets loaded successfully.
> Other module just doesn't get loaded giving error " Invalid module ".
> When I compared both modules with objdump -h I found __versions
> section was missing from second module and that can be the reason its
> not getting loaded. How can I add this section to other .ko ? What
> causes __versions to get added in ko ?


I have compiled both modules with modpost and Module.symvers.


 Thanks,
 Pritam Bankar

-- 

Pritam Bankar

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[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