You are not logged in.

#1 2007-10-16 08:55:17

cassy
Member
Registered: 2007-05-26
Posts: 6

[vmware] Problem to build vmnet module with 2.6.22 kernel

Hi,
I follow the wiki
And I have a problem to build vmnet module.

Do you wish to configure another host-only network? (yes/no) [no]

Extracting the sources of the vmnet module.

Building the vmnet module.

Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: entrant dans le répertoire « /tmp/vmware-config0/vmnet-only »
make -C /lib/modules/2.6.22-ARCH/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: entrant dans le répertoire « /usr/src/linux-2.6.22-ARCH »
  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/filter.o
  CC [M]  /tmp/vmware-config0/vmnet-only/procfs.o
  CC [M]  /tmp/vmware-config0/vmnet-only/smac_compat.o
  CC [M]  /tmp/vmware-config0/vmnet-only/smac_linux.x386.o
  LD [M]  /tmp/vmware-config0/vmnet-only/vmnet.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-config0/vmnet-only/vmnet.mod.o
  LD [M]  /tmp/vmware-config0/vmnet-only/vmnet.ko
make[1]: quittant le répertoire « /usr/src/linux-2.6.22-ARCH »
cp -f vmnet.ko ./../vmnet.o
make: quittant le répertoire « /tmp/vmware-config0/vmnet-only »
Unable to make a vmnet module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config0/vmnet.o': -1 File exists
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel.  You may want to
rebuild a kernel based on that directory, or specify another directory.

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.html".

Execution aborted.

How to resolve this?
Thanks for your help.

Last edited by cassy (2007-10-16 08:55:42)

Offline

#2 2007-10-17 04:55:24

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: [vmware] Problem to build vmnet module with 2.6.22 kernel

You need to apply some patches to get it to compile with newer kernels. I'd suggest using the PKGBUILD in AUR.


I am a gated community.

Offline

Board footer

Powered by FluxBB