![]() With this, we don't have to run the OS install: uvt-simplestreams-libvirt sync -source release=focal arch=amd64Ĭreate the VM: uvt-kvm create kerneltest arch=amd64 release=focal -memory 4096 -cpu 2 -disk 15 -unsafe-caching Install virtualization software for the VM: sudo apt-get install -y qemu-kvm uvtool-libvirtįetch an Ubuntu cloud image, a compact pre-installed disk images. sudo apt-get install git build-essential kernel-package fakeroot libncurses5-dev libssl-dev ccache libncurses-dev bison flex gcc make git vim More information about the packages required for compilation can be found on /. Install the packages needed to compile the kernel. The modified Kernel will be tested in a VM running Ubuntu 18.04. We will test our custom kernel on a VM to protect our host machine's stability. Clone the kernel code git clone -branch v5.8 -single-branch -no-tags ![]() All code changes referenced in this post can be found in this Pull Request. The new syscall printk simply prints a given null-terminated message into the kernel log. ![]() That said, I don't aspire to become a kernel hacker. For this reason, I decided to implement a simple Linux syscall to become familiar with the Linux kernel's code organization. ![]() Understanding the whole stack as much as possible is a great advantage when a bug pops up. Sometimes, issues can only be fixed in a layer below the abstractions you rely on usually.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |