找回密码
 注册
查看: 592|回复: 6

install gentoo 一些不明白的地方

[复制链接]
发表于 2004-7-19 18:03:15 | 显示全部楼层 |阅读模式
gentoo 手册有一段:

舉例來說,要自動載入 3c59x.o 模組,編輯 kernel-2.4 或是 kernel-2.6:
Code Listing 22: 編輯 /etc/modules.autoload.d/kernel-2.4
(2.4核心的範例)# nano -w /etc/modules.autoload.d/kernel-2.4
Code Listing 23: /etc/modules.autoload.d/kernel-2.4 或是 kernel-2.6
3c59x

"3c59x" 到底是什么?
我只是照抄, 但抄的莫名其妙.
请高手指导.
谢谢!
发表于 2004-7-19 18:06:40 | 显示全部楼层
use modinfo + mudules to view description
modinfo 3c59x
3Com 3c59x/3c9xx ethernet driver LK1.1.19 10 Nov 2002
回复

使用道具 举报

 楼主| 发表于 2004-7-20 08:51:16 | 显示全部楼层
Dear onnyloh,
Are you saying that it is an 3com ethernet driver?
If such driver is not needed,
<modules.autoload.d/kernel-2.6> should not add in any thing?
If no modification done to <modules.autoload.d/kernel-2.6> it will be empty inside, any problem?
Please advise.
Thank you.
回复

使用道具 举报

发表于 2004-7-20 12:27:12 | 显示全部楼层
没用的模块载入了干什么呢
回复

使用道具 举报

发表于 2004-7-20 13:17:15 | 显示全部楼层
modules.autoload.d 下面的文件为空内容没什么关系,2.4 以上内核都可以根据 call 的 function 自动加载模块。

除了网卡模块以外基本都不需要 autoload,对于需要一开机便要加载的模块我一直建议干脆编译进内核,省得麻烦。
回复

使用道具 举报

 楼主| 发表于 2004-7-21 08:57:37 | 显示全部楼层
Kuye 的解释清楚, 谢谢.
编译内核是不是net device 部分?
回复

使用道具 举报

发表于 2004-7-21 09:49:13 | 显示全部楼层
嗯,差不多,把你网卡模块前的 M 改成 * 就行了。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-2-13 00:04 , Processed in 0.051038 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表