FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 05-07-2012, 09:40 AM
 
Default Realtek RTL8111E ethernet controler

The onboard ethernet controler works fine with the latest 2.6 kernel
available from the squeeze AMD 64, but does not work anymore on the
latest 3.x kernel from wheezy.

The controler is recognized like this (lspci):

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)

Below is the relevant part from dmesg at boot time on a kernel 3.2:

[ 1.249409] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 1.249434] r8169 0000:02:00.0: PCI INT A -> GSI 46 (level, low) -> IRQ 46
[ 1.249466] r8169 0000:02:00.0: setting latency timer to 64
[ 1.249520] r8169 0000:02:00.0: irq 72 for MSI/MSI-X
[ 1.249969] r8169 0000:02:00.0: eth0: RTL8168evl/8111evl at 0xffffc90000c6a000, 8c:89:a5:61:54:1e, XID 0c900800 IRQ 72
[ 1.249972] r8169 0000:02:00.0: eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
...
[ 14.422267] r8169 0000:02:00.0: eth0: unable to load firmware patch rtl_nic/rtl8168e-3.fw (-2)
[ 14.433185] r8169 0000:02:00.0: eth0: link down
[ 14.433192] r8169 0000:02:00.0: eth0: link down
[ 14.433772] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 15.022269] fuse init (API version 7.17)
[ 16.827493] r8169 0000:02:00.0: eth0: link up
[ 16.828190] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 17.420695] lp: driver loaded but no devices found
[ 17.423718] ppdev: user-space parallel port driver
[ 27.248063] eth0: no IPv6 routers present


Below is the relevant part from dmesg, when trying to get an IP on system with
a kernel 3.2 running, with:

$ ifconfig eth0 down
$ ifconfig eth0 up
$ dhclient eth0

[ 404.449202] r8169 0000:02:00.0: eth0: link down
[ 404.449271] r8169 0000:02:00.0: eth0: link down
[ 404.449810] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 407.220919] r8169 0000:02:00.0: eth0: link up
[ 407.221558] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 417.352083] eth0: no IPv6 routers present
[ 803.808083] ------------[ cut here ]------------
[ 803.808095] WARNING: at /build/buildd-linux-2.6_3.2.15-1-amd64-EOdTQR/linux-2.6-3.2.15/debian/build/source_amd64_none/net/sched/sch_generic.c:255 dev_watchdog+0xe9/0x148()
[ 803.808102] Hardware name: MS-7640
[ 803.808105] NETDEV WATCHDOG: eth0 (r8169): transmit queue 0 timed out
[ 803.808108] Modules linked in: joydev usbhid hid mperf cpufreq_userspace cpufreq_stats cpufreq_powersave cpufreq_conservative parport_pc ppdev lp parport fuse loop dm_crypt dm_mod snd_hda_codec_hdmi snd_hda_intel snd_hda_codec snd_ctxfi snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_seq_midi snd_seq_midi_event edac_mce_amd snd_rawmidi psmouse evdev snd_seq snd_seq_device sp5100_tco snd_timer snd i2c_piix4 serio_raw k10temp fam15h_power edac_core soundcore pcspkr i2c_core processor button mxm_wmi wmi thermal_sys xfs sr_mod cdrom sd_mod crc_t10dif ohci_hcd ahci libahci xhci_hcd ehci_hcd libata scsi_mod usbcore usb_common r8169 mii [last unloaded: scsi_wait_scan]
[ 803.808185] Pid: 0, comm: swapper/2 Not tainted 3.2.0-2-amd64 #1
[ 803.808189] Call Trace:
[ 803.808192] <IRQ> [<ffffffff81046811>] ? warn_slowpath_common+0x78/0x8c
[ 803.808206] [<ffffffff810468bd>] ? warn_slowpath_fmt+0x45/0x4a
[ 803.808212] [<ffffffff812a1e75>] ? netif_tx_lock+0x40/0x72
[ 803.808222] [<ffffffff812a1fd6>] ? dev_watchdog+0xe9/0x148
[ 803.808228] [<ffffffff81051ebc>] ? run_timer_softirq+0x19a/0x261
[ 803.808233] [<ffffffff812a1eed>] ? netif_tx_unlock+0x46/0x46
[ 803.808240] [<ffffffff810659ff>] ? timekeeping_get_ns+0xd/0x2a
[ 803.808246] [<ffffffff8104be30>] ? __do_softirq+0xb9/0x177
[ 803.808253] [<ffffffff813504ac>] ? call_softirq+0x1c/0x30
[ 803.808259] [<ffffffff8100f8e5>] ? do_softirq+0x3c/0x7b
[ 803.808264] [<ffffffff8104c098>] ? irq_exit+0x3c/0x9a
[ 803.808271] [<ffffffff81023fe8>] ? smp_apic_timer_interrupt+0x74/0x82
[ 803.808277] [<ffffffff8134ed1e>] ? apic_timer_interrupt+0x6e/0x80
[ 803.808280] <EOI> [<ffffffffa01db398>] ? arch_local_irq_enable+0x4/0x8 [processor]
[ 803.808307] [<ffffffffa01dc020>] ? acpi_idle_enter_simple+0xc6/0x102 [processor]
[ 803.808312] [<ffffffff8126b8ab>] ? cpuidle_idle_call+0xec/0x179
[ 803.808314] [<ffffffff8100d248>] ? cpu_idle+0xa5/0xf2
[ 803.808316] [<ffffffff8133b77f>] ? start_secondary+0x1d5/0x1db
[ 803.808318] ---[ end trace de2cb247f79f3764 ]---
[ 803.824597] r8169 0000:02:00.0: eth0: link up

