- 论坛徽章:
- 0
|
安装module-init-tools version 3.2后,启动时出现下列报错信息:
WARNING : /etc/modprobe.conf exists but does not include /etc/modprobe.d
1)
修改modprobe.conf
加入include /etc/modprobe.d/
2)
And I needed to install module-init-tools version 3.2 . (My old 2.4.27 doesn'y like this version but still works).
module-init-tools can't handle 2.4-kernels at all. That's why the "new"
modprobe et al. detect 2.4 kernels and exec the modutils-supplied old
executables in this case.
The first few lines of /etc/modules.conf are
### This file is automatically generated by update-modules"
#
# Please do not edit this file directly. If you want to change or add
# anything please take a look at the files in /etc/modutils and read
# the manpage for update-modules.
#
Are you sure, you want to edit it? Just put your own fragments into
/etc/modutils/ or /etc/modprobe.d/ (e.g. write a file
/etc/modutils/local) or modify the fragments in this directory, if
needed, and run update-modules after doing that, to generate a new
modules.conf. The error actually means, that modules.conf was not
generated this way. (The directory-of-fragments-method is just a way to
make complex files like modules.conf manageable; every package just
puts an own file in the directory and doesn't have to
grep/sed/awk/perl/... in modules.conf). To automatically load modules
at boot, put them into /etc/modules.
http://kerneltrap.org/node/4709
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/18797/showart_114533.html |
|