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

    Build network drivers from sources

    Scheduled Pinned Locked Moved Development
    21 Posts 8 Posters 9.8k Views 3 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.
    • T Offline
      tom
      last edited by

      I followed this: https://developer-docs.citrix.com/projects/xenserver-ddk/en/latest/

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        XCP-ng doesn't use supplemental packs (ISO) for drivers, please use your RPMs directly.

        1 Reply Last reply Reply Quote 0
        • T Offline
          tom
          last edited by

          Installed from RPM and everything works flawlessy. Thanks for help.

          C 1 Reply Last reply Reply Quote 1
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            Feel free to provide your RPMs, this way we could add them in a repo in the future for people who want additional drivers.

            C 1 Reply Last reply Reply Quote 0
            • A Offline
              asus
              last edited by

              Hi Tom,

              How did you build the new package based on RPM, as I want to build my own for asus wifi adapter drivers (asus PCE-AC51).

              1 Reply Last reply Reply Quote 0
              • T Offline
                tom
                last edited by

                https://developer-docs.citrix.com/projects/xenserver-ddk/en/latest/

                Built iso from this guide and extracted rpm from iso.

                1 Reply Last reply Reply Quote 0
                • C Offline
                  cri25 @olivierlambert
                  last edited by

                  @olivierlambert
                  hi! I have this EN-9320TX-E network card.
                  Any simple way to add the driver to the xpg-ng kernel ?
                  I dont have any knowledge about docker..
                  Rgds

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    cri25 @tom
                    last edited by

                    @tom
                    Hi could you deliver me this iso file ?
                    Would be so great ..
                    Rgds

                    1 Reply Last reply Reply Quote 0
                    • cobraAGC Offline
                      cobraAG
                      last edited by cobraAG

                      Import the .xva and there build the module. When you get the .ko file, copy that to your host server. Then do a

                      install -d /lib/modules/<KERNEL_VERSION>/kernel/drivers/net
                      install -m 644 tn40xx.ko /lib/modules/<KERNEL_VERSION>/kernel/drivers/net
                      depmod <KERNEL_VERSION>
                      

                      Reboot the host and then check if it was loaded with:

                      lsmod | grep tn40xx
                      

                      Don't forget to optimze for 10Gb: https://darksideclouds.wordpress.com/2016/10/10/tuning-10gb-nics-highway-to-hell/
                      and https://www.kernel.org/doc/ols/2009/ols2009-pages-169-184.pdf

                      1 Reply Last reply Reply Quote 0
                      • olivierlambertO Offline
                        olivierlambert Vates 🪐 Co-Founder CEO
                        last edited by

                        Hey there,

                        I'm not sure this is the recommended way. @r1 can you check this?

                        The "correct" process is the one we use in XCP-ng, it would be great to stick (and improve) the "common" way 🙂

                        Also, if you add some drivers, please provide them so we could add them to the XCP-ng repo. This way, your work will be useful for everyone 🙂

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          r1 XCP-ng Team
                          last edited by

                          Yeah - the XVA approach is old and long. Easier way is to build rpm and let it install the driver. (better via yum)

                          I'll take a look at it to build it XCP-NG way.

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            r1 XCP-ng Team @tom
                            last edited by r1

                            @tom said in Build network drivers from sources:

                            Hello

                            I'm using xcp-ng 7.4.1

                            I have EN-9320TX-E network card.
                            I tried to build network drivers from sources for xcp-ng but its very complicated process for me.
                            If somebody could do it for me i would be very gratefull.
                            Here is link with source drivers: https://www.edimax.pl/edimax/mw/cufiles/files/download/DriverUtility/NIC/EN-9320TX-E/EN-9320TX_E_Linux_Driver.zip

                            Here you have https://github.com/rushikeshjadhav/EN-9320TX

                            It would be great if you can let us know if RPM from it works for you.

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              r1 XCP-ng Team
                              last edited by

                              @tom So - did it work?

                              T 1 Reply Last reply Reply Quote 0
                              • T Offline
                                tom @r1
                                last edited by

                                @r1 said in Build network drivers from sources:

                                @tom So - did it work?

                                Hello.

                                I changed work and i no longer have access to this hardware.

                                1 Reply Last reply Reply Quote 0
                                • A Offline
                                  Andy76
                                  last edited by

                                  Hello

                                  I have XCP 8.1 installed und need the driver EN-9320SFP+
                                  Cannot get it working. The drivers for Linux can be found here
                                  http://www.tehutinetworks.net/?t=drivers&L1=8&L2=12&L3=26&L4=0&L5=0&L6=0&L7=0&f=tn40xx-0.3.6.17.3.tgz

                                  Would be great if someone could help me with that.

                                  Thanks.

                                  1 Reply Last reply Reply Quote 0
                                  • olivierlambertO Offline
                                    olivierlambert Vates 🪐 Co-Founder CEO
                                    last edited by

                                    Hi @Andy76

                                    Please open a support ticket, it's within our XCP-ng Enterprise support package 🙂

                                    1 Reply Last reply Reply Quote 0
                                    • B bryan_v referenced this topic on
                                    • First post
                                      Last post