[问题]Marvell 网卡问题

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
phoenix_wjx
帖子: 30
注册时间: 2008-05-14 9:44

[问题]Marvell 网卡问题

#1

帖子 phoenix_wjx » 2008-06-22 9:37

笔记本新装的ubuntu8.4,别的驱动都认出来了,唯独有线网卡的,晕
用lspci看了一下 显示 Ethernet controller : Marvell Technology Group LTd.Unknown device 4355(rev 12)
再找了一下笔记本官网上的网卡驱动,只有windows的,不过也显示是Marvell Yukon Ethernet Controller
于是再到Marvell的官网上去找,认为笔记匹配的是forLinux kernels 2.4.13 and higher那个版本的。下载后安装,遇到无数问题无数,一路辛苦下来,似乎到了最后一步,但还是没有成功。具体问题如下:

+++ Install mode: User
+++ Driver version: 10.60.2.3 (Apr-28-2008)
+++ Kernel version 2.6.24-16-generic
+++ smp_count=1
+++ cpu_number=2
+++ kernel_machine=i686
+++ Architecture: i386
+++ modpost available
+++ Unpack the sources
+++ ====================================
+++ tar xfv sk98lin.tar
2.4/
2.4/skdim.c
2.4/sky2.c
2.4/skethtool.c
2.4/Makefile
2.4/skge.c
2.4/h/
2.4/h/skdrv1st.h
2.4/h/skdrv2nd.h
2.4/skproc.c
2.6/
2.6/skdim.c
2.6/sky2.c
2.6/skethtool.c
2.6/Makefile
2.6/skge.c
2.6/h/
2.6/h/skdrv1st.h
2.6/h/skdrv2nd.h
2.6/skproc.c
common/
common/skgehwt.c
common/skgeasf.c
common/sk98lin.htm
common/skgeinit.c
common/sktwsi.c
common/skvpd.c
common/sky2le.c
common/sk98lin.4
common/skfops.c
common/skgespilole.c
common/skgeasfconv.c
common/skgemib.c
common/skaddr.c
common/skcsum.c
common/skgepnmi.c
common/vpdcheck.c
common/sklm80.c
common/skqueue.c
common/sktimer.c
common/skrlmt.c
common/skgespi.c
common/skxmac2.c
common/skgesirq.c
common/h/
common/h/sktypes.h
common/h/skpcidevid.h
common/h/skqueue.h
common/h/skrlmt.h
common/h/skgepnm2.h
common/h/skgeasfconv.h
common/h/skaddr.h
common/h/skdebug.h
common/h/mvyexhw.h
common/h/skgehw.h
common/h/skgehwt.h
common/h/skfops.h
common/h/sktimer.h
common/h/skgepnmi.h
common/h/skvpd.h
common/h/skgetwsi.h
common/h/skerror.h
common/h/sktwsi.h
common/h/skcsum.h
common/h/skversion.h
common/h/xmac_ii.h
common/h/sky2le.h
common/h/skgeasf.h
common/h/skgespi.h
common/h/skgeinit.h
common/h/skgesirq.h
common/h/lm80.h
common/h/skgedrv.h
common/sk98lin.txt
misc/
misc/Kconfig
misc/Configure.help

