XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Upgrading to 2.5GB NICs and Troubleshooting Driver Issues on XCP-ng

    Scheduled Pinned Locked Moved XCP-ng
    6 Posts 2 Posters 915 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      aghering
      last edited by

      Hi there,

      I have XCP-ng running for a homelab setup, and I am upgrading my NICs because I am moving to a faster ISP with speeds over 1 GB/s. I bought Intel and Realtek network cards, both 2.5 GB/s, in case one of them would give some compatibility issues, features, or other reasons.

      NICs:

      • TP-Link TX201 (Realtek RTL8125)
      • Intel I225-V

      XCP-NG Host Information:

      [11:23 SERVERNAME ~]# xe host-param-get param-name=software-version uuid=$(xe host-list --minimal)
      product_version: 8.1.0; product_version_text: 8.1; product_version_text_short: 8.1; platform_name: XCP; platform_version: 3.1.0; product_brand: XCP-ng; build_number: release/quebec/master/17; hostname: localhost; date: 2020-06-02; dbv: 0.0.1; xapi: 1.20; xen: 4.13.0-8.12.2; linux: 4.19.0+1; xencenter_min: 2.14; xencenter_max: 2.14; network_backend: openvswitch; db_schema: 5.504
      
      [12:30 SERVERNAME ~]# lspci
      00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Root Complex
      00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
      00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge
      00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge
      00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
      00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
      00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
      00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
      00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B
      00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
      00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B
      00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 59)
      00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
      00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 0
      00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 1
      00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 2
      00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 3
      00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 4
      00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 5
      00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 6
      00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7
      01:00.0 Non-Volatile memory controller: Kingston Technology Company, Inc. Device 2263 (rev 03)
      02:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset USB 3.1 XHCI Controller (rev 01)
      02:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset SATA Controller (rev 01)
      02:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Bridge (rev 01)
      03:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
      03:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
      03:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
      03:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
      03:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
      03:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
      05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Device 8125 (rev 04)
      06:00.0 Ethernet controller: Intel Corporation Device 15f3 (rev 03)
      08:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02)
      09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
      0a:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function
      0a:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Platform Security Processor
      0a:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] USB 3.0 Host controller
      0b:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Renoir PCIe Dummy Function
      0b:00.2 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
      0b:00.3 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller
      

      Running XCP-ng version 8.1.0, I followed the post "https://xcp-ng.org/forum/topic/7199/drivers-for-recent-homelab-nics-in-xcp-ng-8-2" and was able to download the "r8125-module" and the drivers are working fine. However, when downloading the "igc-module", I get an error saying the package cannot be found.

      [11:23 SERVERNAME ~]# yum install r8125-module --enablerepo=xcp-ng-testing
      Loaded plugins: fastestmirror
      Loading mirror speeds from cached hostfile
      Excluding mirror: updates.xcp-ng.org
       * xcp-ng-base: mirrors.xcp-ng.org
      Excluding mirror: updates.xcp-ng.org
       * xcp-ng-testing: mirrors.xcp-ng.org
      Excluding mirror: updates.xcp-ng.org
       * xcp-ng-updates: mirrors.xcp-ng.org
      Package r8125-module-9.003.05-1.xcpng8.1.x86_64 already installed and latest version
      Nothing to do
      
      [11:25 SERVERNAME ~]# yum update igc-module --enablerepo=xcp-ng-testing
      Loaded plugins: fastestmirror
      Loading mirror speeds from cached hostfile
      Excluding mirror: updates.xcp-ng.org
       * xcp-ng-base: mirrors.xcp-ng.org
      Excluding mirror: updates.xcp-ng.org
       * xcp-ng-testing: mirrors.xcp-ng.org
      Excluding mirror: updates.xcp-ng.org
       * xcp-ng-updates: mirrors.xcp-ng.org
      No Match for argument: igc-module
      No package igc-module available.
      No packages marked for update
      
      

      Because of this, I have two questions:

      • Is the igc-module package not available for version 8.1.0, similar to how the r8125-module is available for this version?
      • Ideally, I would like to upgrade to version 8.3 Beta 2 using the recommended ISO install. However, I want to know if I can perform the upgrade in place with the ISO with a certain level of confidence that it won't break my setup. On this XCP-NG machine, I also have PCI Passthrough configured for two hard disks to my TrueNAS VM (though I don't remember exactly how I configured it, I think I followed this guide: https://xcp-ng.org/forum/topic/1296/xcp-ng-recommended-way-for-host-dev-sd-ab-passthrough-to-vm-for-direct-control-access?_=1693380254932). Do you have any suggestions on this matter?
      A 1 Reply Last reply Reply Quote 0
      • A Offline
        Andrew Top contributor @aghering
        last edited by

        @aghering How about upgrading XCP to 8.2.1 ?

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          aghering @Andrew
          last edited by

          @Andrew Does version 8.2.1 include the driver for Intel I225-V? Similarly, regarding PCI Passthrough, do you have any knowledge about doing upgrade with a configuration that includes PCI Passthrough? Do you have any advice or know of a guide?

          A 1 Reply Last reply Reply Quote 0
          • A Offline
            Andrew Top contributor @aghering
            last edited by

            @aghering Yes, 8.2.1 now includes the IGC driver. Use the newest 8.2.1 ISO for the upgrade.

            You should read the upgrade docs. It does say that custom configs like PCI pass-through will be lost.

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              aghering @Andrew
              last edited by aghering

              @Andrew Good to know that version 8.2.1 includes the igc-module. I will need to figure out how i configured the PCI passthrough and recreate it successfully to attach it to my TrueNAS VM. Is there another way to include the igc-module in version 8.1.0? I managed to download the r8125-module, so why isn't the igc-module available?

              A 1 Reply Last reply Reply Quote 0
              • A Offline
                Andrew Top contributor @aghering
                last edited by

                @aghering You could try compiling it yourself on 8.1... I don't have an 8.1 test/build system.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post