由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - [help] insmod error message: no symbol version for module_layout
相关主题
问个kernel module的编译问题Fedeora 16 dual boot (grub2)
ubuntu怎么自动加载网卡?Apache : 好像有一个命令能显示当前的config变量?
[求助] 寻找特定版本的kernel source 来build .ko 文件请教Thinkpad的tp-smapi-module
module load problem on androidSymbolic Link: ln 和 cp -s 是一样的么?
busybox ined problemlinux 网络高手请帮忙,help config OpenWrt
新的 localmodconfig 可以自动选择系统需要的 module你们又胡说了,牛人明明都是用cat做编辑器的
SuSE Enterprise 10: Kernel Update问题dd-wrt 挂移动硬盘中文乱码的问题
service iptables start 咋没反应啊?grub的问题??
相关话题的讨论汇总
话题: module话题: layout话题: version话题: symbol话题: insmod
进入Linux版参与讨论
1 (共1页)
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?
1 (共1页)
进入Linux版参与讨论
相关主题
grub的问题??busybox ined problem
问个ubuntu安装的问题新的 localmodconfig 可以自动选择系统需要的 module
为啥机器能ping但是不能wget?SuSE Enterprise 10: Kernel Update问题
tar问题service iptables start 咋没反应啊?
问个kernel module的编译问题Fedeora 16 dual boot (grub2)
ubuntu怎么自动加载网卡?Apache : 好像有一个命令能显示当前的config变量?
[求助] 寻找特定版本的kernel source 来build .ko 文件请教Thinkpad的tp-smapi-module
module load problem on androidSymbolic Link: ln 和 cp -s 是一样的么?
相关话题的讨论汇总
话题: module话题: layout话题: version话题: symbol话题: insmod