请问有没有人在RH7.1下安装过PCI-X的网卡啊?
compaq ml370 g3 先是完全安装RH7.1compaq bcm5700-2.0.25-1a.src.rpm 安装后.生成了/lib/.../bcm/bcm5700.o
可是我在此目录下运行insmod bcm5700 后 出现很多错误 请问有谁装过吗?
错误如下:
bcm5700.o: unresolved symbol ????(很多,若干行错误)
谢谢 pci-x? cool.
post detail here. maybe nothing with pci-x.
which kernel u use? do u have source code under /usr/src/linux? 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
然后就出错了,不知为何? 会不会内核版本太低?试试用新内核 pls post the error message,:-D:-D:-D 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下开发的,据说只能用它的...... 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.
页:
[1]