LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-30-2006, 01:06 PM   #1
magesing
LQ Newbie
 
Registered: Sep 2004
Posts: 28

Rep: Reputation: 15
Question 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.

Last edited by magesing; 06-30-2006 at 01:24 PM.
 
Old 07-01-2006, 10:07 AM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
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
 
Old 07-02-2006, 02:12 PM   #3
magesing
LQ Newbie
 
Registered: Sep 2004
Posts: 28

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Having problems Installing Video Drivers vezril Linux - Software 3 02-22-2006 05:12 PM
problems in installing drivers for myson mtd80x fast based ethernet card drivers pop_harish Linux - Hardware 0 02-12-2005 05:27 AM
More problems installing ATI drivers.. adamc91115 Linux - Hardware 6 05-09-2004 01:39 PM
Problems installing nvidia drivers BU5T4 Linux - Newbie 3 10-13-2003 06:46 PM
Problems installing drivers cadumeyer san Linux - Newbie 2 02-14-2003 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration