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 stored in /proc ? what is significance of /proc in linux ?
how to configure http server on red hat linux4.0?
diff b/w spinlock, seamaphores and mutex and where to use it.
if one of the critical section code (linked list) is under ISR & another one in kernel thread ? How you will synchronize for this critical section code ?
how to create a ftp user on redhat linux 4.0?
what is iptabe on redhat linux?
Explain process management system calls in linux?
what happens when we do insmod & rmmod in Linux Device Drivers ?
what are the backup utilites on red hat linux 4.0?
How to create secured appeche web sever ?
What do fork() internally call?
what is mean by raid and what are all raids available even in software and hardware?