-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vmnet build fails for CentOS stream kernel 5.14.0-437.el9.x86_64 in branch workstation-17.5.1 #241
Comments
I've also seen this, on 5.14.0-435.el9 and the 17.5.0 branch. The root cause is that csum_and_copy_to_user has been removed from Module.symvers. These Redhat kernels appear to contain a lot of backports from kernel 6. Hence to get the vmware_host_modules code to compile I've implemented a quick and dirty patch to replace or add to the "#if kernel >= 6.x" type of compilation conditions with something like "#if kernel == 5.14.0". In this case a patch is needed to vmnet-only/userif.c. |
This was still a problem after upgrading to kernel 5.14.0-444.el9.x86_64 so, similar to iangosling89, I edited vmnet-only/userif.c line 549:
|
Despite it builds alike this, it will ultimately fail when starting a VM:
Which means that not only module @mkubecek This appears to be partially related to
A sane build environment can be provided with:
Then it builds without errors, but the
Beside that. this PR has all changes required to build on current Rocky Linux 9.5 and start a VM: fd37b30 |
I updated my system to kernel 5.14.0-437 and make fails with an error that seems to be a recurrence of a problem that has been fixed in the past:
make[2]: Entering directory '/usr/src/kernels/5.14.0-437.el9.x86_64'
MODPOST /[redacted]/repos/vmware-host-modules/vmnet-only/Module.symvers
ERROR: modpost: "csum_and_copy_to_user" [/[redacted]/repos/vmware-host-modules/vmnet-only/vmnet.ko] undefined!
I searched and saw results similar to this affecting Workstation 16.x but couldn't find a relevant patch or code edit that would help. Any tips would be appreciated.
The text was updated successfully, but these errors were encountered: