VMware Communities
prefname
Contributor
Contributor

When will tools support Ubuntu 12.04 (be able to build vmxnet)?

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmxnet-only'
make -C /lib/modules/3.2.0-25-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-25-generic'
  CC [M]  /tmp/vmware-root/modules/vmxnet-only/vmxnet.o
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_probe_device’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1008:7: error: unknown field ‘ndo_set_multicast_list’ specified in initializer
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1008:7:   warning: initialization from incompatible pointer type [enabled by   default]
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1008:7:   warning: (near initialization for   ‘vmxnet_netdev_ops.ndo_vlan_rx_add_vid’) [enabled by default]
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_map_pkt’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2085:32: error: incompatible type for argument 2 of ‘pci_map_page’
include/asm-generic/pci-dma-compat.h:43:1: note: expected ‘struct page *’ but argument is of type ‘struct <anonymous>’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2104:26: error: incompatible type for argument 2 of ‘pci_map_page’
include/asm-generic/pci-dma-compat.h:43:1: note: expected ‘struct page *’ but argument is of type ‘struct <anonymous>’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: In function ‘vmxnet_rx_frags’:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2599:48:   error: incompatible types when assigning to type ‘struct   <anonymous>’ from type ‘struct page *’
make[2]: *** [/tmp/vmware-root/modules/vmxnet-only/vmxnet.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmxnet-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-25-generic'
make: *** [vmxnet.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmxnet-only'

0 Kudos
9 Replies
Rahulverma20111
Enthusiast
Enthusiast

It is not officially support yet. You can try the tech preview of VMware Workstation.

http://communities.vmware.com/community/vmtn/beta/workstationtp2012

Note: Please do not consider my comments/suggestions as an official response from VMware.
0 Kudos
prefname
Contributor
Contributor

Rahul Verma wrote:

It is not officially support yet. You can try the tech preview of VMware Workstation.

http://communities.vmware.com/community/vmtn/beta/workstationtp2012

The 8.0.3 release notes claim it's supported:

This release of VMware Workstation supports Ubuntu 12.04 as a guest operating system.

https://www.vmware.com/support/ws80/doc/releasenotes_workstation_803.html

0 Kudos
WoodyZ
Immortal
Immortal

Normally Ubuntu VM's use the Vlance (PCnet32) Network Adapter not the VMXNET Network Adapter and this is probably what Rahulverma201110141 was referring to as not supported, not Ubuntu 12.04 and a Guest in VMware Workstation 8.03 and later.

0 Kudos
prefname
Contributor
Contributor

WoodyZ wrote:

Normally Ubuntu VM's use the Vlance (PCnet32) Network Adapter not the VMXNET Network Adapter

I did not select vmxnet during vm creation (or even had a choice) nor did I modify the vm config.  So vmxnet is the default.

0 Kudos
Rahulverma20111
Enthusiast
Enthusiast

My mistake. Got confused I guess. I gave info assuming it to be the host OS. :smileyblush: Total lack of reading it properly.

Can you try editing the vmx for the particular virtual machine and check the line following entry. (Assuming that you have one NIC configured)

ethernet0.virtualDev =

Change it to

ethernet0.virtualDev = "vlance"

If the entry is not there add it in a new line in the vmx file. Also ensure that you are using virtual hardware version 8. Power on the VM and test.

Unrelated to the issue but you can also consider updating to 8.0.4 as it is available to download.

Note: Please do not consider my comments/suggestions as an official response from VMware.
0 Kudos
prefname
Contributor
Contributor

8.0.4 tools can not build vmxnet.   I am aware that you can change virtual netwrok adapters.  My question, however, is when will vmware tools be able to build vmxnet (i.e. support Ubunto 12.04 for real)?  Considering that support is claimed since 8.0.3, these build faiures are a bug that should be fixed in a point release, but 8.0.4 did not addresss them.

0 Kudos
WoodyZ
Immortal
Immortal

Rahul Verma wrote:

ethernet0.virtualDev =

Change it to

ethernet0.virtualDev = "vlance"

If the entry is not there add it in a new line in the vmx file. Also ensure that you are using virtual hardware version 8. Power on the VM and test.

Just for the record and as a VMware Employee you should already know, if the "ethernet0.virtualDev =" parameter does not previously exist then one does not need to explicitly add "ethernet0.virtualDev = "vlance"" because vlance is the default  when that parameter isn't present and the parameter does not need to be in the .vmx configuration file unless one wants to use e1000 or vmxnet then the parameter must be there.  There are other parameters as well that are defaults and the written parameter for them do not necessarily need to be there in order the the VMware product to invoke them as they are done so automatically.

0 Kudos
prefname
Contributor
Contributor

vlance is not the default for my 32 bit ubuntu vm

anyway, this thread is being sidetracked

Is it possible to get a straight answer from VMware?  vmxnet fails to build (vmware 8.0.4, win7 64 host, ubuntu 12.04 32 guest), despite the fact that 12.04 is claimed to be supported since 8.0.3.  Is this acknowledged as bug?  When will it be fixed?

0 Kudos
prefname
Contributor
Contributor

@Rahulverma - since you work at VMware can you ask one of your colleagues to clarify this situation.

0 Kudos