Overview
Explore the process of setting up a development environment for writing Linux kernel modules using Rust in this hands-on mentorship session led by Wedson Almeida Filho, Software Engineer at Microsoft. Begin with a fresh Ubuntu installation and progress through installing necessary software packages, cloning repositories, building the kernel, and creating a busybox-based ramdisk. Learn to run the kernel in QEMU with networking support and debug it using GDB. Gain insights into troubleshooting steps when enabling Rust and make minor modifications to a Rust sample to demonstrate Rust tooling capabilities. This 90-minute session serves as a prequel to previous Rust for Linux content, providing a comprehensive foundation for aspiring kernel module developers.
Syllabus
Mentorship Session: Setting Up an Environment for Writing Linux Kernel Modules in Rust
Taught by
Linux Foundation