+++ Compile the driver
+++ ====================================
make: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
CC [M] /tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/skge.o
CC [M] /tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/sky2.o
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/sky2.c: In function ‘SkY2Isr’:
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/sky2.c:428: error: implicit declaration of function ‘__netif_rx_schedule_prep’
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/sky2.c:429: error: too few arguments to function ‘__netif_rx_schedule’
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/sky2.c: In function ‘SkY2Poll’:
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/sky2.c:665: error: ‘struct net_device’ has no member named ‘quota’
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/sky2.c:665: warning: type defaults to ‘int’ in declaration of ‘_y’
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/sky2.c:665: error: ‘struct net_device’ has no member named ‘quota’
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/sky2.c:672: error: ‘struct net_device’ has no member named ‘quota’
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/sky2.c:694: error: too few arguments to function ‘netif_rx_complete’
make[1]: *** [/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/sky2.o] Error 1
make[1]: *** Waiting for unfinished jobs....
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/skge.c: In function ‘sk98lin_init_device’:
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/skge.c:483: error: ‘struct net_device’ has no member named ‘poll’
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/skge.c:484: error: ‘struct net_device’ has no member named ‘weight’
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/skge.c:489: error: ‘struct net_device’ has no member named ‘poll’
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/skge.c:490: error: ‘struct net_device’ has no member named ‘weight’
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/skge.c:611: error: ‘struct net_device’ has no member named ‘poll’
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/skge.c:612: error: ‘struct net_device’ has no member named ‘weight’
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/skge.c:617: error: ‘struct net_device’ has no member named ‘poll’
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/skge.c:618: error: ‘struct net_device’ has no member named ‘weight’
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/skge.c: In function ‘SkGeIsr’:
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/skge.c:2342: error: too few arguments to function ‘netif_rx_schedule_prep’
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/skge.c:2345: error: too few arguments to function ‘__netif_rx_schedule’
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/skge.c: In function ‘SkGeIsrOnePort’:
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/skge.c:2513: error: too few arguments to function ‘netif_rx_schedule_prep’
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/skge.c:2518: error: too few arguments to function ‘__netif_rx_schedule’
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/skge.c: In function ‘SkGePoll’:
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/skge.c:3277: error: ‘struct net_device’ has no member named ‘quota’
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/skge.c:3277: warning: type defaults to ‘int’ in declaration of ‘_y’
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/skge.c:3277: error: ‘struct net_device’ has no member named ‘quota’
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/skge.c:3298: error: ‘struct net_device’ has no member named ‘quota’
/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/skge.c:3302: error: too few arguments to function ‘netif_rx_complete’
make[1]: *** [/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all/skge.o] Error 1
make: *** [_module_/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo/all] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
+++ Compiler error


--------------------------------------------------------------------------------------------

以上是log文件
下面是安装时的信息

Disconnect alternative devices: (done) [ OK ]
Unload alternative driver (done) [ OK ]
Create tmp dir (/tmp/Sk98IcAMFiUbaBhrfZlPMBXHo) [ OK ]
Check user id (0) [ OK ]
Check kernel version (2.6.24-16-generic) [ OK ]
Check kernel symbol file (/proc/kallsyms) [ OK ]
Check kernel type (SMP) [ OK ]
Check number of CPUs (2) [ OK ]
Check architecture./functions: line 325: arch: command not found
(found) [ OK ]
Set architecture (i386) [ OK ]
Check compiler (/usr/bin/gcc) [ OK ]
Check mcmodel flags (none) [ OK ]
Check module support (/sbin/insmod) [ OK ]
Check make (/usr/bin/make) [ OK ]
Check kernel gcc version (4.2.3) (Kernel:4.2.3 == gcc:4.2.3) [ OK ]
Check sk98lin driver availability (not loaded) [ OK ]
Check kernel header files (/usr/src/linux) [ OK ]
Check sources for .config file (/usr/src/linux/.config) [ OK ]
Copy and check .config file (done) [ OK ]
Check the mem address space (highmem) [ OK ]
Change IOMMU (disabled) [ OK ]
Create new .config file (done) [ OK ]
Execute: make oldconfig (done) [ OK ]
Delete old .config file (done) [ OK ]
Execute: make oldconfig (done)) [ OK ]
diff: /usr/src/linux/.config: No such file or directory
Check modpost availability (available) [ OK ]
Unpack the sources (done) [ OK ]
Check firmware availability (not available) [ OK ]
Check kernel header version (Kernel:2.6.24 == Header:2.6.24) [ OK ]
Check kernel functions (Changed: nothing) [ OK ]
Compile the kernel (error) [ failed ]

An error has occurred during the compile proces which prevented
the installation from completing.
Take a look at the log file install.log for more informations.
Installation of package failed.

---------------------------------------------------------------------------
实在搞不懂为何会在编译Kernel的时候出现问题,请各位不吝赐教,帮帮菜鸟一把~谢谢~
回复