Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vmware-config.pl doesn't make modules
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
alecpap
n00b
n00b


Joined: 12 Oct 2005
Posts: 11

PostPosted: Wed Nov 09, 2005 10:58 pm    Post subject: vmware-config.pl doesn't make modules Reply with quote

I just emerged VMware 5.5.0, and when I run /opt/vmware/workstation/vmware-config.pl, it completes successfully, but the kernel modules it says it's creating arn't actually there. Here's what happens:

Code:
Configuring fallback GTK+ 2.4 libraries.

Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Workstation 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.12-gentoo-r9/build/include]
Extracting the sources of the vmmon module.

Building the vmmon module.

make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.12-gentoo-r9/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.12-gentoo-r9'
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/hostif.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/cpuid.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/hash.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/memtrack.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/phystrack.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/task.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/vmx86.o
  CC [M]  /tmp/vmware-config0/vmmon-only/vmcore/moduleloop.o
  LD [M]  /tmp/vmware-config0/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST
  CC      /tmp/vmware-config0/vmmon-only/vmmon.mod.o
  LD [M]  /tmp/vmware-config0/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-2.6.12-gentoo-r9'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
The module loads perfectly in the running kernel.

You have already setup networking.

Would you like to skip networking setup and keep your old settings as they are?
(yes/no) [no]
Extracting the sources of the vmnet module.

Building the vmnet module.

make: Entering directory `/tmp/vmware-config0/vmnet-only'
make -C /lib/modules/2.6.12-gentoo-r9/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.12-gentoo-r9'
  CC [M]  /tmp/vmware-config0/vmnet-only/driver.o
  CC [M]  /tmp/vmware-config0/vmnet-only/hub.o
  CC [M]  /tmp/vmware-config0/vmnet-only/userif.o
  CC [M]  /tmp/vmware-config0/vmnet-only/netif.o
  CC [M]  /tmp/vmware-config0/vmnet-only/bridge.o
  CC [M]  /tmp/vmware-config0/vmnet-only/procfs.o
  CC [M]  /tmp/vmware-config0/vmnet-only/smac_compat.o
  SHIPPED /tmp/vmware-config0/vmnet-only/smac_linux.x386.o
  LD [M]  /tmp/vmware-config0/vmnet-only/vmnet.o
  Building modules, stage 2.
  MODPOST
  CC      /tmp/vmware-config0/vmnet-only/vmnet.mod.o
  LD [M]  /tmp/vmware-config0/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/linux-2.6.12-gentoo-r9'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config0/vmnet-only'
The module loads perfectly in the running kernel.


The configuration of VMware Workstation 5.5.0 build-18007 for Linux for this
running kernel completed successfully.

You can now run VMware Workstation by invoking the following command:
"/opt/vmware/workstation/bin/vmware".

Enjoy,

--the VMware team


The directory /tmp/vmware-config0 doesn't even exist!

VMware runs fine, I just run into problems when I try to startup a virtual machine, since the modules arn't there.

I've tried makeing vmware-config0 and all the subdirectories myself and running the script, but still nothing was written.
Back to top
View user's profile Send private message
HackingM2
Apprentice
Apprentice


Joined: 26 Jul 2004
Posts: 245
Location: Cambridge, England

PostPosted: Mon Nov 14, 2005 1:10 am    Post subject: Reply with quote

For me that script installs the modules into /lib/modules/2.6.13-gentoo-r5/misc/

Try modprobe -ls | grep vm and see if it lists any vm* modules. I get the following....

/lib/modules/2.6.13-gentoo-r5/misc/vmnet.o
/lib/modules/2.6.13-gentoo-r5/misc/vmmon.o
/lib/modules/2.6.13-gentoo-r5/misc/vmnet.ko
/lib/modules/2.6.13-gentoo-r5/misc/vmmon.ko

I have never needed to modprobe them myself, vmware always loaded them for me but you could try and load them by hand if they are listed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum