LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 12-12-2008, 07:23 AM   #1
puzld
LQ Newbie
 
Registered: Dec 2008
Location: London
Posts: 5

Rep: Reputation: 0
Question ethernet card realtek 8139 driver does not install


Hi

There seems to be some trouble with 8139too not working in a previous post. Has anyone found a solution to this? ubuntu version 2.6.24 (Hardy Heron?). Followed all known possibilities but information is all mostly out of date. module 8139too.ok? does not load. Following makefile on 8139too.c supplied, after altering to suit my version, comes up with 3 pages of errors?.
ifconfig shows nothing for eth0

like the last person markjuggles i have hit a brick wall here. Am I wasting my time?

Thanks puzld
 
Old 12-13-2008, 12:26 AM   #2
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 625

Rep: Reputation: 32
Quote:
Originally Posted by puzld View Post
Hi

There seems to be some trouble with 8139too not working in a previous post. Has anyone found a solution to this? ubuntu version 2.6.24 (Hardy Heron?). Followed all known possibilities but information is all mostly out of date. module 8139too.ok? does not load. Following makefile on 8139too.c supplied, after altering to suit my version, comes up with 3 pages of errors?.
ifconfig shows nothing for eth0

like the last person markjuggles i have hit a brick wall here. Am I wasting my time?

Thanks puzld
this network card installs perfectly in Debian...all kernels...
 
Old 12-13-2008, 04:23 AM   #3
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,630

Rep: Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586
No clue of the history here, but I've had one of the cards. A few suggestions:

You don't need anything except the standard kernel module 8139.o IIRC

There are a couple of versions of hardware. Modules differ. Make sure 8129.o is not installed

Check the interrupts. If it's configured to look for e.g. irq 11 and gets irq 10 the card may not work I tried booting with "acpi=off noapic" as boot parameters and that helped. I ran with those for years.

Particularly on Via chipsets, the apic can be broken.

/etc/modprobe.conf should have the line
alias eth0 8139

and it should be initialised at boot
 
Old 12-13-2008, 08:19 AM   #4
puzld
LQ Newbie
 
Registered: Dec 2008
Location: London
Posts: 5

Original Poster
Rep: Reputation: 0
Hi
O.K. some history on this
I am running Ubuntu 8.04 Hardy Heron
I get
system, administration,
network settings,
Point to point connection - shaded out
network tools
loopback interface lo - shaded out

conclusion no driver module installed

ifconfig shows

lo 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:346 errors:0 dropped:0 overruns:0 frame:0
TX packets:346 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:17300 (16.8 KB) TX bytes:17300 (16.9 KB)

lspci shows
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03)
00:04.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:04.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:04.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
00:04.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:06.0 SCSI storage controller: Adaptec AHA-2940U2/U2W / 7890/7891
00:0b.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 04)
00:0b.1 Input device controller: Creative Labs SB Live! Game Port (rev 01)
01:00.0 VGA compatible controller: nVidia Corporation NV15BR [GeForce2 Ultra, Bladerunner] (rev a4)

What now?
do I deduce that the internet card is not present from this though it is installed and plugged in?
 
Old 12-13-2008, 08:27 AM   #5
puzld
LQ Newbie
 
Registered: Dec 2008
Location: London
Posts: 5

Original Poster
Rep: Reputation: 0
Hi
A bit more

I have what I presume is a kernel module 8139too.ok

if I do
insmod 8139.ok
it returns with an error

So where can I find 8139.o IIRC?
 
Old 12-13-2008, 08:28 AM   #6
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,630

Rep: Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586
Open a root Terminal. try these

lsmod |grep 8139<or whatever> shows you if the module is in.

modprobe 8139<or whatever> Should show you the module and some feedback from the card.

ifconfig eth0 up Will succeed if the cartd is recognized. It will otherwise give you an error.

grep eth0 /etc/modprobe.conf should show only the line

alias eth0 8139<or whatever>

Tell us what you get.

Last edited by business_kid; 12-13-2008 at 08:34 AM.
 
Old 12-13-2008, 08:32 AM   #7
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,630

Rep: Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586
Quote:
Originally Posted by puzld View Post
Hi
A bit more

I have what I presume is a kernel module 8139too.ok

if I do
insmod 8139.ok
it returns with an error

