http://defect.opensolaris.org/bz/show_bug.cgi?id=9669
Summary: Automatic ncp can not active multi net cards
Classification: Development
Product: nwam
Version: unspecified
Platform: ANY/Generic
OS/Version: All
Status: NEW
Severity: minor
Priority: P3
Component: ON daemon
AssignedTo: nwam-dev at opensolaris.org
ReportedBy: huawei.zhang at sun.com
QAContact: nwam-dev at opensolaris.org
My test machine have two net card: bge0 and bge1
After I svcadm enable nwam, only bge0 actived, bge1 is not plumbd.
However, with nwamcfg's output, there is not any difference between bge0 and
bge1
Here is the details of output:
bash-3.2# svcadm disable svc:/network/physical:default
bash-3.2# svcadm enable svc:/network/physical:nwam
bash-3.2#
bash-3.2# Jun 25 16:31:37 unknown nwamd[101148]: 1: plumb_unplumb_interface:
plumb failed for bge0: Could not plumb ARP stream
Jun 25 16:31:37 unknown nwamd[101148]: 10: start_dhcp: DHCP already running on
bge0
bash-3.2#
bash-3.2# Jun 25 16:31:38 unknown nwamd[101148]: 11: wlan_scan_thread: cannot
scan link bge0
Jun 25 16:31:38 unknown nwamd[101148]: 12: wlan_scan_thread: cannot scan link
bge0
Jun 25 16:31:38 unknown nwamd[101148]: 13: wlan_scan_thread: cannot scan link
bge1
Jun 25 16:31:38 unknown nwamd[101148]: 14: wlan_scan_thread: cannot scan link
bge1
bash-3.2#
bash-3.2#
bash-3.2#
bash-3.2#
bash-3.2# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232
index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2
inet 10.13.28.103 netmask ffffff00 broadcast 10.13.28.255
ether 0:9:3d:0:5e:ac
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252
index 1
inet6 ::1/128
bge0: flags=2000840<RUNNING,MULTICAST,IPv6> mtu 1500 index 2
inet6 fe80::209:3dff:fe00:5eac/10
ether 0:9:3d:0:5e:ac
bash-3.2#
bash-3.2# dladm show-link
LINK CLASS MTU STATE OVER
bge0 phys 1500 up --
bge1 phys 1500 unknown --
bash-3.2# nwamcfg
nwamcfg> list
NCPs:
Automatic
Locations:
Automatic
NoNet
Legacy
nwamcfg> sele
select enm select loc select ncp select wlan
nwamcfg> select ncp Automatic
nwamcfg:ncp:Automatic> list
NCUs:
phys bge0
ip bge0
phys bge1
ip bge1
nwamcfg:ncp:Automatic> sel
select ncu select ncu ip select ncu iptun select ncu phys
nwamcfg:ncp:Automatic> select ncu phys bge0
nwamcfg:ncp:Automatic:ncu:bge0> end
nwamcfg:ncp:Automatic> list ncu phys bge0
NCU:bge0
type link
class phys
parent "Automatic"
enabled true
activation-mode prioritized
priority-group 0
priority-mode shared
nwamcfg:ncp:Automatic> list ncu phys bge1
NCU:bge1
type link
class phys
parent "Automatic"
enabled true
activation-mode prioritized
priority-group 0
priority-mode shared
nwamcfg:ncp:Automatic> list ncu ip bge0
NCU:bge0
type interface
class ip
parent "Automatic"
enabled true
ip-version ipv4,ipv6
ipv4-addrsrc dhcp
ipv6-addrsrc dhcp,autoconf
nwamcfg:ncp:Automatic> list ncu ip bge1
NCU:bge1
type interface
class ip
parent "Automatic"
enabled true
ip-version ipv4,ipv6
ipv4-addrsrc dhcp
ipv6-addrsrc dhcp,autoconf
nwamcfg:ncp:Automatic> end
nwamcfg> end
bash-3.2# nwamadm list
TYPE PROFILE STATE
ncp Automatic online
ncu:phys bge0 online
ncu:ip bge0 online
ncu:phys bge1 offline
ncu:ip bge1 offline
loc Automatic online
loc NoNet offline
loc Legacy offline
bash-3.2# ifconfig bge1 up
bash-3.2# ifconfig bge1 dhcp
ifconfig: bge1: wait timed out, operation still pending...
bash-3.2# dladm show-link
LINK CLASS MTU STATE OVER
bge0 phys 1500 up --
bge1 phys 1500 up --
bash-3.2#
bash-3.2# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232
index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2
inet 10.13.28.103 netmask ffffff00 broadcast 10.13.28.255
ether 0:9:3d:0:5e:ac
bge1: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 3
inet 0.0.0.0 netmask ff000000
ether 0:9:3d:0:5e:ad
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252
index 1
inet6 ::1/128
bge0: flags=2000840<RUNNING,MULTICAST,IPv6> mtu 1500 index 2
inet6 fe80::209:3dff:fe00:5eac/10
ether 0:9:3d:0:5e:ac
--
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.