EmbeddedRelated.com
The 2026 Embedded Online Conference

Linux Kernel Development - Part 1: Hello Kernel!

Denis CavalliDenis Cavalli June 2, 20192 comments

Skip userland and run code inside the kernel with a tiny "Hello Kernel" module that prints messages on load and unload. This introduction walks through required headers, the init and exit hooks, MODULE_* metadata, a kernel-friendly Makefile, and the basic workflow to build, insmod, rmmod and inspect messages with dmesg. It’s a hands-on first step into Linux kernel module development.


Linux Kernel Development - Part 1: Hello Kernel!

Denis CavalliDenis Cavalli June 2, 20192 comments

Skip userland and run code inside the kernel with a tiny "Hello Kernel" module that prints messages on load and unload. This introduction walks through required headers, the init and exit hooks, MODULE_* metadata, a kernel-friendly Makefile, and the basic workflow to build, insmod, rmmod and inspect messages with dmesg. It’s a hands-on first step into Linux kernel module development.


The 2026 Embedded Online Conference