Lan Problem: transfer pc<->nas, one direction faulty

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
tobbegraf
Posts: 2
Joined: 2023-01-12 20:49

Lan Problem: transfer pc<->nas, one direction faulty

#1 Post by tobbegraf »

Hello,

i have a problem with my debian nas (Lenovo PC). It runs with debian stable and is connected with per 1gbit lan with a switch just like my desktop pc. For fatser transfers, i installed a 2.5gbit pcie card in the nas and the pc for a direct connection. After problems withe the driver (realtek r8125) the faster lan works for downloads from the nas but uploads to the nas will freeze the desktop pc (windows and linux).

After many tries with nfs and smb, cable testing etc. i have uninstalled the new 2.5gbit card, but now the old 1gbit shows the same error, no upload possible. As short test i use iperf. A test from the nas to any pc in the network with dual (-d) testing will never finish and freeze.

Even on a new, fresh install of debian, the old card shows the same error.

I tested grml live boot and ubuntu server and both run iperv in dual without problems from the nas.

Here a few infos:

Code: Select all

# 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
neue 2.5 Gbit 2: enp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 88:c9:b3:b5:01:d4 brd ff:ff:ff:ff:ff:ff
alte 1GBit 3: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether fc:4d:d4:f5:4d:03 brd ff:ff:ff:ff:ff:ff
    altname enp0s25
    inet 192.168.178.11/24 brd 192.168.178.255 scope global dynamic eno1
       valid_lft 861563sec preferred_lft 861563sec
    inet6 fd00::fe4d:d4ff:fef5:4d03/64 scope global dynamic mngtmpaddr 
       valid_lft 6826sec preferred_lft 3226sec
    inet6 2001:9e8:a1dc:b000:fe4d:d4ff:fef5:4d03/64 scope global dynamic mngtmpaddr 
       valid_lft 6826sec preferred_lft 3226sec
    inet6 fe80::fe4d:d4ff:fef5:4d03/64 scope link 
       valid_lft forever preferred_lft forever

Code: Select all

ip route
default via 192.168.178.1 dev eno1 
192.168.178.0/24 dev eno1 proto kernel scope link src 192.168.178.11 

Code: Select all

ethtool eno1
Settings for eno1:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        MDI-X: on (auto)
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes

Code: Select all

# lspci -k
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
        Subsystem: Lenovo 4th Gen Core Processor DRAM Controller
        Kernel driver in use: hsw_uncore
00:02.0 VGA compatible controller: Intel Corporation 4th Generation Core Processor Family Integrated Graphics Controller (rev 06)
        DeviceName:  Onboard IGD
        Subsystem: Lenovo 4th Generation Core Processor Family Integrated Graphics Controller
        Kernel driver in use: i915
        Kernel modules: i915
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
        Subsystem: Lenovo Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
        Subsystem: Lenovo 8 Series/C220 Series Chipset Family USB xHCI
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
        Subsystem: Lenovo 8 Series/C220 Series Chipset Family MEI Controller
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-LM (rev 05)
        DeviceName:  Onboard LAN
        Subsystem: Lenovo Ethernet Connection I217-LM
        Kernel driver in use: e1000e
        Kernel modules: e1000e
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
        Subsystem: Lenovo 8 Series/C220 Series Chipset Family USB EHCI
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
        Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 (rev d5)
        Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
        Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
        Subsystem: Lenovo 8 Series/C220 Series Chipset Family USB EHCI
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci
00:1f.0 ISA bridge: Intel Corporation Q87 Express LPC Controller (rev 05)
        Subsystem: Lenovo Q87 Express LPC Controller
        Kernel driver in use: lpc_ich
        Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
        Subsystem: Lenovo 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode]
        Kernel driver in use: ahci
        Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
        Subsystem: Lenovo 8 Series/C220 Series Chipset Family SMBus Controller
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
02:00.0 Ethernet controller: Intel Corporation Ethernet Controller I225-V (rev 03)
        Subsystem: Intel Corporation Ethernet Controller I225-V
        Kernel driver in use: igc
        Kernel modules: igc
03:00.0 PCI bridge: Integrated Technology Express, Inc. IT8893E PCIe to PCI Bridge (rev 41)
card with e1000 is the old 1gbit card
card with igc is a new 2.5gbit card with intel chip.

it makes no difference if the new card is installed or not.

Thanks for any help
tobias

Aki
Global Moderator
Global Moderator
Posts: 3890
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 107 times
Been thanked: 513 times

Re: Lan Problem: transfer pc<->nas, one direction faulty

#2 Post by Aki »

Hello,

Your computer has two network cards, the first directly wired to a NAS, the second connected to a network switch: have I correctly understood your configuration ?

Your output of the ip command shows both network cards (eno1, enp2s0) are recognized by kernel, but only one (eno1) is configured by the operating system.

Which program do you use to configure each of the two network cards ?

Can you verify / send the output of the following commands:

Code: Select all

script log.txt
cat /etc/network/interfaces
nmcli general status
nmcli device status
exit
Their output will be in the log.txt file.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

tobbegraf
Posts: 2
Joined: 2023-01-12 20:49

Re: Lan Problem: transfer pc<->nas, one direction faulty

#3 Post by tobbegraf »

Hello,

Sorry for the late answer!

I had no luck to get the two cards working in debian, even on a fresh installation. Still the hangups during transfer. I used the ip command to setup the addresses for testing and the files in /etc for the permanent settings.

In my desperation i installed Rocky Linux on the NAS (same PC, same switch, same cables) to get access to my data. There the Transfers works out of the box.

i will retry with debian, when i have more time or with the next major version.

thanks for your help!
tobias

Post Reply