LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-21-2011, 01:23 PM   #1
ddavis1086
LQ Newbie
 
Registered: Jul 2011
Posts: 9

Rep: Reputation: Disabled
nic driver help


I am a newbe and need some advice.

I have a old PC that I wanted to set up a Linux server on.
The motherboard is:

Asus P4C800 Deluxe

I installed Ubuntu server 10.4 LTS and got it running.

However, the ethernet contoller does not work. From searching the internet I gather that there is a driver package needed.

I do not know how to find what I need. I can download on another computer, burn to disk and install if I knew how.

I was hoping someone out there a lot smarter then me could help.

Here is some info:

lspci

(only typed in this line as I cannot copy and paste from Linux machine)

Ethernet controller: SysKonnect SK-9871 V2.0 Gigabit Ethernet 1000Base-ZX Adapter, PCI64, Fiber ZX/SC (rev 10)

======

uname -r

2.6.38-8-generic

Any help would be much appreciated and thank you,

dennis
 
Old 07-21-2011, 01:46 PM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello ddavis1086, welcome to LQ,

could you please execute the command
Code:
lspci -k | grep -iA5 ethernet
this will show you which kernelmodule you will need for the nic. Please post the output here.

BTW, I cannot believe that the nic is not recognized by Ubuntu, could you please post the output of
Code:
ifconfig
Markus
 
Old 07-21-2011, 01:49 PM   #3
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Are you sure it is 9871 and not 9821.

I quickly found the vendor's site and they have the 9821 listed with a driver. Often if you download a package from a site it will include documentation (at least a README) that will give you some detail.

http://www.syskonnect.eu/e_en/suppor...ystem=bs.Linux

