QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 683|回复: 6

请问有没有人在RH7.1下安装过PCI-X的网卡啊?

[复制链接]
发表于 2003-5-1 11:35:22 | 显示全部楼层 |阅读模式
compaq ml370 g3 先是完全安装RH7.1
compaq bcm5700-2.0.25-1a.src.rpm 安装后.生成了/lib/.../bcm/bcm5700.o
可是我在此目录下运行  insmod bcm5700 后 出现很多错误 请问有谁装过吗?
错误如下:
bcm5700.o: unresolved symbol ????(很多,若干行错误)
谢谢
发表于 2003-5-1 11:49:14 | 显示全部楼层
pci-x? cool.

post detail here. maybe nothing with pci-x.
which kernel u use? do u have source code under /usr/src/linux?
回复

使用道具 举报

 楼主| 发表于 2003-5-1 12:14:35 | 显示全部楼层
RH7.1
kernel:2.4.2
and I have rource code in /usr/src/linux-2.4.2
by following the readme:
rpm -ivh bcm5700-2.0.25-1a.src.rpm
cd /usr/src/redhat
rpm -bb SPECS/rpm5700.spec
rpm -ivh RPMS/i386/bcm5700-2.0.25-1a.src.rpm
cd /lib/modules/2.4.2-smp/kernel/drivers/net/bcm/bcm5700.o  //2*2.4G CPU
insmod bcm5700
然后就出错了,不知为何?
回复

使用道具 举报

发表于 2003-5-1 12:20:02 | 显示全部楼层
会不会内核版本太低?试试用新内核
回复

使用道具 举报

发表于 2003-5-1 12:24:25 | 显示全部楼层
pls post the error message,      
回复

使用道具 举报

 楼主| 发表于 2003-5-1 12:39:30 | 显示全部楼层
root#pwd
/lib/modules/2.4.2-2smp/kernel/drivers/net/bcm
root#insmod bcm5700.o
bcm5700.o: unresolved symbol eth_type_trans_Rsmp_d2599560
bcm5700.o: unresolved symbol softnet_data_Rsmp_1bd9c6ce
bcm5700.o: unresolved symbol unregister_netdev_Rsmp_e813303c
bcm5700.o: unresolved symbol alloc_skb_Rsmp_637b5df9
bcm5700.o: unresolved symbol __netdev_watchdog_up_Rsmp_bb85b964
bcm5700.o: unresolved symbol __kfree_skb_Rsmp_8dd8a904
bcm5700.o: unresolved symbol skb_over_panic_Rsmp_fc22bc7b
bcm5700.o: unresolved symbol init_etherdev_Rsmp_b75ec0b6
bcm5700.o: unresolved symbol netif_rx_Rsmp_5d462bc4
这样够吗?
不幸的使用了新内核以后,我所要用的软件又不能用了,那是在RH7.1下开发的,据说只能用它的......
回复

使用道具 举报

发表于 2003-5-1 22:15:21 | 显示全部楼层
In theory, the user should only encounter this warning message if the source in /usr/src/linux (or the alternate directory specified with "configure --with-linux=") is not configured to match the running kernel. One possibility is that the running kernel has modversions off but the kernel source is configured with modversions on, or vice versa. Another possibility is that both the running kernel and kernel source have modversions on (or both have it off) but the kernel source is for a different kernel version than the running kernel.

so :
1) do u have /usr/sr/linux? for rh, u may only have /usr/src/linux-2.4 and /usr/src/linux-2.4.2-2. please make sure that u have /usr/src/linux as a symbol link to correct kernel.
2) have u recompile the 2.4.2-2 before? u module is compiled for 2.4.2-2smp? do u really use smp in u current running kernel? u had better creat the symbol link, compile the kernel, install and run the new kernel, and then recompile the module.
3) for loading module, u had better use modprobe instead of insmod. check doc to see the difference between these two.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-18 00:45 , Processed in 0.035545 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表