|
楼主 |
发表于 2003-9-20 19:46:49
|
显示全部楼层
from module-init-tools-0.9.14'readme:
READ INSTRUCTIONS CAREFULLY, OTHERWISE YOU MAY DESTROY YOUR OLD UTILS!
1a) If you want to install in /sbin:
./configure --prefix=/
make moveold (if installing for the first time).
"make moveold" renames the old insmod, modprobe, rmmod and lsmod to
insmod.old, modprobe.old, rmmod.old and lsmod.old, and the matching
manpages.
OR,
****************************************
1b) If you want to install in /usr/local/sbin:
./configure
make links
"make links" makes links to the previous insmod, modprobe, rmmod and
lsmod (which are in /sbin) in /usr/local/sbin
******************************************
标记的1b方法我曾试过,没成功,推荐用1a。
2) Now, build it:
make
make install
3) If running for the first time, you might want to convert your old
modules.conf to modprobe.conf:
./generate-modprobe.conf /etc/modprobe.conf
4) If you are using devfs, copy modprobe.devfs to /etc
5) You will need to run "depmod" for your new kernel, eg:
depmod 2.5.50
6) If you want to hack on the source:
aclocal && automake --add-missing --copy && autoconf |
|