Below is the relevant part of dmesg while booting on a kernel 2.6 (working
controler):

[ 0.749877] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 0.749891] alloc irq_desc for 46 on node -1
[ 0.749892] alloc kstat_irqs on node -1
[ 0.749897] r8169 0000:02:00.0: PCI INT A -> GSI 46 (level, low) -> IRQ 46
[ 0.749932] r8169 0000:02:00.0: setting latency timer to 64
[ 0.749938] r8169 0000:02:00.0: (unregistered net_device): unknown MAC, using family default
[ 0.749981] alloc irq_desc for 60 on node -1
[ 0.749982] alloc kstat_irqs on node -1
[ 0.749991] r8169 0000:02:00.0: irq 60 for MSI/MSI-X
[ 0.750442] r8169 0000:02:00.0: eth0: RTL8168b/8111b at 0xffffc90000c4c000, 8c:89:a5:61:54:1e, XID 0c900800 IRQ 60
...
[ 13.433132] r8169 0000:02:00.0: eth0: link down
[ 13.433139] r8169 0000:02:00.0: eth0: link down
[ 13.433654] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 14.670233] fuse init (API version 7.13)
[ 16.522718] r8169 0000:02:00.0: eth0: link up
[ 16.523355] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

Let me know if you need more information.


Regards


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 970354164.112392322.1336383614524.JavaMail.root@zi mbra33-e6.priv.proxad.net">http://lists.debian.org/970354164.112392322.1336383614524.JavaMail.root@zi mbra33-e6.priv.proxad.net
 
Old 05-07-2012, 11:55 AM
Dom
 
Default Realtek RTL8111E ethernet controler

On 07/05/12 10:40, dagecko@free.fr wrote:


The onboard ethernet controler works fine with the latest 2.6 kernel
available from the squeeze AMD 64, but does not work anymore on the
latest 3.x kernel from wheezy.

The controler is recognized like this (lspci):

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)

Below is the relevant part from dmesg at boot time on a kernel 3.2:

[ 1.249409] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 1.249434] r8169 0000:02:00.0: PCI INT A -> GSI 46 (level, low) -> IRQ 46
[ 1.249466] r8169 0000:02:00.0: setting latency timer to 64
[ 1.249520] r8169 0000:02:00.0: irq 72 for MSI/MSI-X
[ 1.249969] r8169 0000:02:00.0: eth0: RTL8168evl/8111evl at 0xffffc90000c6a000, 8c:89:a5:61:54:1e, XID 0c900800 IRQ 72
[ 1.249972] r8169 0000:02:00.0: eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
...
[ 14.422267] r8169 0000:02:00.0: eth0: unable to load firmware patch rtl_nic/rtl8168e-3.fw (-2)

...........................................^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Have you got the firmware-realtek package installed?

--
Dom


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 4FA7B834.5070401@rpdom.net">http://lists.debian.org/4FA7B834.5070401@rpdom.net
 
Old 05-07-2012, 02:40 PM
 
Default Realtek RTL8111E ethernet controler

> > [ 14.422267] r8169 0000:02:00.0: eth0: unable to load firmware
> > patch rtl_nic/rtl8168e-3.fw (-2)
> ...........................................^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Have you got the firmware-realtek package installed?

Right, I missed this firmware installation. So I installed it, and even if
there is no more complain about firmware that cannot be loaded, the
networking still does not work.

Here is the new dmesg relevant part:

[ 1.244114] udevd[66]: starting version 175
[ 1.253510] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 1.253535] r8169 0000:02:00.0: PCI INT A -> GSI 46 (level, low) -> IRQ 46
[ 1.253566] r8169 0000:02:00.0: setting latency timer to 64
[ 1.253617] r8169 0000:02:00.0: irq 72 for MSI/MSI-X
[ 1.254046] r8169 0000:02:00.0: eth0: RTL8168evl/8111evl at 0xffffc90000c6a000, 8c:89:a5:61:54:1e, XID 0c900800 IRQ 72
[ 1.254049] r8169 0000:02:00.0: eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
...
[ 13.209195] r8169 0000:02:00.0: eth0: link down
[ 13.209203] r8169 0000:02:00.0: eth0: link down
[ 13.209779] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 14.494481] fuse init (API version 7.17)
[ 15.539324] r8169 0000:02:00.0: eth0: link up
[ 15.539891] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 17.029664] lp: driver loaded but no devices found

