-
b) It is a piece of software that can be dynamically loaded into the kernel for extending its functionality.
Explanation: Kernel modules are software components that can be loaded into the kernel at runtime to provide additional functionality and device support.
-
b) make
Explanation: The "make" command is commonly used in Linux to compile source code, including kernel modules.
-
c) It is used to insert a kernel module into the running kernel.
Explanation: The "insmod" command is used to insert (load) a kernel module into the running kernel.
-
c) rmmod
Explanation: The "rmmod" command is used to remove (unload) a loaded kernel module from the system.
-
a) It creates a new child process in the kernel.
Explanation: The "fork" system call is used to create a new child process, typically from within the kernel.
-
b) Kernel space is the portion of memory reserved for the kernel and its modules.
Explanation: Kernel space refers to the memory area that is exclusively reserved for the kernel and its modules, while user space is the memory area designated for user applications.
-
b) Improved hardware compatibility.
Explanation: Dynamically loadable kernel modules provide a way to add support for new hardware devices without recompiling or rebooting the kernel.
-
d) ioctl()
Explanation: The "ioctl" system call is used by user-level applications to interact with the kernel, particularly for device I/O control operations.
-
a) It installs the compiled kernel module into the system.
Explanation: The "make install" command installs the compiled kernel module into the appropriate system directories.
-
c) Detailed information about a specific kernel module.
Explanation: The "modinfo" command is used to display detailed information about a specific kernel module.
-
c) Physical Memory Manager (PMM)
Explanation: The Physical Memory Manager (PMM) component in the Linux kernel is responsible for managing the system's physical memory.
-
a) It forces the insertion of a kernel module, even if it may cause system instability.
Explanation: The "-f" option in the "insmod" command forces the insertion of a kernel module, even if it may lead to system instability.
-
c) Interrupt handlers are executed in the kernel context of the operating system.
Explanation: Interrupt handlers are executed in the kernel context to handle hardware interrupts. They run in a privileged mode to access kernel resources.
-
b) Virtual File System (VFS)
Explanation: The Virtual File System (VFS) is the intermediary layer between the kernel and file systems, providing a unified interface for file operations across various file system types.
-
a) It removes the kernel module from memory and updates system configuration.
Explanation: The "rmmod" command removes the kernel module from memory and updates the system's configuration accordingly.
-
c) It is the entry point for the kernel module and performs initialization tasks.
Explanation: The "init_module" function serves as the entry point for a kernel module and is responsible for performing initialization tasks when the module is loaded.
-
a) Loading a kernel module with incorrect parameters.
Explanation: Loading a kernel module with incorrect parameters or incompatible dependencies can lead to a kernel panic, resulting in system instability or crashes.
-
b) It registers the module's entry points with the kernel.
Explanation: The "probe" function in a kernel module is responsible for registering the module's entry points (e.g., initialization, cleanup) with the kernel.
-
d) Device Driver Framework
Explanation: The Device Driver Framework is a kernel subsystem responsible for managing device drivers, including initialization, registration, and removal.
-
a) It removes all the compiled object files for the kernel modules.
Explanation: The command "make clean" removes all the compiled object files for the kernel modules, helping to maintain a clean development environment.
-
c) A kernel displaying warning messages during the boot process.
Explanation: A "tainted kernel" refers to a kernel that displays warning messages during the boot process, indicating that it may have loaded unsigned or unsupported modules.
-
a) Virtual File System (VFS)
Explanation: The Virtual File System (VFS) subsystem is responsible for managing file systems and providing a uniform way to access different types of file systems in the kernel.