You are not logged in.

#1 2020-02-20 21:14:50

Strider
Member
From: Belgium
Registered: 2009-08-04
Posts: 96

[SOLVED] NO wired network since kernel 5.5+ : r8169 / PHY driver dumps

Here is an extract from my kernel messages.
Downgrading to 5.4.15 solves the issue (and also the shown trace does not appear anymore in my kernel messages). Searched to see if this was a know kernel bug but did not find anything. Or is this a python problem ?

Any help more than welcome.

feb 20 21:50:35 Megatron kernel: Generic PHY r8169-400:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=r8169-400:00, irq=IGNORE)
feb 20 21:50:35 Megatron kernel: ------------[ cut here ]------------
feb 20 21:50:35 Megatron kernel: read_page callback not available, PHY driver not loaded?
feb 20 21:50:35 Megatron kernel: WARNING: CPU: 2 PID: 628 at drivers/net/phy/phy-core.c:700 __phy_read_page+0x3f/0x50 [libphy]
feb 20 21:50:35 Megatron kernel: Modules linked in: it87 hwmon_vid nvidia_drm(POE) nvidia_modeset(POE) nvidia(POE) snd_hda_codec_hdmi edac_mce_amd kvm_amd snd_usb_audio joydev ccp snd_usbmidi_lib input>
feb 20 21:50:35 Megatron kernel: CPU: 2 PID: 628 Comm: NetworkManager Tainted: P           OE     5.5.4-arch1-1 #1
feb 20 21:50:35 Megatron kernel: Hardware name: Gigabyte Technology Co., Ltd. GA-MA790XT-UD4P/GA-MA790XT-UD4P, BIOS F8 09/08/2011
feb 20 21:50:35 Megatron kernel: RIP: 0010:__phy_read_page+0x3f/0x50 [libphy]
feb 20 21:50:35 Megatron kernel: Code: c0 74 05 e9 33 87 10 f3 80 3d cd e3 00 00 00 74 06 b8 a1 ff ff ff c3 48 c7 c7 b0 f9 4f c0 c6 05 b7 e3 00 00 01 e8 13 90 59 f2 <0f> 0b eb e3 66 66 2e 0f 1f 84 00 0>
feb 20 21:50:35 Megatron kernel: RSP: 0018:ffff8fb500b9f3b0 EFLAGS: 00010282
feb 20 21:50:35 Megatron kernel: RAX: 0000000000000000 RBX: 0000000000006662 RCX: 0000000000000000
feb 20 21:50:35 Megatron kernel: RDX: 0000000000000001 RSI: 0000000000000092 RDI: 00000000ffffffff
feb 20 21:50:35 Megatron kernel: RBP: ffff89ffe9e11800 R08: 0000000000000458 R09: 0000000000000001
feb 20 21:50:35 Megatron kernel: R10: 0000000000000000 R11: 0000000000000001 R12: ffff89ffe70488c0
feb 20 21:50:35 Megatron kernel: R13: 0000000000000002 R14: 0000000000000001 R15: 0000000000000000
feb 20 21:50:35 Megatron kernel: FS:  00007fd0013edd80(0000) GS:ffff89ffebc80000(0000) knlGS:0000000000000000
feb 20 21:50:35 Megatron kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
feb 20 21:50:35 Megatron kernel: CR2: 000055fce5b6e188 CR3: 000000011a754000 CR4: 00000000000006e0
feb 20 21:50:35 Megatron kernel: Call Trace:
feb 20 21:50:35 Megatron kernel:  phy_select_page+0x28/0x50 [libphy]
feb 20 21:50:35 Megatron kernel:  phy_write_paged+0x18/0x50 [libphy]
feb 20 21:50:35 Megatron kernel:  rtl8168d_1_hw_phy_config+0x1c8/0x1f0 [r8169]
feb 20 21:50:35 Megatron kernel:  rtl8169_init_phy+0x2c/0xb0 [r8169]
feb 20 21:50:35 Megatron kernel:  rtl_open+0x3b2/0x570 [r8169]
feb 20 21:50:35 Megatron kernel:  __dev_open+0xe0/0x170
feb 20 21:50:35 Megatron kernel:  __dev_change_flags+0x188/0x1e0
feb 20 21:50:35 Megatron kernel:  dev_change_flags+0x21/0x60
feb 20 21:50:35 Megatron kernel:  do_setlink+0x78a/0xf90
feb 20 21:50:35 Megatron kernel:  ? preempt_count_add+0x68/0xa0
feb 20 21:50:35 Megatron kernel:  ? _raw_spin_lock_irqsave+0x26/0x50
feb 20 21:50:35 Megatron kernel:  __rtnl_newlink+0x5d1/0x9a0
feb 20 21:50:35 Megatron kernel:  rtnl_newlink+0x44/0x70
feb 20 21:50:35 Megatron kernel:  rtnetlink_rcv_msg+0x137/0x3c0
feb 20 21:50:35 Megatron kernel:  ? rtnl_calcit.isra.0+0x120/0x120
feb 20 21:50:35 Megatron kernel:  netlink_rcv_skb+0x75/0x140
feb 20 21:50:35 Megatron kernel:  netlink_unicast+0x199/0x240
feb 20 21:50:35 Megatron kernel:  netlink_sendmsg+0x243/0x480
feb 20 21:50:35 Megatron kernel:  sock_sendmsg+0x5e/0x60
feb 20 21:50:35 Megatron kernel:  ____sys_sendmsg+0x21b/0x290
feb 20 21:50:35 Megatron kernel:  ? copy_msghdr_from_user+0xe1/0x160
feb 20 21:50:35 Megatron kernel:  ___sys_sendmsg+0x9e/0xe0
feb 20 21:50:35 Megatron kernel:  ? addrconf_sysctl_forward+0x12b/0x270
feb 20 21:50:35 Megatron kernel:  __sys_sendmsg+0x81/0xd0
feb 20 21:50:35 Megatron kernel:  do_syscall_64+0x4e/0x150
feb 20 21:50:35 Megatron kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
feb 20 21:50:35 Megatron kernel: RIP: 0033:0x7fd0025d98bd
feb 20 21:50:35 Megatron kernel: Code: 28 89 54 24 1c 48 89 74 24 10 89 7c 24 08 e8 0a 51 f8 ff 8b 54 24 1c 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 2f 44 89 c7 4>
feb 20 21:50:35 Megatron kernel: RSP: 002b:00007ffcd991d030 EFLAGS: 00000293 ORIG_RAX: 000000000000002e
feb 20 21:50:35 Megatron kernel: RAX: ffffffffffffffda RBX: 000000000000000c RCX: 00007fd0025d98bd
feb 20 21:50:35 Megatron kernel: RDX: 0000000000000000 RSI: 00007ffcd991d070 RDI: 000000000000000c
feb 20 21:50:35 Megatron kernel: RBP: 000055fce5ab6090 R08: 0000000000000000 R09: 0000000000000000
feb 20 21:50:35 Megatron kernel: R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
feb 20 21:50:35 Megatron kernel: R13: 00007ffcd991d1d0 R14: 00007ffcd991d1cc R15: 0000000000000000
feb 20 21:50:35 Megatron kernel: ---[ end trace eedb5f0681e1383f ]---
feb 20 21:50:35 Megatron kernel: r8169 0000:04:00.0 eth0: Link is Down

