You are not logged in.

#1 2023-11-17 07:51:24

bancsorin10
Member
Registered: 2023-11-17
Posts: 3

r8169: Link is down

Just moved to another place and I can't get my internet to work, and it has been a couple of days of me trying to debug this but to no avail. Wifi has not been working either and at the moment I am trying with a cabled connection but I cannot connect. `dmesg` shows the folloing:

[1101242.981240] RTL8208 Fast Ethernet r8169-0-200:00: attached PHY driver (mii_bus:phy_addr=r8169-0-200:00, irq=MAC)
[1101243.108707] pcieport 0000:00:1c.4: AER: Multiple Corrected error received: 0000:02:00.0
[1101243.108747] r8169 0000:02:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
[1101243.108757] r8169 0000:02:00.0:   device [10ec:8136] error status/mask=00000001/00006000
[1101243.108766] r8169 0000:02:00.0:    [ 0] RxErr                  (First)
[1101243.265040] r8169 0000:02:00.0 enp2s0: Link is Down

some of the times it just shows:

[1105137.989660] RTL8208 Fast Ethernet r8169-0-200:00: attached PHY driver (mii_bus:phy_addr=r8169-0-200:00, irq=MAC)
[1105138.250037] r8169 0000:02:00.0 enp2s0: Link is Down

What I have tried:

  • `sudo modprobe -r r8169 && sudo modprobe r8169`

  • `sudo ethtool -s enp2s0 speed 100 duplex full autoneg off`

  • `ip link set enp2s0 down && ip link set enp2s0 up`

  • tweaking router networking settings turning on and off stuff, disabling filters, etc.

  • didn't manage to get anything on `tcpdump` (at first there were some packets sent that I did
    not catch but which were registered on the router history but after that the connection was cut,
    tried to repeat those packages by moving to another interface on the router, but the same thing happened)

Mentioning that:

  • I cannot ping the router

  • laptop wifi and ethernet work just fine at work

  • another 2 phones and a laptop can connect just fine to the network (had some problems with one of the phones too but it works now)

  • (sorry but I might be slow to respond to requests since I am not permanently moved to
    the place and might take up to a week to give new logs if I am not there sad )

  • also had this question on reddit https://www.reddit.com/r/archlinux/comm … k_is_down/ but moving the question in the forum

Last edited by bancsorin10 (2023-11-17 07:56:52)

Offline

#2 2023-11-17 16:45:33

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,080

Re: r8169: Link is down

Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#3 2023-11-23 20:12:24

bancsorin10
Member
Registered: 2023-11-17
Posts: 3

Re: r8169: Link is down

http://0x0.st/Hw_u.log <- here it is; (there are logs on wireless failing too)

Offline

#4 2023-11-24 16:13:01

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,080

Re: r8169: Link is down

I don't see an obvious root cause in your journal. Here are some observations that could be relevant:

1) Your kernel dates from back in October; when was the last time you ran pacman -Syu?
2) You have installed the relevant linux-firmware, correct?
3) There appears to be a lot of network configuration mentioned in your journal, how exactly have you configured your network(s)? These entries, for example, seem bizarre:

Nov 23 22:06:59 rabbit dnsmasq[652]: bad address at /etc/hosts line 31
Nov 23 22:06:59 rabbit dnsmasq[632]: read /etc/hosts - 97176 names

You really have almost 100,000 entries in your /etc/hosts file?

Offline

#5 2023-11-25 13:58:45

bancsorin10
Member
Registered: 2023-11-17
Posts: 3

Re: r8169: Link is down

I ran the last `pacman -Syu` back in october, I don't do the updates as often as one should unfortunately, I ran it after I've seen the problems on the wireless connection, tried to do the updates to maybe fix them but to no avail. I don't know what other linux-firmware I could be installing; the wireless and cabled connection are working usually, it is just this new router that is behaving.
My /etc/hosts has a lot of entries most of them copied from a github project that enumerated some ad websites that are often used; I have it so I block some extra ads or entries on shady sites etc. (this is also outdated probably sad )
Can the problem be router related?

Offline

#6 2023-11-27 16:38:20

seth
Member
Registered: 2012-09-03
Posts: 45,087

Offline

Board footer

Powered by FluxBB