You are not logged in.

#1 2012-03-09 16:52:40

404_Error
Core Team Member
From: Quebec city, Quebec, Canada
Registered: 2010-10-08
Posts: 512

Dynamic Kernel Module Support (DKMS) benefits

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? smile

Offline

#2 2012-03-10 00:14:04

overkill
Member
Registered: 2011-09-13
Posts: 243

Re: Dynamic Kernel Module Support (DKMS) benefits

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)

Offline

#3 2012-03-10 03:22:44

angry_vincent
Staff
From: Ukraine
Registered: 2010-10-07
Posts: 687

Re: Dynamic Kernel Module Support (DKMS) benefits

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.

Offline

#4 2013-04-13 10:18:51

alexpj
Member
From: England
Registered: 2012-08-18
Posts: 49

Re: Dynamic Kernel Module Support (DKMS) benefits

I'm not doing something correctly, or have missed a step:

Setup:
3.8.x kernel.
DKMS installed.
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 3.4.40.1-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.

Thank you!

Offline

#5 2013-04-17 19:41:21

404_Error
Core Team Member
From: Quebec city, Quebec, Canada
Registered: 2010-10-08
Posts: 512

Re: Dynamic Kernel Module Support (DKMS) benefits

Please start another thread in the appropriate  category or better use Funtoo Jira to report issues.

Offline

#6 2013-04-22 21:20:19

alexpj
Member
From: England
Registered: 2012-08-18
Posts: 49

Re: Dynamic Kernel Module Support (DKMS) benefits

Apologies.
Got too excited!

Offline

#7 2013-04-23 04:43:11

Azerthoth
Moderator
Registered: 2010-10-25
Posts: 33

Re: Dynamic Kernel Module Support (DKMS) benefits

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.

module-rebuild rebuild

The same is true for nvidia-drivers and a handful of others.

Offline

#8 2013-05-19 21:25:26

alexpj
Member
From: England
Registered: 2012-08-18
Posts: 49

Re: Dynamic Kernel Module Support (DKMS) benefits

Thank you. Wasn't worth a new thread!

Offline

#9 2014-03-28 04:57:40

drobbins
Head Honcho
From: Albuquerque, NM, USA
Registered: 2010-10-04
Posts: 354

Re: Dynamic Kernel Module Support (DKMS) benefits

We need better modules support. I have not looked at DKMS though. Some wiki action would be appreciated wink 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.

-Daniel

Offline

#10 2014-03-28 08:58:01

angry_vincent
Staff
From: Ukraine
Registered: 2010-10-07
Posts: 687

Re: Dynamic Kernel Module Support (DKMS) benefits

Funtoo has dkms ebuild forked just in case

Offline

#11 2014-03-28 11:48:07

404_Error
Core Team Member
From: Quebec city, Quebec, Canada
Registered: 2010-10-08
Posts: 512

Re: Dynamic Kernel Module Support (DKMS) benefits

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).

Offline

#12 2014-03-28 17:50:57

drobbins
Head Honcho
From: Albuquerque, NM, USA
Registered: 2010-10-04
Posts: 354

Re: Dynamic Kernel Module Support (DKMS) benefits

That *is* pretty cool.

Offline

Board footer

Powered by FluxBB