Symptom
Deadlock observed when "vic_ls" process re-spawns.
"Sample process blocked output",
RP/0/RSP0/CPU0:ios#sh processes blocked location 0/2/CPU0
Jid Pid Tid ProcessName State TimeInState Blocked-on
339 8746 8771 vic_ls Mutex 0000:00:06.0004 0x7f9bc356f1a8 8755 vic_ls l2rm_read:502
339 8746 8755 vic_ls Mutex 0000:00:14.0924 0x80d39728 8771 vic_ls ether_db_entry_lock:174
339 8746 8751 vic_ls Mutex 0000:00:14.0923 0x7f9b970ee760 8755 vic_ls vic_drv_lock:4015
339 8746 8746 vic_ls Mutex 0000:00:13.0954 0x7f9b970ee760 8755 vic_ls vic_drv_lock:4015
Conditions
Issue occurs only when "vic_ls" process holds "IDB" lock at the point of crash.
Workaround
None.
- "vic_ls" process restart does not help.
- Only LC reload will recover the issue.
Further Problem Description
Any further L2 interface related configuration / show operation that would involve L2RM component would most likely get impacted.
For instance "show tech ethernet interfaces" would lead to EDM Timeout.