阅读:1562回复:3
加载pci驱动报错,请大侠会诊!
[root@VideoCapture test]# insmod -f wtwh_pci.o
Warning: kernel-module version mismatch wtwh_pci.o was compiled for kernel version 2.4.18-14custom while this kernel is version 2.4.18-14 Warning: loading wtwh_pci.o will taint the kernel: no license See http://www.tux.org/lkml/#export-tainted for information about tainted modules Warning: loading wtwh_pci.o will taint the kernel: forced load wtwh_pci.o: init_module: No such device Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters. You may find more information in syslog or the output from dmesg |
|
沙发#
发布于:2003-06-12 11:10
呵呵,气死我了,刚写了可是却说密码不对,还要重写。。。
1。在编译中采用-I选项指定你的具体内核目录树,就可以解决版本不匹配问题。 2。在init_module()里,加上,MODULE_LICENSE(\"GPL\");就可以解决no license的问题! 祝好运! :P |
|
板凳#
发布于:2003-06-12 15:13
非常感谢兄弟地回答。你的回答,让我学到了更多的东西!
现在版本匹配是次要的,主要是他说我传进参数 错误,错误在哪个地方? 如何解决的问题! |
|
地板#
发布于:2003-06-12 20:28
什么参数啊?我怎么在警告里没有看到?
|
|