VMware Cloud Community
psingh1
Contributor
Contributor

vmxnet3 drivers for linux

I've installed vmware-tools with the vmxnet driver on montavista linux, but still not able to get the VMXNET3 NIC up. The interface is not responding to ifconfig. The vmxnet driver is not loading using insmod.

Is the driver for vmxnet3 not included in the vmware-tools ?

0 Kudos
4 Replies
AWo
Immortal
Immortal

It is, called vmxnet.

Have you comipled the VMware Tools or used the .rpm package? If you have compiled them, check the log or do it again (by calling "vmware-config-tools.pl" again) and see if the vmxnet module can be compiled.

BTW, the guest hardware version must be at least 7.


AWo

VCP 3 & 4

Author @ vmwire.net

\[:o]===\[o:]

=Would you like to have this posting as a ringtone on your cell phone?=

=Send "Posting" to 911 for only $999999,99!=

vExpert 2009/10/11 [:o]===[o:] [: ]o=o[ :] = Save forests! rent firewood! =
0 Kudos
psingh1
Contributor
Contributor

the vmxnet driver that is bundled with vmware-tools supports vmxnet NIC only. It does not support the vmxnet2/3 virtualized NIC. I googled for vmxnet3 driver and found the the latest linux kernel 2.6.32 has vmxnet3 driver built into it. ive pulled out the source from drivers/net/vmxnet3. However, its not compiling with the older kernel that i have 2.6.10

Are there any open source implementations of vmxnet3 drivers that are backward compatilble ?

0 Kudos
psingh1
Contributor
Contributor

drivers are included in the linux.iso the is downloaded by the latest version of VM Player. The vmxnet3 driver however is not compiling against the earlier linux 2.6.10 kernel. I've noticed that vmxnet3 is not included in the source tree of kenel 2.6.32.6.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Using 2.6.x kernel build system.

make -C /lib/modules/2.6.10_mvl401-pc_target/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

MODULEBUILDDIR= modules

make[1]: Entering directory `/usr/src/linux'

CC /opt/vmware-tools-distrib/lib/modules/source/vmxnet3-only/vmxnet3.o

/opt/vmware-tools-distrib/lib/modules/source/vmxnet3-only/vmxnet3.c: In function `vmxnet3_check_link':

/opt/vmware-tools-distrib/lib/modules/source/vmxnet3-only/vmxnet3.c:141: sorry, unimplemented: inlining failed in call to 'vmxnet3_tq_start': function body not available

/opt/vmware-tools-distrib/lib/modules/source/vmxnet3-only/vmxnet3.c:281: sorry, unimplemented: called from here

/opt/vmware-tools-distrib/lib/modules/source/vmxnet3-only/vmxnet3.c:143: sorry, unimplemented: inlining failed in call to 'vmxnet3_tq_stop': function body not available

/opt/vmware-tools-distrib/lib/modules/source/vmxnet3-only/vmxnet3.c:287: sorry, unimplemented: called from here

make[2]: *** Error 1

make[1]: *** module/opt/vmware-tools-distrib/lib/modules/source/vmxnet3-only Error 2

make[1]: Leaving directory `/usr/src/linux'

make: *** vmxnet3.ko Error 2

0 Kudos
psingh1
Contributor
Contributor

i managed to compile the driver on my own. Hoping to get a fix for the function inlining. The kernel version im compiling for is 2.6.10 with gcc 3.4.3. Worked out for me there were only 2 functions requiring inlining to be commented out to get the driver to compile. The NIC is up at 10 Gbps !!

0 Kudos