Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42482 - vmware configuration file vmware-config.pl can't configure vmmon-only
Summary: vmware configuration file vmware-config.pl can't configure vmmon-only
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Chris Gianelloni (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-22 08:27 UTC by Pavel
Modified: 2004-02-26 11:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel 2004-02-22 08:27:42 UTC
can't configure vmware's kernel modules

computer is an smp system

Reproducible: Always
Steps to Reproduce:
1./opt/vmware/bin/vmware-config.pl
Actual Results:  
 /opt/vmware/bin/vmware-config.pl


Making sure VMware Workstation's services are stopped.
 
Stopping VMware services:
   Virtual machine monitor                                             done
 
You must read and accept the End User License Agreement to continue.
Press enter to display it.
 
 
Do you accept? (yes/no) yes
 
Thank you.
 
Trying to find a suitable vmmon module for your running kernel.
 
None of VMware Workstation's pre-built vmmon modules 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]
 
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
 
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.3-mm1/build/include]
 
Extracting the sources of the vmmon module.
 
Building the vmmon module.
 
make: execvp: ./getversion.pl: Permission denied
make: Entering directory `/tmp/vmware-config24/vmmon-only'
Using 2.6.x kernel build system.
make -C /lib/modules/2.6.3-mm1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.3-mm1'
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
make[2]: execvp: /tmp/vmware-config24/vmmon-only/./getversion.pl: Permission denied
  CC [M]  /tmp/vmware-config24/vmmon-only/linux/driver.o
/tmp/vmware-config24/vmmon-only/linux/driver.c:98: error: syntax error before
';' tokenmake[2]: *** [/tmp/vmware-config24/vmmon-only/linux/driver.o] Error 1
make[1]: *** [/tmp/vmware-config24/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.3-mm1'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config24/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.


Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.3-mm1)
=================================================================
System uname: 2.6.3-mm1 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -mcpu=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/jakarta/tomcat/conf /usr/X11R6/lib/X11/xkb
/usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -mcpu=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib acl alsa apache2 arts avi berkdb cdr clamav crypt cups dillo encode
esd foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile icc imlib java jikes
jpeg junit ldap libg++ libwww mad maildir mikmod mmx motif mozilla moznocompose
moznoirc moznomail mozsvg mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib
perl png postgres python quicktime readline samba sdl slang spell sse ssl svga
tcltk tcpd tiff truetype x86 xface xml2 xmms xv zlib"
Comment 1 Matt Taylor 2004-02-22 14:01:34 UTC
I get the same error about getversion.pl and it's cuz I have /tmp mounted noexec.  If I remount it exec then vmware configures properly.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2004-02-26 10:08:50 UTC
Pavel?  Is your /tmp mounted noexec?
Comment 3 Pavel 2004-02-26 11:02:19 UTC
That seems to have fixed the bug that I described so thank you, no I have a different problem. If you can help great, otherwise I will have to make a new bug report.

Again thank you. I feel I am half way there.

 /opt/vmware/bin/vmware-config.pl
Making sure VMware Workstation's services are stopped.
 
Stopping VMware services:
   Virtual machine monitor                                             done
 
Trying to find a suitable vmmon module for your running kernel.
 
None of VMware Workstation's pre-built vmmon modules 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]
 
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
 
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.3-mm3/build/include]
 
Extracting the sources of the vmmon module.
 
Building the vmmon module.
 
Building for VMware Workstation 4.0.x.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config25/vmmon-only'
make -C /lib/modules/2.6.3-mm3/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.3-mm3'
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CC [M]  /tmp/vmware-config25/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-config25/vmmon-only/linux/hostif.o
  CC [M]  /tmp/vmware-config25/vmmon-only/common/vmx86.o
  CC [M]  /tmp/vmware-config25/vmmon-only/common/memtrack.o
  CC [M]  /tmp/vmware-config25/vmmon-only/common/phystrack.o
  CC [M]  /tmp/vmware-config25/vmmon-only/common/cpuid.o
  CC [M]  /tmp/vmware-config25/vmmon-only/common/task.o
cc1plus: warning: "-Wdeclaration-after-statement" is valid for C/ObjC but not
   for C++
  LD [M]  /tmp/vmware-config25/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST
  CC      /tmp/vmware-config25/vmmon-only/vmmon.mod.o
  LD [M]  /tmp/vmware-config25/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-2.6.3-mm3'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config25/vmmon-only'
The module loads perfectly in the running kernel.
 
Extracting the sources of the vmnet module.
 
Building the vmnet module.
 
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config25/vmnet-only'
make -C /lib/modules/2.6.3-mm3/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.3-mm3'
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CC [M]  /tmp/vmware-config25/vmnet-only/driver.o
  CC [M]  /tmp/vmware-config25/vmnet-only/hub.o
  CC [M]  /tmp/vmware-config25/vmnet-only/userif.o
  CC [M]  /tmp/vmware-config25/vmnet-only/netif.o
  CC [M]  /tmp/vmware-config25/vmnet-only/bridge.o
  CC [M]  /tmp/vmware-config25/vmnet-only/procfs.o
  LD [M]  /tmp/vmware-config25/vmnet-only/vmnet.o
  Building modules, stage 2.
/usr/src/linux-2.6.3-mm3/scripts/Makefile.modpost:17: Trouble: fs/fat/fat.ko net/ipv4/netfilter/ip_conntrack.ko net/ipv4/netfilter/ip_conntrack_ftp.ko net/ipv4/netfilter/ip_conntrack_irc.ko net/ipv4/netfilter/ip_nat_ftp.ko net/ipv4/netfilter/ip_nat_irc.ko net/ipv4/netfilter/ip_nat_snmp_basic.ko net/ipv4/netfilter/ip_tables.ko net/ipv4/netfilter/ipt_NETMAP.ko net/ipv4/netfilter/ipt_REDIRECT.ko net/ipv4/netfilter/ipt_REJECT.ko net/ipv4/netfilter/ipt_SAME.ko net/ipv4/netfilter/ipt_ah.ko net/ipv4/netfilter/ipt_conntrack.ko net/ipv4/netfilter/ipt_dscp.ko net/ipv4/netfilter/ipt_ecn.ko net/ipv4/netfilter/ipt_esp.ko net/ipv4/netfilter/ipt_helper.ko net/ipv4/netfilter/ipt_iprange.ko net/ipv4/netfilter/ipt_length.ko net/ipv4/netfilter/ipt_limit.ko net/ipv4/netfilter/ipt_mac.ko net/ipv4/netfilter/ipt_mark.ko net/ipv4/netfilter/ipt_multiport.ko net/ipv4/netfilter/ipt_owner.ko net/ipv4/netfilter/ipt_pkttype.ko net/ipv4/netfilter/ipt_recent.ko net/ipv4/netfilter/ipt_state.ko net/ipv4/netfilter/ipt_tcpmss.ko net/ipv4/netfilter/ipt_tos.ko net/ipv4/netfilter/ipt_ttl.ko net/ipv4/netfilter/iptable_filter.ko net/ipv4/netfilter/iptable_nat.ko fs/isofs/isofs.ko crypto/md5.ko fs/msdos/msdos.ko fs/ntfs/ntfs.ko crypto/sha512.ko fs/udf/udf.ko fs/vfat/vfat.ko /tmp/vmware-config25/vmmon-only/vmmon.ko /tmp/vmware-config25/vmnet-only/vmnet.ko
/usr/src/linux-2.6.3-mm3/scripts/Makefile.modpost:18: *** Uh-oh, you have stale module entries. You messed with SUBDIRS,
/usr/src/linux-2.6.3-mm3/scripts/Makefile.modpost:19: do not complain if something goes wrong.
  MODPOST
  CC      /tmp/vmware-config25/vmnet-only/vmnet.mod.o
  LD [M]  /tmp/vmware-config25/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/linux-2.6.3-mm3'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config25/vmnet-only'
The module loads perfectly in the running kernel.
 
Do you want networking for your virtual machines? (yes/no/help) [no]
 
Do you want this program to automatically configure your system to allow your
virtual machines to access the host's filesystem? (yes/no/help) [no]
 
Starting VMware services:
   Virtual machine monitor                                            failed
 
The configuration of VMware Workstation 4.0.5 build-6030 for Linux for this
running kernel completed successfully.
 
You can now run VMware Workstation by invoking the following command:
"/opt/vmware/bin/vmware".
 
Enjoy,
 
--the VMware team


Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2004-02-26 11:19:07 UTC
I would say create a new bug and assign it to me.  I'll comment there, since it is a different problem.