LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   asus built in NIC (http://www.linuxquestions.org/questions/linux-hardware-18/asus-built-in-nic-386568/)

Rammstein666 11-25-2005 09:36 PM

asus built in NIC
 
Need some help with NIC drivers and im somewhat of a newb when it comes to linux. I have a ASUS P5AD2-E Premium
with fedora core4
the drivers are the marvell yukon from the mobo's CD i tryed to install the install.sh and had an error kernel source no source files, fixed that by installing the

kernel-2.6.11-1.1369_FC4.src.rpm

now i get futher but then error out and get this in my log file

+++ Install mode: User
+++ Driver version: 7.06 (Aug-20-2004)
+++ Kernel version 2.6.11-1.1369_FC4smp
+++ smp_count=1
+++ cpu_number=2
+++ kernel_machine=i686
+++ Architecture: i386
+++ Unpack the sources
+++ ====================================
+++ tar xfv sk98lin.tar
2.4/
2.4/h/
2.4/h/skdrv1st.h
2.4/h/skdrv2nd.h
2.4/Makefile
2.4/skdim.c
2.4/skproc.c
2.4/skge.c
2.4/sky2.c
2.4/skethtool.c
2.6/
2.6/h/
2.6/h/skdrv1st.h
2.6/h/skdrv2nd.h
2.6/Makefile
2.6/skdim.c
2.6/skproc.c
2.6/skge.c
2.6/sky2.c
2.6/skethtool.c
common/
common/h/
common/h/skgesirq.h
common/h/skgetwsi.h
common/h/xmac_ii.h
common/h/sktypes.h
common/h/skvpd.h
common/h/skaddr.h
common/h/skcsum.h
common/h/skgehw.h
common/h/skdebug.h
common/h/lm80.h
common/h/skrlmt.h
common/h/sky2le.h
common/h/sktwsi.h
common/h/skqueue.h
common/h/skversion.h
common/h/skerror.h
common/h/skgeinit.h
common/h/sktimer.h
common/h/skgedrv.h
common/h/skgepnm2.h
common/h/skgepnmi.h
common/h/skgehwt.h
common/skgesirq.c
common/skvpd.c
common/skaddr.c
common/skcsum.c
common/sklm80.c
common/skxmac2.c
common/sk98lin.htm
common/sk98lin.txt
common/skrlmt.c
common/sky2le.c
common/sktwsi.c
common/skqueue.c
common/sk98lin.4
common/skgeinit.c
common/sktimer.c
common/skgepnmi.c
common/skgehwt.c
common/skgemib.c
misc/
misc/Kconfig
misc/Configure.help

+++ Compile the driver
+++ ====================================
make: Entering directory `/usr/src/linux-2.6.11'

WARNING: Symbol version dump /usr/src/linux-2.6.11/Module.symvers
is missing; modules will have no dependencies and modversions.

CC [M] /tmp/Sk98IJIbbqVkcqMOMqZKiHdqB/all/skge.o
/tmp/Sk98IJIbbqVkcqMOMqZKiHdqB/all/skge.c: In function ‘sk98lin_init_device’:
/tmp/Sk98IJIbbqVkcqMOMqZKiHdqB/all/skge.c:398: error: ‘struct net_device’ has no member named ‘last_stats’
/tmp/Sk98IJIbbqVkcqMOMqZKiHdqB/all/skge.c:539: error: ‘struct net_device’ has no member named ‘last_stats’
/tmp/Sk98IJIbbqVkcqMOMqZKiHdqB/all/skge.c: In function ‘ReceiveIrq’:
/tmp/Sk98IJIbbqVkcqMOMqZKiHdqB/all/skge.c:3017: warning: implicit declaration of function ‘pci_dma_sync_single’
/tmp/Sk98IJIbbqVkcqMOMqZKiHdqB/all/skge.c: In function ‘SkGeIoctl’:
/tmp/Sk98IJIbbqVkcqMOMqZKiHdqB/all/skge.c:3833: error: ‘struct pci_dev’ has no member named ‘slot_name’
make[1]: *** [/tmp/Sk98IJIbbqVkcqMOMqZKiHdqB/all/skge.o] Error 1
make: *** [_module_/tmp/Sk98IJIbbqVkcqMOMqZKiHdqB/all] Error 2
make: Leaving directory `/usr/src/linux-2.6.11'
+++ Compiler error

i honestly dont know where im going wrong with this one
and its driving me nuts because i have no NIC so i cant use YUM or up2date
also if im missing something can you send a link or explain how to install what im missing

thanks in advance,
Dom

syg00 11-25-2005 09:56 PM

You might be better asking this in the Fedora forum (under Distros).
I'd be of the opinion that the Yukon should be supported natively at 2.6.11

I used to have to load the sk98lin driver for my Yukon, but now it's a kernel option. Even if you have to run it at 10/100 for a while, at least it gets you going. Sorry, but I no longer have any systems at 2.6.11, so I can't check for you when it changed.

bulliver 11-25-2005 10:02 PM

This driver is in the kernel source (2.6.13, and maybe before...)

If you have a stock Fedora kernel, just try:
# modprobe skge

Rammstein666 11-25-2005 11:13 PM

well i did what you said modprobe skge also modprobe sk98lin and both came up as not found
not sure where to go from there

bulliver 11-25-2005 11:26 PM

Looks like you may have to build yourself a custom kernel...
Else you can install a newer kernel RPM. As I said, it is in the kernel source as of 2.6.13
I am not sure of 2.6.12

syg00 11-25-2005 11:54 PM

Pays never to throw anything out .... :)

Found a couple of old configs on my Gentoo desktop - 2.6.11 has both skge and sk98lin as kernel options.
If you have the config available under FC (dunno, never used it), try the following commands
Code:

grep -i skge config-file
grep -i sk98lin config-file

As bulliver said, you might be up for a kernel compile depending on the results.

bulliver 11-26-2005 01:01 AM

Quote:

As bulliver said, you might be up for a kernel compile depending on the results.
This is what's confusing me...I thought that canned kernels distributed by your distro always had _all_ drivers built as modules, and used hardware detection to decide which ones to load up...

Are you using the stock fedora kernel Rammstein666?

Rammstein666 11-27-2005 09:31 PM

i have FC4 2.6.11-1.1369 then downloaded the kernel-2.6.11-1.1369_FC4.src.rpm

then did a rpm -ivh kernel-2.6.11-1.1369_FC4.src.rpm
went in 100%
then did a rpmbuild -bp --target=noarch
/usr/src/redhat/SPECS/kernel-2.6.spec

then moved /kernel-2.6.11 from the /BUILD/ foldier to /usr/src/linux-2.6.11
and made a link from that called linux

am i on the right path or not?


All times are GMT -5. The time now is 06:30 PM.