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

    RTL8153 Compile

    Scheduled Pinned Locked Moved Development
    88 Posts 14 Posters 42.5k Views 11 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.
    • J Offline
      jokurinopoloski @olivierlambert
      last edited by

      @olivierlambert Thank you for the reply. I have once tried to install Lancache on a VM with the "eth1" nic (that's the usb nic) and I managed to just install games with full 2.5gbit speed! So you can say it works internally.

      I made a 71-persistent-net.rules to manually assign the mac address of the NIC a name. I also, just to be sure, put the ifnames on 0 in the grub.cfg.

      But if I remember correctly, installing ubuntu and starting up a browser to go to any webpage, I still get some kind of weird SSL error or 'connection not secure' in general.

      I come to think that the NIC is working locally but can't connect to anything secure on the internet. To confirm this in a way, Remote desktop to the windows VM doesn't work either. I get an error. I am convinced this has to do with the fact that rdp wants to use secure connections?.

      Overall, using my xenserver to ping kernel.org and google are working without problems. Internal SSH from powershell to any vm machine just works flawlessly too.

      This is the exact reason i'm stressed out about this whole project, it does work.. but it doesn't work properly? And without it working properly, I can't implement it permanently on my xenserver.

      This does give me problems since I have a plex server running and shared with some family members and they told me that the server is unreachable with the USB NIC.. I just don't know how to debug the SSL problem.

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Online
        olivierlambert Vates ๐Ÿช Co-Founder CEO
        last edited by

        Connection not secure can be related to bad clock time in your VM. Can you double check that?

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          jokurinopoloski @olivierlambert
          last edited by

          @olivierlambert The clocks are good in the vm's.
          Here is a screenshot of the errors I get when trying to connect to websites. Also, Pinging those same websites by hostname works normally using CMD.

          Screenshot_1.png

          olivierlambertO gskgerG 2 Replies Last reply Reply Quote 0
          • olivierlambertO Online
            olivierlambert Vates ๐Ÿช Co-Founder CEO @jokurinopoloski
            last edited by

            @jokurinopoloski I'm not a Windows expert so I can't really know if it's a Windows issue or something elseโ€ฆ

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              jokurinopoloski @olivierlambert
              last edited by

              @olivierlambert I can spin up an ubuntu vm

              1 Reply Last reply Reply Quote 0
              • olivierlambertO Online
                olivierlambert Vates ๐Ÿช Co-Founder CEO
                last edited by

                Please do so ๐Ÿ™‚

                1 Reply Last reply Reply Quote 0
                • gskgerG Offline
                  gskger Top contributor @jokurinopoloski
                  last edited by

                  @jokurinopoloski are your USB NICs running on VLANs? If so, you could check /var/log/kern.log for xenbr2: dropped over-mtu packet: 1502 > 1500 [...] messages. Maybe not related, but I had a problem with connecting to a NFS SR. While ping and SSH worked, connecting XO from source to the NFS SR failed. After changing the USB NICs MTU from 1500 to 1502, it did work.

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    jokurinopoloski
                    last edited by jokurinopoloski

                    Okay I un-installed the Management Agent on my windows VM and now i'm able to go on the internet without any problems! the downside is that the vm now uses the default "Realtek RTL8139C+ Fast Ethernet NIC" adapter which gives me 3-6 MB/s file transfer speeds..

                    a fresh ubuntu install works out of the box, I can connect to the internet. I made a test folder on the ubuntu VM and copied an ISO file to it (from my main windows pc) which gave me speeds of up to 239 MB/s.

                    Could the Management agent really be the issue here? and why do I need it for gbit speeds.

                    1 Reply Last reply Reply Quote 0
                    • olivierlambertO Online
                      olivierlambert Vates ๐Ÿช Co-Founder CEO
                      last edited by

                      On Windows, it's not just the management agent, but PV drivers for your Windows. Without PV drivers, you are using emulation and it'sโ€ฆ slow.

                      What drivers did you used previously?

                      J 1 Reply Last reply Reply Quote 0
                      • J Offline
                        jokurinopoloski @olivierlambert
                        last edited by jokurinopoloski

                        @olivierlambert I have been using the PV host adapter (PV drivers). It comes with the ManagementAgentx64.exe that can be found on the official Xcp-NG.ISO.

                        After un-installing and using emulation, it works fine, but around 30Mbit. When re-installing the PV drivers I get SSL errors again.

                        I'm trying to think what the problem could be, the PV drivers? the PV drivers who can't get along with the 2.5Gbe USB attached to the Xcp-NG server?

                        Isn't Xcp-NG just passing though it's connection to the VM?

                        Those are the questions I'm asking myself right now and I'll try digging into it on google a bit more.

                        Really strange that Ubuntu and in my case, Freenas works without problems.

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          jokurinopoloski @gskger
                          last edited by

                          @gskger Changing the MTU didn't help unfortunately ๐Ÿ˜ž I'm starting to think there is something else going win combination with the PV adapter drivers.

                          1 Reply Last reply Reply Quote 0
                          • olivierlambertO Online
                            olivierlambert Vates ๐Ÿช Co-Founder CEO
                            last edited by

                            I don't remember we bundle anything for Windows, @stormi ?

                            stormiS 1 Reply Last reply Reply Quote 0
                            • stormiS Offline
                              stormi Vates ๐Ÿช XCP-ng Team @olivierlambert
                              last edited by

                              @olivierlambert up to XCP-ng 8.1 we had the installer for management agent in a client_install directory on the ISO as in Citrix Hypervisor installation ISOs.

                              1 Reply Last reply Reply Quote 0
                              • J Offline
                                jokurinopoloski
                                last edited by jokurinopoloski

                                HOLY MOLY! I think I fixed it by disabling TCP offloading according to this article:

                                https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/pvdrivers-troubleshooting.html#citrix-tcp-offloading

                                Internet works without ssl/tls errors! I'm going to check right away if I can get the 2.5Gbit speeds!

                                EDIT: As of now I get 1.70 Gbits/sec with an Iperf3 test, this is amazing! Not getting the full speed is probably because of VM overhead or the cat5E cables who aren't that shiny anymore.

                                I want to thank you all for taking the time to help! It must be a pain sometimes! Especially people who revive old threads. BUT I can finally follow my VirtualMachine dreams I had planned for a long time. You guys are amazing, I've been using Xcp-NG for a year and there will be many more years to come!

                                Merry Christmas! And I hope this thread will help a lot more xcp-ng fans!

                                1 Reply Last reply Reply Quote 1
                                • olivierlambertO Online
                                  olivierlambert Vates ๐Ÿช Co-Founder CEO
                                  last edited by

                                  Nice ๐Ÿ™‚ I think we might document this in our doc, maybe in the troubleshooting section!

                                  stormiS 1 Reply Last reply Reply Quote 1
                                  • stormiS Offline
                                    stormi Vates ๐Ÿช XCP-ng Team @olivierlambert
                                    last edited by

                                    @olivierlambert said in RTL8153 Compile:

                                    Nice ๐Ÿ™‚ I think we might document this in our doc, maybe in the troubleshooting section!

                                    Agreed. @jokurinopoloski, could you try to contribute something to the https://xcp-ng.org/docs/troubleshooting.html page? ("Help us to improve this page!" link at the bottom)

                                    J 1 Reply Last reply Reply Quote 1
                                    • J Offline
                                      jokurinopoloski @stormi
                                      last edited by

                                      @stormi I will try and look into that tomorrow! Thanks guys ๐Ÿ™‚

                                      1 Reply Last reply Reply Quote 2
                                      • olivierlambertO Online
                                        olivierlambert Vates ๐Ÿช Co-Founder CEO
                                        last edited by

                                        That would be wonderful and also helpful for other people having the same issue ๐Ÿ™‚

                                        J 1 Reply Last reply Reply Quote 1
                                        • J Offline
                                          jokurinopoloski @olivierlambert
                                          last edited by

                                          @olivierlambert Created a pull request on this matter, I hope it's properly described.

                                          olivierlambertO 1 Reply Last reply Reply Quote 1
                                          • olivierlambertO Online
                                            olivierlambert Vates ๐Ÿช Co-Founder CEO @jokurinopoloski
                                            last edited by

                                            @jokurinopoloski I reviewed your PR!

                                            Thanks for the contribution ๐Ÿ™‚

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