FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 06-22-2008, 01:11 PM
Ubence Quevedo
 
Default Trouble installing/compiling the Marvell sky98lin on F8

Hi All,

I am having problems installing the Marvell sky98lin driver on a 32-BIT F8 Core 2 Duo system. I have the kernel source installed like the instructions recommend, but whenever the installer gets to the module creation part it fails.

Here is the contents of the install.log file from the failed install:

+++ Install mode: User
+++ Driver version: 10.60.2.3 (Apr-28-2008)
+++ Kernel version 2.6.25.6-55.fc9.i686
+++ 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/kernels/2.6.25.6-55.fc9.i686'
CC [M] /tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.o
CC [M] /tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/sky2.o
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c: In function ‘sk98lin_init_device’:
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:483: error: ‘struct net_device’ has no member named ‘poll’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:484: error: ‘struct net_device’ has no member named ‘weight’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:489: error: ‘struct net_device’ has no member named ‘poll’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:490: error: ‘struct net_device’ has no member named ‘weight’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:611: error: ‘struct net_device’ has no member named ‘poll’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:612: error: ‘struct net_device’ has no member named ‘weight’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:617: error: ‘struct net_device’ has no member named ‘poll’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:618: error: ‘struct net_device’ has no member named ‘weight’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c: In function ‘SkGeIsr’:
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:2342: error: too few arguments to function ‘netif_rx_schedule_prep’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:2345: error: too few arguments to function ‘__netif_rx_schedule’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c: In function ‘SkGeIsrOnePort’:
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:2513: error: too few arguments to function ‘netif_rx_schedule_prep’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:2518: error: too few arguments to function ‘__netif_rx_schedule’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c: In function ‘SkGePoll’:
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:3277: error: ‘struct net_device’ has no member named ‘quota’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:3277: warning: type defaults to ‘int’ in declaration of ‘_y’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:3277: error: ‘struct net_device’ has no member named ‘quota’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:3298: error: ‘struct net_device’ has no member named ‘quota’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:3302: error: too few arguments to function ‘netif_rx_complete’
make[1]: *** [/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.o] Error 1
make[1]: *** Waiting for unfinished jobs....
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/sky2.c: In function ‘SkY2Isr’:
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/sky2.c:428: error: implicit declaration of function ‘__netif_rx_schedule_prep’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/sky2.c:429: error: too few arguments to function ‘__netif_rx_schedule’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/sky2.c: In function ‘SkY2Poll’:
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/sky2.c:665: error: ‘struct net_device’ has no member named ‘quota’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/sky2.c:665: warning: type defaults to ‘int’ in declaration of ‘_y’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/sky2.c:665: error: ‘struct net_device’ has no member named ‘quota’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/sky2.c:672: error: ‘struct net_device’ has no member named ‘quota’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/sky2.c:694: error: too few arguments to function ‘netif_rx_complete’
make[1]: *** [/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/sky2.o] Error 1
make: *** [_module_/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all] Error 2
make: Leaving directory `/usr/src/kernels/2.6.25.6-55.fc9.i686'
+++ Compiler error

I've googled compiling the driver in Fedora, but did not turn up any useful results, so that's why I am posting this here.

Anyone had any luck compiling this driver?

Thanks in advance...

-Ubence


--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 06-22-2008, 05:37 PM
Roger Heflin
 
Default Trouble installing/compiling the Marvell sky98lin on F8

Ubence Quevedo wrote:

Hi All,

I am having problems installing the Marvell sky98lin driver on a 32-BIT F8 Core 2 Duo system. I have the kernel source installed like the instructions recommend, but whenever the installer gets to the module creation part it fails.

Here is the contents of the install.log file from the failed install:

+++ Install mode: User
+++ Driver version: 10.60.2.3 (Apr-28-2008)
+++ Kernel version 2.6.25.6-55.fc9.i686
+++ 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/kernels/2.6.25.6-55.fc9.i686'
CC [M] /tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.o
CC [M] /tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/sky2.o
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c: In function ‘sk98lin_init_device’:
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:483: error: ‘struct net_device’ has no member named ‘poll’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:484: error: ‘struct net_device’ has no member named ‘weight’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:489: error: ‘struct net_device’ has no member named ‘poll’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:490: error: ‘struct net_device’ has no member named ‘weight’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:611: error: ‘struct net_device’ has no member named ‘poll’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:612: error: ‘struct net_device’ has no member named ‘weight’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:617: error: ‘struct net_device’ has no member named ‘poll’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:618: error: ‘struct net_device’ has no member named ‘weight’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c: In function ‘SkGeIsr’:
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:2342: error: too few arguments to function ‘netif_rx_schedule_prep’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:2345: error: too few arguments to function ‘__netif_rx_schedule’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c: In function ‘SkGeIsrOnePort’:
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:2513: error: too few arguments to function ‘netif_rx_schedule_prep’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:2518: error: too few arguments to function ‘__netif_rx_schedule’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c: In function ‘SkGePoll’:
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:3277: error: ‘struct net_device’ has no member named ‘quota’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:3277: warning: type defaults to ‘int’ in declaration of ‘_y’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:3277: error: ‘struct net_device’ has no member named ‘quota’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:3298: error: ‘struct net_device’ has no member named ‘quota’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.c:3302: error: too few arguments to function ‘netif_rx_complete’
make[1]: *** [/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/skge.o] Error 1
make[1]: *** Waiting for unfinished jobs....
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/sky2.c: In function ‘SkY2Isr’:
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/sky2.c:428: error: implicit declaration of function ‘__netif_rx_schedule_prep’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/sky2.c:429: error: too few arguments to function ‘__netif_rx_schedule’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/sky2.c: In function ‘SkY2Poll’:
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/sky2.c:665: error: ‘struct net_device’ has no member named ‘quota’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/sky2.c:665: warning: type defaults to ‘int’ in declaration of ‘_y’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/sky2.c:665: error: ‘struct net_device’ has no member named ‘quota’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/sky2.c:672: error: ‘struct net_device’ has no member named ‘quota’
/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/sky2.c:694: error: too few arguments to function ‘netif_rx_complete’
make[1]: *** [/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all/sky2.o] Error 1
make: *** [_module_/tmp/Sk98IomhaRXPCddXIYGhOSXfK/all] Error 2
make: Leaving directory `/usr/src/kernels/2.6.25.6-55.fc9.i686'
+++ Compiler error

I've googled compiling the driver in Fedora, but did not turn up any useful results, so that's why I am posting this here.

Anyone had any luck compiling this driver?

Thanks in advance...

-Ubence




There should already be a driver in the kernel that supports the hardware that
you need that driver for. I believe the driver will be called skge.


It is very likely a kernel change in the newer kernel is not compatible with the
sk98linux driver code that you have, the errors are consistent with a kernel
change causing the older driver to not compile.


Roger

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 

Thread Tools




All times are GMT. The time now is 02:46 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org