http://defect.opensolaris.org/bz/show_bug.cgi?id=9785
Summary: nwamadm list hang when I create a wrong enm
Classification: Development
Product: nwam
Version: unspecified
Platform: ANY/Generic
OS/Version: All
Status: NEW
Severity: minor
Priority: P3
Component: CLI
AssignedTo: nwam-dev at opensolaris.org
ReportedBy: huawei.zhang at sun.com
QAContact: nwam-dev at opensolaris.org
Created an attachment (id=2181)
--> (http://defect.opensolaris.org/bz/attachment.cgi?id=2181)
nwam log
Here I create a wrong enm, set its conditions to itself is active.
Then when I run "nwamadm list", this command will hang forever.
bash-3.2# nwamcfg list enm enm1
ENM:enm1
activation-mode conditional-any
conditions "enm enm1 is active"
start "/var/tmp/a start"
stop "/var/tmp/a stop"
bash-3.2#
bash-3.2#
bash-3.2# nwamadm list
.......(endless loop)......
with another console:
bash-3.2# mdb -k
Loading modules: [ unix genunix specfs dtrace mac cpu.generic
cpu_ms.AuthenticAMD.15 uppc pcplusmp scsi_vhci zfs mpt sd sockfs ip hook neti
sctp arp usba stmf fctl nca lofs idm cpc random nfs fcip ptm ufs sppp ]
> ::pgrep nwamadm
S PID PPID PGID SID UID FLAGS ADDR NAME
R 100966 100849 100966 100478 0 0x4a004000 ffffff017256b398 nwamadm
> ffffff017256b398::walk thread|::threadlist -v
ADDR PROC LWP CLS PRI WCHAN
ffffff01539dfae0 ffffff017256b398 ffffff0150e28630 1 59 0
PC: _resume_from_idle+0xf1 CMD: nwamadm list
stack pointer for thread ffffff01539dfae0: ffffff0003eadcb0
[ ffffff0003eadcb0 _resume_from_idle+0xf1() ]
swtch_to+0xef()
shuttle_resume+0x328()
door_call+0x2f1()
doorfs32+0x141()
sys_syscall32+0x1f7()
--
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.