G*****e 发帖数: 48 | 1 "rt73usb: no symbol version for module_layout
insmod: cannot insert 'rt73usb.ko': invalid module format"
so what is "module_layout"? and what does "symbol version" mean? |
Z**0 发帖数: 1119 | 2 内核版本不配套?这个module不是当前kernel版本下编译的? |
G*****e 发帖数: 48 | 3 no, I download a kernel 2.6.31.16 and build a simple busybox for omap3. Then
i need to use a usb drive and its driver module's version is unknown from a
tarball.
By the way, how do you know it is the version incompatiable problem? I would
assume that these time are only some minor version difference. Most of the
kernel symbol should be identical. What is the concept for this "module_
layout" and "NO symbol version". I would think there are some discrepancy
between the two version and should not |
p****o 发帖数: 1340 | 4 你是怎么build这个module的?所有的module里面都会expose这个module_layout的亚。
check the rt73usb.mod.c ...
【在 G*****e 的大作中提到】 : "rt73usb: no symbol version for module_layout : : insmod: cannot insert 'rt73usb.ko': invalid module format" : so what is "module_layout"? and what does "symbol version" mean?
|
G*****e 发帖数: 48 | 5 i just use make modules to build it
below is the rt73usb.mod.c, could you please explain more about the module_
layout? In the file, there is nothing related with "module_layout".
#include
#include
#include
MODULE_INFO(vermagic, VERMAGIC_STRING);
struct module __this_module
__attribute__((section(".gnu.linkonce.this_module"))) = {
.name = KBUILD_MODNAME,
.init = init_module,
#ifdef CONFIG_MODULE_UNLOAD
.exit = cleanup_module,
#endif
.arch = |
b***n 发帖数: 462 | 6 grep request_firmware 看看在哪里,看看你配置文件对不对。
build module的话最好make然后make modules. |
G*****e 发帖数: 48 | 7 谢谢大家的帮忙,我很早就把那个modulebuild了而且可以load
但是我把那wireless G adapter插入,系统并不读人。那个usb也似乎不再fs里面。
如果module有了,如何让系统认出和使用? 我需要用一个application to drive那个
usb? 或者这个module需要更底层的东西?难道probe不能 load it into the FS? |