what happens when we do insmod & rmmod in Linux Device Drivers ?
Answers were Sorted based on User's Feedback
Answer / guest
At time of insmod required o's brings in ram or updated the
kernen with the perticular device driver. At the time of
rmmod removes the o's by kmod it kills the process and
refresh the kernel.
| Is This Answer Correct ? | 12 Yes | 6 No |
Answer / rulingminds
insmod: insmod is a tool used to attach a module to the
running linux kernel. This will take the kernel object(.ko)
and takes all executable code and data sections of the .ko
and attach it to the running linux kernel.
rmmod: used to remove or deattach a module code from the
running kernel
see www.rulingminds.com/modprogpart1 &
www.rulingminds.com/modprogpart2
for in depth explanation of the Linux module programming
| Is This Answer Correct ? | 5 Yes | 3 No |
Explain process management system calls in linux?
what is stored in /proc ? what is significance of /proc in linux ?
what is stored at /lib/modules ?
How to get microseconds of system time from Redhat Linux 4.0
1.Diff between Active and passive FTP? 2.What is anacron? 3.Diff between yum update and yum install while doing for kernel? 4.root_squash and no_root_squash does what? 5.What are the commands will you execute to find a new hardware? 6.How will you find out a lun allocated from SAN? 7.What is the main diff in CaT5 and CAT6 cable, except the 1/100 and 1/1000? 8.What is stale NFS and How will you fix it? 9.What is kernel panic error? 10.How will you recover password and shadow file, in case both got deleted. Explain the steps? 11.Explain boot process 12.What is network bonding. Explain the steps? 13.What are the exit codes returned by FSCK? 14.What is LDOM? 15.Diff between block and character device?
What is atomic function / atomic variable ?
What are system calls used for process management in linux?
what kind of information the linux driver modules (.ko ) files has ?
what are Softirq's and how many major numbers be allocated in the linux kernel(2.4) ?
What is the Diffrent between Redhat linux And suse linux
how to configure ftp server on redhat linux?
what are different ways the context switch happens from user to kernel space or vice-versa ?