Book: LPI Linux Certification in a Nutshell Section: Chapter 22. Exam 102 Review Questions and Exercises
### 22.3 Kernel ( Topic 1.5) #### 22.3.1 Review Questions What is the procedure for removing and installing modules in the running kernel? Why is this procedure necessary? Describe the differences between the insmod and modprobe commands. Which file stores optional parameters used by kernel modules? Describe the nature of a monolithic kernel and the consequences and/or advantages of using one. Name the major steps required to configure, build, and install a custom kernel and its modules. #### 22.3.2 Exercises Using the procedures found in Chapter 15, as well as the kernel HOWTO, configure, build, and install a custom kernel and modules. Boot the new kernel. Does your system behave normally? Are you able to boot both your original kernel and the new one? Using lsmod, examine the modules attached to your running kernel (presuming you're running a recent, modular kernel, that is). Try removing a noncritical module -- for example, rmmod sound. Did the command fail because the module was in use? Try inserting a module -- for example, modprobe fat, followed by lsmod. Did the module get inserted correctly? Remove it with rmmod fat. Was the removal successful? What is logged in /var/log/messages during these changes?