View previous topic :: View next topic |
Author |
Message |
lekto Apprentice
Joined: 20 Sep 2014 Posts: 213 Location: Ancient Rome
|
Posted: Sun Mar 26, 2023 10:02 am Post subject: RTL8125 (2.5Gbps) not detected in AM1H-ITX. |
|
|
Hi, I need more throughput between my PC and NAS, so I bought two 2.5Gbps PCIe x1 cards to make direct connection between them. First one I put into my PC and it was detected without problem:
Code: | $ lspci | grep -i net
05:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
0c:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05) |
Second one I put into NAS, but it was not detected. First thought was to check if card is working, so I put it into my PC and both card were detected. Next I put some old dual 1Gbps card into NAS to check if PCIe is working and to my surprise it was detected. Just to be sure, I also check if this card can work in PCIe x16 and it can.
So, now I have working PCIe card that don't want to work in working PCIe slot and zero ideas how to debug it.
PS. I just realized that card is PCIe 2.1, but my NAS has only PCIe 2.0, but from what I found it should still works. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54681 Location: 56N 3W
|
Posted: Sun Mar 26, 2023 11:26 am Post subject: |
|
|
lekto,
Tell us more about the NAS and why you think a RTL8125 2.5GbE Controller should work there.
The PCIe version is not a problem. Old standards and new standards can be mixed.
The two ends of the link will negotiate a standard.
Exactly what does "detected" mean?
It appears in lspci and works.
It appears in lspci but does not work.
It does not even appear in lspci? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
lekto Apprentice
Joined: 20 Sep 2014 Posts: 213 Location: Ancient Rome
|
Posted: Sun Mar 26, 2023 12:04 pm Post subject: |
|
|
NeddySeagoon wrote: | Tell us more about the NAS and why you think a RTL8125 2.5GbE Controller should work there. |
NAS is just mini-ITX PC (AM1H-ITX, Athlon 5350, 8GB of RAM, 3 SSDs and 1 HDD) with Gentoo.
According to my benchmarks HDD in my NAS works with about 180MB/s and SSDs nearly 600MB/s, and since motherboard has only 1Gbps Ethernet I'm only getting fraction of performance.
NeddySeagoon wrote: | Exactly what does "detected" mean? |
It is not appearing in lspci and also, I can't find any references to it in dmesg:
Code: | $ lspci | grep -i net
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 11)
$ dmesg | grep -i "realtek\|rtl\|nic\|network\|2\.5"
[ 1.004749] r8169 0000:02:00.0 eth0: RTL8168g/8111g, 70:85:c2:05:59:3d, XID 4c0, IRQ 34
[ 1.282537] netconsole: network logging started
[ 32.641792] systemd[1]: Listening on systemd-networkd.socket.
[ 32.730953] systemd[1]: Starting systemd-network-generator.service...
[ 32.746492] systemd[1]: Finished systemd-network-generator.service.
[ 32.746925] systemd[1]: Reached target network-pre.target.
[ 36.917658] Loading firmware: rtl_nic/rtl8168g-2.fw
[ 36.917988] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC892: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
[ 36.917999] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 36.918005] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[ 36.918011] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 36.918015] snd_hda_codec_realtek hdaudioC0D0: dig-out=0x1e/0x0
[ 36.918019] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 36.918023] snd_hda_codec_realtek hdaudioC0D0: Front Mic=0x19
[ 36.918029] snd_hda_codec_realtek hdaudioC0D0: Rear Mic=0x18
[ 36.918033] snd_hda_codec_realtek hdaudioC0D0: Line=0x1a
[ 36.964496] Generic FE-GE Realtek PHY r8169-0-200:00: attached PHY driver (mii_bus:phy_addr=r8169-0-200:00, irq=MAC) |
RTL8111 is integrated 1Gbps Ethernet. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54681 Location: 56N 3W
|
Posted: Sun Mar 26, 2023 1:03 pm Post subject: |
|
|
lekto,
Not appearing in lspci means that that the system cannot read the PCI ID registers.
No drivers are required for that.
Does dmidecode show that the slot is in use? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
lekto Apprentice
Joined: 20 Sep 2014 Posts: 213 Location: Ancient Rome
|
Posted: Sun Mar 26, 2023 1:24 pm Post subject: |
|
|
With card unplugged:
Code: | # dmidecode -t slot
# dmidecode 3.4
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.
Handle 0x0004, DMI type 9, 17 bytes
System Slot Information
Designation: PCIE1
Type: x4 PCI Express
Current Usage: Available
Length: Long
ID: 17
Characteristics:
3.3 V is provided
Opening is shared
PME signal is supported
Handle 0x0005, DMI type 9, 17 bytes
System Slot Information
Designation: PCIE2
Type: x1 PCI Express
Current Usage: Available
Length: Long
ID: 18
Characteristics:
3.3 V is provided
Opening is shared
PME signal is supported |
With card plugged:
Code: | # dmidecode -t slot
# dmidecode 3.4
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.
Handle 0x0004, DMI type 9, 17 bytes
System Slot Information
Designation: PCIE1
Type: x4 PCI Express
Current Usage: In Use
Length: Long
ID: 17
Characteristics:
3.3 V is provided
Opening is shared
PME signal is supported
Bus Address: ffff:01:1f.7
Handle 0x0005, DMI type 9, 17 bytes
System Slot Information
Designation: PCIE2
Type: x1 PCI Express
Current Usage: Available
Length: Long
ID: 18
Characteristics:
3.3 V is provided
Opening is shared
PME signal is supported |
… and now, after more than 5 plugging/unplugging, card is somehow detected, I wonder for how long.
@EDIT
Worked until reboot.
Now, with card plugged:
Code: | # dmidecode -t slot
# dmidecode 3.4
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.
Handle 0x0004, DMI type 9, 17 bytes
System Slot Information
Designation: PCIE1
Type: x4 PCI Express
Current Usage: Available
Length: Long
ID: 17
Characteristics:
3.3 V is provided
Opening is shared
PME signal is supported
Handle 0x0005, DMI type 9, 17 bytes
System Slot Information
Designation: PCIE2
Type: x1 PCI Express
Current Usage: Available
Length: Long
ID: 18
Characteristics:
3.3 V is provided
Opening is shared
PME signal is supported |
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54681 Location: 56N 3W
|
Posted: Sun Mar 26, 2023 1:38 pm Post subject: |
|
|
lekto,
Code: | Bus Address: ffff:01:1f.7 |
What does dmidecode say for all the other devices on the PCIe bus?
That ffff in the bus address may be a hint that the kernel needs some encouragement to scan all PCIe busses. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
lekto Apprentice
Joined: 20 Sep 2014 Posts: 213 Location: Ancient Rome
|
Posted: Sun Mar 26, 2023 1:46 pm Post subject: |
|
|
There are no other devices, this motherboard has only one PCIe x16 slot (mechanically, electrically its x4) and one mini-PCIe for WiFi, which is empty. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54681 Location: 56N 3W
|
Posted: Sun Mar 26, 2023 5:33 pm Post subject: |
|
|
lekto,
Share the output from the NAS please.
It would be good if the 2.5C card was there but if not, no matter. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
lekto Apprentice
Joined: 20 Sep 2014 Posts: 213 Location: Ancient Rome
|
Posted: Sun Mar 26, 2023 5:47 pm Post subject: |
|
|
Code: | $ lspci -nnk
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Root Complex [1022:1536]
Subsystem: ASRock Incorporation QC5000-ITX/PH [1849:1536]
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Kabini [Radeon HD 8400 / R3 Series] [1002:9830]
Subsystem: ASRock Incorporation Kabini [Radeon HD 8400 / R3 Series] [1849:9830]
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 0 [1022:1538]
00:02.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1 [1022:1439]
Subsystem: ASRock Incorporation Family 16h Processor Functions 5:1 [1849:1439]
Kernel driver in use: pcieport
00:02.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1 [1022:1439]
Subsystem: ASRock Incorporation Family 16h Processor Functions 5:1 [1849:1439]
Kernel driver in use: pcieport
00:02.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1 [1022:1439]
Subsystem: ASRock Incorporation Family 16h Processor Functions 5:1 [1849:1439]
Kernel driver in use: pcieport
00:10.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller [1022:7814] (rev 01)
Subsystem: ASRock Incorporation QC5000-ITX/PH [1849:7814]
Kernel driver in use: xhci_hcd
00:11.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7801] (rev 40)
Subsystem: ASRock Incorporation QC5000-ITX/PH [1849:7801]
Kernel driver in use: ahci
00:12.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller [1022:7807] (rev 39)
Subsystem: ASRock Incorporation QC5000-ITX/PH [1849:7807]
Kernel driver in use: ohci-pci
00:12.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller [1022:7808] (rev 39)
Subsystem: ASRock Incorporation QC5000-ITX/PH [1849:7808]
Kernel driver in use: ehci-pci
00:13.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller [1022:7807] (rev 39)
Subsystem: ASRock Incorporation QC5000-ITX/PH [1849:7807]
Kernel driver in use: ohci-pci
00:13.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller [1022:7808] (rev 39)
Subsystem: ASRock Incorporation QC5000-ITX/PH [1849:7808]
Kernel driver in use: ehci-pci
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:780b] (rev 3a)
Subsystem: ASRock Incorporation QC5000-ITX/PH [1849:780b]
Kernel driver in use: piix4_smbus
00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller [1022:780d] (rev 02)
Subsystem: ASRock Incorporation QC5000-ITX/PH [1849:8892]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:780e] (rev 11)
Subsystem: ASRock Incorporation QC5000-ITX/PH [1849:780e]
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 0 [1022:1530]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 1 [1022:1531]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 2 [1022:1532]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 3 [1022:1533]
Kernel driver in use: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 4 [1022:1534]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Function 5 [1022:1535]
01:00.0 SATA controller [0106]: ASMedia Technology Inc. ASM1062 Serial ATA Controller [1b21:0612] (rev 02)
Subsystem: ASRock Incorporation Motherboard [1849:0612]
Kernel driver in use: ahci
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 11)
Subsystem: ASRock Incorporation Motherboard (one of many) [1849:8168]
Kernel driver in use: r8169
03:00.0 USB controller [0c03]: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller [1b21:1142]
Subsystem: ASRock Incorporation ASM1042A USB 3.0 Host Controller [1849:1142]
Kernel driver in use: xhci_hcd |
I don't know if this is important, but I looked into journald from that one time where it was detected and bus addresses where different:
01:00.0 RTL8125
02:00.0 SATA
03:00.0 RTL8111
04:00.0 USB |
|
Back to top |
|
|
lekto Apprentice
Joined: 20 Sep 2014 Posts: 213 Location: Ancient Rome
|
Posted: Tue Apr 04, 2023 3:41 pm Post subject: |
|
|
I contacted ASRock support, and we came to conclusion that probably motherboard is faulty. I got BIOS that allowed me to forced PCIe generation, NIC was detected for few times in row, then disappeared. I confirmed that card and slot are still working. Now, I could replace motherboard, but I can find used only with included CPU and RAM for more than I’m willing to pay just for knowing. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|