LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-25-2005, 08:36 PM   #1
Rammstein666
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Rep: Reputation: 0
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
 
Old 11-25-2005, 08:56 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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.
 
Old 11-25-2005, 09:02 PM   #3
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
This driver is in the kernel source (2.6.13, and maybe before...)

If you have a stock Fedora kernel, just try:
# modprobe skge
 
Old 11-25-2005, 10:13 PM   #4
Rammstein666
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 11-25-2005, 10:26 PM   #5
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
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
 
Old 11-25-2005, 10:54 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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.
 
Old 11-26-2005, 12:01 AM   #7
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
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?
 
Old 11-27-2005, 08:31 PM   #8
Rammstein666
LQ Newbie
 
Registered: Nov 2005
Posts: 3

Original Poster
Rep: Reputation: 0
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?
 
  


Reply



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
built-in wlan NIC problem peekho Linux - Wireless Networking 13 07-16-2004 07:27 AM
RH9 built-in NIC probelm...please help!! faruquehabib Red Hat 5 02-16-2004 09:36 AM
Asus P4PE Built in sound card smithgp2 Linux - Hardware 4 05-16-2003 02:05 PM
Mandrake 8.1 and Asus A7V133's built-in Promise RAID conroller. por_que2k Linux - Distributions 1 02-05-2002 08:01 PM
ESS Built-in sound (ASUS p5a motherboard) poruchik_r Linux - General 0 01-09-2002 09:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:20 PM.

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