Skip to contentSkip to conversation

trying to get vmware working inside xen0 or xenU

DISCUSSION Tupshin Harper 1 participant 1 message Feb 7, 2005

lore
Share & tools
lore
#0 lore raw

I've seen a number of mentions of running xen in vmware, but none about running vmware in xen, which would seem to be much more desirable if somebody actually wanted to combine them in a production environment. Has anybody done this yet?

I first tried installing vmware (4.5.2 and 5.0 rc1) in a xenU. After pointing vmware's installer at the kernel headers, I encountered a number of compilation problems while trying to build the vmmon module (see error log at the bottom of this message).

I then tried installing it in xen0, with much stranger results. The modules built and load just fine, but when I try to run the vmware binary itself, I get the error immediately below. This is on a machine with 1GB ram, with 600M allocted to dom0, and no domU's running.

-Tupshin

------vmware on xen0 runtime problem-----------------

Feb 07 08:20:25: vmui| Log for VMware Workstation pid=5372 version=5.0.0 build=build-12206 option=Release
Feb 07 08:20:25: vmui| Using log file /tmp/vmware-tupshin/ui-5372.log
Feb 07 08:20:25: vmui| VmdbVmCfg_GetDictionary: could not load dictionary file /home/tupshin/.vmware/preferences.
Feb 07 08:20:25: vmui| VMCLient_AllocVMClient failed: ret = Memory
Feb 07 08:20:25: vmui| Unable to initialize host: Memory
Feb 07 08:20:25: vmui| Backtrace:
Feb 07 08:20:25: vmui| Backtrace[0] 0xbfffecc8 eip 0x81febd5
Feb 07 08:20:25: vmui| Backtrace[1] 0xbfffece8 eip 0x8072638
Feb 07 08:20:25: vmui| Backtrace[2] 0xbfffee78 eip 0x80896aa
Feb 07 08:20:25: vmui| Backtrace[3] 0xbffff078 eip 0x80843b9
Feb 07 08:20:25: vmui| Backtrace[4] 0xbffff0f8 eip 0x8073fcb
Feb 07 08:20:25: vmui| Backtrace[5] 0xbffff408 eip 0x8072606
Feb 07 08:20:25: vmui| Backtrace[6] 0xbffff438 eip 0x40eb9dc6
Feb 07 08:20:25: vmui| Backtrace[7] 00000000 eip 0x80723d1
Feb 07 08:20:25: vmui| Msg_Post: Error
Feb 07 08:20:25: vmui| [msg.log.error.unrecoverable] VMware Workstation unrecoverable error: (vmui)
Feb 07 08:20:25: vmui| Unable to initialize host: Memory
Feb 07 08:20:25: vmui| [msg.panic.haveLog] A log file is available in "/tmp/vmware-tupshin/ui-5372.log".  [msg.panic.requestSupport.withLog] Please request support and include the contents of
 the log file.  [msg.panic.requestSupport.linux]
Feb 07 08:20:25: vmui| To collect files to submit to VMware support, run vm-support.
Feb 07 08:20:25: vmui| [msg.panic.response] We will respond on the basis of your support entitlement.
Feb 07 08:20:25: vmui| ----------------------------------------

-----vmware on xenU build problems----------------------------- Building the vmmon module.

Using standalone build system.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make[1]: Entering directory /tmp/vmware-config1/vmmon-only' make[2]: Entering directory /tmp/vmware-config1/vmmon-only/driver-2.6.10-xenU' make[2]: Leaving directory /tmp/vmware-config1/vmmon-only/driver-2.6.10-xenU' make[2]: Entering directory /tmp/vmware-config1/vmmon-only/driver-2.6.10-xenU' In file included from /usr/src/include/linux/module.h:10,

                 from ../linux/driver.c:13:

/usr/src/include/linux/sched.h:200: warning: `struct vm_area_struct' declared inside parameter list /usr/src/include/linux/sched.h:200: warning: its scope is only this definition or declaration, which is probably not what you want /usr/src/include/linux/sched.h:201: warning: `struct vm_area_struct' declared inside parameter list
In file included from /usr/src/include/asm/pgtable.h:416,

                 from /usr/src/include/linux/mm.h:36,
                 from /usr/src/include/linux/poll.h:11,
                 from ../linux/driver.c:26:

/usr/include/asm-generic/pgtable.h:5: error: redefinition of ptep_test_and_clear_young' /usr/src/include/asm/pgtable.h:254: error: ptep_test_and_clear_young' previously defined here /usr/include/asm-generic/pgtable.h:14: error: redefinition of ptep_test_and_clear_dirty' /usr/src/include/asm/pgtable.h:247: error: ptep_test_and_clear_dirty' previously defined here /usr/include/asm-generic/pgtable.h:22: error: parse error before '{' token /usr/include/asm-generic/pgtable.h:30: error: redefinition of ptep_set_wrprotect' /usr/src/include/asm/pgtable.h:260: error: ptep_set_wrprotect' previously defined here /usr/include/asm-generic/pgtable.h:36: error: redefinition of ptep_mkdirty' /usr/src/include/asm/pgtable.h:261: error: ptep_mkdirty' previously defined here In file included from ../linux/driver.h:18,

                 from ../linux/driver.c:38:

../include/compat_wait.h:60: error: conflicting types for poll_initwait' /usr/src/include/linux/poll.h:45: error: previous declaration of poll_initwait' ../linux/driver.c:131: warning: initialization from incompatible pointer type ../linux/driver.c:135: warning: initialization from incompatible pointer type make[2]: *** [driver.o] Error 1
make[2]: Leaving directory `/tmp/vmware-config1/vmmon-only/driver-2.6.10-xenU' make[1]: *** [driver] Error 2
make[1]: Leaving directory `/tmp/vmware-config1/vmmon-only'
make: *** [auto-build] Error 2
make: Leaving directory `/tmp/vmware-config1/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/download/modules/modules.html" and "http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl