LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   VMWare Workstation 6.5 (http://www.linuxquestions.org/questions/linux-software-2/vmware-workstation-6-5-a-757873/)

Bladez711 09-26-2009 03:53 AM

VMWare Workstation 6.5
 
I used the command interface to start the gui installation of the program, and it said everything installed correctly. However, when i attempt to run this program using the terminal, i get this error:

bladez@bladez-desktop:~$ /usr/bin/vmware
Logging to /tmp/vmware-bladez/setup-4828.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: 4828 Segmentation fault "$BINDIR"/vmware-modconfig --appname="VMware Workstation" --icon="vmware-workstation"

lutusp 09-26-2009 04:28 AM

Quote:

Originally Posted by Bladez711 (Post 3697474)
I used the command interface to start the gui installation of the program, and it said everything installed correctly. However, when i attempt to run this program using the terminal, i get this error:

bladez@bladez-desktop:~$ /usr/bin/vmware
Logging to /tmp/vmware-bladez/setup-4828.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: 4828 Segmentation fault "$BINDIR"/vmware-modconfig --appname="VMware Workstation" --icon="vmware-workstation"

You didn't install VMWare correctly. Go through the installation instructions again. Pay attention. Don't skip any steps.

Bladez711 09-26-2009 08:43 PM

I did that, following all the steps as ive seen in tutorials, and i still get that exact same error.

lutusp 09-26-2009 09:17 PM

Quote:

Originally Posted by Bladez711 (Post 3698092)
I did that, following all the steps as ive seen in tutorials, and i still get that exact same error.

It's clear that the kernel modules that VMWare requires are not present. The kernel-level compilation and configuration has not been carried out.

Meaning? You skipped a step, or that step didn't finish correctly. Referring to this page:

VMWare howto

I see a critical step. Did you do this:

$ sudo ./vmware-install.pl

If you didn't do this step, that is the problem.

Bladez711 09-27-2009 02:19 AM

that didnt help at all as the linux version of vmware WORKSTATION, comes in a zip file, wrong url -.-

kirukan 09-27-2009 03:11 AM

It seems kernel modules are not loaded, just try to load these modules manually
refer this
http://www.cs.ucr.edu/~jbyrne/vmware.htm

lutusp 09-27-2009 03:36 AM

Quote:

Originally Posted by Bladez711 (Post 3698253)
that didnt help at all as the linux version of vmware WORKSTATION, comes in a zip file, wrong url -.-

You still have to run the configuration script VMWare provides, and you have not done this.

Bladez711 09-28-2009 05:28 AM

where is that vmware-install.pl file located? the only file in the zip folder from the website in the vmware-wrokstation-6.5-blah-blah-blah.sh

Bladez711 09-29-2009 08:23 AM

ok i ran sudo ./vmware-installer
and absolutely nothing changed, i still get the exact same error

AngTheo789 09-29-2009 05:22 PM

The vmware network modules do always have to build for the given system, so there must have been a point during installation when you were prompted to provide or confirm the location of the kernel headers and the compiler tools. Note that you might have vmware network modules from a previous vmware installation, but if your system has been upgraded in terms of kernels, then you need to rebuild the network modules.

jiml8 09-29-2009 07:52 PM

I would bet that the kernel headers are not right, or are simply missing. Alternatively, some of the gnu compiler suite is not present. Look in /var/log/ for the file vmware-installer and see what it has to say.

Bladez711 09-29-2009 10:00 PM

This is what that log file has to say.

Code:

Using UI type gtk
Opening database file /etc/vmware/database
destination /tmp/tmpiVQkJV/.installer/__init__.py already exists, overwriting.
destination /tmp/tmpiVQkJV/.installer/__init__.py already exists, overwriting.
destination /tmp/tmpiVQkJV/.installer/__init__.py already exists, overwriting.
destination /tmp/tmpiVQkJV/.installer/__init__.py already exists, overwriting.
destination /tmp/tmpiVQkJV/.installer/__init__.py already exists, overwriting.
Usage:
gconftool-2 [OPTION...] - Tool to manipulate a GConf configuration

Help Options:
-?, --help                                    Show help options
--help-all                                    Show all help options
--help-client                                  Show client options
--help-key-type                                Show key type options
--help-load                                    Show load/save options
--help-server                                  Show server options
--help-install                                Show installation options
--help-test                                    Show test options
--help-schema                                  Show schema options

Application Options:
-v, --version                                  Print version

Configuring Bridged network vmnet0
Configuring hostonly network vmnet1, probing for unused subnet ...
Configuring NAT network vmnet8, probing for unused subnet ...
Configured default networks - Bridged, Hostonly, NAT
* Restarting Common Unix Printing System: cupsd
...done.
Unable to install kernel modules
Using UI type gtk
Opening database file /etc/vmware/database
Using UI type gtk
Opening database file /etc/vmware/database
Using UI type gtk
Opening database file /etc/vmware/database
Using UI type gtk
Opening database file /etc/vmware/database
VMware DiskMount Utility version 6.5.1, build-126130

Usage: /usr/bin/vmware-mount diskPath [partition num] mountPoint
/usr/bin/vmware-mount [option] [opt args]

There are two modes for mounting disks.  If no option is
specified, we mount individual partitions from virtual disks
independently.  The filesystem on the partition will be
accessible at the mount point specified.

The -f option mounts a flat representation of a disk on a
user-specified mount point.  The user must explicitly unmount
the disk when finished.  A disk may not be in both modes at once.

diskID is an identifier of the form username@hostname:/path/to/vm
for remote disks and just the path for local disks.  Options that
mount a remote disk also require -h -u -F and optionally -v options.
The -v option is required when connecting to a Virtual Center.

Options: -p <diskID>      list all partitions on a disk
-l <diskID>      list all mounted partitions on a disk
-L              list all mounted disks
-d <mountPoint>  cleanly unmount this partition
(closes disk if it is the last partition)
-f <diskPath> <mountPoint> mount a flat representation of the disk
at "mountPoint/flat."
-k <diskID>      unmount all partitions and close disk
-K <diskID>      force unmount all partitions and close disk
-x              unmount all partitions and close all disks
-X              force unmount all partitions and close all disks
Options for remote disks:
-v                inventory path of the vm
-h                hostname of remote server
-u                username for remote server
-F                file containing password
-P                optional TCP port number (default: 902)
,
No mounted disks.
All virtual disks were unmounted successfully
[vmware-workstation] /tmp/plugins/com.vmware.bfg_1.0.0 did not exist
Stopping VMware services:
Virtual machine communication interface[71G done
Virtual machine monitor[71G done
Blocking file system[71G done
Usage:
gconftool-2 [OPTION...] - Tool to manipulate a GConf configuration

Help Options:
-?, --help                                    Show help options
--help-all                                    Show all help options
--help-client                                  Show client options
--help-key-type                                Show key type options
--help-load                                    Show load/save options
--help-server                                  Show server options
--help-install                                Show installation options
--help-test                                    Show test options
--help-schema                                  Show schema options

Application Options:
-v, --version                                  Print version

Using UI type gtk
Opening database file /etc/vmware/database
destination /tmp/tmp37X7N4/.installer/__init__.py already exists, overwriting.
destination /tmp/tmp37X7N4/.installer/__init__.py already exists, overwriting.
destination /tmp/tmp37X7N4/.installer/__init__.py already exists, overwriting.
destination /tmp/tmp37X7N4/.installer/__init__.py already exists, overwriting.
destination /tmp/tmp37X7N4/.installer/__init__.py already exists, overwriting.
Usage:
gconftool-2 [OPTION...] - Tool to manipulate a GConf configuration

Help Options:
-?, --help                                    Show help options
--help-all                                    Show all help options
--help-client                                  Show client options
--help-key-type                                Show key type options
--help-load                                    Show load/save options
--help-server                                  Show server options
--help-install                                Show installation options
--help-test                                    Show test options
--help-schema                                  Show schema options

Application Options:
-v, --version                                  Print version

Unknown media type in type 'all/all'

Unknown media type in type 'all/allfiles'

Unknown media type in type 'uri/mms'

Unknown media type in type 'uri/mmst'

Unknown media type in type 'uri/mmsu'

Unknown media type in type 'uri/pnm'

Unknown media type in type 'uri/rtspt'

Unknown media type in type 'uri/rtspu'

Unknown media type in type 'fonts/package'

Unknown media type in type 'interface/x-winamp-skin'

Restoring previous network settings from /tmp/vmwareNetworking.bUVcCg
Stopped all configured services on all networks
Backed up existing network settings to backup file "/tmp/vmware.KqOXF2"
Restored network settings
* Restarting Common Unix Printing System: cupsd
...done.
Unable to install kernel modules
Unknown media type in type 'all/all'

Unknown media type in type 'all/allfiles'

Unknown media type in type 'uri/mms'

Unknown media type in type 'uri/mmst'

Unknown media type in type 'uri/mmsu'

Unknown media type in type 'uri/pnm'

Unknown media type in type 'uri/rtspt'

Unknown media type in type 'uri/rtspu'

Unknown media type in type 'fonts/package'

Unknown media type in type 'interface/x-winamp-skin'

Using UI type gtk
Opening database file /etc/vmware/database
VMware DiskMount Utility version 6.5.1, build-126130

Usage: /usr/bin/vmware-mount diskPath [partition num] mountPoint
/usr/bin/vmware-mount [option] [opt args]

There are two modes for mounting disks.  If no option is
specified, we mount individual partitions from virtual disks
independently.  The filesystem on the partition will be
accessible at the mount point specified.

The -f option mounts a flat representation of a disk on a
user-specified mount point.  The user must explicitly unmount
the disk when finished.  A disk may not be in both modes at once.

diskID is an identifier of the form username@hostname:/path/to/vm
for remote disks and just the path for local disks.  Options that
mount a remote disk also require -h -u -F and optionally -v options.
The -v option is required when connecting to a Virtual Center.

Options: -p <diskID>      list all partitions on a disk
-l <diskID>      list all mounted partitions on a disk
-L              list all mounted disks
-d <mountPoint>  cleanly unmount this partition
(closes disk if it is the last partition)
-f <diskPath> <mountPoint> mount a flat representation of the disk
at "mountPoint/flat."
-k <diskID>      unmount all partitions and close disk
-K <diskID>      force unmount all partitions and close disk
-x              unmount all partitions and close all disks
-X              force unmount all partitions and close all disks
Options for remote disks:
-v                inventory path of the vm
-h                hostname of remote server
-u                username for remote server
-F                file containing password
-P                optional TCP port number (default: 902)
,
No mounted disks.
All virtual disks were unmounted successfully
[vmware-workstation] /tmp/plugins/com.vmware.bfg_1.0.0 did not exist
Stopping VMware services:
Virtual machine communication interface[71G done
Virtual machine monitor[71G done
Blocking file system[71G done
Usage:
gconftool-2 [OPTION...] - Tool to manipulate a GConf configuration

Help Options:
-?, --help                                    Show help options
--help-all                                    Show all help options
--help-client                                  Show client options
--help-key-type                                Show key type options
--help-load                                    Show load/save options
--help-server                                  Show server options
--help-install                                Show installation options
--help-test                                    Show test options
--help-schema                                  Show schema options

Application Options:
-v, --version                                  Print version

Using UI type gtk
Opening database file /etc/vmware/database
destination /tmp/tmp46heU5/.installer/__init__.py already exists, overwriting.
destination /tmp/tmp46heU5/.installer/__init__.py already exists, overwriting.
destination /tmp/tmp46heU5/.installer/__init__.py already exists, overwriting.
destination /tmp/tmp46heU5/.installer/__init__.py already exists, overwriting.
destination /tmp/tmp46heU5/.installer/__init__.py already exists, overwriting.
Usage:
gconftool-2 [OPTION...] - Tool to manipulate a GConf configuration

Help Options:
-?, --help                                    Show help options
--help-all                                    Show all help options
--help-client                                  Show client options
--help-key-type                                Show key type options
--help-load                                    Show load/save options
--help-server                                  Show server options
--help-install                                Show installation options
--help-test                                    Show test options
--help-schema                                  Show schema options

Application Options:
-v, --version                                  Print version

Unknown media type in type 'all/all'

Unknown media type in type 'all/allfiles'

Unknown media type in type 'uri/mms'

Unknown media type in type 'uri/mmst'

Unknown media type in type 'uri/mmsu'

Unknown media type in type 'uri/pnm'

Unknown media type in type 'uri/rtspt'

Unknown media type in type 'uri/rtspu'

Unknown media type in type 'fonts/package'

Unknown media type in type 'interface/x-winamp-skin'

Restoring previous network settings from /tmp/vmwareNetworking.cjENAP
Stopped all configured services on all networks
Backed up existing network settings to backup file "/tmp/vmware.axm1m9"
Restored network settings
* Restarting Common Unix Printing System: cupsd
...done.
Unable to install kernel modules
Unknown media type in type 'all/all'

Unknown media type in type 'all/allfiles'

Unknown media type in type 'uri/mms'

Unknown media type in type 'uri/mmst'

Unknown media type in type 'uri/mmsu'

Unknown media type in type 'uri/pnm'

Unknown media type in type 'uri/rtspt'

Unknown media type in type 'uri/rtspu'

Unknown media type in type 'fonts/package'

Unknown media type in type 'interface/x-winamp-skin'


jiml8 09-30-2009 01:57 AM

Quote:

Unable to install kernel modules
This is your problem.

Why is it your problem? I don't know exactly. But here is the same portion of the same file from my system:

Quote:

Configuring Bridged network vmnet0
Configuring hostonly network vmnet1, probing for unused subnet ...
Configuring NAT network vmnet8, probing for unused subnet ...
Configured default networks - Bridged, Hostonly, NAT
Stopping CUPS printing system: [ OK ]
Starting CUPS printing system: [ OK ]
Stopping VMware services:
Virtual machine communication interface[ OK ]
Virtual machine monitor[ OK ]
Blocking file system[ OK ]
make: Entering directory `/root/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/2.6.29.1-desktop-4mnb/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.29.1-desktop-4mnb'
CC [M] /root/tmp/vmware-root/modules/vmmon-only/linux/driver.o
make[1]: Leaving directory `/usr/src/linux-2.6.29.1-desktop-4mnb'
make: Leaving directory `/root/tmp/vmware-root/modules/vmmon-only'
Using 2.6.x kernel build system.
In file included from /root/tmp/vmware-root/modules/vmmon-only/linux/driver.c:31:
/root/tmp/vmware-root/modules/vmmon-only/./include/compat_wait.h:78: error: conflicting types for 'poll_initwait'
include/linux/poll.h:67: error: previous declaration of 'poll_initwait' was here
/root/tmp/vmware-root/modules/vmmon-only/linux/driver.c: In function 'LinuxDriverSyncCallOnEachCPU':
/root/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1423: error: too many arguments to function 'smp_call_function'
/root/tmp/vmware-root/modules/vmmon-only/linux/driver.c: In function 'LinuxDriver_Ioctl':
/root/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1987: error: 'struct task_struct' has no member named 'euid'
/root/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1987: error: 'struct task_struct' has no member named 'uid'
/root/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1988: error: 'struct task_struct' has no member named 'fsuid'
/root/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1988: error: 'struct task_struct' has no member named 'uid'
/root/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1989: error: 'struct task_struct' has no member named 'egid'
/root/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1989: error: 'struct task_struct' has no member named 'gid'
/root/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1990: error: 'struct task_struct' has no member named 'fsgid'
/root/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1990: error: 'struct task_struct' has no member named 'gid'
/root/tmp/vmware-root/modules/vmmon-only/linux/driver.c:2007: error: too many arguments to function 'smp_call_function'
make[2]: *** [/root/tmp/vmware-root/modules/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/root/tmp/vmware-root/modules/vmmon-only] Error 2
make: *** [vmmon.ko] Error 2

Note that on this first attempt some modules were not built. My installer then went through a bunch of other steps and then tried again to compile the modules - and it succeeded and installed them.

In comparison, yours is not even trying to compile. This suggests that there is a problem in your build environment. Missing kernel headers, missing kernel sources, missing GCC environment... something.

Look there.


All times are GMT -5. The time now is 07:39 PM.