Last edited by Strider (2020-02-23 20:39:50)


Win XP -> Ubuntu -> Fedora -> Arch -> Arch -> Arch -> Ar...

Offline

#2 2020-02-20 21:22:10

loqs
Member
Registered: 2014-03-06
Posts: 10,586

Re: [SOLVED] NO wired network since kernel 5.5+ : r8169 / PHY driver dumps

feb 20 21:50:35 Megatron kernel: Modules linked in: it87 hwmon_vid nvidia_drm(POE) nvidia_modeset(POE) nvidia(POE) snd_hda_codec_hdmi edac_mce_amd kvm_amd snd_usb_audio joydev ccp snd_usbmidi_lib input>

What is the full listed of loaded modules the line is trimmed,  please post the dmesg untrimmed.

Offline

#3 2020-02-21 06:52:09

hkall
Member
Registered: 2019-11-11
Posts: 5

Re: [SOLVED] NO wired network since kernel 5.5+ : r8169 / PHY driver dumps

The trace shows what's going on: "read_page callback not available, PHY driver not loaded?"
Typically this means you should remove r8169 from initramfs, or add realtek.ko (the PHY driver) to it.

Offline

#4 2020-02-21 18:00:30

Strider
Member
From: Belgium
Registered: 2009-08-04
Posts: 96

Re: [SOLVED] NO wired network since kernel 5.5+ : r8169 / PHY driver dumps

@hkall : thanks for the tip. I couldn't figure out this myself (I'm sure a lot of people would not associate the PHY driver with realtek.ko:))

I will try but I find this pretty odd :
How come this was not a problem with 5.4.15 ?
Initramfs between the two is not that different no ? Why would they leave out that module ?


Win XP -> Ubuntu -> Fedora -> Arch -> Arch -> Arch -> Ar...

Offline

#5 2020-02-21 18:32:29

Strider
Member
From: Belgium
Registered: 2009-08-04
Posts: 96

Re: [SOLVED] NO wired network since kernel 5.5+ : r8169 / PHY driver dumps

Just upgraded to 5.5.4 again and ran lsmod | grep realtek.
Here is the output where you see realtek.ko is clearly loaded.
5.4.15 gives the same output by the way. So I do not think this is the problem but I can be mistaken off course (being a kernel noob).

snd_hda_codec_realtek   126976  1
snd_hda_codec_generic    94208  1 snd_hda_codec_realtek
ledtrig_audio          16384  2 snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_codec         163840  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core          106496  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd                   114688  22 snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
realtek                20480  0
libphy                114688  3 r8169,realtek

Last edited by Strider (2020-02-21 18:32:52)


Win XP -> Ubuntu -> Fedora -> Arch -> Arch -> Arch -> Ar...

Offline

#6 2020-02-21 20:22:05

seth
Member
Registered: 2012-09-03
Posts: 14,811

Re: [SOLVED] NO wired network since kernel 5.5+ : r8169 / PHY driver dumps

