Linux kernel OOPS dissection notes
What’s this Every now and then I find myself looking at an Oops or kernel panic, reminding myself how to approach this. So this is where I write down the jots as I go. This isn’t very organized....
View ArticleRoot over NFS remains read only with Linux v5.7
Upgrading the kernel should be quick and painless… After upgrading the kernel from v5.3 to 5.7, a lot of systemd services failed (Debian 8), in particular systemd-remount-fs: ●...
View ArticleLinux kernel: Dumping a module’s content for regression check
After making a lot of whitespace reorganization in a kernel module (indentation, line breaks, fixing things reported by sparse and checkpatch), I wanted to make sure I didn’t really change anything....
View ArticleSetting up a small Sphinx project for validating Linux kernel documentation...
Introduction Since I maintain a module in the Linux kernel, I also need to maintain its documentation. Sometime in the past, the rst format was adopted for files under Documentation/ in the kernel...
View Articledmesg output of a Google Pixel 6 Pro
Just in case this helps anyone, this is the output of the dmesg command. The phone was rooted with Magisk, or else how would I get this? But at this stage, I hadn’t install Zygisk or any other module...
View ArticleGoogle Pixel 6 Pro: Limiting the battery’s charge level
Introduction This post is a spin-off from another post of mine. It’s the result of my wish to limit the battery’s charge level, so it doesn’t turn into a balloon again. I’ve written this post in...
View ArticleMigrating an OpenVZ container to KVM
Introduction My Debian 8-based web server had been running for several years as an OpenVZ container, when the web host told me that containers are phased out, and it’s time to move on to a KVM. This is...
View ArticleInstalling GRUB 2 manually with rescue-like techniques
Introduction It’s rarely necessary to make an issue of installing and maintaining the GRUB bootloader. However, for reasons explained in a separate post, I wanted to install GRUB 2.12 on an old...
View ArticleLinux kernel workqueues: Is it OK for the worker function to kfree its own...
Freeing yourself Working with Linux kernel’s workqueues, I incremented a kref reference count before queuing a work item, in order to make sure that the data structure that it operated on will still be...
View Article