Open Titof86 opened 2 months ago
Reinstall VMware Workstation, that fixes it.
Nice, works well
@bytium - Could not get this to work. Steps: 0) For testing purposes, installed Ubuntu 24.04 fully patched, VMware Workstation runs perfectly. 1) Reformat hard drive, Install fresh Fedora Linux 40 on laptop. 2) Update - Install RPM Fusion (both) - Update again. - 6.10.7-200.fc40.x86_64 3) Install all dependencies: group install all dependencies, dev libraries, etc. 4) Clone your repo, follow all instructions. Instructions are very simple. 5) Everything compiles. make; make install. 6) Workstation 40 refuses to run.
Hello,
i try install git modul vmware 17.6.
when i lunch my VM i have this error:
Unable to change virtual machine power state: Transport (VMDB) error -14: Pipe connection has been broken.
@bytium - Could not get this to work. Steps: 0) For testing purposes, installed Ubuntu 24.04 fully patched, VMware Workstation runs perfectly.
- Reformat hard drive, Install fresh Fedora Linux 40 on laptop.
- Update - Install RPM Fusion (both) - Update again. - 6.10.7-200.fc40.x86_64
- Install all dependencies: group install all dependencies, dev libraries, etc.
- Clone your repo, follow all instructions. Instructions are very simple.
- Everything compiles. make; make install.
- Workstation 40 refuses to run.
It was not tested on Fedora or other distros. Perhaps we need to modify the file location for other distros.
Just tested on fully updated F40. kernel 6.10.8-200.fc40.x86_64 I had to re-install WS 17.6.0 as I had been "playing" with getting it going. vmware-installer -u vmware-workstation VMware-Workstation-Full-17.6.0-24238078.x86_64.bundle A couple of warnings but compiled OK Ran a Windows 11 VM (not fully updated) for a very quick test. All seems well - many thanks - vital for me! John
Just tested on fully updated F40. kernel 6.10.8-200.fc40.x86_64 I had to re-install WS 17.6.0 as I had been "playing" with getting it going. vmware-installer -u vmware-workstation VMware-Workstation-Full-17.6.0-24238078.x86_64.bundle A couple of warnings but compiled OK Ran a Windows 11 VM (not fully updated) for a very quick test. All seems well - many thanks - vital for me! John
Did you clone the repository (nan0desu) at the top of this thread and build the modules?
I used the bytium modules - details from my notes below. 2024_09_10-09.21 17.6.0 with kernel 6.10.8-200.fc40.x86_64 on monks Found https://github.com/mkubecek/vmware-host-modules/issues/280 <<<<<<<<<<<<<<<<<The forum https://github.com/bytium/vm-host-modules/ Ref https://bytium.com/ in Truro!
su dnf install git As ja cd /global/db/sw/VMware_17/17.6.0/Module_Fix on monks ja@monks Module_Fix 2$ git clone https://github.com/bytium/vm-host-modules.git ja@monks Module_Fix 3$ cd vm-host-modules ja@monks vm-host-modules 4$ git checkout 17.6 Already on '17.6' Your branch is up to date with 'origin/17.6'. ja@monks vm-host-modules 5$ make A couple of warnings but compiled OK su [root@monks:/global/db/sw/VMware_17/17.6.0/Module_Fix/vm-host-modules]$ make install Still a problem when starting vmware, therefore re-installed WS 17.6.0 and tried again
vmware-installer -u vmware-workstation [root@monks:/global/db/sw/VMware_17/17.6.0]$ ./VMware-Workstation-Full-17.6.0-24238078.x86_64.bundle git clone https://github.com/bytium/vm-host-modules.git ... This time it worked perfectly. Tested both w2k & w11.
@bytium - Could not get this to work. Steps: 0) For testing purposes, installed Ubuntu 24.04 fully patched, VMware Workstation runs perfectly.
- Reformat hard drive, Install fresh Fedora Linux 40 on laptop.
- Update - Install RPM Fusion (both) - Update again. - 6.10.7-200.fc40.x86_64
- Install all dependencies: group install all dependencies, dev libraries, etc.
- Clone your repo, follow all instructions. Instructions are very simple.
- Everything compiles. make; make install.
- Workstation 40 refuses to run.
Tested on Latest Fedora. Work perfectly!
I used the bytium modules - details from my notes below. 2024_09_10-09.21 17.6.0 with kernel 6.10.8-200.fc40.x86_64 on monks Found #280 <<<<<<<<<<<<<<<<<The forum https://github.com/bytium/vm-host-modules/ Ref https://bytium.com/ in Truro!
su dnf install git As ja cd /global/db/sw/VMware_17/17.6.0/Module_Fix on monks ja@monks Module_Fix 2$ git clone https://github.com/bytium/vm-host-modules.git ja@monks Module_Fix 3$ cd vm-host-modules ja@monks vm-host-modules 4$ git checkout 17.6 Already on '17.6' Your branch is up to date with 'origin/17.6'. ja@monks vm-host-modules 5$ make A couple of warnings but compiled OK su [root@monks:/global/db/sw/VMware_17/17.6.0/Module_Fix/vm-host-modules]$ make install Still a problem when starting vmware, therefore re-installed WS 17.6.0 and tried again
vmware-installer -u vmware-workstation [root@monks:/global/db/sw/VMware_17/17.6.0]$ ./VMware-Workstation-Full-17.6.0-24238078.x86_64.bundle git clone https://github.com/bytium/vm-host-modules.git ... This time it worked perfectly. Tested both w2k & w11.
Thank you for posting the instructions. I hope it helps others!
Another details instruction was published at https://bytium.com/vmware-workstation-host-module-patch-for-debian-and-ubuntu/
I followed ja-jaa-org-uk's suggestion, but is getting:
[ 1483.689840] /dev/vmmon[26229]: PTSC: initialized at 2904005000 Hz using TSC, TSCs are synchronized.
[ 1483.934834] /dev/vmmon[26229]: Monitor IPI vector: 0
[ 1483.934846] /dev/vmmon[26229]: HV IPI vector: 0
[ 1493.058916] ------------[ cut here ]------------
[ 1493.058925] UBSAN: array-index-out-of-bounds in /home/torel/workspace/VMware-Workstations/vm-host-modules-17.6.0/vmmon-only/common/moduleloop.c:342:49
[ 1493.058935] index 0 is out of range for type 'MSRReply [*]'
[ 1493.058940] CPU: 1 PID: 26338 Comm: vmx-vcpu-0 Tainted: P OE 6.10.9-100.fc39.x86_64 #1
[ 1493.058950] Hardware name: Dell Inc. Precision 5530/XXXXXX, BIOS 1.37.0 04/10/2024
[ 1493.058954] Call Trace:
[ 1493.058960]
Suggestions? Kernel 6.10.9-100.fc39.x86 on FC39.
Hmmm - I was happy things appeared to be working! I have tried harder, ...
2024_09_12-09.25
[root@monks:~]$ systemctl restart vmware.service gives lots of these type errors but eventually seems to run OK
UBSAN: array-index-out-of-bounds in /global/db/sw/VMware_17/17.6.0/Module_Fix/vm-host-modules/vmmon-only/common/vmx86.c:3658:38 Sep 12 09:26:52 monks.jaa.org.uk kernel: index 1 is out of range for type 'MSRReply [*]' //--------------------------------------- Running vmware starts OK but when a VM is started gives lots of
Sep 12 09:30:14 monks.jaa.org.uk kernel: UBSAN: array-index-out-of-bounds in /global/db/sw/VMware_17/17.6.0/Module_Fix/vm-host-modules/vmmon-only/linux/hostif.c:2826:60 Sep 12 09:30:14 monks.jaa.org.uk kernel: index 0 is out of range for type 'CPUIDReply []' and Sep 12 09:30:14 monks.jaa.org.uk kernel: UBSAN: array-index-out-of-bounds in /global/db/sw/VMware_17/17.6.0/Module_Fix/vm-host-modules/vmmon-only/common/vmx86.c:2975:31 Sep 12 09:30:14 monks.jaa.org.uk kernel: index 0 is out of range for type 'MSRReply []'
The VM appears to work perfectly. //--------------------------------------- Re-starting the same VM or starting another does not give any errors. Stopping vmware gives no errors. Re-running vmware gives no errors Starting a VM again gives no errors. //--------------------------------------- Summary:
Tried again!
I emphasise I have no idea of the significance of these changes and of possible consequences! Suggested here https://github.com/mkubecek/vmware-host-modules/issues/243
2024_09_13-09.43 Tried changing two include files from bytium before compiling /global/db/sw/VMware_17/17.6.0/Module_Fix_Mk2/vm-host-modules/vmmon-only/include/ x86cpuid.h and x86msr.h changed one line in each file typedef struct CPUIDQuery { uint32 eax; // IN uint32 ecx; // IN uint32 numLogicalCPUs; // IN/OUT CPUIDReply logicalCPUs[]; // OUT ja_hack [0] to [] } CPUIDQuery;
typedef struct MSRQuery { uint32 msrNum; // IN uint32 numLogicalCPUs; // IN/OUT MSRReply logicalCPUs[]; // OUT ja_hack [0] to [] } MSRQuery;
systemctl stop vwmare.service if running
then make; su; make install systemctl restart vwmare.service Not sure this is necessary vmware
No crashes and no apparent damage to host or VM
Only a very short test of W11 VM
@bytium - Could not get this to work. Steps: 0) For testing purposes, installed Ubuntu 24.04 fully patched, VMware Workstation runs perfectly.
- Reformat hard drive, Install fresh Fedora Linux 40 on laptop.
- Update - Install RPM Fusion (both) - Update again. - 6.10.7-200.fc40.x86_64
- Install all dependencies: group install all dependencies, dev libraries, etc.
- Clone your repo, follow all instructions. Instructions are very simple.
- Everything compiles. make; make install.
- Workstation 40 refuses to run.
Tested on Latest Fedora. Work perfectly!
I cannot find the correct "mix." I repeat all the steps above: Reformat drive; Install fresh Fedora 40; Updates; RPM Fusion; Updates; Install all dependencies; Install VMWare WKS 17.6.0; Clone Bytium repo; Follow simple instructions; Make/Make install; Reboot; VMWare Workstation will not run. - Move to second computer, repeat steps, not working. - Go to third computer, repeat steps, not working. Current kernel version: 6.10.10-200. I am no novice at this. I don't know what I am missing.
Only thought - try a make clean before the make.
If that works the changes to x86cpuid.h and x86msr.h are probably a good idea.
You can try this patch:
https://github.com/bytium/vm-host-modules/
Follow the instructions!
This Work for me... When I updated to 17.6.0 build-24238078 and mi Kernel is 6.9.3-76060903-generic (Pop OS!)
if u still loking to fix it here: https://github.com/x6h057/vm-host-modules-17.6.git
Hello,
i have this error with vmware Pro 17.16 :
"Version mismatch with vmmon module: expecting 417.0, got 416.0. You have an incorrect version of the 'vmmon' kernel module. Try reinstalling VMware Workstation."
Linux 69-31-17-125 6.10.6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.6-1 (2024-08-19) x86_64 GNU/Linux
i try it:
git clone -b tmp/workstation-17.5.2-k6.9.1 https://github.com/nan0desu/vmware-host-modules.git cd vmware-host-modules/ tar -cf vmmon.tar vmmon-only tar -cf vmnet.tar vmnet-only sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/ sudo vmware-modconfig --console --install-all