linux poison RSS
linux poison Email

How to add a module to an existing kernel

Sometime you need to add a new driver to a modular kernel, you can just compile the needed module and install it without recompiling the entire kernel. Just follow these steps:

# cd /usr/src/linux (location where linux kernel source is stored)
# make config Or make menuconfig OR make xconfig
(Choose the driver as a module)

# make dep
# make modules
# make modules_install
# depmod -a

You should now be able to use the new module.


0 comments:

Post a Comment

Related Posts with Thumbnails