what kind of information the linux driver modules (.ko )
files has ?
Answers were Sorted based on User's Feedback
Answer / ajay gautam
kernel 2.6 introduces a new file naming convention: kernel
modules now have a .ko extension (in place of the old .o
extension) which easily distinguishes them from conventional
object files. The reason for this is that they contain an
additional .modinfo section that where additional
information about the module is kept.
Linux program modpost can be used to convert .o files into
.ko files.
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / rulingminds
kernel object(.ko) is a relocatable elf object which
contains module code and data in elf sections. module.c is
compiled into relocatable object and intermediate file
module.mod.c is compiled into relocatable object and they
both together make into one relocatable file called kernel
object (.ko)
see www.rulingminds.com/modprogpart2
for in depth explanation of how modules are built and what
they contain and how they are inserted and removed
| Is This Answer Correct ? | 1 Yes | 1 No |
what is the diff b/w MUTEX and semaphore?
what is segmentation fault?
linux file defaults permition
what is stored in /proc ? what is significance of /proc in linux ?
What is atomic function / atomic variable ?
I would like to know whether Simado and Setu products are they EPBX or not ?
How to get microseconds of system time from Redhat Linux 4.0
What does exec family return?
what are the different ways the Linux can swich from User Space to Kernel Space & vice-versa ?
diff b/w spinlock, seamaphores and mutex and where to use it.
what is the difference between user APIs and kernel system calls ?
What are system calls used for process management in linux?