(If the above isn't correct you can look for your model on their site.) You can determine your kernel version by running uname -r.
 
Old 07-21-2011, 01:57 PM   #4
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Well, there are both 9871 and 9821 mentioned on the Asus downloadsite. But they seem to have only drivers for Windows. But there both cards have the same driver.

Markus
 
Old 07-21-2011, 01:59 PM   #5
ddavis1086
LQ Newbie
 
Registered: Jul 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
Thank you for the email.

lspci -k | grep -iA5 ethernet

02:05.0 Ethernet controller: SysKonnect SK-9871 V2.0 Gigabit Ethernet 1000Base-ZX Adapter, PCI64, Fiber ZX/SC (rev10)
Subsystem: SysKonnect SK-9871 V2.0 Gigabit Ethernet 1000Base-ZX Adapter, PCI64, Fiber ZX/SC
Kernel driver in use: skge
Kernal modules: skge

ifcongif

Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:372 errors:0 dropped:0 overruns:0 frame:0
TX packets:372 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txquesuelen:0
RX bytes:28840 (28.8KB) TX bytes:28840 (28.8 KB)

ifconfig -a | grep eth
eth0 Link encap:Ethernet HWaddr 00:00:00:00:00:00

Does this help out?

thx,

dennis
 
Old 07-21-2011, 02:04 PM   #6
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
This would mean that there is a module (driver) already present on your system. The module's name is skge.
Can you simply try to start your eth0-device? I'm not familiar with Ubuntu, so I don't know how to start the network with Ubuntu. Do you have DHCP enabled in your network?

Does the output of ifconfig really show the MAC-adress of eth0 as 00:00:00:00:00:00 ?
This could indeed mean that there's something missing.

Markus
 
Old 07-21-2011, 02:07 PM   #7
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Here is what I found in the kernel-sources help about the skge module
Code:
CONFIG_SKGE:

This driver support the Marvell Yukon or SysKonnect SK-98xx/SK-95xx
and related Gigabit Ethernet adapters. It is a new smaller driver
with better performance and more complete ethtool support.

It does not support the link failover and network management
features that "portable" vendor supplied sk98lin driver does.

This driver supports adapters based on the original Yukon chipset:
Marvell 88E8001, Belkin F5D5005, CNet GigaCard, DLink DGE-530T,
Linksys EG1032/EG1064, 3Com 3C940/3C940B, SysKonnect SK-9871/9872.

It does not support the newer Yukon2 chipset: a separate driver,
sky2, is provided for Yukon2-based adapters.

To compile this driver as a module, choose M here: the module
will be called skge. This is recommended.

Symbol: SKGE [=m]
Type : tristate
Prompt: New SysKonnect GigaEthernet support
Defined at drivers/net/Kconfig:2274
Depends on: NETDEVICES [=y] && NETDEV_1000 [=y] && PCI [=y]
Markus
 
Old 07-21-2011, 02:09 PM   #8
ddavis1086
LQ Newbie
 
Registered: Jul 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
My network is DHCP and the cable is plugged in.

I will see if I can find out how to start the eth0-device.

Yes it really does show address of 00:00:00:00:00:00

I know that it did work as this was a Windows XP machine until this morning and had an internet connection.

thx,

dennis
 
Old 07-21-2011, 02:11 PM   #9
ddavis1086
LQ Newbie
 
Registered: Jul 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
How would I "compile this driver as a module"? I don't know how to do that.

thx,

dennis
 
Old 07-21-2011, 02:19 PM   #10
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
You don't have to do that, the module is already loaded. I wonder why ifconfig doesn't show a proper MAC-adress.
Maybe you really try to install the driver from the site of MensaWater's post. You can download it, the extract it
Code:
tar xf install_v10.70.1.3.tar.bz2
and change into the directory, there's an install.sh script which you can execute with sudo.

It seems the kernelmodule skge is quite new and maybe it's not yet working properly with all devices.

Markus

Last edited by markush; 07-21-2011 at 02:21 PM.
 
Old 07-21-2011, 02:24 PM   #11
ddavis1086
LQ Newbie
 
Registered: Jul 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
Ok, I will give that a try and let you know how that goes.

thx,

dennis
 
Old 07-21-2011, 03:18 PM   #12
ddavis1086
LQ Newbie
 
Registered: Jul 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
Got that downloaded and un-tared.

Ran it like this:

sudo ./install.sh

I got a warning that says:

Check kernel header version (not recognized)

Then it says:

Compile the kernel (error)

I looked in the log and got this:

Compile the driver
=======================
make :Entering directory '/usr/src/linux-headers-2.6.38/Module.symvers
is missing; modules will have no dependencies and modversions.

include/linux/mmzone.h:18:30: fatal error: generated/bounds.h No such file or directory
compilation terminated.

Any ideas on this?

thx,

dennis
 
Old 07-21-2011, 03:19 PM   #13
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Do you have the gcc-package installed and the kernel-sources?

Markus
 
Old 07-21-2011, 03:27 PM   #14
ddavis1086
LQ Newbie
 
Registered: Jul 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
Oh, before I got it to work I had this message. Maybe I should not have done the link.
Kernel header not found. Please install the linux header files development package or create a symbolic link from the /usr/src/KERNEL_VERSION directory to linux
Example: ln -s /usr/src/KERNEL_VERSION /usr/src/linux

I did that like so and then got the error in the previous post.

ln -s /usr/src/linux-headers-2.6.38.8 /usr/src/linux

dennis
 
Old 07-21-2011, 03:28 PM   #15
ddavis1086
LQ Newbie
 
Registered: Jul 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
How do I check to see if I have the gcc and kenel sources?

Sorry, still a newbe :-)
 
  


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
vfe NIC driver: "Add hostname for the NIC card into the /etc/hosts file???" gluesniffmonkey Solaris / OpenSolaris 5 06-09-2008 04:40 PM
NIC Driver for NVidia NForce onboard NIC. rajjpajj Linux - Software 9 09-28-2004 03:54 PM
NIC Driver need Neb Linux - Hardware 3 08-11-2003 09:41 PM
nic driver sharrej Slackware 2 06-09-2003 01:22 PM
Switched Nics, new NIC has old driver, how to reinstall driver? Passive Linux - Hardware 3 04-29-2002 06:46 AM

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

All times are GMT -5. The time now is 01:43 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