kernel
- Load gpu_unlock before nvidia on Bazzite for an RTX 3090
Build the gpu_unlock module for the booted Bazzite kernel, load it from the initramfs before nvidia, opt in, verify the unlock, recover, revert.
- A -> B -> C -> A: benchmarking a kernel cmdline change you have to reboot for
A repeat boot with the same kernel command line ran one row 6 % faster than the first. How to A/B a boot parameter: four boots, sysfs proof, and drift.
- 128k context is the floor, and prefill is the wall
A 128k context fits easily in 128 GB of unified memory. Filling it took gpt-oss-120b 29 minutes, and one model's 64k prefill hit a GPU ring timeout.
- 120 GiB for the GPU, set in the kernel, not the BIOS
On a 128 GB Strix Halo box the BIOS's 96 G GPU setting leaves Linux 31 GiB. The minimum plus two TTM parameters gives the GPU 120 GiB.
- Packing a battery-first kernel into an HTC Desire Z boot.img
My plan put the HTC Desire Z kernel flash in one comment line. The boot image took three partition lookups, abootimg and a module the build never made.
- HTC Desire Z custom kernel killed Wi-Fi: version magic and insmod
A custom kernel left my HTC Desire Z with no Wi-Fi: a stale module the kernel refused, then a firmware path my own insmod got wrong. The fix took a reboot.
- Desire Z undervolt: a battery kernel next to CONFIG_JESUS_PHONE
An HTC Desire Z battery kernel on CM7: 25-50 mV undervolt, no overclock, power-collapse idle, four build failures and one fastboot flash.