发新话题
打印

[故障求助] 安装D-Link 530TX网卡驱动的问题.

安装D-Link 530TX网卡驱动的问题.

系统是Redhat AS2.1
下载了D-Link 530TX网卡的驱动,包含以下几个文件
Makefile   readme.txt   via-rhine.c   via-rhine.h
执行make命令后系统报告如下信息:
gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6  -I/usr/src/linux/include -c via-rhine.c
In file included from /usr/src/linux/include/linux/autoconf.h:1,
                 from /usr/src/linux/include/linux/config.h:4,
                 from via-rhine.h:5,
                 from via-rhine.c:26:
/usr/src/linux/include/linux/rhconfig.h:31:60: operator '(' has no left operand
make: *** [via-rhine.o] Error 1

尝试insmod via-rhine后,系统给出信息:
via-rhine.o: unresolved symbol pci_unregister_driver_Rsmp_1b2f0fb0
via-rhine.o: unresolved symbol alloc_skb_Rsmp_e105588c
via-rhine.o: unresolved symbol free_irq_Rsmp_f20dabd8
via-rhine.o: unresolved symbol disable_irq_Rsmp_3ce4ca6f
via-rhine.o: unresolved symbol netif_rx_Rsmp_fb423e4c
via-rhine.o: unresolved symbol pci_register_driver_Rsmp_e6c418d5
via-rhine.o: unresolved symbol add_timer_Rsmp_08d2a00e
via-rhine.o: unresolved symbol pci_enable_device_Rsmp_00fc5c34
via-rhine.o: unresolved symbol register_netdev_Rsmp_174131de
via-rhine.o: unresolved symbol do_BUG_Rsmp_577f4bff
via-rhine.o: unresolved symbol eth_type_trans_Rsmp_89ab0139
via-rhine.o: unresolved symbol unregister_netdev_Rsmp_7d585945
via-rhine.o: unresolved symbol pci_request_regions_Rsmp_1eb875f8
via-rhine.o: unresolved symbol del_timer_sync_Rsmp_bf94a8e0
via-rhine.o: unresolved symbol softnet_data_Rsmp_1c5f46b7
via-rhine.o: unresolved symbol pci_release_regions_Rsmp_53a93479
via-rhine.o: unresolved symbol skb_over_panic_Rsmp_83405681
via-rhine.o: unresolved symbol pci_free_consistent_Rsmp_a57bb21f
via-rhine.o: unresolved symbol kfree_Rsmp_037a0cba
via-rhine.o: unresolved symbol printk_Rsmp_1b7d4074
via-rhine.o: unresolved symbol __netdev_watchdog_up_Rsmp_89c5c4d2
via-rhine.o: unresolved symbol cpu_raise_softirq_Rsmp_d01f3ee8
via-rhine.o: unresolved symbol pci_set_master_Rsmp_a2072259
via-rhine.o: unresolved symbol alloc_etherdev_Rsmp_4a757571
via-rhine.o: unresolved symbol enable_irq_Rsmp_fcec0987
via-rhine.o: unresolved symbol pci_alloc_consistent_Rsmp_ec717e0d
via-rhine.o: unresolved symbol __const_udelay_Rsmp_eae3dfd6
via-rhine.o: unresolved symbol jiffies_Rsmp_0da02d67
via-rhine.o: unresolved symbol request_irq_Rsmp_0c60f2e0
via-rhine.o: unresolved symbol skb_copy_and_csum_dev_Rsmp_d19b2516
via-rhine.o: unresolved symbol __kfree_skb_Rsmp_20aa325f
via-rhine.o: unresolved symbol pci_set_dma_mask_Rsmp_e21dfb7e

在/etc/modules.conf文件中设置:
alias eth0 via-rhine

设置完IP后,再service network restart,可是eth0口就是起不来,想请高手帮忙分析一下问题出在哪,该怎么解决呢?谢谢了!
个人感觉好像是rhconfig.h文件的问题,打开文件看了代码,确不知道怎么修改,还请高手指点!

TOP

发新话题