Перейти к контенту
После обновления Ubuntu на Kernel 5.8+ перестаёт запускаться VMWare Workstation, в /var/log/syslog появляется ошибка :
/usr/bin/vmware: line 105: 17463 Segmentation fault (core dumped) «$BINDIR»/vmware-modconfig —appname=»VMware Workstation» —icon=»vmware-workstation»
Удаляем vmware-modconfig и делаем ссылку на /usr/bin/true.
$ rm /usr/bin/vmware-modconfig
$ ln -s /usr/bin/true /usr/bin/vmware-modconfig
Открываем на редактирование /usr/bin/vmware
$ nano /usr/bin/vmware
В самом конце файла надо закомментировать блок:
#if "$BINDIR"/vmware-modconfig --appname="VMware Workstation" --icon="vmware-workstation" &&
# vmware_module_exists $vmmon; then
# exec "$libdir"/bin/"vmware" "$@"
#fi
На этом этапе можно запустить VMWare Workstation из командной строки:
$ /usr/lib/vmware/bin/vmware
Чтобы скорректировать запуск приложения по нажатию на ярлык — открываем на редактирование настройки ярлыка:
$ nano /usr/share/applications/vmware-workstation.desktop
В параметр Exec вставляем команду запуска:
[Desktop Entry]
Encoding=UTF-8
Name=VMware Workstation
Comment=Run and manage virtual machines
Exec=/usr/lib/vmware/bin/vmware
Terminal=false
Type=Application
Icon=vmware-workstation
StartupNotify=true
Categories=System;
MimeType=application/x-vmware-vm;application/x-vmware-team;application/x-vmware-enc-vm;x-scheme-handler/vmrc;
Hi, I want to install VMware tools but I was warned the segmentation fault (core dumped) and vmware tools was not installed successfully.
open-vm-tools packages are available from the OS vendor and VMware recommends
using open-vm-tools packages. See http://kb.vmware.com/kb/2073803 for more
information.
Do you still want to proceed with this installation? [yes]
INPUT: [yes] default
A previous installation of VMware Tools has been detected.
The previous installation was made by the tar installer (version 4).
Keeping the tar4 installer database format.
You have a version of VMware Tools installed. Continuing this install will
first uninstall the currently installed version. Do you wish to continue?
(yes/no) [yes]
INPUT: [yes] default
Uninstalling the tar installation of VMware Tools.
Stopping services for VMware Tools
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done
VGAuthService: done
VMware User Agent (vmware-user): done
Blocking file system: done
Unmounting HGFS shares: done
Guest filesystem driver: done
File /etc/pulse/default.pa is backed up to /etc/pulse/default.pa.old.4.
The removal of VMware Tools 10.3.23 build-17030940 for Linux completed
successfully.
Installing VMware Tools.
In which directory do you want to install the binary files?
[/usr/bin]
INPUT: [/usr/bin] default
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]
INPUT: [/etc] default
What is the directory that contains the init scripts?
[/etc/init.d]
INPUT: [/etc/init.d] default
In which directory do you want to install the daemon files?
[/usr/sbin]
INPUT: [/usr/sbin] default
In which directory do you want to install the library files?
[/usr/lib/vmware-tools]
INPUT: [/usr/lib/vmware-tools] default
The path «/usr/lib/vmware-tools» does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]
INPUT: [yes] default
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
INPUT: [/usr/share/doc/vmware-tools] default
The path «/usr/share/doc/vmware-tools» does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes]
INPUT: [yes] default
The installation of VMware Tools 10.3.23 build-17030940 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: «/usr/bin/vmware-uninstall-tools.pl».
Before running VMware Tools for the first time, you need to configure it by
invoking the following command: «/usr/bin/vmware-config-tools.pl». Do you want
this program to invoke the command for you now? [yes]
INPUT: [yes] default
Initializing…
Segmentation fault (core dumped)
Making sure services for VMware Tools are stopped.
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done
VGAuthService: done
VMware User Agent (vmware-user): done
Blocking file system: done
Unmounting HGFS shares: done
Guest filesystem driver: done
The installation status of vmsync could not be determined.
Skippinginstallation.
The installation status of vmci could not be determined. Skippinginstallation.
The installation status of vsock could not be determined. Skippinginstallation.
The installation status of vmxnet3 could not be determined.
Skippinginstallation.
The installation status of pvscsi could not be determined.
Skippinginstallation.
The installation status of vmmemctl could not be determined.
Skippinginstallation.
The VMware Host-Guest Filesystem allows for shared folders between the host OS
and the guest OS in a Fusion or Workstation virtual environment. Do you wish
to enable this feature? [yes]
INPUT: [yes] default
The vmxnet driver is no longer supported on kernels 3.3 and greater. Please
upgrade to a newer virtual NIC. (e.g., vmxnet3 or e1000e)
The vmblock enables dragging or copying files between host and guest in a
Fusion or Workstation virtual environment. Do you wish to enable this feature?
[yes]
INPUT: [yes] default
Skipping configuring automatic kernel modules as no drivers were installed by
this installer.
Disabling timer-based audio scheduling in pulseaudio.
Do you want to enable Guest Authentication (vgauth)? [yes]
INPUT: [yes] default
Detected X server version 1.20.9
Distribution provided drivers for Xorg X server are used.
Skipping X configuration because X drivers are not included.
Skipping rebuilding initrd boot image for kernel as no drivers to be included
in boot image were installed by this installer.
The configuration of VMware Tools 10.3.23 build-17030940 for Linux for this
running kernel completed successfully.
You must restart your X session before any mouse or graphics changes take
effect.
To enable advanced X features (e.g., guest resolution fit, drag and drop, and
file and text copy/paste), you will need to do one (or more) of the following:
- Manually start /usr/bin/vmware-user
- Log out and log back into your desktop session
- Restart your X session.
Found VMware Tools CDROM mounted at /media/lcj/VMware Tools. Ejecting device
/dev/sr0 …
Enjoy,
—the VMware team
Loading
I am using VM player 16.2.4 build-20089737. My problem is VM tools does not installing on my machine, I am getting segmentation fault every single time. I cannot use shared folder, copy panel etc. even worse I have strange network problem , I think those are because of VM tools issue too. I can’t do anything until fixed.. I did tried to restart VMware services and manually install open-VM-tools but did not work. I need help folks… Here is the information and logs ;
VM player version : 16.2.4
Operating system : Ubuntu 20.04
Kernel version : 5.15.0-46-generic
You can see the logs in below
The installer has detected an existing installation of open-vm-tools packages
on this system and will not attempt to remove and replace these user-space
applications. It is recommended to use the open-vm-tools packages provided by
the operating system. If you do not want to use the existing installation of
open-vm-tools packages and use VMware Tools, you must uninstall the
open-vm-tools packages and re-run this installer.
The packages that need to be removed are:
open-vm-tools
Packages must be removed with the --purge option.
The installer will next check if there are any missing kernel drivers. Type yes
if you want to do this, otherwise type no [yes]
INPUT: [yes] default
A previous installation of VMware Tools has been detected.
The previous installation was made by the tar installer (version 4).
Keeping the tar4 installer database format.
You have a version of VMware Tools installed. Continuing this install will
first uninstall the currently installed version. Do you wish to continue?
(yes/no) [yes]
INPUT: [yes] default
Uninstalling the tar installation of VMware Tools.
The removal of VMware Tools 10.3.23 build-16594550 for Linux completed
successfully.
Installing VMware Tools.
In which directory do you want to install the binary files?
[/usr/bin]
INPUT: [/usr/bin] default
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]
INPUT: [/etc] default
What is the directory that contains the init scripts?
[/etc/init.d]
INPUT: [/etc/init.d] default
In which directory do you want to install the daemon files?
[/usr/sbin]
INPUT: [/usr/sbin] default
In which directory do you want to install the library files?
[/usr/lib/vmware-tools]
INPUT: [/usr/lib/vmware-tools] default
The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]
INPUT: [yes] default
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
INPUT: [/usr/share/doc/vmware-tools] default
The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes]
INPUT: [yes] default
The installation of VMware Tools 10.3.23 build-16594550 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".
Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes]
INPUT: [yes] default
You have chosen to install VMware Tools on top of an open-vm-tools package.
You will now be given the option to replace some commands provided by
open-vm-tools. Please note that if you replace any commands at this time and
later remove VMware Tools, it may be necessary to re-install the open-vm-tools.
WARNING: It appears your system is missing the required /usr/bin/vmhgfs-fuse
Initializing...
Segmentation fault (core dumped)
Making sure services for VMware Tools are stopped.
Stopping VMware Tools services in the virtual machine:
VMware User Agent (vmware-user):[71G done
Unmounting HGFS shares:[71G done
Guest filesystem driver:[71G done
The installation status of vmsync could not be determined.
Skippinginstallation.
The installation status of vmci could not be determined. Skippinginstallation.
The installation status of vsock could not be determined. Skippinginstallation.
The installation status of vmxnet3 could not be determined.
Skippinginstallation.
The installation status of pvscsi could not be determined.
Skippinginstallation.
The installation status of vmmemctl could not be determined.
Skippinginstallation.
The VMware Host-Guest Filesystem allows for shared folders between the host OS
and the guest OS in a Fusion or Workstation virtual environment. Do you wish
to enable this feature? [yes]
INPUT: [yes] default
The vmxnet driver is no longer supported on kernels 3.3 and greater. Please
upgrade to a newer virtual NIC. (e.g., vmxnet3 or e1000e)
Skipping configuring automatic kernel modules as no drivers were installed by
this installer.
Skipping rebuilding initrd boot image for kernel as no drivers to be included
in boot image were installed by this installer.
The configuration of VMware Tools 10.3.23 build-16594550 for Linux for this
running kernel completed successfully.
Enjoy,
--the VMware team
- Forum
- The Ubuntu Forum Community
- Ubuntu Specialised Support
- Virtualisation
- [ubuntu] VMWare not running due to segmentation fault
-
VMWare not running due to segmentation fault
Hi,
When I try to run VMWare Workstation 6.51 from a terminal, I get the following error:
lars@Khaine:/media/D$ vmware &
[1] 7273
lars@Khaine:/media/D$ Xlib: extension «RANDR» missing on display «:0.0».
Logging to /tmp/vmware-lars/setup-7276.log
modinfo: could not find module vmmon
modinfo: could not find module vmnet
modinfo: could not find module vmblock
modinfo: could not find module vmci
modinfo: could not find module vsock
modinfo: could not find module vmmon
modinfo: could not find module vmnet
modinfo: could not find module vmblock
modinfo: could not find module vmci
modinfo: could not find module vsock
/usr/bin/vmware: line 31: 7276 Segmentation fault «$BINDIR»/vmware-modconfig —appname=»VMware Workstation» —icon=»vmware-workstation»I’m using Ubuntu 9.04 x64.
When installing from the file VMware-Workstation-6.5.1-126130.x86_64.bundle I don’t get any errors, and the installation exits successfully.
Any ideas or more info I need to provide?
I’m pretty new to Linux, so I can easily imagine that there’s something I’m just not getting…
Cheerio,
Lars
-
Re: VMWare not running due to segmentation fault
Oh well, never mind. Switching back to Vista now. It’ll be nice to use an OS that works…
-
Re: VMWare not running due to segmentation fault
hello.
just ran into this same situation. you have to allow vmware to compile modules for your system. this is accomplished by (as root) deleting or renaming the modules directory and starting vmware. it will compile what it needs automatically.
# sudo mv /usr/lib/vmware/modules/binary /usr/lib/vmware/modules/binary.old
# sudo vmwarelet vmware do its thing, then close it and reopen it normally.
best,
chuck
-
Re: VMWare not running due to segmentation fault
Confirmed. That’s the way to go. Took me a while figuring this out.
-
Re: VMWare not running due to segmentation fault
Actually I got that same behaviour after upgrading to 2.6.28-13 kernel. The point if the building of the new modules is failing and, the following commands are doing a part of the job but not totally :
sudo mv /usr/lib/vmware/modules/binary /usr/lib/vmware/modules/binary.oldsudo vmware-modconfig —console —install-all
At the end of this process we are still left with :
Stopping VMware services:
Virtual machine communication interface done
Virtual machine monitor done
Blocking file system done
Starting VMware services:
Virtual machine monitor done
Virtual machine communication interface done
Blocking file system done
Virtual ethernet failedThat means no network for the virtual machines.