Below, dmesg after making the interface down, then up, then probing for an IP
threw dhclient:

[ 76.481188] r8169 0000:02:00.0: eth0: link down
[ 76.481196] r8169 0000:02:00.0: eth0: link down
[ 76.481795] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 78.800839] r8169 0000:02:00.0: eth0: link up
[ 78.801511] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 89.552083] eth0: no IPv6 routers present

And finally below, dmesg output after running XFCE (which tried to get an IP
automatically):

[ 678.800085] ------------[ cut here ]------------
[ 678.800098] WARNING: at /build/buildd-linux-2.6_3.2.15-1-amd64-EOdTQR/linux-2.6-3.2.15/debian/build/source_amd64_none/net/sched/sch_generic.c:255 dev_watchdog+0xe9/0x148()
[ 678.800104] Hardware name: MS-7640
[ 678.800108] NETDEV WATCHDOG: eth0 (r8169): transmit queue 0 timed out
[ 678.800111] Modules linked in: mperf cpufreq_userspace cpufreq_stats cpufreq_powersave cpufreq_conservative parport_pc ppdev lp parport fuse loop dm_crypt dm_mod snd_hda_codec_hdmi snd_ctxfi snd_pcm_oss snd_mixer_oss snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_midi snd_seq_midi_event snd_page_alloc snd_rawmidi snd_seq snd_seq_device snd_timer snd nvidia(P) mxm_wmi psmouse wmi edac_mce_amd edac_core k10temp soundcore fam15h_power sp5100_tco joydev serio_raw i2c_piix4 pcspkr i2c_core evdev processor button thermal_sys xfs sr_mod cdrom sd_mod crc_t10dif usbhid hid ohci_hcd xhci_hcd ahci libahci ehci_hcd usbcore usb_common libata scsi_mod r8169 mii [last unloaded: scsi_wait_scan]
[ 678.800190] Pid: 0, comm: swapper/2 Tainted: P O 3.2.0-2-amd64 #1
[ 678.800194] Call Trace:
[ 678.800197] <IRQ> [<ffffffff81046811>] ? warn_slowpath_common+0x78/0x8c
[ 678.800211] [<ffffffff810468bd>] ? warn_slowpath_fmt+0x45/0x4a
[ 678.800217] [<ffffffff812a1e75>] ? netif_tx_lock+0x40/0x72
[ 678.800226] [<ffffffff812a1fd6>] ? dev_watchdog+0xe9/0x148
[ 678.800232] [<ffffffff81051ebc>] ? run_timer_softirq+0x19a/0x261
[ 678.800237] [<ffffffff812a1eed>] ? netif_tx_unlock+0x46/0x46
[ 678.800245] [<ffffffff810659ff>] ? timekeeping_get_ns+0xd/0x2a
[ 678.800251] [<ffffffff8104be30>] ? __do_softirq+0xb9/0x177
[ 678.800259] [<ffffffff813504ac>] ? call_softirq+0x1c/0x30
[ 678.800266] [<ffffffff8100f8e5>] ? do_softirq+0x3c/0x7b
[ 678.800271] [<ffffffff8104c098>] ? irq_exit+0x3c/0x9a
[ 678.800278] [<ffffffff81023fe8>] ? smp_apic_timer_interrupt+0x74/0x82
[ 678.800284] [<ffffffff8134ed1e>] ? apic_timer_interrupt+0x6e/0x80
[ 678.800287] <EOI> [<ffffffffa00e2398>] ? arch_local_irq_enable+0x4/0x8 [processor]
[ 678.800308] [<ffffffffa00e3020>] ? acpi_idle_enter_simple+0xc6/0x102 [processor]
[ 678.800312] [<ffffffff8126b8ab>] ? cpuidle_idle_call+0xec/0x179
[ 678.800314] [<ffffffff8100d248>] ? cpu_idle+0xa5/0xf2
[ 678.800317] [<ffffffff8133b77f>] ? start_secondary+0x1d5/0x1db
[ 678.800319] ---[ end trace 4d6bc7419a9975af ]---
[ 678.816600] r8169 0000:02:00.0: eth0: link up

Regards.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1524917879.113301713.1336401602656.JavaMail.root@z imbra33-e6.priv.proxad.net">http://lists.debian.org/1524917879.113301713.1336401602656.JavaMail.root@z imbra33-e6.priv.proxad.net
 
Old 05-07-2012, 03:25 PM
Camaleón
 
