LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-03-2012, 04:03 AM   #1
kea_kea
LQ Newbie
 
Registered: Mar 2006
Posts: 23

Rep: Reputation: 0
Realtek RTL8111/8168B PCI does not work


Hi,

I've just installed Slackware 13.37, including kernel 2.6.37.6. Ethernet card does not work with the default kernel, so I tried to compile a new one. Earlier the machine ran a kernel version 2.6.29.6, on the same harware.

Kernel config (set to Y):
Network device support
Dummy net driver support
Ethernet (1000 Mbit)
Realtek 8169 gigabit ethernet support

Kernel 2.6.29.6 and Realtek RTL8111/8168B PCI worked well.
Under kernel 2.6.37.6 the network card does not work (device not found).

In addition: with kernel 2.6.29.6 PPPOE does not work.
Kernel config (set to Y):
Network device support
PPP support
PPP over Ethernet

I'd appreciate any advices in connection with both Realtek (newer kernel) and PPPOE (older kernel) problems. Thx in advance.

KEA.
 
Old 01-03-2012, 08:18 AM   #2
blue_print
Member
 
Registered: May 2010
Location: In world
Distribution: RHEL, CentOS, Ubuntu
Posts: 275
Blog Entries: 3

Rep: Reputation: 50
I'm not sure about PPOE. But for ethernet, u can try the solution given @

http://www.linuxquestions.org/questi...el-5-a-921433/

That is for RHEL, however I hope it will work for your distro as well.
 
Old 01-03-2012, 11:51 AM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,133
Blog Entries: 2

Rep: Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836
I have the same chip on my mainboard and it runs fine with the default kernel. Are you sure that this is a kernel issue?
 
Old 01-05-2012, 04:09 AM   #4
kea_kea
LQ Newbie
 
Registered: Mar 2006
Posts: 23

Original Poster
Rep: Reputation: 0
> I have the same chip on my mainboard and it runs fine with the default kernel. Are you sure that this is a kernel issue?

'Device not found' -- what else could it be? It worked well for some years with kernel 2.6.29. After I installed a newer kernel, 2.6.37.6 (part of a newer distro), it does not work any more. Not with the original kernel, nor with a compiled one (options above). As I googled and asked a lot, I think it must be a kernel/driver problem.

Regards, KEA.
 
Old 01-05-2012, 04:49 AM   #5
kea_kea
LQ Newbie
 
Registered: Mar 2006
Posts: 23

Original Poster
Rep: Reputation: 0
Hi,

I inserted a network card int a (the) free PCI-slot. Works well! In /etc/udev/rules.d/70-persistent-net.rules I corrected its name from eth1 to eth0 and after reloading the kernel module I could bring it up with ifconfig as eth0. What may be interesting, that in the rules file it is identified as tulip, lspci says Accton Technology, while the physical title on the chip is SMC.

After some googling, asking and reading I think that RTL8168d/8111d network card is highly problematic in case of newer kernels.

Thx for everybody, regards: KEA.
 
Old 05-07-2012, 09:33 PM   #6
lazardo
Member
 
Registered: Feb 2010
Location: SF Bay Area
Posts: 183

Rep: Reputation: Disabled
For those with an onboard or pci-e version having similar issues, http://realtek.com.tw, then
downloads -> communications -> network -> gigabit -> pci express
click on software, then move down to
'LINUX driver for kernel 2.6.x and 2.4.x (Support x86 and x64)' (highest version)

Remember to blacklist the native r8168 in favor of the r8169.ko from realtek.
Tested under 64bit 1337, ~70MB/s, zero issues.
Shows up as 'RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03 and 06)'
You'll need kernel headers/source installed to build the r8169.ko module.

Cheers,

Last edited by lazardo; 05-07-2012 at 11:02 PM. Reason: readability
 
  


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
RTL8111/8168B PCI not working ragatinavin Linux - Networking 3 08-08-2011 03:41 PM
Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller morphynoman Slackware 31 07-18-2011 11:50 AM
Realtek new Driver for RTL8111/8168B mrgreen Linux - Networking 0 05-29-2011 09:47 AM
[SOLVED] Realtek driver RTL8111/8168B jwater1968 Linux - Networking 3 11-10-2010 05:34 AM
Realtek RTL8111/8168B IRQ clash with IDE driver? madbrad Linux - Hardware 23 04-15-2008 07:13 AM


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