http://defect.opensolaris.org/bz/show_bug.cgi?id=8589

           Summary: After suspend/resume, nwam doesn't refresh it's
                    interfaces.
    Classification: Development
           Product: nwam
           Version: unspecified
          Platform: ANY/Generic
        OS/Version: All
            Status: NEW
 Status Whiteboard: nwam1-build:2009-04-29
          Severity: major
          Priority: P3
         Component: ON daemon
        AssignedTo: nwam-dev at opensolaris.org
        ReportedBy: dkenny at opensolaris.org
         QAContact: nwam-dev at opensolaris.org


After I suspend and resume my Toshiba r600 and MacBook Pro, nwamd doesn't
appear to do anything to refresh that state of the network, which results in
the machine being unable to connect to any network, wired or wireless.

The only solution appears to be to restart the nwam service, but when I tried
this it appeared to be locked with the stack-trace below.

It eventually was killed by SMF, and then I was able to enable it again. After
a while it eventually picked up a DHCP address - but it seemed to take a minute
or so after it had connected to the wireless network. [Could this be because
dhcpagent was after waiting a while for a response and had several retries with
increasing gaps?]

The stack of the lock was:

1940:   /lib/inet/nwamd
-----------------  lwp# 1 / thread# 1  --------------------
 feefd069 lwp_park (0, 0, 0)
 feef518c mutex_lock_impl (8095be8, 0, 8047df8, 80a6bf0, 8095b48, 807b850) +
144
 feef527d mutex_lock (8095be8, 80a6bf0, 80, 805db6d) + 10
 08062e91 nwamd_object_find (2, 80a6bf0, 8067478, 8047e1c) + 99
 0805d382 nwamd_loc_handle_enable_event (80b3988, 80a8648, 8047e48, 805c218) +
7e
 0805c280 nwamd_event_handler (29, fef8800c, 8064b63, 1, 8047e58, feffb7dc) +
74
 0805e1dd main     (1, 8047e9c, 8047ea4, feffb7dc) + 201
 080589dd _start   (1, 8047f2c, 0, 8047f3c, 8047f4d, 8047f65) + 7d
-----------------  lwp# 3 / thread# 3  --------------------
 fef02bdf door     (fe9fe9f4, 40c, 0, fe9fee00, f5f00, a)
 0805a70a door_switch (0, fe9fe9f4, 40c, 0, 0, 8059a98) + c72
 fef02c10 __door_return () + 60
-----------------  lwp# 8 / thread# 8  --------------------
 fef01d35 pollsys  (fe3fcd78, 1, 0, 0)
 feea7834 poll     (fe3fcd78, 1, ffffffff, fe3fcd74) + 4c
 fe1b38fa i_dlpi_strgetmsg (80b6e08, ffffffff, fe400ecc, 8, 8, 18) + 196
 fe1b2b15 dlpi_recv (80b6e08, 0, 0, fe400f24, fe400f20, ffffffff) + b9
 080597b1 dlpi_thread (80aeca4, fef80000, fe400fec, feefcd4e) + 3d
 feefcd86 _thrp_setup (fedd2a00) + 7e
 feefd010 _lwp_start (fedd2a00, 0, 0, feefcd4e, 0, 0)
-----------------  lwp# 9 / thread# 9  --------------------
 fef02bdf door     (0, 0, 0, fe15ee00, f5f00, a)
 feee8d97 door_create_func (0, fef80000, fe15efec, feefcd4e) + 2f
 feefcd86 _thrp_setup (fedd3a00) + 7e
 feefd010 _lwp_start (fedd3a00, 0, 0, feefcd4e, 0, 0)
