keenor 发表于 2003-4-22 02:29:39

不好意思
刚才那么说只是开个玩笑,请别在意
看英文真是好累啊,但是想要提高真的是要学好英文的,向你学习!
也许是我对kernel编译时配置比较草率,所以出来的东西跟红帽的可能差别大了点,比如apm、fb、fs等等,呵呵,一大堆红颜色的fail
我没心思跟红帽绞屎棍打烂仗,所以自己玩还是不用红帽的
您帮助别人的精神值得我们学习,谢谢你!

keenor 发表于 2003-4-22 02:39:34

不好意思
刚才那么说只是开个玩笑,请别在意
看英文真是好累啊,但是想要提高真的是要学好英文的,向你学习!
也许是我对kernel编译时配置比较草率,所以出来的东西跟红帽的可能差别大了点,比如apm、fb、fs等等,呵呵,一大堆红颜色的fail
我没心思跟红帽绞屎棍打烂仗,所以自己玩还是不用红帽的
您帮助别人的精神值得我们学习,谢谢你!

Dragonfly 发表于 2003-4-22 04:29:17

u are quite welcome.
my work decide my desktop to be purely english. and because i also want to improve english. so i try to use it all the time.
i use gentoo personally on my laptop. but since i need resintall and reconfigure the lab machines all the time, i install redhat on them.

hit007 发表于 2003-4-22 13:55:19

谢谢你们的回复
我按照keenor说的做了一下,真的没有哪个讨厌的版本mismatch问题了

但是:

# insmod hello.o
hello.o: init_module: Device or resource busy
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


模块还是无法运行,怎么办?

keenor 发表于 2003-4-22 21:24:34

你第一帖那个没问题,我试过了
你改过代码了吗?帖出来看一下

Dragonfly 发表于 2003-4-22 21:54:05

谢谢你们的回复
我按照keenor说的做了一下,真的没有哪个讨厌的版本mismatch问题了

但是:

# insmod hello.o
hello.o: init_module: Device or resource busy
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


模块还是无法运行,怎么办?

check ldd book, u init_module should return 0 if init succ, return other -Exxx for different type of errors. but u first post should be ok.

hit007 发表于 2003-4-23 13:15:57

我忘了在init_module()函数中加入return 0了,所以出了问题,

好了,现在一切问题终于解决了,谢谢你们马拉松式的回答问题.

不过还是有点问题:一般如何查看printk()的输出呢?X中的是虚拟终端,没有一点显示

.谢谢

keenor 发表于 2003-4-23 17:30:33

还是别用虚拟终端了,最好直接在控制台下弄
实在想用虚拟终端,只好insmod之后敲dmesg命令看输出的最后几行

Dragonfly 发表于 2003-4-23 22:14:17

since kernel module is easy to crash or hang the system, so u had better do it under simple console. otherwise u may lose data when u reboot.

hit007 发表于 2003-4-24 09:38:48

好的。

感谢cheungming和keenor积极回复,这个贴真够长了,就到此为止吧

如果有新问题,我会张新贴的
页: 1 2 [3]
查看完整版本: 内核模块编译,加载时说版本不对的问题