Chinaunix首页 | 论坛 | 博客
  • 博客访问: 484126
  • 博文数量: 67
  • 博客积分: 2952
  • 博客等级: 少校
  • 技术积分: 679
  • 用 户 组: 普通用户
  • 注册时间: 2006-01-24 10:50
文章分类

全部博文(67)

文章存档

2011年(9)

2010年(36)

2009年(8)

2008年(5)

2007年(5)

2006年(4)

我的朋友

分类: LINUX

2010-07-22 14:54:50

[what's the issue?]
bnx2: no version for "struct_module" found: kernel tainted.
 
[why does it happen?]
That the kernel was built with CONFIG_MODVERSIONS=y but the
module was built with CONFIG_MODVERSIONS=n (i.e., without
symbol versioning information).
 
[How to get rid of this?]
Build the kernel and module with the same config options.
 
[Action]
run "make" to compile the driver, not "make modules SUBDIRS=drivers/net/"
but if Module.symvers exist, you can run "make modules SUBDIRS=drivers/net/" to compile it.
 
 
# rpm -ivh kernel-2.6.18-128.el5.src.rpm
# cd /usr/src/redhat/SPECS/
# rpmbuild -bb kernel-2.6.spec  (Ctrl+C after gpg shown up)
# cd /usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.x86_64/
# cp /boot/config-2.6.18-128.el5 .config
# make
阅读(1728) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~