The Linux kernel is turning 30 this year. That's three decades of pioneering open source software, enabling users to run free software, to learn from the applications they're running, and to share what they've learned with friends. It's argued that without the Linux kernel, the luxuries of open culture and free software we enjoy today may not have surfaced when they have. It's highly improbable that the parts of Apple and Microsoft and Google that are open would be open at all without Linux as the catalyst. The impact of Linux as a phenomenon for culture, software development, and user experience cannot be overstated, and yet it all started with a kernel.
A kernel is the software that boots a computer, recognizes—and ensures communication between—all of the components attached to the computer, both inside and outside of the computer case. For code that most users never even think about, much less understand, there are a lot of surprises about the Linux kernel. In no particular order, here's one fact about the kernel for each year of its life:
-
Linux was the first operating system to feature USB 3.0 drivers. Sage Sharp announced on 7 June 2009 that their driver for USB 3.0 devices was available, and their code was included in kernel version 2.6.31
-
The kernel marks itself as
tainted
when some event occurs that could be useful later for troubleshooting. It’s not a problem to run a "tainted" kernel. Should something go wrong, one of the first troubleshooting steps is to try to reproduce the issue on a non-tainted kernel. -
You can specify a hostname or domain name as part of the
ip=
command-line option, Linux preserves it instead of overwriting it with one proposed by DHCP or BOOTP. For instance,ip=::::myhostname::dhcp
gets the namemyhostname
. -
There's a version of a black-and-white, 16-color, and 224-color Tux logo during text bootup.
-
In the entertainment business, DRM is technology used to prevent access to media. However, in the Linux kernel DRM refers to Direct Rendering Manager and refers to library (libdrm) and drivers used to interface with the GPUs of video cards.
-
It's possible to patch the Linux kernel without rebooting.
-
When compiling your own kernel, you can configure your text console to have more than 80 columns. After compiling, it's configurable as a bootloader setting.
-
The Linux kernel provides built-in FAT, exFAT, and NTFS (read and write) compatibility.
-
Drivers for Wacom tablets and many similar devices are built into the kernel.
-
Most kernel hackers use the
git send-email
to submit patches. -
The kernel uses a documentation toolchain called Sphinx, which is written in Python.
-
Hamlib provides shared libraries with a standardized API to control amateur radio equipment through your Linux computer, which features a variety of radio support.
-
Hardware manufacturers are encouraged to help develop the kernel in order to ensure compatibility. The hardware can thus be addressed directly without having to download a driver from the manufacturer. Drivers that are directly part of the kernel also automatically benefit from performance and security improvements in new versions of the kernel.
-
There are drivers included in the kernel for many Raspberry Pi modules (Pi Hats).
-
The band netcat released an album playable only as a Linux kernel module.
-
Inspired by netcat's album release, a module to turn your kernel into a music player has also been developed.
-
The Linux kernel features supports many CPU architectures: ARM, ARM64, IA-64, m68k, MIPS, Nios II, PA-RISC, OpenRISC, PowerPC, s390, Sparc, x86, Xtensa, and more.
-
In 2001, the Linux kernel became the first to run the x86-64 CPU architecture in long mode.
-
Linux version 3.4 introduced the x32 ABI, allowing developers to compile code to run in 64-bit mode while only using 32-bit pointers and data fields.
-
The kernel supports many different file systems, including Ext2, Ext3, Ext4, JFS, XFS, GFS2, GCFS2, BtrFS, NILFS2, NFS, Overlay FS, UDF, and more.
-
The Virtual File System is a software layer in the kernel providing the filesystem interface to applications users run. It's also an abstraction for the kernel so that different filesystem implementations can coexist.
-
The Linux kernel includes a driver for a physical Braille output device.
-
For kernel version 2.6.29, the Tux logo during boot was replaced by "Tuz" to raise awareness of an aggressive cancer that was affecting the Tasmanian Devil population in Australia at the time.
-
Control Groups (cgroups) are the reason containers (the foundation technology for Docker, Podman, Kubernetes, and much more) can exist.
-
It took extensive legal action to liberate it so it could be included, but today the CIFS module is built into the kernel to enable SMB support. This allows Linux to mount Microsoft remote and cloud-based file shares.
-
It's notoriously difficult (in fact impossible, so far) for a computer to produce a truly random number. The
hw_random
framework can make use of special hardware features on your CPU or motherboard in an effort to improve random number generation. -
OS jitter is interference experienced by an application caused by conflicts in how background processes are scheduled, and how the system handles asynchronous events (such as interrupts.) Binding tasks to sets of CPUs defined by the kernel, using cgroups, and SMP IRQ affinity are options that the kernel provides programmers for reducing OS jitter. Issues like these are discussed in detail in the kernel documentation, helping programmers targeting Linux can write smarter code.
-
The
make menuconfig
command allows you to use a GUI to configure a kernel before compiling. TheKconfig
language defines kernel config options. -
For essential Linux servers, a watchdog system can be implemented to monitor the health of the server. Between health checks, the watchdog daemon writes data to a special watchdog kernel device, preventing a system reset. Should a watchdog fail to log success, the system is reset. Many implementations of watchdog hardware exist, and they're vital for remote mission critical computers (such as those sent to Mars.)
-
Although it was developed on Earth, there's a copy of the Linux kernel on the planet Mars.
1 Comment