VMware Communities
lsching17
Contributor
Contributor

NAT port forwarding problem in WKS 8.0.1, Ubuntu 11.10 x64.

The host system is Ubuntu 11.10 x64.

I try to forward port 65404 - 65413 to my PC, but the virtual ethernet service will failed to start

Starting VMware services:
   Virtual machine monitor                                             done
   Virtual machine communication interface                             done
   VM communication interface socket family                            done
   Blocking file system                                                done
   Virtual ethernet                                                   failed
   VMware Authentication Daemon                                        done

but if i change the port to 50004 - 50013, the service can start successfully

is there any log file i need to attached for troubleshooting?

0 Kudos
5 Replies
Pavlinux
Enthusiast
Enthusiast

lsching17
Contributor
Contributor

thank you very much, but my kernel version is 3.0.0, this patch is for kernel 3.2.0

0 Kudos
Pavlinux
Enthusiast
Enthusiast

For linux-3.0.9 compiled normally, without any patches.

Difference between 3.0.0 and 3.0.9 does not change the API.

F%ck you distro creators Smiley Happy

---

Virtual ethernet                                                   failed

Try

# cd /tmp

# tar -xf /usr/lib/vmware/modules/source/vmnet.tar

# cd vmnet-only

# make

And paste here error logs

0 Kudos
lsching17
Contributor
Contributor

compile error on 3.0.0-12

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/3.0.0-12-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-headers-3.0.0-12-generic'
  CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/iommu.o
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function ‘IOMMU_AdjustMappings’:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:180:4: error: implicit declaration of function ‘iommu_present’ [-Werror=implicit-function-declaration]
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function ‘IOMMU_RegisterDevice’:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:415:7: error: too many arguments to function ‘iommu_domain_alloc’
include/linux/iommu.h:54:29: note: declared here
cc1: some warnings being treated as errors

make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/iommu.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.0.0-12-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'

0 Kudos
lsching17
Contributor
Contributor

i finally found that one of the port is being listened by other program. The problem is solved without patching the module, thanks for your help

0 Kudos