English
Ask Your Question
5

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

asked 2011-11-16 18:43:44 +0000

hhlp gravatar image

updated 2011-11-16 19:01:20 +0000

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 delete

1 Answer

Sort by ยป oldest newest most voted
13

answered 2011-11-16 18:44:04 +0000

hhlp gravatar image

updated 2011-11-16 18:55:50 +0000

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 publish link more

Comments

perfect discription

anurag ( 2013-04-13 22:01:47 +0000 )edit

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

ernesto ( 2013-08-03 03:19:36 +0000 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

Add answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers to your questions.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question tools

Follow
2 followers

Stats

Asked: 2011-11-16 18:43:44 +0000

Seen: 15,858 times

Last updated: Nov 16 '11