Hallo:
I’m trying to install VMWare Server on OpenSuse 11.2 and now I have problems again (I had with 11.1).
Please, can any tell me how to install VMWare Server (1.x or 2.x) on OpenSuse 11.2.
Thanks
Hallo:
I’m trying to install VMWare Server on OpenSuse 11.2 and now I have problems again (I had with 11.1).
Please, can any tell me how to install VMWare Server (1.x or 2.x) on OpenSuse 11.2.
Thanks
Hi!
What sort of problem are you facing exactly? I don’t know if this guide will still help but try and see.
Regards
I too have a problem with installing VMware.
Number 1 the vmware-config.pl complains that the gcc is the wrong version. Says the gcc is ver 4.4 but the kernel is compiled in 4.4.1. It appears I have both 4.4 and 4.4.1 installed ( this is weired) But I can bypass this problem.
Number 2 the show stopper. Both kernel-source and kernel headers are installed. But the config program finds the include directory it can not find a version.h file and refuses to go on. If I point to /usr/include/linux it complains that
“The header files in /usr/include are generally for C libraries, not for the
running kernel.”
It would allow me to continue but…???
It looks like the version.h is missing from the kernel-source which should be at /usr/src/linux/include
I was able to get VMware workstation 6.5 running on 11.2. I had been getting this same error about the kernel headers. Make sure you have kernel-desktop-devel installed. That is mentioned in the ‘Installing Required Packages’ here:
> I was able to get VMware workstation 6.5 running on 11.2. I had been
> getting this same error about the kernel headers. Make sure you have
> kernel-desktop-devel installed. That is mentioned in the ‘Installing
> Required Packages’ here:
>
> ‘Setting up VMware Workstation - openSUSE’
> (http://en.opensuse.org/Setting_up_VMware_Workstation)
Currently I do not believe it is possible to install Server on 11.2.
There may have to be a hack of some sort published before it will work.
Workstation seems to be a different animal.
I solved this by:
cd /usr/src/linux
make mrproper; make cloneconfig; make modules_prepare
Then I got 1 step further in the script, but now I’m stuck with a new error.
Let me know how you succeeded. I’ve switched to Vmware player in the meantime.
Ivan
I’ve followed instructions of link:
Install VMware server 2 in Suse / openSUSE 11 & USB support
I use 32bits.
But now, error I is the next.
Any suggestion?
Thanks
linux-2628:~ # vmware-config.pl
Making sure services for VMware Server are stopped.
Stopping VMware autostart virtual machines:
Virtual machines failed
Stopping VMware management services:
VMware Virtual Infrastructure Web Access
VMware Server Host Agent failed
Stopping VMware services:
VMware Authentication Daemon done
Virtual machine monitor done
None of the pre-built vmmon modules for VMware Server is suitable for your
running kernel. Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes] yes
Using compiler “/usr/bin/gcc”. Use environment variable CC to override.
Your kernel was built with “gcc” version “4.4.1”, while you are trying to use
“/usr/bin/gcc” version “4.4”. This configuration is not recommended and VMware
Server may crash if you’ll continue. Please try to use exactly same compiler as
one used for building your kernel. Do you want to go with compiler
“/usr/bin/gcc” version “4.4” anyway? [no] yes
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.31.5-0.1-default/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory /tmp/vmware-config5/vmmon-only' make -C /lib/modules/2.6.31.5-0.1-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory
/usr/src/linux-2.6.31.5-0.1-obj/i386/default’
make -C …/…/…/linux-2.6.31.5-0.1 O=/usr/src/linux-2.6.31.5-0.1-obj/i386/default/. modules
CC [M] /tmp/vmware-config5/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config5/vmmon-only/linux/driver.c:31:
/tmp/vmware-config5/vmmon-only/./include/compat_wait.h:78: error: conflicting types for ‘poll_initwait’
/usr/src/linux-2.6.31.5-0.1/include/linux/poll.h:70: note: previous declaration of ‘poll_initwait’ was here
In file included from /tmp/vmware-config5/vmmon-only/./include/vmware.h:38,
from /tmp/vmware-config5/vmmon-only/linux/driver.c:99:
/tmp/vmware-config5/vmmon-only/./include/vm_basic_types.h:108:7: warning: “FreeBSD” is not defined
In file included from /tmp/vmware-config5/vmmon-only/./include/vcpuset.h:103,
from /tmp/vmware-config5/vmmon-only/./include/modulecall.h:37,
from /tmp/vmware-config5/vmmon-only/./common/vmx86.h:33,
from /tmp/vmware-config5/vmmon-only/linux/driver.h:29,
from /tmp/vmware-config5/vmmon-only/linux/driver.c:101:
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:329:7: warning: “_MSC_VER” is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:333:7: warning: “_MSC_VER” is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:401:7: warning: “_MSC_VER” is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:407:7: warning: “_MSC_VER” is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:506:7: warning: “_MSC_VER” is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:595:7: warning: “_MSC_VER” is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:684:7: warning: “_MSC_VER” is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:773:7: warning: “_MSC_VER” is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:775:7: warning: “_MSC_VER” is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:860:7: warning: “_MSC_VER” is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:862:7: warning: “_MSC_VER” is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:945:7: warning: “_MSC_VER” is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:947:7: warning: “_MSC_VER” is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:1028:7: warning: “_MSC_VER” is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:1030:7: warning: “_MSC_VER” is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:1223:7: warning: “_MSC_VER” is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:1227:7: warning: “_MSC_VER” is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:1536:7: warning: “_MSC_VER” is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_atomic.h:1663:7: warning: “_MSC_VER” is not defined
In file included from /tmp/vmware-config5/vmmon-only/./include/vm_basic_asm.h:46,
from /tmp/vmware-config5/vmmon-only/./include/rateconv.h:45,
from /tmp/vmware-config5/vmmon-only/./include/modulecall.h:40,
from /tmp/vmware-config5/vmmon-only/./common/vmx86.h:33,
from /tmp/vmware-config5/vmmon-only/linux/driver.h:29,
from /tmp/vmware-config5/vmmon-only/linux/driver.c:101:
/tmp/vmware-config5/vmmon-only/./include/vm_basic_asm_x86.h:62:7: warning: “_MSC_VER” is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_basic_asm_x86.h:177:7: warning: “_MSC_VER” is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_basic_asm_x86.h:346:7: warning: “_MSC_VER” is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_basic_asm_x86.h:453:7: warning: “_MSC_VER” is not defined
In file included from /tmp/vmware-config5/vmmon-only/./include/vm_asm.h:43,
from /tmp/vmware-config5/vmmon-only/linux/driver.c:103:
/tmp/vmware-config5/vmmon-only/./include/vm_asm_x86.h:486:7: warning: “_MSC_VER” is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_asm_x86.h:779:7: warning: “_MSC_VER” is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_asm_x86.h:820:7: warning: “_MSC_VER” is not defined
/tmp/vmware-config5/vmmon-only/./include/vm_asm_x86.h:922:7: warning: “_MSC_VER” is not defined
In file included from /tmp/vmware-config5/vmmon-only/linux/driver.c:119:
/tmp/vmware-config5/vmmon-only/./common/hostif.h:53:7: warning: “WINNT_DDK” is not defined
/tmp/vmware-config5/vmmon-only/linux/driver.c: In function ‘LinuxDriverSyncCallOnEachCPU’:
/tmp/vmware-config5/vmmon-only/linux/driver.c:1423: error: too many arguments to function ‘smp_call_function’
/tmp/vmware-config5/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/vmware-config5/vmmon-only/linux/driver.c:1987: error: ‘struct task_struct’ has no member named ‘euid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1987: error: ‘struct task_struct’ has no member named ‘uid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1988: error: ‘struct task_struct’ has no member named ‘fsuid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1988: error: ‘struct task_struct’ has no member named ‘uid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1989: error: ‘struct task_struct’ has no member named ‘egid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1989: error: ‘struct task_struct’ has no member named ‘gid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1990: error: ‘struct task_struct’ has no member named ‘fsgid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:1990: error: ‘struct task_struct’ has no member named ‘gid’
/tmp/vmware-config5/vmmon-only/linux/driver.c:2007: error: too many arguments to function ‘smp_call_function’
make[4]: *** [/tmp/vmware-config5/vmmon-only/linux/driver.o] Error 1
make[3]: *** [module/tmp/vmware-config5/vmmon-only] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory /usr/src/linux-2.6.31.5-0.1-obj/i386/default' make: *** [vmmon.ko] Error 2 make: Leaving directory
/tmp/vmware-config5/vmmon-only’
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at “http://www.vmware.com/go/unsup-linux-products” and
“http://www.vmware.com/go/unsup-linux-tools”.
Execution aborted.
I got the same errors, but still looking for a solution. Please share your solution if you’ll find one.
Finally, I’ve installed VMWare Player.
It isn’t what I’m looking for but at least, I’ll be able to run created machines.
But I’ll like to install VM Server.
Which version of vmware server are you ppl installing? I see there’s a new version out at VMware site. I’m dlding that and will try to install it later this week.
Tried with VMWare Server 2.0.2.
If it were possible I’d prefer 1.0.10 (I think is uses less memory, is faster and solves my requirements). But suppose is more complicated…
Regards
> If it were possible I’d prefer 1.0.10 (I think is uses less memory, is
> faster and solves my requirements). But suppose is more complicated…
1.0.10 does not install.
I’m trying to install VMware Server (package: VMware-server-2.0.2-203138.i386.rpm) and i have the same problem like torcaz99 ( his message from Yesterday 15:45 )
Much appreciated for some help :shame:
Check this link:
Works for me except vsock.o doesn’t install
Cheers
Hi,
I was following your tutorial on your page and I’m stuck. I can’t apply the patch when using : sudo patch /usr/bin/vmware-config.pl /usr/bin/vmware-config.pl.patch.txt
os is 11.2 x64
VMware-server-2.0.2-203138.x86_64.rpm
I get this error:
patch: **** Can’t open patch file /usr/bin/vmware-config.pl.patch.txt : No such file or directory
But it is there… help!
Looks like you didn’t use the full path for the two files, like in the sudo command?
OK, I now see what I did wrong. When I created the .patch.txt file from your page I named it vmwar.config.pl.patch.txt when it should have been vmware-config.pl.patch.txt
I restored the original vmware-config.pl and renamed the patch.txt file and ran the sudo command again. I then ran vmware-config.pl again but still no joy. Looks like I’m getting the same problem as many others:
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
make[1]: *** [module/tmp/vmware-config0/vmmon-only] Error 2
make[1]: Leaving directory /usr/src/linux-2.6.31.5-0.1' make: *** [vmmon.ko] Error 2 make: Leaving directory
/tmp/vmware-config0/vmmon-only’
Unable to build the vmmon module.
Any tips? TIA
Not at this time, I’m very busy until the weekend and still haven’t tried vmware server myself in 11.2
I get the error message reported by others, ending with
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
make[1]: *** [module/tmp/vmware-config0/vmmon-only] Error 2
make[1]: Leaving directory/usr/src/linux-2.6.31.5-0.1' make: *** [vmmon.ko] Error 2 make: Leaving directory
/tmp/vmware-config0/vmmon-only’
Unable to build the vmmon module.
The problem is with VMware inc, not openSUSE. The current version vmware-server-2.0.2 supports only to Linux kernel 2.6.27 – and we’re currently using 2.6.31.
It seems the openSUSE devs are planning a note in revised openSUSE release notes describing the issue. That means IMHO that you can probably forget about vmware server for openSUSE 11.2
There are some complicated patches being talked about in Ubuntu forums, but you have to build from the tar.gz file and work them into that build (I think). I’m not clever enough to do that and also I’m not that desperate and just getting a little peeved with the long standing issues with vmware server.
I’ll try again if/when they create a new version of the server product.
Edit: the RPMs now install properly in openSUSE 11.2 32 & 64 bit with a patch from Ubuntu Geek: Install VMware server
Thank you. Yes, it is a VMware problem. This should be the solution:
Newer kernels using a struct to access the user subroutines. That’s not a
SuSE-problem.The simple solution to change the file source/vmnet-only/netif.c funktion
VNetNetIfSetup
static struct net_device_ops ndo_dev;
ether_setup(dev); // turns on IFF_BROADCAST, IFF_MULTICAST
ndo_dev.ndo_init = VNetNetifProbe;
ndo_dev.ndo_open = VNetNetifOpen;
ndo_dev.ndo_start_xmit = VNetNetifStartXmit;
ndo_dev.ndo_stop = VNetNetifClose;
ndo_dev.ndo_get_stats = VNetNetifGetStats;
ndo_dev.ndo_set_mac_address = VNetNetifSetMAC;
ndo_dev.ndo_set_multicast_list = VNetNetifSetMulticast;
dev->netdev_ops=&ndo_dev;#ifdef KERNEL_2_3_43
.
.Dont forget to repack this changed file into vmnet.tar. You get a lot of
warnings while compile, but it works for all my VM’s.
Can someone make a how to of this ? :shame: