CIS305 1.3 Linux Kernel Modules

docx

School

ECPI University *

*We aren’t endorsed by this school

Course

305

Subject

Computer Science

Date

Feb 20, 2024

Type

docx

Pages

1

Uploaded by kenardoafelix

Report
CIS305 1.3 Linux Kernel Modules Felix, Kenardo What is the name of the Kernel Module? The Linux kernel is stored in the /boot directory and is named vmlinux-<kernel version> if it is not compressed, or vmlinuz-<kernel version> if it is compressed. What is the description of the Kernel Module? To see a list of modules that are currently loaded into the Linux kernel, you can use the lsmod command. You can also view detailed information about a particular module using the modinfo com Where is the Kernel Module located on the system? They are located in /lib/modules or /usr/lib/modules and have had the extension . ko ("kernel object") since version 2.6 (previous versions used the .o extension). The lsmod command lists the loaded kernel modules. What does the Kernel Module do? The kernel module is also called a driver and is kind of like an API, but between hardware and software. Kernel drivers are an integral part of the Linux kernel and play a vital role in interacting with hardware devices. As kernel drivers are software components, we can consider them translators between the operating system (OS) and the physical devices connected to our computers. How would you create your own Kernel Module? What do you need to do that? Legacy Linux distributions list modules to load manually within the /etc/modprobe.conf, /etc/ modules.conf, or /etc/modules text files, depending on the distribution. Modern Linux distributions list modules to load manually at boot time within text files located in the /etc/modprobe.d/, /etc/modules-load.d/, or /usr/lib/modules-load.d/ directories. Software packages often add files to these directories when they are installed if they require a module to be loaded into the Linux kernel manually. When do Kernel Modules load in the boot process? As the Linux kernel detects each hardware component at boot time, it loads the associated module. However, for some hardware devices, the Linux kernel cannot detect them at all; for others, it cannot detect them properly. In these cases, the system can load the module manually at boot time via entries in a configuration file. Eckert, Jason. Linux+ and LPIC-1 Guide to Linux Certification. Available from: ECPI, (5th Edition). Cengage Learning US, 2019.
Discover more documents: Sign up today!
Unlock a world of knowledge! Explore tailored content for a richer learning experience. Here's what you'll get:
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help