I am currently in the process of thinking about more heavily using DKMS. It seems a nice tool to deal with external drivers (at least for hardware vendors who support it), do we have a big fans of it here?
I don't know much about DKMS although I've used it indirectly in Ubuntu.
IMHO, gentoo/funtoo has always handled external modules well with ebuilds - virtualbox-modules, ipp2p, ipset, nvidia-drivers, xtables-addons, etc.
Last edited by overkill (2012-03-10 05:00:40)
it is a good thing for such kernels as RHEL/openvz highly modular and very fragile to config changes, allows to install separate modules easily.
I'm not doing something correctly, or have missed a step:
VirtualBox installed and working.
Bringing in the (newer) kernel (in this case 3.8.7) on emerge then
alex@sydney ~ % sudo genkernel --kernel-config=/root/config-3.8 all Password: * Funtoo Linux Genkernel; Version 22.214.171.124-funtoo * Running with options: --kernel-config=/root/config-3.8 all ..
Doesn't touch/recompile the virtualbox modules. Not sure why?
As always, understanding why is more important to me than the fix.
Please start another thread in the appropriate category or better use Funtoo Jira to report issues.
Got too excited!
Since I dont see that other thread started, Virtualbox modules are not part of the kernel, they are outside modules and need to be rebuilt as such.
The same is true for nvidia-drivers and a handful of others.
Thank you. Wasn't worth a new thread!
We need better modules support. I have not looked at DKMS though. Some wiki action would be appreciated Like a new FLOP.
Some things I have been thinking about:
Emerge a kernel to a new package set, so it is not auto-upgraded with "emerge -auDN world".
Have ebuilds with kernel modules install the *sources* into /usr/src, and have another tool build modules as needed. Basically, building stuff for a kernel is a separate thing than emerging packages, and should be handled by a kernel-specific tool.
Funtoo has dkms ebuild forked just in case
I followed some piece of tutorial on a CentOS machine to build zfs modules... the cool thing is you reboot the machine, then dkms rebuild the modules for you at system start-up. Not sure if a dkms feature or something inherent to ZFS on linux magic, I didn't play with it (yet).