Default Realtek RTL8111E ethernet controler

On Mon, 07 May 2012 11:40:14 +0200, dagecko wrote:

> The onboard ethernet controler works fine with the latest 2.6 kernel
> available from the squeeze AMD 64, but does not work anymore on the
> latest 3.x kernel from wheezy.
>
> The controler is recognized like this (lspci):
>
> 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
> RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
>
> Below is the relevant part from dmesg at boot time on a kernel 3.2:

(...)

This looks good.

> Below is the relevant part from dmesg, when trying to get an IP on
> system with a kernel 3.2 running, with:
>
> $ ifconfig eth0 down
> $ ifconfig eth0 up
> $ dhclient eth0
>
> [ 404.449202] r8169 0000:02:00.0: eth0: link down
> [ 404.449271] r8169 0000:02:00.0: eth0: link down
> [ 404.449810] ADDRCONF(NETDEV_UP): eth0: link is not ready
> [ 407.220919] r8169 0000:02:00.0: eth0: link up
> [ 407.221558] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
> [ 417.352083] eth0: no IPv6 routers present
> [ 803.808083] ------------[ cut here ]------------
> [ 803.808095] WARNING: at /build/buildd-linux-2.6_3.2.15-1-amd64-EOdTQR/linux-2.6-3.2.15/debian/build/source_amd64_none/net/sched/sch_generic.c:255 dev_watchdog+0xe9/0x148()
> [ 803.808102] Hardware name: MS-7640
> [ 803.808105] NETDEV WATCHDOG: eth0 (r8169): transmit queue 0 timed out

(...)

You got a kernel oops. You better report it because we (plain users)
can't do much with that other than testing with another kernel or
loading another driver which is not always desiderable/possible :-)

It can be related to this:

https://bugzilla.kernel.org/show_bug.cgi?id=14962

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: jo8pgt$e2o$4@dough.gmane.org">http://lists.debian.org/jo8pgt$e2o$4@dough.gmane.org
 
Old 05-07-2012, 04:08 PM
 
Default Realtek RTL8111E ethernet controler

>
> You got a kernel oops. You better report it because we (plain users)
> can't do much with that other than testing with another kernel or
> loading another driver which is not always desiderable/possible :-)
>
> It can be related to this:
>
> https://bugzilla.kernel.org/show_bug.cgi?id=14962

It seems there are several bugs with this netword chip.
I found a related page on a forum here:

http://forums.opensuse.org/english/get-technical-help-here/hardware/461975-default-driver-realtek-rtl8111e-chip-ethernet-does-not-work.html

which gave me a piece of help. So I tried, like they said, to install the
official drivers from the realtek website here:

http://www.realtek.com/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5 &Conn=4&DownTypeID=3&GetDown=false#2

The installation was succesful, the module can be loaded by the kernel.

But unfortunately I have extactly the same problems... strangely...
I am sure it is not because I use the same modules since they don't have the
same name: the old one was r8169 and the new one is r8168...

Regards.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1727074861.113550871.1336406914731.JavaMail.root@z imbra33-e6.priv.proxad.net">http://lists.debian.org/1727074861.113550871.1336406914731.JavaMail.root@z imbra33-e6.priv.proxad.net
 
Old 05-07-2012, 04:33 PM
Camaleón
 
Default Realtek RTL8111E ethernet controler

On Mon, 07 May 2012 18:08:34 +0200, dagecko wrote:

(...)

>> It can be related to this:
>>
>> https://bugzilla.kernel.org/show_bug.cgi?id=14962
>
> It seems there are several bugs with this netword chip. I found a
> related page on a forum here:
>
> http://forums.opensuse.org/english/get-technical-help-here/hardware/461975-default-driver-realtek-rtl8111e-chip-ethernet-does-not-work.html
>
> which gave me a piece of help. So I tried, like they said, to install
> the official drivers from the realtek website here:
>
> http://www.realtek.com/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5 &Conn=4&DownTypeID=3&GetDown=false#2
>
> The installation was succesful, the module can be loaded by the kernel.
>
> But unfortunately I have extactly the same problems... strangely... I am
> sure it is not because I use the same modules since they don't have the
> same name: the old one was r8169 and the new one is r8168...

How bad ;-(

Being network an indispensable service for todays computers, I always add
a secondary NIC on my systems to avoid these kind of problems, so if the
embedded gigabit board (usually an Intel one) has any problem I can still
use the secondary PCI-based (with a different chipset, usually a Realtek
one) :-)

Anyway, to get the problem solved as soon as possible, you can add yourself
to the upstream bug (should you think you're having the same problem) and
append your data there.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: jo8th2$e2o$7@dough.gmane.org">http://lists.debian.org/jo8th2$e2o$7@dough.gmane.org
 

Thread Tools




All times are GMT. The time now is 06:43 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org