Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 386521

Summary: Network doesn't work in VMware Workstation 8/Player 4
Product: Gentoo Linux Reporter: Janek Bevendorff <bevendorffjanek>
Component: Current packagesAssignee: Vadim Kuznetsov (RETIRED) <vadimk>
Status: RESOLVED FIXED    
Severity: normal CC: bevendorffjanek, vmware+disabled
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Janek Bevendorff 2011-10-09 13:59:16 UTC
I had this problem here after upgrading to VMware Player 4/VMware Workstation 8: http://communities.vmware.com/message/1842848
I could finally work around this issue by installing VMware Worstation 8.0.0.471780-r5 from the vmware overlay. But now the network is failing (which didn't happen before).

When I try to connect it, I get the message:

Could not connect Ethernet0 to virtual network "/dev/vmnet0". More information can be found in the vmware.log file.
Failed to connect virtual device Ethernet0.

The log file says:

2011-10-09T14:51:46.656+01:00| vcpu-0| I120: VNET: ethernet0 enable link state propagation, lsp.state = 5
2011-10-09T14:51:46.656+01:00| vcpu-0| I120: VNET: MACVNetPortOpenDevice: Ethernet0: can't open vmnet device (No such file or directory)
2011-10-09T14:51:46.656+01:00| vcpu-0| I120: VNET: MACVNetPort_Connect: Ethernet0: can't open data fd
2011-10-09T14:51:46.656+01:00| vcpu-0| I120: Msg_Post: Warning
2011-10-09T14:51:46.656+01:00| vcpu-0| I120: [msg.vnet.connectvnet] Could not connect Ethernet0 to virtual network "/dev/vmnet0". More information can be found in the vmware.log file.
2011-10-09T14:51:46.656+01:00| vcpu-0| I120: [msg.device.startdisconnected] Virtual device Ethernet0 will start disconnected.

The module vmnet is loaded, but there is no device such as /dev/vmnet0 or /dev/vmnet.

Reproducible: Always

Steps to Reproduce:
1. Install latest VMware workstation from vmware overlay
2. Start VMware workstation
Actual Results:  
The network adapter fails to connect

Expected Results:  
Network should work
Comment 1 Vadim Kuznetsov (RETIRED) gentoo-dev 2011-10-11 11:07:13 UTC
(In reply to comment #0)

> Steps to Reproduce:
> 1. Install latest VMware workstation from vmware overlay
> 2. Start VMware workstation

Did you do 
3. env-update && source /etc/profile
4. emerge --config vmware-workstation
5. rc-service vmware start

Do you have vmnet1 and vmnet8 interfaces?
Can you start vmware-netcfg?
Comment 2 Janek Bevendorff 2011-10-11 11:24:49 UTC
Thanks, emerge --config vmware-workstation was the solution. The network device configuration was invalid.