The r8169 can't init the device, this *might* be, because the the realtek module is loaded too late™ or for entirely different reasons.

You should post the outputs of
- lspci # to see the actual eth device
- sudo journalctl -b # to see the  error in complete context, apparently NM is the process inducing this

Case in point, also
- systemctl list-unit-files --state=enabled

please.

Online

#7 2020-02-23 13:30:40

Strider
Member
From: Belgium
Registered: 2009-08-04
Posts: 96

Re: [SOLVED] NO wired network since kernel 5.5+ : r8169 / PHY driver dumps

Seth, here you go :

my eth device :
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)

my boot journal (as of the start of Network Manager till the error occurs) :

feb 23 13:09:50 Megatron systemd[1]: Starting Network Manager...
feb 23 13:09:50 Megatron alsactl[626]: Found hardware: "HDA-Intel" "Nvidia GPU 41 HDMI/DP" "HDA:10de0041,1043842a,00100100" "0x1043" "0x842a"
feb 23 13:09:50 Megatron alsactl[626]: Hardware is initialized using a generic method
feb 23 13:09:50 Megatron systemd[1]: Starting Initialize hardware monitoring sensors...
feb 23 13:09:50 Megatron audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=alsa-restore comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:50 Megatron systemd[1]: Starting Load kernel module drm...
feb 23 13:09:50 Megatron kernel: audit: type=1130 audit(1582459790.241:21): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=alsa-restore comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:50 Megatron kernel: audit: type=1130 audit(1582459790.241:22): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=modprobe@drm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:50 Megatron kernel: audit: type=1131 audit(1582459790.241:23): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=modprobe@drm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:50 Megatron audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=modprobe@drm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:50 Megatron audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=modprobe@drm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:50 Megatron systemd[1]: Started Save/Restore Sound Card State.
feb 23 13:09:50 Megatron avahi-daemon[627]: Found user 'avahi' (UID 84) and group 'avahi' (GID 84).
feb 23 13:09:50 Megatron systemd[1]: modprobe@drm.service: Succeeded.
feb 23 13:09:50 Megatron systemd[1]: Started Load kernel module drm.
feb 23 13:09:50 Megatron systemd[1]: Reached target Sound Card.
feb 23 13:09:50 Megatron systemd[1]: Starting Login Service...
feb 23 13:09:50 Megatron systemd[1]: Starting Update locate database...
feb 23 13:09:50 Megatron audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=shadow comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:50 Megatron systemd[1]: Starting Rotate log files...
feb 23 13:09:50 Megatron systemd[1]: Starting Daily man-db regeneration...
feb 23 13:09:50 Megatron systemd[1]: Started Verify integrity of password and group files.
feb 23 13:09:50 Megatron kernel: it87: Found IT8720F chip at 0x228, revision 5
feb 23 13:09:50 Megatron kernel: it87: Routing internal VCCH5V to in7
feb 23 13:09:50 Megatron kernel: it87: Beeping is supported
feb 23 13:09:50 Megatron systemd[1]: logrotate.service: Succeeded.
feb 23 13:09:50 Megatron systemd[1]: Started Rotate log files.
feb 23 13:09:50 Megatron audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=logrotate comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:50 Megatron audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=logrotate comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:50 Megatron avahi-daemon[627]: Successfully dropped root privileges.
feb 23 13:09:50 Megatron avahi-daemon[627]: avahi-daemon 0.8 starting up.
feb 23 13:09:50 Megatron avahi-daemon[627]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
feb 23 13:09:50 Megatron systemd[1]: Started Avahi mDNS/DNS-SD Stack.
feb 23 13:09:50 Megatron audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=avahi-daemon comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:50 Megatron avahi-daemon[627]: Successfully called chroot().
feb 23 13:09:50 Megatron avahi-daemon[627]: Successfully dropped remaining capabilities.
feb 23 13:09:50 Megatron avahi-daemon[643]: chroot.c: open() failed: No such file or directory
feb 23 13:09:50 Megatron avahi-daemon[627]: Failed to open /etc/resolv.conf: Invalid argument
feb 23 13:09:50 Megatron avahi-daemon[627]: No service file found in /etc/avahi/services.
feb 23 13:09:50 Megatron avahi-daemon[627]: Joining mDNS multicast group on interface lo.IPv4 with address 127.0.0.1.
feb 23 13:09:50 Megatron avahi-daemon[627]: New relevant interface lo.IPv4 for mDNS.
feb 23 13:09:50 Megatron avahi-daemon[627]: Network interface enumeration completed.
feb 23 13:09:50 Megatron avahi-daemon[627]: Registering new address record for 127.0.0.1 on lo.IPv4.
feb 23 13:09:50 Megatron systemd[1]: Started Initialize hardware monitoring sensors.
feb 23 13:09:50 Megatron audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lm_sensors comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:50 Megatron systemd[1]: Starting Log hardware monitoring data...
feb 23 13:09:50 Megatron NetworkManager[629]: <info>  [1582459790.3470] NetworkManager (version 1.22.8-1) is starting... (for the first time)
feb 23 13:09:50 Megatron NetworkManager[629]: <info>  [1582459790.3471] Read config: /etc/NetworkManager/NetworkManager.conf (lib: 20-connectivity.conf)
feb 23 13:09:50 Megatron systemd[1]: Started Network Manager.
feb 23 13:09:50 Megatron audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:50 Megatron NetworkManager[629]: <info>  [1582459790.3497] bus-manager: acquired D-Bus service "org.freedesktop.NetworkManager"
feb 23 13:09:50 Megatron systemd[1]: Reached target Network.
feb 23 13:09:50 Megatron systemd[1]: Started Logitech Media Server Daemon.
feb 23 13:09:50 Megatron audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=logitechmediaserver comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:50 Megatron systemd[1]: Starting CUPS Scheduler...
feb 23 13:09:50 Megatron systemd[1]: Started Plex Media Server.
feb 23 13:09:50 Megatron audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=plexmediaserver comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:50 Megatron systemd[1]: Starting Permit User Sessions...
feb 23 13:09:50 Megatron NetworkManager[629]: <info>  [1582459790.3579] manager[0x5631b6cbc0f0]: monitoring kernel firmware directory '/lib/firmware'.
feb 23 13:09:50 Megatron systemd[1]: Started Permit User Sessions.
feb 23 13:09:50 Megatron audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-user-sessions comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:50 Megatron systemd[1]: Starting Light Display Manager...
feb 23 13:09:50 Megatron NetworkManager[629]: <error> [1582459790.3710] session-monitor: failed to create systemd-logind monitor: -2
feb 23 13:09:50 Megatron dbus-daemon[628]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.3' (uid=0 pid=629 comm="/usr/bin/NetworkManager --no-daemon ")
feb 23 13:09:50 Megatron systemd[1]: Starting Hostname Service...
feb 23 13:09:50 Megatron systemd[1]: shadow.service: Succeeded.
feb 23 13:09:50 Megatron audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=shadow comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:50 Megatron dbus-daemon[628]: [system] Activating via systemd: service name='org.freedesktop.login1' unit='dbus-org.freedesktop.login1.service' requested by ':1.6' (uid=0 pid=653 comm="/usr/bin/lightdm ")
feb 23 13:09:50 Megatron systemd[1]: Starting Load kernel module drm...
feb 23 13:09:50 Megatron systemd[1]: modprobe@drm.service: Succeeded.
feb 23 13:09:50 Megatron systemd[1]: Started Load kernel module drm.
feb 23 13:09:50 Megatron audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=modprobe@drm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:50 Megatron audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=modprobe@drm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:50 Megatron sensord[661]: sensord started
feb 23 13:09:50 Megatron sensord[661]: Chip: k10temp-pci-00c3
feb 23 13:09:50 Megatron sensord[661]: Adapter: PCI adapter
feb 23 13:09:50 Megatron sensord[661]:   temp1: 25.5 C
feb 23 13:09:50 Megatron sensord[661]: Chip: it8720-isa-0228
feb 23 13:09:50 Megatron sensord[661]: Adapter: ISA adapter
feb 23 13:09:50 Megatron sensord[661]:   in0: +1.33 V (min = +0.00 V, max = +4.08 V)
feb 23 13:09:50 Megatron sensord[661]:   in1: +1.62 V (min = +0.00 V, max = +4.08 V)
feb 23 13:09:50 Megatron sensord[661]:   in2: +3.30 V (min = +0.00 V, max = +4.08 V)
feb 23 13:09:50 Megatron sensord[661]:   +5V: +2.98 V (min = +0.00 V, max = +4.08 V)
feb 23 13:09:50 Megatron sensord[661]:   in4: +3.14 V (min = +0.00 V, max = +4.08 V)
feb 23 13:09:50 Megatron sensord[661]:   in5: +2.74 V (min = +0.00 V, max = +4.08 V)
feb 23 13:09:50 Megatron sensord[661]:   in6: +4.08 V (min = +0.00 V, max = +4.08 V)
feb 23 13:09:50 Megatron sensord[661]:   5VSB: +2.94 V (min = +0.00 V, max = +4.08 V)
feb 23 13:09:50 Megatron sensord[661]:   Vbat: +3.17 V
feb 23 13:09:50 Megatron sensord[661]:   fan1: 554 RPM (min = 0 RPM)
feb 23 13:09:50 Megatron sensord[661]:   fan2: 0 RPM (min = 0 RPM)
feb 23 13:09:50 Megatron sensord[661]:   fan3: 0 RPM (min = 0 RPM)
feb 23 13:09:50 Megatron sensord[661]:   fan5: 0 RPM (min = 0 RPM)
feb 23 13:09:50 Megatron sensord[661]:   temp1: 25.0 C (min = 127.0 C, max = 127.0 C)
feb 23 13:09:50 Megatron sensord[661]:   temp2: 29.0 C (min = 127.0 C, max = 127.0 C)
feb 23 13:09:50 Megatron sensord[661]:   temp3: 24.0 C (min = 127.0 C, max = 127.0 C)
feb 23 13:09:50 Megatron sensord[661]:   cpu0_vid: +1.250 V
feb 23 13:09:50 Megatron systemd[1]: Started Log hardware monitoring data.
feb 23 13:09:50 Megatron audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sensord comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:50 Megatron dbus-daemon[628]: [system] Activating via systemd: service name='org.freedesktop.ColorManager' unit='colord.service' requested by ':1.7' (uid=0 pid=648 comm="/usr/bin/cupsd -l ")
feb 23 13:09:50 Megatron systemd[1]: Starting Manage, Install and Generate Color Profiles...
feb 23 13:09:50 Megatron dbus-daemon[628]: [system] Successfully activated service 'org.freedesktop.ColorManager'
feb 23 13:09:50 Megatron audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=colord comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:50 Megatron systemd[1]: Started Manage, Install and Generate Color Profiles.
feb 23 13:09:50 Megatron systemd-logind[633]: New seat seat0.
feb 23 13:09:50 Megatron systemd-logind[633]: Watching system buttons on /dev/input/event1 (Power Button)
feb 23 13:09:50 Megatron systemd-logind[633]: Watching system buttons on /dev/input/event0 (Power Button)
feb 23 13:09:50 Megatron systemd[1]: Started CUPS Scheduler.
feb 23 13:09:50 Megatron audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=org.cups.cupsd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:50 Megatron dbus-daemon[628]: [system] Successfully activated service 'org.freedesktop.hostname1'
feb 23 13:09:50 Megatron systemd[1]: Started Hostname Service.
feb 23 13:09:50 Megatron audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:50 Megatron NetworkManager[629]: <info>  [1582459790.9374] hostname: hostname: using hostnamed
feb 23 13:09:50 Megatron NetworkManager[629]: <info>  [1582459790.9375] hostname: hostname changed from (none) to "Megatron"
feb 23 13:09:50 Megatron NetworkManager[629]: <info>  [1582459790.9379] dns-mgr[0x5631b6c78240]: init: dns=default,systemd-resolved rc-manager=symlink
feb 23 13:09:50 Megatron NetworkManager[629]: <info>  [1582459790.9517] Loaded device plugin: NMOvsFactory (/usr/lib/NetworkManager/1.22.8-1/libnm-device-plugin-ovs.so)
feb 23 13:09:50 Megatron NetworkManager[629]: <info>  [1582459790.9534] Loaded device plugin: NMWifiFactory (/usr/lib/NetworkManager/1.22.8-1/libnm-device-plugin-wifi.so)
feb 23 13:09:50 Megatron NetworkManager[629]: <info>  [1582459790.9599] Loaded device plugin: NMWwanFactory (/usr/lib/NetworkManager/1.22.8-1/libnm-device-plugin-wwan.so)
feb 23 13:09:50 Megatron NetworkManager[629]: <info>  [1582459790.9645] Loaded device plugin: NMBluezManager (/usr/lib/NetworkManager/1.22.8-1/libnm-device-plugin-bluetooth.so)
feb 23 13:09:50 Megatron NetworkManager[629]: <info>  [1582459790.9652] Loaded device plugin: NMAtmManager (/usr/lib/NetworkManager/1.22.8-1/libnm-device-plugin-adsl.so)
feb 23 13:09:50 Megatron NetworkManager[629]: <info>  [1582459790.9773] Loaded device plugin: NMTeamFactory (/usr/lib/NetworkManager/1.22.8-1/libnm-device-plugin-team.so)
feb 23 13:09:50 Megatron NetworkManager[629]: <info>  [1582459790.9780] manager: rfkill: Wi-Fi enabled by radio killswitch; enabled by state file
feb 23 13:09:50 Megatron NetworkManager[629]: <info>  [1582459790.9782] manager: rfkill: WWAN enabled by radio killswitch; enabled by state file
feb 23 13:09:50 Megatron NetworkManager[629]: <info>  [1582459790.9784] manager: Networking is enabled by state file
feb 23 13:09:50 Megatron NetworkManager[629]: <info>  [1582459790.9793] dhcp-init: Using DHCP client 'internal'
feb 23 13:09:50 Megatron dbus-daemon[628]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.3' (uid=0 pid=629 comm="/usr/bin/NetworkManager --no-daemon ")
feb 23 13:09:50 Megatron NetworkManager[629]: <info>  [1582459790.9813] settings: Loaded settings plugin: keyfile (internal)
feb 23 13:09:50 Megatron systemd[1]: Starting Network Manager Script Dispatcher Service...
feb 23 13:09:50 Megatron slimserver.pl[647]: The following CPAN modules were found but cannot work with Logitech Media Server:
feb 23 13:09:50 Megatron slimserver.pl[647]:   Image::Scale (loaded 0.11, need 0.08)
feb 23 13:09:50 Megatron slimserver.pl[647]: To fix this problem you have several options:
feb 23 13:09:50 Megatron slimserver.pl[647]: 1. Install the latest version of the module(s) using CPAN: sudo cpan Some::Module
feb 23 13:09:50 Megatron slimserver.pl[647]: 2. Update the module's package using apt-get, yum, etc.
feb 23 13:09:50 Megatron slimserver.pl[647]: 3. Run the .tar.gz version of Logitech Media Server which includes all required CPAN modules.
feb 23 13:09:50 Megatron NetworkManager[629]: <info>  [1582459790.9873] device (lo): carrier: link connected
feb 23 13:09:50 Megatron NetworkManager[629]: <info>  [1582459790.9876] manager: (lo): new Generic device (/org/freedesktop/NetworkManager/Devices/1)
feb 23 13:09:50 Megatron NetworkManager[629]: <info>  [1582459790.9896] manager: (eth0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
feb 23 13:09:50 Megatron NetworkManager[629]: <info>  [1582459790.9907] device (eth0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
feb 23 13:09:50 Megatron systemd[1]: logitechmediaserver.service: Succeeded.
feb 23 13:09:50 Megatron audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=logitechmediaserver comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:50 Megatron kernel: Generic PHY r8169-400:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=r8169-400:00, irq=IGNORE)
feb 23 13:09:50 Megatron dbus-daemon[628]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
feb 23 13:09:50 Megatron audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:50 Megatron systemd[1]: Started Network Manager Script Dispatcher Service.
feb 23 13:09:51 Megatron kernel: ------------[ cut here ]------------
feb 23 13:09:51 Megatron kernel: read_page callback not available, PHY driver not loaded?
feb 23 13:09:51 Megatron kernel: WARNING: CPU: 1 PID: 629 at drivers/net/phy/phy-core.c:700 __phy_read_page+0x3f/0x50 [libphy]
feb 23 13:09:51 Megatron kernel: Modules linked in: it87 hwmon_vid nvidia_drm(POE) nvidia_modeset(POE) nvidia(POE) snd_hda_codec_hdmi snd_usb_audio joydev mousedev input_leds snd_usbmidi_lib snd_rawmidi snd_seq_device mc wmi_bmof drm_kms_helper edac_mce_amd kvm_amd snd_hda_codec_realtek ccp snd_hda_codec_generic ledtrig_audio rng_core snd_hda_intel kvm snd_intel_dspcfg snd_hda_codec drm irqbypass pcspkr k10temp snd_hda_core snd_hwdep snd_pcm agpgart ipmi_devintf snd_timer ipmi_msghandler sp5100_tco syscopyarea i2c_piix4 snd r8169 sysfillrect realtek sysimgblt fb_sys_fops libphy soundcore wmi evdev mac_hid acpi_cpufreq vboxnetflt(OE) vboxnetadp(OE) vboxdrv(OE) sg crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 hid_logitech_hidpp hid_logitech_dj hid_generic usbhid hid sr_mod sd_mod cdrom ohci_pci ata_generic pata_acpi firewire_ohci firewire_core crc_itu_t pata_atiixp ahci libahci pata_jmicron ehci_pci ehci_hcd ohci_hcd libata xhci_pci xhci_hcd scsi_mod floppy dm_mod raid1 md_mod
feb 23 13:09:51 Megatron kernel: CPU: 1 PID: 629 Comm: NetworkManager Tainted: P           OE     5.5.5-arch1-1 #1
feb 23 13:09:51 Megatron kernel: Hardware name: Gigabyte Technology Co., Ltd. GA-MA790XT-UD4P/GA-MA790XT-UD4P, BIOS F8 09/08/2011
feb 23 13:09:51 Megatron kernel: RIP: 0010:__phy_read_page+0x3f/0x50 [libphy]
feb 23 13:09:51 Megatron kernel: Code: c0 74 05 e9 33 d7 d5 ec 80 3d cd e3 00 00 00 74 06 b8 a1 ff ff ff c3 48 c7 c7 b0 a9 6a c0 c6 05 b7 e3 00 00 01 e8 13 e0 1e ec <0f> 0b eb e3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1f 44 00 00
feb 23 13:09:51 Megatron kernel: RSP: 0018:ffffa75980bb73b0 EFLAGS: 00010282
feb 23 13:09:51 Megatron kernel: RAX: 0000000000000000 RBX: 0000000000006662 RCX: 0000000000000000
feb 23 13:09:51 Megatron kernel: RDX: 0000000000000001 RSI: 0000000000000092 RDI: 00000000ffffffff
feb 23 13:09:51 Megatron kernel: RBP: ffff9089e97a9000 R08: 0000000000000462 R09: 0000000000000001
feb 23 13:09:51 Megatron kernel: R10: 0000000000000000 R11: 0000000000000001 R12: ffff9089e94328c0
feb 23 13:09:51 Megatron kernel: R13: 0000000000000002 R14: 0000000000000001 R15: 0000000000000000
feb 23 13:09:51 Megatron kernel: FS:  00007ff670598d80(0000) GS:ffff9089ebc40000(0000) knlGS:0000000000000000
feb 23 13:09:51 Megatron kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
feb 23 13:09:51 Megatron kernel: CR2: 00007fde2303a970 CR3: 0000000119bf0000 CR4: 00000000000006e0
feb 23 13:09:51 Megatron kernel: Call Trace:
feb 23 13:09:51 Megatron kernel:  phy_select_page+0x28/0x50 [libphy]
feb 23 13:09:51 Megatron kernel:  phy_write_paged+0x18/0x50 [libphy]
feb 23 13:09:51 Megatron kernel:  rtl8168d_1_hw_phy_config+0x1c8/0x1f0 [r8169]
feb 23 13:09:51 Megatron kernel:  rtl8169_init_phy+0x2c/0xb0 [r8169]
feb 23 13:09:51 Megatron kernel:  rtl_open+0x3b2/0x570 [r8169]
feb 23 13:09:51 Megatron kernel:  __dev_open+0xe0/0x170
feb 23 13:09:51 Megatron kernel:  __dev_change_flags+0x188/0x1e0
feb 23 13:09:51 Megatron kernel:  dev_change_flags+0x21/0x60
feb 23 13:09:51 Megatron kernel:  do_setlink+0x78a/0xf90
feb 23 13:09:51 Megatron kernel:  ? cpumask_next+0x16/0x20
feb 23 13:09:51 Megatron kernel:  ? __snmp6_fill_stats64.isra.0+0x66/0x110
feb 23 13:09:51 Megatron kernel:  __rtnl_newlink+0x5d1/0x9a0
feb 23 13:09:51 Megatron kernel:  rtnl_newlink+0x44/0x70
feb 23 13:09:51 Megatron kernel:  rtnetlink_rcv_msg+0x137/0x3c0
feb 23 13:09:51 Megatron kernel:  ? rtnl_calcit.isra.0+0x120/0x120
feb 23 13:09:51 Megatron kernel:  netlink_rcv_skb+0x75/0x140
feb 23 13:09:51 Megatron kernel:  netlink_unicast+0x199/0x240
feb 23 13:09:51 Megatron kernel:  netlink_sendmsg+0x243/0x480
feb 23 13:09:51 Megatron kernel:  sock_sendmsg+0x5e/0x60
feb 23 13:09:51 Megatron kernel:  ____sys_sendmsg+0x21b/0x290
feb 23 13:09:51 Megatron kernel:  ? copy_msghdr_from_user+0xe1/0x160
feb 23 13:09:51 Megatron kernel:  ___sys_sendmsg+0x9e/0xe0
feb 23 13:09:51 Megatron kernel:  ? addrconf_sysctl_forward+0x12b/0x270
feb 23 13:09:51 Megatron kernel:  __sys_sendmsg+0x81/0xd0
feb 23 13:09:51 Megatron kernel:  do_syscall_64+0x4e/0x150
feb 23 13:09:51 Megatron kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
feb 23 13:09:51 Megatron kernel: RIP: 0033:0x7ff6717848bd
feb 23 13:09:51 Megatron kernel: Code: 28 89 54 24 1c 48 89 74 24 10 89 7c 24 08 e8 0a 51 f8 ff 8b 54 24 1c 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 2f 44 89 c7 48 89 44 24 08 e8 3e 51 f8 ff 48
feb 23 13:09:51 Megatron kernel: RSP: 002b:00007ffe2b83d710 EFLAGS: 00000293 ORIG_RAX: 000000000000002e
feb 23 13:09:51 Megatron kernel: RAX: ffffffffffffffda RBX: 000000000000000c RCX: 00007ff6717848bd
feb 23 13:09:51 Megatron kernel: RDX: 0000000000000000 RSI: 00007ffe2b83d750 RDI: 000000000000000c
feb 23 13:09:51 Megatron kernel: RBP: 00005631b6c90070 R08: 0000000000000000 R09: 0000000000000000
feb 23 13:09:51 Megatron kernel: R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
feb 23 13:09:51 Megatron kernel: R13: 00007ffe2b83d8b0 R14: 00007ffe2b83d8ac R15: 0000000000000000
feb 23 13:09:51 Megatron kernel: ---[ end trace 667a9d576efe24ca ]---
feb 23 13:09:51 Megatron systemd-logind[633]: Watching system buttons on /dev/input/event5 (Logitech K520)
feb 23 13:09:51 Megatron kernel: r8169 0000:04:00.0 eth0: Link is Down
feb 23 13:09:51 Megatron NetworkManager[629]: <info>  [1582459791.1570] ovsdb: Could not connect: No such file or directory
feb 23 13:09:51 Megatron avahi-daemon[627]: Server startup complete. Host name is Megatron.local. Local service cookie is 1345738484.
feb 23 13:09:51 Megatron systemd-logind[633]: Failed to read /var/run/utmp, ignoring: No such file or directory
feb 23 13:09:51 Megatron dbus-daemon[628]: [system] Successfully activated service 'org.freedesktop.login1'
feb 23 13:09:51 Megatron systemd[1]: Started Login Service.
feb 23 13:09:51 Megatron audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-logind comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:51 Megatron systemd[1]: Reached target Multi-User System.
feb 23 13:09:51 Megatron systemd[1]: Started Light Display Manager.
feb 23 13:09:51 Megatron systemd[1]: Reached target Graphical Interface.
feb 23 13:09:51 Megatron audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:51 Megatron dbus-daemon[628]: [system] Activating via systemd: service name='org.freedesktop.Accounts' unit='accounts-daemon.service' requested by ':1.6' (uid=0 pid=653 comm="/usr/bin/lightdm ")
feb 23 13:09:51 Megatron systemd[1]: Reached target User and Group Name Lookups.
feb 23 13:09:51 Megatron systemd[1]: Starting Accounts Service...
feb 23 13:09:51 Megatron dbus-daemon[628]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkit.service' requested by ':1.18' (uid=0 pid=690 comm="/usr/lib/accounts-daemon ")
feb 23 13:09:51 Megatron systemd[1]: Starting Authorization Manager...
feb 23 13:09:51 Megatron polkitd[694]: Started polkitd version 0.116
feb 23 13:09:51 Megatron polkitd[694]: Loading rules from directory /etc/polkit-1/rules.d
feb 23 13:09:51 Megatron polkitd[694]: Loading rules from directory /usr/share/polkit-1/rules.d
feb 23 13:09:51 Megatron polkitd[694]: Finished loading, compiling and executing 5 rules
feb 23 13:09:51 Megatron dbus-daemon[628]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
feb 23 13:09:51 Megatron systemd[1]: Started Authorization Manager.
feb 23 13:09:51 Megatron audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=polkit comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
feb 23 13:09:51 Megatron polkitd[694]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
feb 23 13:09:51 Megatron accounts-daemon[690]: started daemon version 0.6.55
feb 23 13:09:51 Megatron dbus-daemon[628]: [system] Successfully activated service 'org.freedesktop.Accounts'
feb 23 13:09:51 Megatron systemd[1]: Started Accounts Service.

enabled systemd services :

UNIT FILE                                   STATE  
org.cups.cupsd.path                         enabled
autovt@.service                             enabled
avahi-daemon.service                        enabled
bluetooth.service                           enabled
dbus-org.bluez.service                      enabled
dbus-org.freedesktop.Avahi.service          enabled
dbus-org.freedesktop.NetworkManager.service enabled
dbus-org.freedesktop.nm-dispatcher.service  enabled
display-manager.service                     enabled
getty@.service                              enabled
haveged.service                             enabled
lightdm.service                             enabled
lm_sensors.service                          enabled
logitechmediaserver.service                 enabled
NetworkManager-dispatcher.service           enabled
NetworkManager.service                      enabled
org.cups.cupsd.service                      enabled
plexmediaserver.service                     enabled
sensord.service                             enabled
avahi-daemon.socket                         enabled
org.cups.cupsd.socket                       enabled
pcscd.socket                                enabled
remote-fs.target                            enabled

Win XP -> Ubuntu -> Fedora -> Arch -> Arch -> Arch -> Ar...

Offline

#8 2020-02-23 15:42:47

seth
Member
Registered: 2012-09-03
Posts: 14,811

Online

#9 2020-02-23 18:17:15

Fixxer
Member
From: Sosnowiec/Poland
Registered: 2011-08-29
Posts: 161
Website

Re: [SOLVED] NO wired network since kernel 5.5+ : r8169 / PHY driver dumps

Strider
Look also here:
https://wiki.archlinux.org/index.php/Ne … /8168/8411 .

Maybe it doesn't matter, but I also have this miracle R8168 (another revision - 06) gigabit ethernet, which works OK with current 5.5.5 kernel. Some time ago I had to enable IOMMU option in BIOS settings, etc. Some kernels "ago" there was problems with frequent breaking and renewing connection.


marcin82

Offline

#10 2020-02-23 20:39:09

Strider
Member
From: Belgium
Registered: 2009-08-04
Posts: 96

Re: [SOLVED] NO wired network since kernel 5.5+ : r8169 / PHY driver dumps

@Fixxer : thanks for the tip but although very similar I have another motherboard from Gigabyte. I cannot disable IOMMU in my bios neither ...

@seth : thanks ! This finally did the trick ! I had to do a cold reboot for it to work though. What's even better : it solved another problem I had with my NIC. With the r8169 my link speed was 100 Mb/s after boot (link set to auto-negotiation). I always had to increase it after to 1 Gbit/s (by simply bringing the ip link down and up again). For some reason this problem is now solved too and with the r8168 my card is now correctly initialized at 1 Gbit/s.


Win XP -> Ubuntu -> Fedora -> Arch -> Arch -> Arch -> Ar...

Offline

#11 2020-03-02 21:52:56

hkall
Member
Registered: 2019-11-11
Posts: 5

Re: [SOLVED] NO wired network since kernel 5.5+ : r8169 / PHY driver dumps

Strider wrote:

Just upgraded to 5.5.4 again and ran lsmod | grep realtek.
Here is the output where you see realtek.ko is clearly loaded.
5.4.15 gives the same output by the way. So I do not think this is the problem but I can be mistaken off course (being a kernel noob).

snd_hda_codec_realtek   126976  1
snd_hda_codec_generic    94208  1 snd_hda_codec_realtek
ledtrig_audio          16384  2 snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_codec         163840  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core          106496  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd                   114688  22 snd_hda_codec_generic,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
realtek                20480  0
libphy                114688  3 r8169,realtek

There's a misunderstanding. You have an early boot phase (where initramfs is loaded), and later the remaining modules are loaded from rootfs.
Your module list is from after the second phase. But if r8169.ko is in initramfs and realtek.ko is not then the PHY driver isn't available when the network driver is loaded.

Offline

Board footer

Powered by FluxBB