Re: Linux kernel 2.6.11 and external module error

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

 



On 2/3/06, Σωτήριο Κοντογιάννη <skontog@xxxxxxxxxx> wrote:>> I tried to compile a small external module for my amd_64 2.6.11 kernel.> The module code is:> --------------------------ZIP<snip>> -----------------------------> I module compiles succesfully but when I try to insmod it I get the following> message at the console:> #insmod -f ./ex0.o> insmod: error inserting 'ex0.o': -1 Invalid module format>> and at /var/log/messages the following:> kernel: No module found in object> I use module-init-tools 3.2.2> #modprobe -V> module-init-tools version 3.2.2>> Could anyone tell me what am I doing wrong..>
The final module file will be with extension .ko which you have toload. The 2.6.x kernel has different build mechanism so the old .ofile (like in 2.4.x) will not load.
So just try to load ex0.ko file !
--Fawad Lateef?ς??w??μ?λ?ιiy§!ʼΨ^?W??v?ʼλm?ββ?μdzΉή?π+r―{ψmΆ??ώfʼ?ωεώX§»θ?δzΉή?w°n'¬όPώm§???κηzYήΑΈ?³ϊ+?χΪ


[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