Hacker News new | past | comments | ask | show | jobs | submit login

I did come across DKMS during my research on solving the problem, and spent some time trying to figure out how to get it set up, but fizzled out in my attempts to get it working. Do you know of any more extensive tutorials on the matter? Real-world examples would also be hugely helpful. I couldn't find much. Thanks!



Arch linux has a decent tutorial: https://wiki.archlinux.org/index.php/Dynamic_Kernel_Module_S...

As for a simple example.. At a previous job, I did dkms support for a driver. Grab https://www.myricom.com/pub/Myri10GE/myri10ge-linux.1.5.3.p5... & look at dkms.conf and read linux/README.dkms

For more complex examples, look at zfs-on-linux. I know that is also how nvidia packages their hybrid binary blob drivers.


I really love Arch, even though I don't use it on a daily basis anymore the community wiki is the best resource I've found for guides on how to do a large number of tasks with the kernel that can work in most other distros.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: