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 |
linux file defaults permition
linux system its not booting up its showing groub error what i need to do?
how to create samba server in fedora linux 9 ?
Port number is already in use .. how to fix for apache..?
what is bus trap.
what are different ways the context switch happens from user to kernel space or vice-versa ?
diff b/w spinlock, seamaphores and mutex and where to use it.
1. Where the History file can be located? 2. How will you harden the server? 3. Diff between Raid 1 and Raid 5? 4. What is the largest disk size can be used in LVM? 5. How will you remove a PV from lvm without any data loss? 6. What is the diff between ext3 and ext2 File system? 7. How we can use resize2fs, what is the purpose? 8. What is the purpose of LVM? Why it is used? 9. If the FS is in read-only mode, so we cannot create any file. How will you fix it? 10. How to create swap partition after OS installation? 11. What is the diff between ssh and telnet? 12. How to find out the dependency required for a package?
What is the use of proc structure?
what happens when we do insmod & rmmod in Linux Device Drivers ?
how to configure http server on red hat linux4.0?
What are the signals we have in Linux