So where can I find 8139.o IIRC?
This is modules and module versions. The best place for information is the kernel build help or the kernel Documentation/ directory. I don't know what 8139too.o is but try it

modprobe 9139too
 
Old 12-13-2008, 10:07 AM   #8
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,038

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
There's a weird problem with Realtek 8139 chipsets if you ever boot windows. Windows can disable this chipset, so linux doesn't see it.
This even survives "turning off" the PC, (but unplugging it from the wall, and removing battery if it's a laptop, also fixes it (until windows is next run))
See this thread, which has the solution: http://www.linuxquestions.org/questi...roblem-591466/

Last edited by tredegar; 12-13-2008 at 12:28 PM. Reason: clarity
 
Old 12-14-2008, 05:42 AM   #9
puzld
LQ Newbie
 
Registered: Dec 2008
Location: London
Posts: 5

Original Poster
Rep: Reputation: 0
Hi
Ok This is from the linux pc
looking at the lspci list is the clue I think here, no card was detected.

I took the pc apart again and it was not fully in the slot.
This did not cure the problem though

Put another card in and linux found it
The rest was straight forward from network manager.

Being new to all this I think I did lspci from root originally, that just gave me a list of numbers.

doing the same from user gave readable results so I knew that card was not detected.

Its just taken me 2 weeks of linux reading to get to grips with this. A simple guide would have helped here.
 
Old 12-28-2008, 09:31 AM   #10
Penthux
Member
 
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 40

Rep: Reputation: 14
Wink I solved the 8139 problem by...

I upgraded to Slack 12.2 over Christmas and could not, in any way, get the 8139 chipset NIC to work. It was recognised in lspci but ifconfig only gave me a "device eth0 does not exist" error message. Drivers were all there, it was included in the kernel, everything was as it should be but the fact remained - no NIC activity! I've been using Slackware for over 4 years and never had this kind of persistant problem before. I struggled on, believing it was something I wasn't doing properly. I worked with the 8139 problem for about 2 days and read hundreds of how-to's and guides, to no avail.

In my frustration I ripped out the 8139 card (which had been working perfectly for over a year in the old system) and replaced it with a D-Link 530TX using the Rhine chipset. This works perfectly from the get-go. So it seems, some people have no trouble, some have a little trouble and the unfortunate ones (me included) have nothing but endless trouble with the 8139 on Slackware 12.

I hope you solve your problem with the 8139. If you want my advice/experience, dump it faster than a cheating girlfriend and use a NIC with a different chipset.
 
Old 12-29-2008, 08:10 AM   #11
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,630

Rep: Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586Reputation: 586
Exclamation

At a quick look, kernel 2.6.21.5 offered the following options

1. 8139cp.ko For Realtek 8139 Rev C+ chips
2. 8139too.ko For (apparently) most Realtek 8139 cards
3. ?? For 'tune twister' Realtek 8139 Rev K chips

I gather the tune twister is some equalisation thing. I gather you may not be able to have module 2 & 3 together.

You want the same interrupt as windows assigns the card, if you have dual boot. There is also an earlier module if your card is very very old.
In /etc/modprobe.d/ you could create a file 'network' with the line

alias eth0 your-module, e.g. 'alias eth0 8139cp'

No need for the '.ko'. If /etc/modprobe.d doesn't exist, the file /etc/modprobe.conf should have the line, and no other reference to eth0.

I am presuming this is eth0 and not a tiny bit of a huge setup! If a module picks it up, there will be a interrupt assigned in 'cat /proc/interrupts'
 
  


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
Ethernet Card Realtek 8139 not working on MDK 10.1 community [MDK]NooB Mandriva 3 05-10-2005 03:54 PM
Realtek 8139 ethernet and new kernel markjuggles Linux - Newbie 4 12-15-2003 10:04 AM
RedHat Linux8.0 giving problem with RealTek 8139 Ethernet card delipsingh Linux - Networking 10 09-01-2003 03:18 AM
How to install and configure Realtek 8139 Nic card zerokool Linux - Newbie 5 08-14-2003 03:23 AM
realtek 8139 ethernet port problem. poortl9109 Linux - Networking 10 01-09-2003 12:07 PM


All times are GMT -5. The time now is 03:27 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration