The Linux Kernel Module Programming Guide

wrycoder | 395 points

qemu is a good way to experience with kernel hacking

Hopefully someone can update the LDD(linux device driver) and Linux kernel books. In fact Linux Foundation should sponsor such efforts since technical book like this is hard to make any profit.

synergy20 | a month ago

See also The Linux Memory Manager: https://linuxmemory.org/chapters Last update the author sent out was in early July noting that the book is now in editing:

> I am happy to report that I have completed the first draft of the book [...] > I am now in an editing phase, which may well take some time. Sadly I can't give a reasonable estimate as this will be done in concert with my publisher.

simonz05 | a month ago

Some examples seem hard to play with, unfortunately. For instance, "Detecting button presses" assumes one is able to build modules for RPi, which probably is not trivial by itself (e.g., requires cross-compilation).

tdiff | a month ago

A detailed, hands-on, build a kernel module right away kind of tutorial. Bravo.

donpdonp | a month ago

What about Linux kernel programming in general, e.g hacking the filesystem or memory management parts?

Many years ago there was "Linux Kernel Development" by Robert Love, probably not updated anymore.

anta40 | a month ago

I've read it first time about 22 years ago :)

philipreis | a month ago

[dead]

kkjkj | a month ago

[flagged]

Anne165Hernadez | a month ago

> 1.7 Before delving into code...

Did the authors use an LLM to write or improve the text? I have no problem with that but I feel I'd like to know how much work is LLM based before reading.

zeehio | a month ago