http://defect.opensolaris.org/bz/show_bug.cgi?id=11685
Summary: on boot, no interfaces and empty Automatic NCP
Classification: Development
Product: nwam
Version: unspecified
Platform: ANY/Generic
OS/Version: All
Status: NEW
Status Whiteboard: nwam1-build:2009-09-30
Severity: critical
Priority: P2
Component: ON daemon
AssignedTo: nwam-dev at opensolaris.org
ReportedBy: Anurag.Maskey at Sun.COM
QAContact: nwam-dev at opensolaris.org
--- Comment #0 from Anurag S. Maskey <Anurag.Maskey at Sun.COM> 2009-10-02
13:29:13 UTC ---
Darren also mentioned this during the project team meeting.
When booting, no interfaces are brought up by nwamd. The reason being that the
Automatic NCP is empty. The User NCP is not affected.
anurag at dell-xps:~$ nwamcfg list ncp Automatic
anurag at dell-xps:~$ nwamcfg list ncp User
NCUs:
phys wpi0
phys bge0
ip wpi0
ip bge0
anurag at dell-xps:~$
Looking at the nwamd daemon logs, I see that the NCUs in the Automatic NCP are
destroyed when nwamd is started.
Oct 2 09:15:16 dell-xps nwamd[84]: [ID 914799 daemon.info] 1: nwamd pid 84
started
Oct 2 09:15:16 dell-xps nwamd[84]: [ID 558586 daemon.debug] 1: Read daemon
configuration properties.
Oct 2 09:15:16 dell-xps nwamd[84]: [ID 787193 daemon.debug] 1: child 85
exited, daemonizing
Oct 2 09:15:16 dell-xps nwamd[86]: [ID 325133 daemon.debug] 1: signal handler
thread: 2
Oct 2 09:15:16 dell-xps nwamd[86]: [ID 532729 daemon.debug] 1: enqueueing
event 1 1 (INIT) for object (80c1a08) none
Oct 2 09:15:16 dell-xps nwamd[86]: [ID 972305 daemon.debug] 1:
nwamd_destroy_ncu: destroying ncus for wpi0
Oct 2 09:15:16 dell-xps nwamd[86]: [ID 791338 daemon.debug] 1: enqueueing
event 2 13 (LINK_ACTION) for object (80c1908) link:wpi0
Oct 2 09:15:16 dell-xps nwamd[86]: [ID 487966 daemon.debug] 1:
nwamd_destroy_ncu: destroying ncus for bge0
Oct 2 09:15:16 dell-xps nwamd[86]: [ID 243553 daemon.debug] 1: enqueueing
event 3 13 (LINK_ACTION) for object (80c1808) link:bge0
Oct 2 09:15:16 dell-xps nwamd[86]: [ID 755408 daemon.debug] 1: enqueueing
event 4 3 (OBJECT_ACTION) for object (80c1708) Automatic
Oct 2 09:15:16 dell-xps nwamd[86]: [ID 945255 daemon.debug] 1: enqueueing
event 5 17 (TIMED_CHECK_CONDITIONS) for object (80c1608) none
Oct 2 09:15:16 dell-xps nwamd[86]: [ID 211640 daemon.debug] 1: dequeueing
event 1 of type 1 (INIT) for object none
Oct 2 09:15:16 dell-xps nwamd[86]: [ID 197053 daemon.debug] 1: dequeueing
event 2 of type 13 (LINK_ACTION) for object link:wpi0
Oct 2 09:15:16 dell-xps nwamd[86]: [ID 374455 daemon.debug] 1: (80c1908)
link:wpi0: running method for event LINK_ACTION
Oct 2 09:15:16 dell-xps nwamd[86]: [ID 963238 daemon.debug] 1:
nwamd_ncu_handle_link_action_event: link action 'remove' event on link:wpi0
Oct 2 09:15:16 dell-xps nwamd[86]: [ID 607602 daemon.debug] 3: door_switch:
removing interface:wpi0
Oct 2 09:15:16 dell-xps nwamd[86]: [ID 219372 daemon.debug] 3: enqueueing
event 6 3 (OBJECT_ACTION) for object (80c1408) interface:wpi0
Oct 2 09:15:16 dell-xps nwamd[86]: [ID 867408 daemon.debug] 3: delay
enqueueing event 7 TRIGGERED_CHECK_CONDITIONS for object (80c1308) none for 5
sec
Oct 2 09:15:16 dell-xps nwamd[86]: [ID 745275 daemon.debug] 4: v4 routing
socket 9
Oct 2 09:15:16 dell-xps nwamd[86]: [ID 523829 daemon.debug] 5: v6 routing
socket 10
Oct 2 09:15:16 dell-xps nwamd[86]: [ID 615359 daemon.debug] 3: door_switch:
removing link:wpi0
Oct 2 09:15:16 dell-xps nwamd[86]: [ID 695959 daemon.debug] 3: enqueueing
event 8 3 (OBJECT_ACTION) for object (80c1208) link:wpi0
Oct 2 09:15:16 dell-xps nwamd[86]: [ID 222984 daemon.debug] 1: dequeueing
event 3 of type 13 (LINK_ACTION) for object link:bge0
Oct 2 09:15:16 dell-xps nwamd[86]: [ID 237059 daemon.debug] 1: (80c1808)
link:bge0: running method for event LINK_ACTION
Oct 2 09:15:16 dell-xps nwamd[86]: [ID 736862 daemon.debug] 1:
nwamd_ncu_handle_link_action_event: link action 'remove' event on link:bge0
Oct 2 09:15:16 dell-xps nwamd[86]: [ID 123263 daemon.debug] 3: door_switch:
removing interface:bge0
Oct 2 09:15:16 dell-xps nwamd[86]: [ID 521273 daemon.debug] 3: enqueueing
event 9 3 (OBJECT_ACTION) for object (80c1108) interface:bge0
Oct 2 09:15:16 dell-xps nwamd[86]: [ID 131020 daemon.debug] 3: door_switch:
removing link:bge0
Oct 2 09:15:16 dell-xps nwamd[86]: [ID 459947 daemon.debug] 3: enqueueing
event 10 3 (OBJECT_ACTION) for object (80c1008) link:bge0
This means that when the physical interfaces are walked during boot, no
interfaces are found. Could it be cause dlmgmtd had not read in the links when
nwamd started? network/datalink-management service did start before
network/physical:nwam (which started at 09:15:16).
anurag at dell-xps:~$ svcs datalink-management
STATE STIME FMRI
online 9:15:13 svc:/network/datalink-management:default
--
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.