Skip to content
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

need help #267

Open
jin2w opened this issue Jul 30, 2024 · 1 comment
Open

need help #267

jin2w opened this issue Jul 30, 2024 · 1 comment

Comments

@jin2w
Copy link

jin2w commented Jul 30, 2024

[AppLoader] GLib does not have GSettings support.
Stopping VMware services:
VMware Authentication Daemon done
Virtual machine monitor done
make: Entering directory '/tmp/modconfig-wCtucz/vmmon-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/6.8.11-amd64/build/include/.. M=$PWD SRCROOT=$PWD/.
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-6.8.11-amd64'
CC [M] /tmp/modconfig-wCtucz/vmmon-only/linux/driver.o
CC [M] /tmp/modconfig-wCtucz/vmmon-only/linux/driverLog.o
CC [M] /tmp/modconfig-wCtucz/vmmon-only/linux/hostif.o
CC [M] /tmp/modconfig-wCtucz/vmmon-only/common/apic.o
CC [M] /tmp/modconfig-wCtucz/vmmon-only/common/comport.o
CC [M] /tmp/modconfig-wCtucz/vmmon-only/common/cpuid.o
CC [M] /tmp/modconfig-wCtucz/vmmon-only/common/crosspage.o
/tmp/modconfig-wCtucz/vmmon-only/linux/hostif.c:2926:1: warning: no previous prototype for ‘HostIFCheckTrackedMPN’ [-Wmissing-prototypes]
2926 | HostIFCheckTrackedMPN(VMDriver *vm, // IN: The VM instance
| ^~~~~~~~~~~~~~~~~~~~~
/tmp/modconfig-wCtucz/vmmon-only/linux/hostif.c:3046:1: warning: no previous prototype for ‘HostIFWritePhysicalWork’ [-Wmissing-prototypes]
3046 | HostIFWritePhysicalWork(MA ma, // MA to be written to
| ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/modconfig-wCtucz/vmmon-only/linux/hostif.c:3205:1: warning: no previous prototype for ‘HostIFStartTimer’ [-Wmissing-prototypes]
3205 | HostIFStartTimer(Bool rateChanged, //IN: Did rate change?
| ^~~~~~~~~~~~~~~~
CC [M] /tmp/modconfig-wCtucz/vmmon-only/common/memtrack.o
/tmp/modconfig-wCtucz/vmmon-only/linux/driver.c:271:1: warning: no previous prototype for ‘LinuxDriverInit’ [-Wmissing-prototypes]
271 | LinuxDriverInit(void)
| ^~~~~~~~~~~~~~~
/tmp/modconfig-wCtucz/vmmon-only/linux/driver.c:339:1: warning: no previous prototype for ‘LinuxDriverExit’ [-Wmissing-prototypes]
339 | LinuxDriverExit(void)
| ^~~~~~~~~~~~~~~
CC [M] /tmp/modconfig-wCtucz/vmmon-only/common/moduleloop.o
CC [M] /tmp/modconfig-wCtucz/vmmon-only/common/phystrack.o
CC [M] /tmp/modconfig-wCtucz/vmmon-only/common/sharedAreaVmmon.o
CC [M] /tmp/modconfig-wCtucz/vmmon-only/common/statVarsVmmon.o
CC [M] /tmp/modconfig-wCtucz/vmmon-only/common/task.o
CC [M] /tmp/modconfig-wCtucz/vmmon-only/common/vmx86.o
CC [M] /tmp/modconfig-wCtucz/vmmon-only/bootstrap/bootstrap.o
CC [M] /tmp/modconfig-wCtucz/vmmon-only/bootstrap/monLoader.o
CC [M] /tmp/modconfig-wCtucz/vmmon-only/bootstrap/monLoaderVmmon.o
/tmp/modconfig-wCtucz/vmmon-only/common/task.c:548:1: warning: no previous prototype for ‘TaskGetFlatWriteableDataSegment’ [-Wmissing-prototypes]
548 | TaskGetFlatWriteableDataSegment(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/modconfig-wCtucz/vmmon-only/common/vmx86.c:52:
/usr/src/linux-headers-6.8.11-common/arch/x86/include/asm/timex.h: In function ‘random_get_entropy’:
/usr/src/linux-headers-6.8.11-common/arch/x86/include/asm/timex.h:12:24: error: implicit declaration of function ‘random_get_entropy_fallback’; did you mean ‘random_get_entropy’? [-Werror=implicit-function-declaration]
12 | return random_get_entropy_fallback();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| random_get_entropy
/tmp/modconfig-wCtucz/vmmon-only/common/vmx86.c: At top level:
/tmp/modconfig-wCtucz/vmmon-only/common/vmx86.c:700:1: warning: no previous prototype for ‘Vmx86FreeVMDriver’ [-Wmissing-prototypes]
700 | Vmx86FreeVMDriver(VMDriver *vm)
| ^~~~~~~~~~~~~~~~~
/tmp/modconfig-wCtucz/vmmon-only/common/vmx86.c:733:1: warning: no previous prototype for ‘Vmx86AllocVMDriver’ [-Wmissing-prototypes]
733 | Vmx86AllocVMDriver(uint32 numVCPUs)
| ^~~~~~~~~~~~~~~~~~
CC [M] /tmp/modconfig-wCtucz/vmmon-only/bootstrap/vmmblob.o
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-6.8.11-common/scripts/Makefile.build:248: /tmp/modconfig-wCtucz/vmmon-only/common/vmx86.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.8.11-common/Makefile:1946: /tmp/modconfig-wCtucz/vmmon-only] Error 2
make[1]: *** [/usr/src/linux-headers-6.8.11-common/Makefile:252: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.11-amd64'
make: *** [Makefile:117: vmmon.ko] Error 2
make: Leaving directory '/tmp/modconfig-wCtucz/vmmon-only'
make: Entering directory '/tmp/modconfig-wCtucz/vmnet-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/6.8.11-amd64/build/include/.. M=$PWD SRCROOT=$PWD/.
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-6.8.11-amd64'
CC [M] /tmp/modconfig-wCtucz/vmnet-only/driver.o
CC [M] /tmp/modconfig-wCtucz/vmnet-only/hub.o
CC [M] /tmp/modconfig-wCtucz/vmnet-only/userif.o
CC [M] /tmp/modconfig-wCtucz/vmnet-only/netif.o
/tmp/modconfig-wCtucz/vmnet-only/netif.c:173:1: warning: no previous prototype for ‘VNetNetIf_Create’ [-Wmissing-prototypes]
173 | VNetNetIf_Create(char *devName, // IN:
| ^~~~~~~~~~~~~~~~
/tmp/modconfig-wCtucz/vmnet-only/userif.c:1091:1: warning: no previous prototype for ‘VNetUserIf_Create’ [-Wmissing-prototypes]
1091 | VNetUserIf_Create(VNetPort **ret) // OUT
| ^~~~~~~~~~~~~~~~~
CC [M] /tmp/modconfig-wCtucz/vmnet-only/bridge.o
CC [M] /tmp/modconfig-wCtucz/vmnet-only/procfs.o
CC [M] /tmp/modconfig-wCtucz/vmnet-only/smac_compat.o
CC [M] /tmp/modconfig-wCtucz/vmnet-only/smac.o
CC [M] /tmp/modconfig-wCtucz/vmnet-only/vnetEvent.o
/tmp/modconfig-wCtucz/vmnet-only/bridge.c:258:1: warning: no previous prototype for ‘VNetBridge_Create’ [-Wmissing-prototypes]
258 | VNetBridge_Create(const char *devName, // IN: name of device (e.g., "eth0")
| ^~~~~~~~~~~~~~~~~
/tmp/modconfig-wCtucz/vmnet-only/bridge.c:1411:1: warning: no previous prototype for ‘VNetBridgeSendLargePacket’ [-Wmissing-prototypes]
1411 | VNetBridgeSendLargePacket(struct sk_buff *skb, // IN: packet to split
| ^~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/modconfig-wCtucz/vmnet-only/vnetUserListener.o
/tmp/modconfig-wCtucz/vmnet-only/vnetUserListener.c:87:1: warning: no previous prototype for ‘VNetUserListener_Create’ [-Wmissing-prototypes]
87 | VNetUserListener_Create(uint32 classMask, // IN: the listener's class mask
| ^~~~~~~~~~~~~~~~~~~~~~~
LD [M] /tmp/modconfig-wCtucz/vmnet-only/vmnet.o
/tmp/modconfig-wCtucz/vmnet-only/vmnet.o: warning: objtool: VNetCsumAndCopyToUser+0x28: call to csum_partial_copy_nocheck() with UACCESS enabled
/tmp/modconfig-wCtucz/vmnet-only/vmnet.o: warning: objtool: init_module(): not an indirect call target
/tmp/modconfig-wCtucz/vmnet-only/vmnet.o: warning: objtool: cleanup_module(): not an indirect call target
MODPOST /tmp/modconfig-wCtucz/vmnet-only/Module.symvers
CC [M] /tmp/modconfig-wCtucz/vmnet-only/vmnet.mod.o
LD [M] /tmp/modconfig-wCtucz/vmnet-only/vmnet.ko
BTF [M] /tmp/modconfig-wCtucz/vmnet-only/vmnet.ko
Skipping BTF generation for /tmp/modconfig-wCtucz/vmnet-only/vmnet.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/linux-headers-6.8.11-amd64'
/usr/bin/make -C $PWD SRCROOT=$PWD/.
MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-wCtucz/vmnet-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-wCtucz/vmnet-only'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory '/tmp/modconfig-wCtucz/vmnet-only'
Unable to install all modules. See log for details.

how i fix this?

@Zakronindustry
Copy link

Check Kernel Headers: Ensure that you have the correct kernel headers installed for your current kernel version (6.8.11-amd64). You can install them using:

sudo apt-get install linux-headers-$(uname -r)

Install Required Packages: Ensure you have all necessary packages for building kernel modules:

sudo apt-get install build-essential

VMware Compatibility: Check if your VMware version is compatible with the kernel version you are using. Sometimes, VMware may not yet support newer kernels.

Check Logs for Specific Errors: The logs indicate issues with specific functions and missing prototypes. You might need to address these specific issues by updating VMware tools or applying patches. Look for community discussions or support related to these specific errors.

Rebuild VMware Modules:

Remove the existing VMware modules:
sudo vmware-modconfig --uninstall-all

Reinstall VMware and its modules:

    sudo vmware-modconfig --console --install-all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants