Issue with VM network dropping in and out
-
@glenlewis09 Can you please edit your post and format the output as code (insert ``` before and after the output)? This improves readability.
-
@gskger done, thank you for the correction.
-
@glenlewis09 Again just to double check: your XCP-ng 8.2.1 is fully up-to-date (
yum update
returnsNo packages marked for update
)? The refreshed 8.2.1 ISO from December 2023 contained updated drivers contributed by @Andrew, including ther8125
driver. -
@gskger said in Issue with VM network dropping in and out:
yum update
[15:25 GLS-XENHOST08 ~]# yum update 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-updates: mirrors.xcp-ng.org No packages marked for update [15:25GLS-XENHOST08~]#
-
@glenlewis09 The only thing that realy stands out is this error message:
pcilib: sysfs_read_vpd: read failed: Input/output error Not readable
Can you please try
dmesg | grep VPD
and report the output (if any)? -
@gskger said in Issue with VM network dropping in and out:
dmesg | grep VPD
[15:36 GLS-XENHOST08 ~]# dmesg | grep VPD [ 5.967152] r8125 0000:02:00.0: invalid short VPD tag 00 at offset 1 [15:36GLS-XENHOST08~]#
-
I seem to be able to reproduce the Windows 2022 RDP issue on my XCP 8.2.1/AMD/r8125 box (sometimes). It does not seem to happen on my other intel systems or with other OS's.... I'll see what I can find/fix.
I don't think the VPD warning is an actual problem.
-
Thank you, it is driving me crazy at first. I though my switch was bad so I bought a new one just incase. Then It didn't solve it so I though my fiber was causing TX/RX issues so I replaced it.
I am glad you can somewhat reproduce the error.
-
@Andrew said in Issue with VM network dropping in and out:
I don't think the VPD warning is an actual problem.
Yes, I don't think so either.
-
Welcome to using cheap commodity hardware for server class uses...
It seems the r8125 acts differently on my lab test machines. I don't know why the same chip and driver acts differently. It seems the tx-checksumming is forced off by for one system, and on by default for another. It seems this is a problem for the r8125, but not other chipsets and affects some OS's but not all. It seems there must be a bug in the vendor driver code....
You can make the feature change on the XCP command line using:
ethtool -K eth0 tx off tso off
to see if it fixes the problem. Please let me know if that fixes the Win 2022 RDP issue for you (it does for me). A host reboot will revert the change. -
I think you did find a fix; how can I apply this to the host, so it has this setting on each reboot?
So far, no issues at all with the network! Truly I am happy and even if I have to run this code on each boot up at least the mini pc isn't useless.
-
@glenlewis09 I'll look at changing the default in the XCP r8125 driver until Realtek can fix it (which may be never).
-
@Andrew @gskger @olivierlambert @john-c
Truly Thank you so much for helping me resolve this issue.
I know I have to run the command on each reboot, but it is much better than having hardware I can't even use.
To all that help me and walked me through the process thank you
I know you all have much on your plates but to take the time to dive into this problem is awesome!
If you do release an update to the driver let me know so I can test it. I owe you for the help!
-
@glenlewis09 You can download an updated driver test from my page.
Just log in to the XCP host(s), use
wget
to download the RPM files and then useyum install r8125....
to install it and reboot. -
Darn crappy hardware, I'm not surprised but Realtek never disappoint
-
@Andrew said in Issue with VM network dropping in and out:
yum install r8125
What URL should I use for the wget, I guess this allows me to add a repository for the yum update to download from?
I tried: wget https://xcp-ng.org which was just a random try.
But that was most definitely not the correct URL. I don't think the index page will help me much lol.
Again thanks for all the help on this.
-
@glenlewis09 There is a
my page
link in Andrews post? -