-----------------  lwp# 16 / thread# 16  --------------------
 fef01d35 pollsys  (fdc41ebc, 1, 0, 0)
 feea7834 poll     (fdc41ebc, 1, ffffffff, fdf437d4) + 4c
 fdf437ea dhcp_ipc_timed_read (1a, fdc41f00, 4, fdc41f20) + 66
 fdf428ea dhcp_ipc_recv_msg (1a, fdc41fb0, 1b, ffffffff, 1a, fdf55000) + 26
 fdf429e1 dhcp_ipc_recv_reply (1a, fdc41fb0, 10, fdf42ab2) + 15
 fdf42b89 dhcp_ipc_make_request (80acba0, fdc41fb0, ffffffff, 80626b0) + e5
 080626ea start_dhcp_thread (80e55c0, fef80000, fdc41fec, feefcd4e) + 76
 feefcd86 _thrp_setup (fedd6200) + 7e
 feefd010 _lwp_start (fedd6200, 0, 0, feefcd4e, 0, 0)
-----------------  lwp# 11 / thread# 11  --------------------
 fef01d35 pollsys  (fdf3ad78, 1, 0, 0)
 feea7834 poll     (fdf3ad78, 1, ffffffff, fdf3ad74) + 4c
 fe1b38fa i_dlpi_strgetmsg (80b6c48, ffffffff, fdf3eecc, 8, 8, 18) + 196
 fe1b2b15 dlpi_recv (80b6c48, 0, 0, fdf3ef24, fdf3ef20, ffffffff) + b9
 080597b1 dlpi_thread (80ae7a4, fef80000, fdf3efec, feefcd4e) + 3d
 feefcd86 _thrp_setup (fedd4a00) + 7e
 feefd010 _lwp_start (fedd4a00, 0, 0, feefcd4e, 0, 0)
-----------------  lwp# 12 / thread# 12  --------------------
 fef01d35 pollsys  (fde3febc, 1, 0, 0)
 feea7834 poll     (fde3febc, 1, ffffffff, fdf437d4) + 4c
 fdf437ea dhcp_ipc_timed_read (14, fde3ff00, 4, fde3ff20) + 66
 fdf428ea dhcp_ipc_recv_msg (14, fde3ffb0, 1b, ffffffff, 14, fdf55000) + 26
 fdf429e1 dhcp_ipc_recv_reply (14, fde3ffb0, 10, fdf42ab2) + 15
 fdf42b89 dhcp_ipc_make_request (80acd80, fde3ffb0, ffffffff, 80626b0) + e5
 080626ea start_dhcp_thread (808fd78, fef80000, fde3ffec, feefcd4e) + 76
 feefcd86 _thrp_setup (fedd5200) + 7e
 feefd010 _lwp_start (fedd5200, 0, 0, feefcd4e, 0, 0)
-----------------  lwp# 13 / thread# 13  --------------------
 fef01d35 pollsys  (fdd3cd78, 1, 0, 0)
 feea7834 poll     (fdd3cd78, 1, ffffffff, fdd3cd74) + 4c
 fe1b38fa i_dlpi_strgetmsg (80b6a88, ffffffff, fdd40ecc, 8, 8, 18) + 196
 fe1b2b15 dlpi_recv (80b6a88, 0, 0, fdd40f24, fdd40f20, ffffffff) + b9
 080597b1 dlpi_thread (80ae7a4, fef80000, fdd40fec, feefcd4e) + 3d
 feefcd86 _thrp_setup (fedd5a00) + 7e
 feefd010 _lwp_start (fedd5a00, 0, 0, feefcd4e, 0, 0)
-----------------  lwp# 15 / thread# 15  --------------------
 feefd069 lwp_park (0, fdb42f3c, 0)
 feef67ad cond_wait_queue (fea927e0, fea92800, fdb42f3c, feef6996) + 60
 feef6b73 cond_wait_common (fea927e0, fea92800, fdb42f3c, feef6db6) + 1eb
 feef6e6c __cond_timedwait (fea927e0, fea92800, fdb42fac, feef6ea0) + c4
 feef6eb1 cond_timedwait (fea927e0, fea92800) + 27
 fea68165 umem_update_thread (0, fef80000, fdb42fec, feefcd4e) + 191
 feefcd86 _thrp_setup (fedd6a00) + 7e
 feefd010 _lwp_start (fedd6a00, 0, 0, feefcd4e, 0, 0)

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

Reply via email to