当前时区 GMT+8, 现在时间是 2008-8-29 01:28 游客: 注册 登录 仅登录论坛 | 搜索 帮助


标题: 怎么样升级内核在我的Debian上(大家一定么看!)
jin_liu
高级会员
Rank: 4



UID 6442
精华 1
积分 1801
帖子 951
阅读权限 50
注册 2002-12-2
来自 China
状态 离线
发表于 2003-3-19 18:45  资料  短消息  加为好友 
怎么样升级内核在我的Debian上(大家一定么看!)

我已经发几个help,很感谢大家的回答,可是没有效果!我的
-uname  -a
还是linux2.2.0
不是我自己编译的2.4.20
我不 知道为什么!!!!!!!!!!!!

如果有哪位仁兄成功过,请指教!!!!!!!!!谢谢了!!


还有,我不明白为什么modprobe总是要看/lib/modules/2.2.20呢??
我的起动的内核是2.4.20的bzImage,为什么modprobe不看/lib/modules/2.4.20呢??而且我看了/etc/modules.conf里面好像没有什么帮助!!!
我于是man modprobe
The idea is that modprobe will look first in the  directory  containing
       modules  compiled for the current release of the kernel.  If the module
       is not found there, modprobe will look in the directory common  to  the
       kernel version (e.g. 2.0, 2.2).  If the module is still found, modprobe
       will look in the directory containing modules for  a  default  release,
       and so on.

       When  you  install  a  new  linux,  the  modules  should  be moved to a
       directory related to the release (and version) of the  kernel  you  are
       installing.   Then  you  should do a symlink from this directory to the
       "default" directory.

       Each time you compile a new kernel, the command "make  modules_install"
       will create a new directory, but won't change the "default" link.

       When  you  get a module unrelated to the kernel distribution you should
       place  it  in  one  of  the   version-independent   directories   under
       /lib/modules.

       This   is   the   default   strategy,   which   can  be  overridden  in
       /etc/modules.conf.

说实话,我好像明白一





Blog: http://jameslau1983.spaces.msn.com/
顶部
rianren
银牌会员
Rank: 6Rank: 6


UID 7454
精华 1
积分 3811
帖子 1523
阅读权限 70
注册 2002-12-14
来自 广州
状态 离线
发表于 2003-3-19 21:23  资料  短消息  加为好友 
你安装内核吗?你编译内核:/usr/src/下!
最后make modules
make install后不就可以了,我常常做!





FreeBSD 5.1 + Red hat Linux 9.0 ★ *""*☆*""* ★ ★ *""*☆*""* ★ ★ *""*☆*""* ★ ★ *""*☆*""* ★ ★ *""*☆*""* ★ ★ *""*☆*""* ★ ?☆ *.★.* *""*☆*""*走过! 路过! 灌水! *""*☆*""* *.★.* ☆?
顶部
 


Powered by Discuz! 5.5.0  © 2001-2007 Comsenz Inc.
清除 Cookies - 联系我们 - 中国Linux公社 - WAP