LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Problems installing sk98lin drivers (https://www.linuxquestions.org/questions/linux-networking-3/problems-installing-sk98lin-drivers-459806/)

magesing 06-30-2006 01:06 PM

Problems installing sk98lin drivers
 
I have been trying to install the sk98lin drivers for my Marvell Yukon network card (built into my ASUS A8V-E SE mainboard.)

I am running a Cross Linux From Scratch (CLFS) system built on the 2.6.16.18 kernel and gcc version 4.1.1 and a user based package management system.

when I go the patch and rebuild the kernel route I get the following error during "make clean bzImage"

Code:

        ...
 
  LD      drivers/input/serio/built-in.o
  LD      drivers/media/common/built-in.o
  LD      drivers/media/built-in.o
  LD      drivers/mfd/built-in.o
  LD      drivers/misc/built-in.o
  CC      drivers/mmc/mmc.o
  CC      drivers/mmc/mmc_queue.o
  CC      drivers/mmc/mmc_sysfs.o
  LD      drivers/mmc/mmc_core.o
  CC      drivers/mmc/mmc_block.o
  CC      drivers/mmc/wbsd.o
  LD      drivers/mmc/built-in.o
  CC      drivers/net/sk98lin/skge.o
In file included from drivers/net/sk98lin/skge.c:76:
drivers/net/sk98lin/h/skdrv2nd.h:64:7: warning: "CONFIG_NET_POLL_CONTROLLER" is
not defined
drivers/net/sk98lin/skge.c:313: warning: initialization from incompatible pointe
r type
  CC      drivers/net/sk98lin/sky2.o
In file included from drivers/net/sk98lin/sky2.c:34:
drivers/net/sk98lin/h/skdrv2nd.h:64:7: warning: "CONFIG_NET_POLL_CONTROLLER" is
not defined
drivers/net/sk98lin/sky2.c:340:5: warning: "USE_SYNC_TX_QUEUE" is not defined
drivers/net/sk98lin/sky2.c:905:5: warning: "USE_SYNC_TX_QUEUE" is not defined
drivers/net/sk98lin/sky2.c: In function 'GiveTxBufferToHw':
drivers/net/sk98lin/sky2.c:996: error: dereferencing pointer to incomplete type
drivers/net/sk98lin/sky2.c:2317:5: warning: "USE_SYNC_TX_QUEUE" is not defined
make[3]: *** [drivers/net/sk98lin/sky2.o] Error 1
make[2]: *** [drivers/net/sk98lin] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

When I try to compile sk98lin as a module (the other option from the install.sh script) I get the following errors:
with /usr/src/linux pointing to my linux headers in /usr/install/linux I get the error:
Code:

misc/
misc/Configure.help
misc/Kconfig
+++ Install mode: User
+++ Driver version: 8.32.2.3 (Apr-27-2006)
+++ Kernel version 2.6.16.18
+++ smp_count=1
+++ cpu_number=2
+++ kernel_machine=x86_64
+++ Architecture: x86_64
+++ Unpack the sources
+++ ====================================
+++ tar xfv sk98lin.tar
2.4/
2.4/h/
2.4/h/skdrv1st.h

...

common/sk98lin.htm
common/sk98lin.4
misc/
misc/Configure.help
misc/Kconfig

+++ Compile the driver
+++ ====================================
make: Entering directory `/usr'
make: *** No rule to make target `modules'.  Stop.
make: Leaving directory `/usr'
+++ Compiler error

with /usr/src/linux pointing to my linux kernel's build directory I get the error:
Code:

+++ Install mode: User
+++ Driver version: 8.32.2.3 (Apr-27-2006)
+++ Kernel version 2.6.16.18
+++ smp_count=1
+++ cpu_number=2
+++ kernel_machine=x86_64
+++ Architecture: x86_64
+++ Unpack the sources
+++ ====================================
+++ tar xfv sk98lin.tar
2.4/
2.4/h/
2.4/h/skdrv1st.h
2.4/h/skdrv2nd.h

...

common/sk98lin.htm
common/sk98lin.4
misc/
misc/Configure.help
misc/Kconfig

+++ Compile the driver
+++ ====================================
make: Entering directory `/usr/src/linux-build/linux-2.6.16.18'
  Building modules, stage 2.
  MODPOST
make: Leaving directory `/usr/src/linux-build/linux-2.6.16.18'
+++ Compiler error

Can anyone help me with these errors? I prefer to build the driver right into the kernel, but any way that will let me use my network card from my CLFS installation is good for me.

thanks.

cs-cam 07-01-2006 10:07 AM

I have a DFI mobo with the same ethernet chip, I tried their driver without any luck (I've heard plenty of different stories though) however the skge kernel module works great for me.

Might be worth a shot :)

magesing 07-02-2006 02:12 PM

yes, I just re-compiled my kernel and found the built-in support, now my next challenge is to properly set up dhcp networking,

thanks for the suggestion.


All times are GMT -5. The time now is 10:37 AM.