Hi, all. After I upgraded the system and rebooted, the secondary ethernet port(i.e. the LAN port) is gone.
The system info: https://paste.armbian.com/ekotoqigos
nanopi-r4s:~:% ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 68:27:19:ad:02:09 brd ff:ff:ff:ff:ff:ff
inet 192.168.100.180/24 brd 192.168.100.255 scope global dynamic noprefixroute eth0
valid_lft 85963sec preferred_lft 85963sec
inet6 fe80::ca55:3549:7a23:57fa/64 scope link noprefixroute
valid_lft forever preferred_lft forever
nanopi-r4s:~:% sudo dmesg | grep -i pcie
[ 2.211030] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
[ 2.211102] rockchip-pcie f8000000.pcie: MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
[ 2.211138] rockchip-pcie f8000000.pcie: IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
[ 2.212106] rockchip-pcie f8000000.pcie: no bus scan delay, default to 0 ms
[ 2.212182] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[ 2.713110] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[ 2.713187] rockchip-pcie: probe of f8000000.pcie failed with error -110
nanopi-r4s:~:% uname -a
Linux nanopi-r4s 6.1.50-current-rockchip64 #3 SMP PREEMPT Wed Aug 30 14:11:13 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
nanopi-r4s:~:% cat /etc/os-release
PRETTY_NAME="Armbian 23.8.1 jammy"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.armbian.com"
SUPPORT_URL="https://forum.armbian.com"
BUG_REPORT_URL="https://www.armbian.com/bugs"
PRIVACY_POLICY_URL="https://www.armbian.com"
UBUNTU_CODENAME=jammy
ARMBIAN_PRETTY_NAME="Armbian 23.8.1 jammy"
I've checked the following post, and this bug should already be fixed, I don't know why it reappeared.
The kernel message is old message: `PCIe link training gen1 timeout!`.
I expect the new message should be something like: `PCIe link training gen1 timeout with x%d!\n`.
It seems that the `drivers/pci/controller/pcie-rockchip-host.c` patch is not included in the latest nanopi r4s jammy 6.1 kernel?
https://github.com/armbian/build/pull/4308/files
NanoPi R4s, enp1s0 ethernet device not showed up after reboot