LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-01-2008, 11:06 AM   #1
dwurmfeld
LQ Newbie
 
Registered: Jun 2006
Location: Melbourne, Florida
Distribution: Fedora 8
Posts: 9

Rep: Reputation: 0
Question The real scoop on Realtek RTL-8139X NIC chip


Basic problem: Fedora 7/8 does not recognize my NIC card on my Clevo 888E (Sager NP8887) laptop (it does work under Fedora 6/XP Pro. I get the error that it can't find the DCHP server when I attempt to activate it from the Network Config GUI App.

I seem to recall there is a driver problem with the RTL-8139D variant, is this correct?

I do not know enough to discover the real issues, and the tests I have tried are no help. Short of un-installing Fedora 8 and re-installing fedora 6, (or installing a PC Card with a different wired/wireless NIC) I can't find my way past this install problem.

I am trying to develop this laptop into my "Lab Machine", it may be old, but it has 'real' serial and parallel ports, necessary to connect to the chip/FPGA programmers I am using. It isn't a slouch, with a 2.8 GHz Intel P4, a Gig of RAM, an ATI FireGL card and three, 120 GByte Hard Drives built in. What I do not want to do is to use up my PCMCIA slots or USB slots just trying to connect this beast (it weighs 13.7 lbs) to the Internet. I want to keep the ports free for my lab connectivity, and keep the "extra" stuff to a minimum.

Using the forum as a guide, I have done the following:
  • looked at dmesage
  • looked at lspci
  • looked at lsmod
  • tried 'dhcpc eth0'
  • ping 192.168.0.1 (my gateway)
and have found no happiness.

I can ping the loopback address: 127.0.1.0 just fine

Here is the output from my investigation

***** output from 'dmesg | grep eth0'
eth0: RealTek RTL8139 at 0xf8ab2000, 00:90:f5:0d:2a:e1, IRQ 10
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready

but the info from lspci is different:
***** end output

***** output from lspci (searched for '8139' in editor)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: CLEVO/KAPOK Computer Unknown device 8880
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 128 (8000ns min, 16000ns max)
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at a400 [size=256]
Region 1: Memory at d0008000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
***** End Output

The Network config application thinks it is a RealTek RTL-8139/8139C

When I try to activate it from the config app it cannot find a DHCP server. This wired adapter worked with Fedora 6 on this laptop, and I haven't changed the linksys cable modem/router, all of which work under Windows XP pro (and worked under Fedora 6).

Thanks in advance for any help, even if it is an admonishment to 'RTFM', as long as you are kind enough to point me to the relevant 'FM'.

David
 
Old 01-01-2008, 11:15 AM   #2
nileshgr
Member
 
Registered: Aug 2007
Location: Pune, Maharashtra, India
Distribution: Gentoo
Posts: 84

Rep: Reputation: 16
i am also using RTL 8139 card on F7 but I have no problems since installation.
 
Old 01-01-2008, 11:23 AM   #3
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Fedora 7/8 does not recognize my NIC card
... not true:

eth0: Identified 8139 chip type 'RTL-8100B/8139D'
... fedora just recogniZed it!

The Network config application thinks it is a RealTek RTL-8139/8139C
... that's because that is what the card says it is:
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

What makes you think it is a RTL-8139D?

Please show the result of (CLI stuff)
# lspci -v | grep ethernet -i -A8

lsmod | grep 8139

ifconfig

ifup eth0

Most people have trouble with these when it is not genuine realtek, in which case the lspci listing says "unknown device". For example...
http://www.linuxforums.org/forum/red...t-fedora7.html
 
Old 01-01-2008, 11:35 AM   #4
dwurmfeld
LQ Newbie
 
Registered: Jun 2006
Location: Melbourne, Florida
Distribution: Fedora 8
Posts: 9

Original Poster
Rep: Reputation: 0
[QUOTE=Simon Bridge;3007591]Fedora 7/8 does not recognize my NIC card

What makes you think it is a RTL-8139D?
that is what dmesg says, I will get the results of the others in a moment.
 
Old 01-01-2008, 11:51 AM   #5
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Actually, dmesg says:

eth0: RealTek RTL8139 at 0xf8ab2000, 00:90:f5:0d:2a:e1, IRQ 10
eth0: Identified 8139 chip type 'RTL-8100B/8139D'

lspci says:

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

i.e. it's a generic. Manufacturer didn't want to add a diffrent ROM for each possible configuration, so added all the configs to the one ROM. Should be OK though. The driver should be 8139too or similar.

I guess the lspci output was provided - but I'll want to see the rest.
 
Old 01-01-2008, 12:34 PM   #6
dwurmfeld
LQ Newbie
 
Registered: Jun 2006
Location: Melbourne, Florida
Distribution: Fedora 8
Posts: 9

Original Poster
Rep: Reputation: 0
Question updated info

Quote:
Originally Posted by Simon Bridge View Post
Actually, dmesg says:

I guess the lspci output was provided - but I'll want to see the rest.
Here is the latest information from lsmod, ifconfig and ifup
ifup:
Determining IP information for eth0... failed; no link present. Check cable?

ifconfig:
eth0 Link encap:Ethernet HWaddr 00:90:F5:0D:2A:E1
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0xa000

eth1 Link encap:Ethernet HWaddr 00:0E:35:63:C5:79
inet6 addr: fe80::20e:35ff:fe63:c579/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:14106 errors:0 dropped:0 overruns:0 frame:0
TX packets:1868 errors:0 dropped:2 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0x4000 Memory:d0001000-d0001fff

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:8031 errors:0 dropped:0 overruns:0 frame:0
TX packets:8031 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11490548 (10.9 MiB) TX bytes:11490548 (10.9 MiB)

lsmod:
8139cp 21697 0
8139too 24513 0
mii 8385 2 8139cp,8139too


Thanks for the help...
 
Old 01-01-2008, 12:50 PM   #7
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by dwurmfeld View Post
Thanks for the help...
I think the problem is that Realtek apparently released a new version of the chip but reused a VENDORID:DEVICEID pair. So the rtl driver is able to get the correct device string, but lspci just goes by the VENDORID:DEVICEID pair and reports it as an older model.

Try downloading the Windows driver and using ndiswrapper until Linux catches up again.
 
Old 01-01-2008, 12:56 PM   #8
dwurmfeld
LQ Newbie
 
Registered: Jun 2006
Location: Melbourne, Florida
Distribution: Fedora 8
Posts: 9

Original Poster
Rep: Reputation: 0
Question

Quote:
Originally Posted by David1357 View Post
I think the problem is that Realtek apparently released a new version of the chip but reused a VENDORIDEVICEID pair. So the rtl driver is able to get the correct device string, but lspci just goes by the VENDORIDEVICEID pair and reports it as an older model.

Try downloading the Windows driver and using ndiswrapper until Linux catches up again.
Sorry, but I don't understand how to do that, if this is not the forum, could you direct me to where I can find out how to "ndiswrapper " a windows driver? Thanks, David
 
Old 01-01-2008, 01:22 PM   #9
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by dwurmfeld View Post
...could you direct me to where I can find out how to "ndiswrapper " a windows driver?
Here are the instructions for installing ndiswrapper. You can skip the parts on downloading, compiling, and installing if you can get a package for your distro.

Next time someone suggests something in these forums, but does not provide a link, google the word first.
 
Old 01-01-2008, 02:23 PM   #10
dwurmfeld
LQ Newbie
 
Registered: Jun 2006
Location: Melbourne, Florida
Distribution: Fedora 8
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks for the information, I will look on my Fedora 8 Distro for NDISwrapper (any clues?) If I understand correctly, I will need to re-compile the kernel, a new experience for me, pointers welcome.

David
 
Old 01-01-2008, 03:59 PM   #11
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by dwurmfeld View Post
If I understand correctly, I will need to re-compile the kernel, a new experience for me, pointers welcome.
Run "yum search ndiswrapper" and pick the one for your kernel. To see which kernel you are running, use "uname -r".

There is a warning about the "8K versus 4K stack size" problem. I had to rebuild my FC4 kernel from source to solve the problem. You may have to do the same.
 
Old 01-01-2008, 04:31 PM   #12
zoranp
Member
 
Registered: Nov 2007
Location: Belgrade, RS
Distribution: Mandriva 2009.0 X86_64
Posts: 44

Rep: Reputation: 15
Quote:
Originally Posted by dwurmfeld View Post
ifup:
Determining IP information for eth0... failed; no link present. Check cable?
The problem is not in network card but in the lame Windows driver. You obviously installed XP and tried to reinstall GNU/Linux.

Go back to XP, check the box "Wake on LAN" in driver settings and your problem is solved.
 
Old 01-05-2008, 07:40 PM   #13
dwurmfeld
LQ Newbie
 
Registered: Jun 2006
Location: Melbourne, Florida
Distribution: Fedora 8
Posts: 9

Original Poster
Rep: Reputation: 0
Tried the "wake on LAN" idea in XP, but no happiness... I am going to try to do the "NDISwrapper" thing. Is there a recipe for spinning another kernel in Fedora 8? (be gentle, greping for kernel compilation returns 1000's of hits. Any clues would be appreciated)

David
 
Old 01-07-2008, 09:33 AM   #14
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by dwurmfeld View Post
Is there a recipe for spinning another kernel in Fedora 8? (be gentle, greping for kernel compilation returns 1000's of hits. Any clues would be appreciated)
If you use Yum (or the equivalent) to install the kernel source, it will put a tarball somewhere in "/usr/src/redhat". If you extract the tarball, there will be a file named "README" with generic instructions for building the kernel. If you want Red Hat specific instructions, check the first google hits for "howto build kernel fedora core".
 
  


Reply

Tags
install, prob, rtl8139


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
Can't configure my Realtek RTL 8139 in ubuntu Guest1234 Linux - Networking 10 04-08-2008 01:30 PM
Ethernet problem: SuSE10.0, Realtek RTL-8139/8139C, NetcommNB5 Kelly Jones Linux - Wireless Networking 12 04-18-2007 07:38 PM
RealTek RTL 8129 Fat Ethernet Problem in Fedora thinker Linux - Hardware 0 04-17-2007 03:44 AM
4-port Router NIC (Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+) Question 09-sparky Linux - Networking 4 01-20-2006 10:14 AM
USB NIC can't work properly!! Realtek 8150 chip. alsor Linux - Hardware 0 07-31-2004 03:31 AM


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