Explain the use and functionality of loadable kernel modules.
- [Voiceover] Let's talk about loadable kernel modules,…and start with an intro to Linux kernel modules.…So, what is a Linux kernel module?…Well, they're files.…They're object code,…and they have a .ko suffix to identify them.…And ko stands for kernel object.…All right, so this code runs in kernel space.…This code gets linked into the kernel.…It dynamically adds functionality to the running kernel.…It's commonly used for device drivers,…but it's very general, and there's lots of other…kinds of modules besides device drivers.…
Ordinarily the code's written in C,…and when you compile a module,…it needs to be compiled for a particular kernel version.…At least that's by far the safest thing…and the most common thing.…The intent was not to have binary compatibility…with modules with other kernels.…Kernel data structures might change for example,…and it wouldn't be safe to compile a module for one kernel…and use it with a different one…if it were to use that sort of data structure.…Having loadable kernel modules is really great.…
We survey the Linux kernel specification, boot process, and loadable kernel modules. You will practice techniques such as downloading and searching Linux kernel source code and configuring a Linux kernel from scratch. Challenge and solution videos at the end of almost every chapter allow you to test your new Linux skills along the way.
- What is the Linux kernel?
- Controlling hardware
- Reading Linux kernel messages
- Reading and writing files from the proc and sysfs filesystems
- Configuring GRUB
- Using kernel command-line parameters
- Configuring run levels
- Working with loadable kernel modules (LKMs)
- Searching the kernel source code
- Building and installing a Linux kernel
Skill Level Advanced
Learning Linux for PHP Developers (2014)with Jon Peck3h 52m Beginner
1. Surveying the Linux Kernel
3. Working with Loadable Kernel Modules
4. Examining Linux Kernel Source Code
5. Configuring and Building a Linux Kernel
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.