Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem with Vmware (vmnet)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
luca
Guru
Guru


Joined: 11 Feb 2004
Posts: 374

PostPosted: Fri Mar 03, 2006 4:04 pm    Post subject: problem with Vmware (vmnet) Reply with quote

Hi All,

I'm trying to make the modules that vmware needs. Here is what I get when I do
/opt/vmware/workstation/bin/vmware-config.pl

Code:
Making sure services for VMware Workstation are stopped.

Stopping VMware services:
   Virtual machine monitor                                             done
   Bridged networking on /dev/vmnet0                                   done
   DHCP server on /dev/vmnet1                                          done
   Host-only networking on /dev/vmnet1                                 done
   DHCP server on /dev/vmnet8                                          done
   NAT service on /dev/vmnet8                                          done
   Host-only networking on /dev/vmnet8                                 done
   Virtual ethernet                                                    done

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.15-gentoo-r1/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-config9/vmmon-only'
make -C /lib/modules/2.6.15-gentoo-r1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.15-gentoo-r1'
  CC [M]  /tmp/vmware-config9/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-config9/vmmon-only/linux/hostif.o
In file included from /tmp/vmware-config9/vmmon-only/linux/hostif.c:68:
/tmp/vmware-config9/vmmon-only/include/pgtbl.h: In function `PgtblVa2PTELocked':
/tmp/vmware-config9/vmmon-only/include/pgtbl.h:81: warning: passing arg 1 of `pmd_offset' from incompatible pointer type
  CC [M]  /tmp/vmware-config9/vmmon-only/common/cpuid.o
  CC [M]  /tmp/vmware-config9/vmmon-only/common/memtrack.o
  CC [M]  /tmp/vmware-config9/vmmon-only/common/phystrack.o
  CC [M]  /tmp/vmware-config9/vmmon-only/common/task.o
  CC [M]  /tmp/vmware-config9/vmmon-only/common/vmx86.o
  LD [M]  /tmp/vmware-config9/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST
  CC      /tmp/vmware-config9/vmmon-only/vmmon.mod.o
  LD [M]  /tmp/vmware-config9/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-2.6.15-gentoo-r1'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config9/vmmon-only'
The module loads perfectly in the running kernel.

This program previously created the file /dev/vmmon, and was about to remove it.
Somebody else apparently did it already.

Extracting the sources of the vmnet module.

Building the vmnet module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config9/vmnet-only'
make -C /lib/modules/2.6.15-gentoo-r1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.15-gentoo-r1'
  CC [M]  /tmp/vmware-config9/vmnet-only/driver.o
/tmp/vmware-config9/vmnet-only/driver.c: In function `VNetProcessOwnsPort':
/tmp/vmware-config9/vmnet-only/driver.c:1396: error: structure has no member named `max_fds'
make[2]: *** [/tmp/vmware-config9/vmnet-only/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config9/vmnet-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.15-gentoo-r1'
make: *** [vmnet.ko] Error 2
make: Leaving directory `/tmp/vmware-config9/vmnet-only'
Unable to build the vmnet 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.
Any suggestions what might go wrong ?
I'm using a 4.5 version of vmware, because of my license ?
If no suggestions, maybe it will help if I turn off networking, but how do I turn that off ?

Thanks in advance
Luca
Back to top
View user's profile Send private message
sternklang
Veteran
Veteran


Joined: 10 Sep 2005
Posts: 1641
Location: Somewhere in time and space

PostPosted: Fri Mar 03, 2006 7:03 pm    Post subject: Reply with quote

I'm running 5.5. For a while, when the first couple of 5.5 ebuilds came out, I ran into the same issue, but if I immediately re-ran vmware-config.pl after the failed build, the compile would finish and everything would work. Eventually, an ebuild came through with this problem fixed.

If that doesn't work, you should file a bug on this.
Back to top
View user's profile Send private message
kalle2
n00b
n00b


Joined: 18 Jan 2005
Posts: 33

PostPosted: Wed Mar 22, 2006 11:19 am    Post subject: Reply with quote

look here: https://forums.gentoo.org/viewtopic-t-419330-highlight-unable+vmnet+module.html
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Wed Mar 22, 2006 1:21 pm    Post subject: Reply with quote

Moved from Kernel & Hardware to Duplicate Threads, please see the topic mentioned above.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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