http://defect.opensolaris.org/bz/show_bug.cgi?id=9338
Summary: nwamd bringing up both wired AND wireless with different
prio groups
Classification: Development
Product: nwam
Version: unspecified
Platform: ANY/Generic
OS/Version: All
Status: NEW
Status Whiteboard: nwam1-build:2009-06-04
Severity: normal
Priority: P3
Component: ON daemon
AssignedTo: nwam-dev at opensolaris.org
ReportedBy: dkenny at opensolaris.org
QAContact: nwam-dev at opensolaris.org
Created an attachment (id=2056)
--> (http://defect.opensolaris.org/bz/attachment.cgi?id=2056)
NWAM Debug messages
My configuration is a simple upgrade from 0.5, with wired being assigned
prio-group 0, and wireless prio-group 1.
Initially neither wired or wireless was brought up (after boot) but after
plugging in a cable wired was brought up.
Then I unplugged the cable and wireless was brought up - all good so far...
I then plugged back in the cable, and wireless was brought down, and wired
brought up. But then after a short period, wireless was brought up again!
Then after another short while, it was brought down again, and up, and so on.
It looks like the state-machine is seeing a conflict some where, where on part
wants to bring down iwh0, and the other is bringing back up iwh0, all while
e1000g0 is still up and active.
Another strange part of this is that nwamadm list -x shows that the aux state
for iwh0's IP NCU is "Waiting for IP address to be assigned" when in in fact,
when I do a ifconfig -a, it already has one:
$ nwamadm list -x
TYPE PROFILE STATE AUXILARY STATE
ncp Automatic online active
ncu:phys e1000g0 online interface or link is up
ncu:ip e1000g0 online interface or link is up
ncu:phys iwh0 online interface or link is up
ncu:ip iwh0 offline* waiting for IP address to be
assigned
ncp User offline conditions for activation are not
met
loc Automatic online active
loc NoNet offline conditions for activation are not
met
loc Legacy offline conditions for activation are not
met
$ ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232
index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index
6
inet 192.168.2.100 netmask ffffff00 broadcast 192.168.2.255
iwh0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 7
inet 192.168.1.3 netmask ffffff00 broadcast 192.168.1.255
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252
index 1
inet6 ::1/128
e1000g0: flags=2000840<RUNNING,MULTICAST,IPv6> mtu 1500 index 6
inet6 fe80::21c:7eff:fe0e:f9b4/10
iwh0: flags=2004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 7
inet6 fe80::221:6bff:feb6:b264/10
--
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.