summaryrefslogtreecommitdiff
path: root/emulators/vmware3/files
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-04-28 22:23:27 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-04-28 22:23:27 +0000
commitfa7dd313a24baf6b83b93c490688947abde07ae4 (patch)
treec99f328cf807ba66e973837ede0e01f1a7612394 /emulators/vmware3/files
parent- Update to 0.16.11 (diff)
[UPDATE]: emulators/vmware3 - Various fixes and solution to crashes.
I've discovered that the instant freezes when clicking 'Power On' can be fixed by disabling APIC support. ACPI support, on or off, didn't seem to solve anything. I'd like to know whether or not disabling ACPI has actually helped anyone at all, as it could be removed from the pkg-message if not. I've reflected this in a completely re-worked, step-by-step, more clear pkg-message file. I've also added a wrapper script for the vmware wizard, mentioned it in the pkg-message, and fixed various portlint complaints. For some reason, the wizard cannot be launched from within VMware itself. I have no idea as to what causes this. PR: ports/92871 Submitted by: Travis Poppe <tlp@liquidx.org>
Notes
Notes: svn path=/head/; revision=160696
Diffstat (limited to 'emulators/vmware3/files')
-rw-r--r--emulators/vmware3/files/pkg-message.in42
-rw-r--r--emulators/vmware3/files/vmware-wizard26
2 files changed, 68 insertions, 0 deletions
diff --git a/emulators/vmware3/files/pkg-message.in b/emulators/vmware3/files/pkg-message.in
new file mode 100644
index 000000000000..fb49dbb83c6c
--- /dev/null
+++ b/emulators/vmware3/files/pkg-message.in
@@ -0,0 +1,42 @@
+************************************************************
+In order to use VMware, you must follow these steps:
+
+1) Mount linprocfs and add an entry for it in /etc/fstab.
+
+2) Make sure the Linux Compatibility module is loaded (use
+ 'kldstat' to check) or built into the kernel.
+
+3) Run '@@PREFIX@@/etc/rc.d/001.vmware.sh start'
+ to avoid rebooting.
+
+4) Load the kernel module aio.ko or add it to the kernel
+ with 'options VFS_AIO' -- otherwise expect problems.
+
+5) Run 'sysctl kern.ipc.shm_allow_removed=1' and add
+ the variable to /etc/sysctl.conf -- otherwise you will
+ get "Failed to initialize SVGA device" errors.
+
+6) Start vmware with the 'vmware' command, or the wizard
+ with the 'vmware-wizard' command.
+
+ * * * IMPORTANT * * *
+
+If you experience a freeze upon clicking 'Power On', try
+either:
+
+ 1 - Disabling ACPI support (use 'kldstat' to check) by
+ adding hint.acpi.0.disabled="1" to /boot/device.hints.
+
+ 2 - Disabling APIC support by either removing it from the
+ kernel or by adding hint.apic.0.disabled="1" to
+ /boot/device.hints.
+
+Consult the 'man' page or the installed documentation for
+more information.
+
+If you'd like to learn more on how to configure vmnet
+interfaces for multiple instances of VMware, please read:
+
+ @@PREFIX@@/share/doc/vmware/MultipleInstances.FreeBSD
+
+************************************************************
diff --git a/emulators/vmware3/files/vmware-wizard b/emulators/vmware3/files/vmware-wizard
new file mode 100644
index 000000000000..76f21bbcd9d9
--- /dev/null
+++ b/emulators/vmware3/files/vmware-wizard
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# Run vmware-wizard
+#
+# $FreeBSD$
+
+if [ ! -e @@LINUXBASE@@/proc/cpuinfo ]; then
+ echo "************************************************************"
+ echo "It seems Linux procfs is not mounted on @@LINUXBASE@@/proc."
+ echo "VMware does not work without Linux procfs mounted."
+ echo
+ echo "For details, see linprocfs(5) manpage."
+ echo "************************************************************"
+ exit 1
+fi
+
+LANG=C
+PATH=/bin:$PATH
+
+if [ _$TMPDIR = _ ]; then
+ TMPDIR=/var/tmp
+ echo Setting TMPDIR="$TMPDIR".
+ export TMPDIR
+fi
+
+exec @@PREFIX@@/lib/vmware/bin/vmware-wizard "$@"