You are not logged in.
Hi!.
I have bought a "generic" minipc and I have problems with the Ethernet connection.
The lspci -v is
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
Subsystem: Realtek Semiconductor Co., Ltd. Device 0123
!!! Unknown header type 7f
I/O ports at 4000 [size=256]
Memory at 80504000 (64-bit, non-prefetchable) [size=4K]
Memory at 80500000 (64-bit, non-prefetchable) [size=16K]
Kernel driver in use: r8168
Kernel modules: r8169, r8168
dmesg |grep r8168 output
[ 3.305908] r8168: loading out-of-tree module taints kernel.
[ 3.333367] r8168: module verification failed: signature and/or required key missing - tainting kernel
[ 3.343867] r8168 Gigabit Ethernet driver 8.051.02-NAPI loaded
[ 3.390656] r8168: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.
[ 3.392671] r8168 Copyright (C) 2022 Realtek NIC software team <nicfae@realtek.com>
[ 3.846311] r8168 0000:01:00.0 enp1s0: renamed from eth0
[ 6.158301] r8168: enp1s0: link up
dmesg |grep enp1s0 output
3.846311] r8168 0000:01:00.0 enp1s0: renamed from eth0
[ 3.892359] enp1s0: 0xffffb45d4020d000, 68:1d:ef:30:eb:c5, IRQ 127
[ 6.158301] r8168: enp1s0: link up
[ 6.158344] enp1s0: cmd = 0xff, should be 0x07
[ 6.158347] enp1s0: pci link is down
[ 8.251043] enp1s0: cmd = 0xff, should be 0x07
[ 8.251064] enp1s0: pci link is down
[ 10.384454] enp1s0: cmd = 0xff, should be 0x07
[ 10.384520] enp1s0: pci link is down
[ 12.517763] enp1s0: cmd = 0xff, should be 0x07
[ 12.517838] enp1s0: pci link is down
[ 14.651101] enp1s0: cmd = 0xff, should be 0x07
[ 14.651178] enp1s0: pci link is down
[ 16.784426] enp1s0: cmd = 0xff, should be 0x07
[ 16.784505] enp1s0: pci link is down
[ 18.917760] enp1s0: cmd = 0xff, should be 0x07
[ 18.917832] enp1s0: pci link is down
[ 21.051110] enp1s0: cmd = 0xff, should be 0x07
[ 21.051173] enp1s0: pci link is down
[ 23.184424] enp1s0: cmd = 0xff, should be 0x07
A ip a output
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 68:1d:ef:30:eb:c5 brd ff:ff:ff:ff:ff:ff
Any help is appreciated.
Edit:
If I manually assign the IP address, in dmesg I get the following:
[ 69.479086] r8168 0000:01:00.0: AER: can't recover (no error_detected callback)
[ 69.479099] pcieport 0000:00:1c.0: AER: device recovery failed
[ 69.479101] pcieport 0000:00:1c.0: AER: Uncorrected (Non-Fatal) error received: 0000:00:1c.0
[ 69.479111] pcieport 0000:00:1c.0: PCIe Bus Error: severity=Uncorrected (Non-Fatal), type=Transaction Layer, (Requester ID)
[ 69.479732] pcieport 0000:00:1c.0: device [8086:54be] error status/mask=00100000/00000000
[ 69.480294] pcieport 0000:00:1c.0: [20] UnsupReq (First)
[ 69.480834] pcieport 0000:00:1c.0: AER: TLP Header: 34000000 01000010 00000000 90039003
[ 69.481377] r8168 0000:01:00.0: AER: can't recover (no error_detected callback)
[ 69.481382] pcieport 0000:00:1c.0: AER: device recovery failed
[ 70.233825] pcieport 0000:00:1c.0: AER: Uncorrected (Non-Fatal) error received: 0000:00:1c.0
[ 70.233860] pcieport 0000:00:1c.0: PCIe Bus Error: severity=Uncorrected (Non-Fatal), type=Transaction Layer, (Requester ID)
[ 70.235518] pcieport 0000:00:1c.0: device [8086:54be] error status/mask=00100000/00000000
[ 70.237140] pcieport 0000:00:1c.0: [20] UnsupReq (First)
[ 70.238666] pcieport 0000:00:1c.0: AER: TLP Header: 34000000 01000010 00000000 90039003
[ 70.239277] r8168 0000:01:00.0: AER: can't recover (no error_detected callback)
[ 70.239289] pcieport 0000:00:1c.0: AER: device recovery failed
[ 70.239290] pcieport 0000:00:1c.0: AER: Uncorrected (Non-Fatal) error received: 0000:00:1c.0
[ 70.239300] pcieport 0000:00:1c.0: PCIe Bus Error: severity=Uncorrected (Non-Fatal), type=Transaction Layer, (Requester ID)
[ 70.239896] pcieport 0000:00:1c.0: device [8086:54be] error status/mask=00100000/00000000
[ 70.240514] pcieport 0000:00:1c.0: [20] UnsupReq (First)
[ 70.241074] pcieport 0000:00:1c.0: AER: TLP Header: 34000000 01000010 00000000 90039003
[ 70.241616] r8168 0000:01:00.0: AER: can't recover (no error_detected callback)
[ 70.241620] pcieport 0000:00:1c.0: AER: device recovery failed
[ 71.272396] pcieport 0000:00:1c.0: AER: Uncorrected (Non-Fatal) error received: 0000:00:1c.0
[ 71.272427] pcieport 0000:00:1c.0: PCIe Bus Error: severity=Uncorrected (Non-Fatal), type=Transaction Layer, (Requester ID)
[ 71.273023] pcieport 0000:00:1c.0: device [8086:54be] error status/mask=00100000/00000000
[ 71.273638] pcieport 0000:00:1c.0: [20] UnsupReq (First)
[ 71.274177] pcieport 0000:00:1c.0: AER: TLP Header: 34000000 01000010 00000000 90039003
[ 71.293951] pci 0000:01:00.0: AER: can't recover (no error_detected callback)
[ 71.293989] pcieport 0000:00:1c.0: AER: device recovery failed
Last edited by frutomix (2023-04-30 14:41:05)
Offline
hi , I had the same problem and after a lot lot reading about that network card and a lot of try/fail/reboots/ and again and again works for me... there a lot of differents version of same card, so many different problems, solutions, the easy way :-( ... my mini-pc is Nipogi with intel N95 processeur and adding this parameters to my Kernel and finally my network works!!!
r8168.aspm=0 r8168.eee_enable=0 pcie_aspm=off loglevel=3
in my case i installed the r8168-dkms version, and Blocklist the r8169 driver, probably is not necessary but at that moment I've tried with mainline kernel too, and I leave like that.
now I have a nice small server with some dockers containers :-)
good luck
Last edited by desaparecido (2023-04-30 11:45:19)
KF5 & Plasma5 (git versions) - Awesome WM
ASUS Sabertooth 990FX - AMD FX8350 - ATI Radeon HD 7970
[testing] repo
Offline
Thank you.
It's work. I have same device :-)
Offline