Project

General

Profile

Bug #304

Networking problems with oi_147 under VMware Workstation

Added by Brian Bienvenu almost 9 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
OS/Net (Kernel and Userland)
Target version:
-
Start date:
2010-10-06
Due date:
2011-09-14
% Done:

100%

Estimated time:
40.00 h
Difficulty:
Medium
Tags:
dhcp

Description

Doing a live-boot with oi_147 under VMware Workstation (I've tried 7.0.1 and 7.1.1) causes NWAM to get exceptionally confused, as per http://img842.imageshack.us/img842/5489/badoi.png

The system gets a DHCP lease, then decides the network device has been unplugged, then repeats this every 10 seconds or so.

OpenSolaris 134 works fine, doing the same thing. (ie it gets and keeps a DHCP lease).

I was running VMware with most everything on default, except the networking set to "bridged", from the default of "NAT".


Files

badoi.png (28.5 KB) badoi.png n2deep n2deep, 2010-10-06 01:44 AM

Related issues

Related to OpenIndiana Distribution - Bug #1669: Backport e1000g updateResolved2011-10-19

Actions

History

#1

Updated by n2deep n2deep almost 9 years ago

attaching the referenced screenshot locally, so as not to rely on imageshack. Original poster also mentioned in #openindiana that Schillix 07.1.1i exhibits similar behavior. (error messages are different)

#2

Updated by Julian Wiesener over 8 years ago

  • Assignee set to Julian Wiesener

Hi Brian,

does vmware try to configure the network from the outside? apperently there is a conflict between nwam and an other config, try:

svcadm disable -t nwam

and see what's left:

dladm show-phys
ifconfig -a
pgrep dhcp

#3

Updated by Julian Wiesener over 8 years ago

  • Status changed from New to Closed
  • Difficulty set to Medium
  • Tags set to needs-triage

no feedback

#4

Updated by Brian Bienvenu over 8 years ago

  • Status changed from Closed to Feedback

Sorry, I hadn't noticed your response of last month. Testing against OI_147 seems pointless now, so I've tried a live-boot with OI_148 (oi-dev-148-x86.iso; md5: aaa77811e9166e56f276532695b1c531). This gave different, but still not good, results - it seems that NWAM refuses to receive a DHCP response.

Here is some output from dmesg just after boot, along with my attempt to get it to work:

Jun  4 21:50:34 openindiana nwamd[66]: [ID 600786 daemon.error] 52: start_dhcp: ipadm_create_addr failed for e1000g0: Address object already exists
Jun  4 21:50:34 openindiana ipf: [ID 774698 kern.info] IP Filter: v4.1.9, running.
Jun  4 21:50:35 openindiana last message repeated 1 time
Jun  4 21:50:36 openindiana nwamd[66]: [ID 247967 daemon.error] 1: nwamd_down_interface: ipadm_delete_addr failed on e1000g0: Could not communicate with dhcpagent
Jun  4 21:50:36 openindiana nwamd[66]: [ID 406818 daemon.error] 55: start_dhcp: ipadm_create_addr on e1000g0 returned: Could not communicate with dhcpagent, retrying in 10 sec
Jun  4 21:50:36 openindiana in.ndpd[1836]: [ID 169330 daemon.error] Interface e1000g0 has been removed from kernel. in.ndpd will no longer use it
Jun  4 21:50:36 openindiana in.routed[1825]: [ID 749644 daemon.notice] e1000g0 has a bad address 0.0.0.0
Jun  4 21:50:39 openindiana nwamd[66]: [ID 602834 daemon.error] 53: start_dhcp: ipadm_create_addr failed for e1000g0: Address object already exists
Jun  4 21:50:39 openindiana nwamd[66]: [ID 247967 daemon.error] 1: nwamd_down_interface: ipadm_delete_addr failed on e1000g0: Could not communicate with dhcpagent
Jun  4 21:50:39 openindiana nwamd[66]: [ID 277837 daemon.error] 56: start_dhcp: ipadm_create_addr on e1000g0 returned: Could not communicate with dhcpagent, retrying in 10 sec
Jun  4 21:50:39 openindiana in.ndpd[1836]: [ID 169330 daemon.error] Interface e1000g0 has been removed from kernel. in.ndpd will no longer use it
Jun  4 21:50:39 openindiana nwamd[66]: [ID 282007 daemon.error] 1: nwamd_ncu_handle_if_state_event: address 2002:9590:94ac:b:20c:29ff:fe20:6978 not managed by nwam removed, nothing to do
Jun  4 21:50:39 openindiana nwamd[66]: [ID 134604 daemon.error] 1: nwamd_ncu_handle_if_state_event: address fec0::b:20c:29ff:fe20:6978 not managed by nwam removed, nothing to do
Jun  4 21:50:39 openindiana in.routed[1825]: [ID 749644 daemon.notice] e1000g0 has a bad address 0.0.0.0
Jun  4 21:50:42 openindiana nwamd[66]: [ID 247967 daemon.error] 1: nwamd_down_interface: ipadm_delete_addr failed on e1000g0: Could not communicate with dhcpagent
Jun  4 21:50:42 openindiana nwamd[66]: [ID 406819 daemon.error] 57: start_dhcp: ipadm_create_addr on e1000g0 returned: Could not communicate with dhcpagent, retrying in 10 sec
Jun  4 21:50:42 openindiana in.ndpd[1836]: [ID 169330 daemon.error] Interface e1000g0 has been removed from kernel. in.ndpd will no longer use it
Jun  4 21:50:42 openindiana in.routed[1825]: [ID 749644 daemon.notice] e1000g0 has a bad address 0.0.0.0
Jun  4 21:50:42 openindiana nwamd[66]: [ID 282007 daemon.error] 1: nwamd_ncu_handle_if_state_event: address 2002:9590:94ac:b:20c:29ff:fe20:6978 not managed by nwam removed, nothing to do
Jun  4 21:50:42 openindiana nwamd[66]: [ID 134604 daemon.error] 1: nwamd_ncu_handle_if_state_event: address fec0::b:20c:29ff:fe20:6978 not managed by nwam removed, nothing to do
Jun  4 21:50:42 openindiana nwamd[66]: [ID 282007 daemon.error] 1: nwamd_ncu_handle_if_state_event: address 2002:9590:94ac:b:20c:29ff:fe20:6978 not managed by nwam removed, nothing to do
Jun  4 21:50:42 openindiana nwamd[66]: [ID 134604 daemon.error] 1: nwamd_ncu_handle_if_state_event: address fec0::b:20c:29ff:fe20:6978 not managed by nwam removed, nothing to do
Jun  4 21:50:43 openindiana nwamd[66]: [ID 604882 daemon.error] 54: start_dhcp: ipadm_create_addr failed for e1000g0: Address object already exists
Jun  4 21:50:46 openindiana nwamd[66]: [ID 606930 daemon.error] 55: start_dhcp: ipadm_create_addr failed for e1000g0: Address object already exists
Jun  4 21:50:46 openindiana nwamd[66]: [ID 247967 daemon.error] 1: nwamd_down_interface: ipadm_delete_addr failed on e1000g0: Could not communicate with dhcpagent
Jun  4 21:50:46 openindiana nwamd[66]: [ID 277838 daemon.error] 58: start_dhcp: ipadm_create_addr on e1000g0 returned: Could not communicate with dhcpagent, retrying in 10 sec
Jun  4 21:50:46 openindiana in.ndpd[1836]: [ID 169330 daemon.error] Interface e1000g0 has been removed from kernel. in.ndpd will no longer use it
Jun  4 21:50:47 openindiana in.routed[1825]: [ID 749644 daemon.notice] e1000g0 has a bad address 0.0.0.0
Jun  4 21:50:47 openindiana ipf: [ID 774698 kern.info] IP Filter: v4.1.9, running.
Jun  4 21:50:47 openindiana last message repeated 1 time
Jun  4 21:50:49 openindiana nwamd[66]: [ID 608978 daemon.error] 56: start_dhcp: ipadm_create_addr failed for e1000g0: Address object already exists
Jun  4 21:50:51 openindiana nwamd[66]: [ID 247967 daemon.error] 1: nwamd_down_interface: ipadm_delete_addr failed on e1000g0: Could not communicate with dhcpagent
Jun  4 21:50:51 openindiana nwamd[66]: [ID 406820 daemon.error] 59: start_dhcp: ipadm_create_addr on e1000g0 returned: Could not communicate with dhcpagent, retrying in 10 sec
Jun  4 21:50:51 openindiana in.ndpd[1836]: [ID 169330 daemon.error] Interface e1000g0 has been removed from kernel. in.ndpd will no longer use it
Jun  4 21:50:51 openindiana in.routed[1825]: [ID 749644 daemon.notice] e1000g0 has a bad address 0.0.0.0
Jun  4 21:50:52 openindiana nwamd[66]: [ID 611026 daemon.error] 57: start_dhcp: ipadm_create_addr failed for e1000g0: Address object already exists

jack@openindiana:~$ svcadm disable -t nwam
jack@openindiana:~$ dladm show-phys
LINK         MEDIA                STATE      SPEED  DUPLEX    DEVICE
e1000g0      Ethernet             unknown    1000   full      e1000g0
jack@openindiana:~$ ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000 
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
    inet6 ::1/128 
jack@openindiana:~$ pgrep dhcp
92
jack@openindiana:~$ pfexec sudo su -
OpenIndiana        SunOS 5.11       oi_148  November 2010
root@openindiana:~# ifconfig e1000g0 dhcp
ifconfig: e1000g0: interface does not exist or cannot be managed using DHCP
root@openindiana:~# ifconfig e1000g0 up
ifconfig: setifflags: SIOCGLIFFLAGS: e1000g0: no such interface
root@openindiana:~# pkg info consolidation/osnet/osnet-incorporation
          Name: consolidation/osnet/osnet-incorporation
       Summary: OS/Net consolidation incorporation
   Description: This incorporation constrains packages from the OS/Net
                consolidation.
         State: Installed
     Publisher: openindiana.org
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.148
Packaging Date: November 22, 2010 08:53:13 AM 
          Size: 0.00 B
          FMRI: pkg://openindiana.org/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.148:20101122T085313Z
root@openindiana:~# ifconfig e1000g0 plumb
root@openindiana:~# ifconfig e1000g0 up
root@openindiana:~# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000 
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 59
    inet 0.0.0.0 netmask ff000000 
    ether 0:c:29:20:69:78 
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
    inet6 ::1/128 
root@openindiana:~# ifconfig e1000g0 dhcp
^C
root@openindiana:~# ifconfig e1000g0 x.x.149.221/24
root@openindiana:~# ifconfig -a e1000g0
ifconfig: e1000g0: bad address
root@openindiana:~# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000 
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 59
    inet x.x.149.221 netmask ffffff00 broadcast x.x.149.255
    ether 0:c:29:20:69:78 
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
    inet6 ::1/128 
root@openindiana:~# ping x.x.149.200
x.x.149.200 is alive

If I poke a Ubuntu iso at the same virtual machine, dhcp fires up properly for IPv4 and IPv6 (although the latter isn't terribly important to me at the moment).

#5

Updated by Brian Bienvenu over 8 years ago

I've just checked, and I can't find a copy of the email that I should have gotten last month - not sure where that email got to. Ah well.

#6

Updated by Julian Wiesener about 8 years ago

  • Assignee deleted (Julian Wiesener)
  • Tags changed from needs-triage to dhcp

needs someone who like to reproduce/debugg it.

ifconfig e1000g0 plumb
ifconfig e1000g0 dhcp
ifconfig e1000g0

#7

Updated by Ken Mays about 8 years ago

  • Due date set to 2011-09-14
  • Target version set to oi_151_stable
  • Estimated time set to 8.00 h

We should check this during review of oi_151 stable.

#8

Updated by Ken Mays about 8 years ago

  • Category set to OS/Net (Kernel and Userland)
  • Assignee set to OI illumos
  • Estimated time changed from 8.00 h to 40.00 h
#9

Updated by Ken Mays over 6 years ago

  • Status changed from Feedback to Closed
  • Assignee deleted (OI illumos)
  • Target version deleted (oi_151_stable)
  • % Done changed from 0 to 100

Recent user using VMware Workstation have not reported any further issues with oi_151a7. Closing ticket.

Also available in: Atom PDF