Running depmod on host

From HotDec

Jump to: navigation, search

Depmod on Host

The depmod program will look through the modules and determine dependencies. These are used by 'modprobe' to determine which modules depend on which other modules. When installing the kernel normally, depmod is already run, but when using a kernel module from outside the normal kernel tree ( a module like ndiswrapper.ko or cisco_ipsec.o) depmod should be run again. Usually depmod will try to run on the modules for the currently running version of the linux kernel, but we must make it run for the SBC modules.

In the command below we are assuming the SBC root directory is located in /sbc, if it is somewhere else (like /home3/sbc) you need to make adjustments. Also, the command is assuming that depmod is running for the -sbc-may19-rtai kernel, if this is not the case, make adjustments.

depmod -b /sbc -e -v 2.6.15.3-sbc-may19-rtai -F /sbc/boot/System.map-2.6.15.3-sbc-may19-rtai
Personal tools