You are not logged in.

#1 2020-09-07 18:15:16

c4t4lin
Member
Registered: 2015-08-18
Posts: 7

Realtek r8186 rtl_rxtx_empty_cond == 0

Hello fellow arch users. I've got this interesting error in dmesg all of a sudden today after a reboot:

rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100)

For the record I use systemd-networkd to manage my networking
and networkctl complains that my interface is degraded and it's trying to configure it.

I've tried to reload the kernel module but no luck. I've booted in windows 10 on the same machine
and the interface is picked up and configured right away so I don't think this is a
hardware related problem.

Has anyone had this problem before?

I'll post more system logs and hardware config tomorrow when I get back to the machin.
If any other information is required please let me know.

Thanks! smile

Offline

#2 2020-09-18 11:41:36

Edgxxar
Member
Registered: 2020-09-18
Posts: 1

Re: Realtek r8186 rtl_rxtx_empty_cond == 0

Hi,
i've encountered the same problem on a Linux archiso 5.8.5-arch1-1 2020.09.01 live image. I'm currently trying to install arch on a new pc and cannot get the internet connection to work.

r8169 0000:03:00.0 enp3s0: rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100).

I suspect it has something to do with the realtek ethernet r8169 driver, but I cannot get any solution from the forums regarding this driver to work. Sadly the live image disk does not contain the r8168 driver which was recommended to me several times, and I don't really know where I would download that.

Maybe somebody can help us here?

Offline

#3 2020-09-20 06:00:44

waltergrump
Member
Registered: 2020-09-20
Posts: 1

Re: Realtek r8186 rtl_rxtx_empty_cond == 0

This kept showing in my dmesg:

r8169 0000:04:00.0 enp4s0: rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100).

I'm using a gigabyte bs450m ds3h motherboard.

With the r8168 you should be able to install that from just pacman -S r8168? I had to use a wireless dongle as the internet was down.

I installed the r8168 package and it started working straight away. Be warned I found this driver in the m..njaro settings manager, I'm a worthless m...jaro user, but I think it should be the same for arch?

Here is the lspci after the change, previously the bottom two lines indicated 8169.

04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
        Subsystem: Gigabyte Technology Co., Ltd Onboard Ethernet
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 76
        IOMMU group: 12
        Region 0: I/O ports at f000 [size=256]
        Region 2: Memory at f7500000 (64-bit, non-prefetchable) [size=4K]
        Region 4: Memory at f2100000 (64-bit, prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: r8168
        Kernel modules: r8169, r8168

This is my dmsg after the change, where it started the interface.

[ 1231.425249] r8169 0000:04:00.0 enp4s0: rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100).
[ 1241.445257] r8169 0000:04:00.0 enp4s0: rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100).
[ 1261.202667] st: Version 20160209, fixed bufsize 32768, s/g segs 256
[ 1283.886197] r8169 0000:04:00.0 enp4s0: Link is Down
[ 1283.925254] r8169 0000:04:00.0 enp4s0: rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100).
[ 1284.128932] r8168 Gigabit Ethernet driver 8.048.03-NAPI loaded
[ 1284.143985] r8168: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.
[ 1284.145471] r8168 0000:04:00.0 enp4s0: renamed from eth0
[ 1284.146064] r8168  Copyright (C) 2020  Realtek NIC software team <nicfae@realtek.com>
                This program comes with ABSOLUTELY NO WARRANTY; for details, please see <http://www.gnu.org/licenses/>.
                This is free software, and you are welcome to redistribute it under certain conditions; see <http://www.gnu.org/licenses/>.
[ 1284.176012] enp4s0: 0xffffb09040309000, b4:2e:99:93:b7:d5, IRQ 75
[ 1287.291375] r8168: enp4s0: link up
[ 1287.291434] IPv6: ADDRCONF(NETDEV_CHANGE): enp4s0: link becomes ready

Offline

#4 2020-09-21 08:52:43

c4t4lin
Member
Registered: 2015-08-18
Posts: 7

Re: Realtek r8186 rtl_rxtx_empty_cond == 0

@waltergrump thanks for the suggestion. I'll give it a try.

I have the

Gigabyte  AB350-Gaming 3

with the F25 bios update.

For the moment the issue somehow fixed itself, the only way to reproduce it seems to be with a reboot with a 40% reproduction rate which at the moment doesn't really bother me since I don't reboot my workstation that often, but if this starts to bother me and nothing else will fix it I'll probably end up with a discrete network card, I've had enough problems already with realtek on other machines and distros. smile

Offline

#5 2020-10-15 11:42:57

danilo
Member
From: Switzerland
Registered: 2010-12-10
Posts: 25
Website

Re: Realtek r8186 rtl_rxtx_empty_cond == 0

I can confirm this, couldn't get an IP via DHCP anymore after today's system upgrade.

[  578.585750] r8169 0000:03:00.0 enp3s0: rtl_rxtx_empty_cond == 0 (loop: 42, delay: 100).

My network controller:

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)

This resolved the issue:

sudo pacman -S r8168
sudo rmmod r8169
sudo modprobe r8168
sudo netctl restart wired

I'm a bit confused as to why this is happening now though. The 5.8.14 kernel doesn't seem to change anything about the r8169 driver: https://lwn.net/Articles/833689/


"Freedom is the freedom to say that two plus two make four. If that is granted, all else follows." - George Orwell

Offline

Board footer

Powered by FluxBB