betatoy 发表于 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

felix 发表于 2004-5-27 18:37:22

看看这里:
http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=22922&highlight=ntfs

betatoy 发表于 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.
页: [1]
查看完整版本: 請問如何裝載模塊?