QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 777|回复: 3

請問如何裝載模塊?

[复制链接]
发表于 2004-5-27 18:11:11 | 显示全部楼层 |阅读模式
insmod ntsf.o
ntfs: couldn't find the kernel version the module was compiled for

請問怎麽才能裝載上呢?
RH9 kernel 2.4
发表于 2004-5-27 18:37:22 | 显示全部楼层
看看这里:
http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=22922&highlight=ntfs
回复

使用道具 举报

 楼主| 发表于 2004-5-27 19:56:23 | 显示全部楼层
謝謝樓上的先, 我的意思不是只想解決ntfs問題, 如果我想用insmod命令來加載其他設備的驅動怎麽辦呢?
回复

使用道具 举报

发表于 2004-5-28 01:27:22 | 显示全部楼层
for 2.6.x kernels,
Check if the concerned module exists in directory /lib/modules/2.x.x/kernel/.....

case "1"
   run " insmod xxxx.o" or "modprobe xxxx.ko" ( the file extension o/ko can be omitted.)
case "0"
    recompile the kernel to add what you interested as modules.

To make sure that your module loaded work properly, you must check your modprobe.dep file in directory /lib/modules/2.x.x. This file lists the dependency relations of particular modules you compiled, i.e., some key/core modules must be loaded before a preferred module is loaded. Try "man modprobe.dep" for more details.

No idea about 2.4.x kernels. Perhaps similar. Just focus on manpages for answering.
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-2 22:25 , Processed in 0.057850 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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