LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Error configuring VMware Player 1.0.1 on SuSE 10.1 (https://www.linuxquestions.org/questions/suse-opensuse-60/error-configuring-vmware-player-1-0-1-on-suse-10-1-a-463029/)

kersten78 07-11-2006 01:40 PM

Error configuring VMware Player 1.0.1 on SuSE 10.1
 
I just installed the VMware-player-1.0.1-19317.i386.rpm, but I'm not able to run the vmware-config.pl script without errors.

I followed SuSE specific directions on the VMware site stating that the kernel source should be prepared by running `make cloneconfig` and `make prepare-all`, but I get the following error when the vmware-config.pl script attempts to build the kernel module:
Code:

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config4/vmmon-only'
make -C /lib/modules/2.6.16.13-4-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.16.13-4-obj/i386/default'
make -C ../../../linux-2.6.16.13-4 O=../linux-2.6.16.13-4-obj/i386/default modules
  CC [M]  /tmp/vmware-config4/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config4/vmmon-only/linux/driver.h:20,
                from /tmp/vmware-config4/vmmon-only/linux/driver.c:49:
/tmp/vmware-config4/vmmon-only/./include/compat_wait.h:37:5: warning: "VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config4/vmmon-only/./include/compat_wait.h:43:5: warning: "VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config4/vmmon-only/linux/driver.h:20,
                from /tmp/vmware-config4/vmmon-only/linux/driver.c:49:
/tmp/vmware-config4/vmmon-only/./include/compat_wait.h:60: error: conflicting types for ‘poll_initwait’
/usr/src/linux-2.6.16.13-4/include/linux/poll.h:45: error: previous declaration of ‘poll_initwait’ was here
/tmp/vmware-config4/vmmon-only/linux/driver.c:145: warning: initialization from incompatible pointer type
/tmp/vmware-config4/vmmon-only/linux/driver.c:149: warning: initialization from incompatible pointer type
make[4]: *** [/tmp/vmware-config4/vmmon-only/linux/driver.o] Error 1
make[3]: *** [_module_/tmp/vmware-config4/vmmon-only] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16.13-4-obj/i386/default'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config4/vmmon-only'
Unable to build the vmmon module.

I'm not really sure where to start troubleshooting this. Has anyone been able to get the VMware Player running on SuSE 10.1?

EclipseAgent 07-11-2006 11:58 PM

wget http://platan.vc.cvut.cz/ftp/pub/vmware/vmware-any-any-update101.tar.gz
tar -xvf vmware-any*
cd vmware-any*
sudo runme.pl

That will then be your vmware-config.pl

kersten78 07-12-2006 06:51 AM

Thanks for the quick reply. I had only been able to find an older version of the vmware update (namely vmware-any-any-update93.tar.gz). It at first appeared that this solved the problem, as the runme.pl script succesfully invoked the vmware-config.pl script. However, running /usr/bin/vmplayer results in:
Code:

kris@tetra:~> vmplayer
vmware is installed, but it has not been (correctly) configured
for this system. To (re-)configure it, invoke the following command:
/usr/bin/vmware-config.pl.

Since the runme.pl script had already made it's changes, I ran vmware-config.pl on it's own, resulting in:
Code:

...
make[1]: Leaving directory `/usr/src/linux-2.6.16.13-4-obj/i386/default'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config5/vmmon-only'
The module loads perfectly in the running kernel.
...
...
make[1]: Leaving directory `/usr/src/linux-2.6.16.13-4-obj/i386/default'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config5/vmnet-only'
The module loads perfectly in the running kernel.

Starting VMware services:
  Virtual machine monitor                                            done
  Virtual ethernet                                                    done
  Bridged networking on /dev/vmnet0                                  failed
  Host-only networking on /dev/vmnet1 (background)                    done
  Host-only networking on /dev/vmnet8 (background)                    done
  NAT service on /dev/vmnet8                                          done

The configuration of VMware Player 1.0.1 build-19317 for Linux for this running
kernel completed successfully.

You can now run VMware Player by invoking the following command:
"/usr/bin/vmplayer".

Enjoy,

--the VMware team

I left out some of the intermediate output to save some space. The full output is here.

The only problem I can see is that the Bridged networking failed, and I'm not sure why. In the networking portion of the vmware-config script, it detected both my wired and wireless interfaces. Since I only use wireless, I chose that interface for the bridge. Would this failure be the reason that I'm getting the error when trying to run vmplayer?

kersten78 07-12-2006 07:29 AM

Well, the problem seems to be solved. For some reason, the vmware-config.pl script didn't remove the file /etc/vmware/not_configured after successful configuration. Strange. I'm still not sure why it says that the Bridged networking fails, but I'm able to run the browser appliance with networking. Thanks for the help.

EclipseAgent 07-12-2006 08:32 AM

Which config script did you run?


All times are GMT -5. The time now is 02:39 AM.