Ask Your Question

What is the difference between an 'akmod' and 'kmod'?

asked 2011-11-16 12:43:44 -0500

hhlp gravatar image

updated 2011-11-16 13:01:20 -0500

I would like to know the principal difference between this two package for example :

  • Graphic Drivers
  • Virtualbox
  • Wireless

Advantages and Disadvantages

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-11-16 12:44:04 -0500

hhlp gravatar image

updated 2011-11-16 12:55:50 -0500

A 'kmod' (kernel driver module) is the pre-compiled, low-level software interface between the kernel and a driver. It gets loaded (into RAM) and merged into the running kernel. Linux kmods are specific to one and only one kernel, and will not work (nor even load) for any other kernel.

Advantages: Pre-Compiled - no need to fool around with compiling, compilers, *-devel packages and other associated overhead.

Disadvantages: updating and re-booting into a new kernel without updating the kmod(s) will result in loss of functionality and inherent delays in updating kmods after kernel updates.

akmods (similar to dkms) is a solution to the problem of some kernel modules depending on specific versions of a kernel. As you start your computer, the akmod system will check if there are any missing kmods and if so, rebuild a new kmod for you. Akmods have more overhead than regular kmod packages as they require a few development tools such as gcc and automake in order to be able to build new kmods locally. If you think you'd like to try akmods, simply replace kmod with akmod

With akmod you don't have to worry about kernel updates as it recreates the driver for the new kernel on boot. With kmod you have to wait until a matching kmod is available before installing the kernel update.

Advantages: obvious.

Disadvantages: HDD space required for compilers and *-devel packages; unforseen/uncorrectable driver problems that cannot be resolved by the automatic tools.

edit flag offensive delete link more


perfect discription

anurag gravatar imageanurag ( 2013-04-13 17:01:47 -0500 )edit

How do I find out if a new kmod package is available for a new kernel?

ernesto gravatar imageernesto ( 2013-08-02 22:19:36 -0500 )edit

so it is ok to have both: yum install kmod-VirtualBox and akmod-VirtualBox ?

sebgod gravatar imagesebgod ( 2014-08-17 05:44:23 -0500 )edit

Yes, you can have both.

icywind gravatar imageicywind ( 2014-08-23 07:40:33 -0500 )edit

Isn't this topic the same as the forumtopic: ? I think that that topic should be referenced somewhere and this topic should be turned into a wiki since the answer above is literary ripped off from fedoraforum without a reference/source to it.

Emil Hemdal gravatar imageEmil Hemdal ( 2016-03-16 01:50:55 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2011-11-16 12:43:44 -0500

Seen: 39,001 times

Last updated: Nov 16 '11