Guest

Preview Tool

Cisco Bug: CSCur53059 - Need re-tries with sleep in the dpc_rm_svr so that the bind goes through

Last Modified

Jul 30, 2018

Products (1)

  • Cisco Carrier Routing System

Known Affected Releases

5.4.0.BASE

Description (partial)

Symptom:
RP/0/RP0/CPU0:Nov  3 14:31:25.333 : dpc_rm_svr[331]: SSE2_STATSRM: dpc_rm_svr sse2_stats_init_shmwin():41 stats shadow is not ready to use
RP/0/RP0/CPU0:Nov  3 14:31:25.333 : dpc_rm_svr[331]: SSE2_STATSRM: dpc_rm_svr sse2_stats_cl_bind():324 failed to init shmwin
RP/0/RP0/CPU0:Nov  3 14:31:25.333 : dpc_rm_svr[331]: SSE2_STATSRM: dpc_rm_svr sse2_stats_cl_bind():341 failed to bind, rc = 16

Nov  3 14:31:25.333 dpc_rm_svr/error 0/RP0/CPU0 t2832 Failed to bind to stats RM: 0x16 (Invalid argument)
Nov  3 14:31:25.333 dpc_rm_svr/error 0/RP0/CPU0 t2832 Failed to init stats: 0x16, Invalid argument

The sunstone_stats_svr process is the one which inits the stats shared mem.  After the shared mem is init'd then the clients can bind.  Before the stats shared mem is init'd client can't use stats.

RP/0/RP0/CPU0:ott02-sim-09-uut#show process sunstone_stats_svr | i "Last started"
            Last started: Mon Nov  3 14:31:40 2014

But all other client which tried to bind after the sunstone_stats_svr comeup, succeed as seen below.
RP/0/RP0/CPU0:ott02-sim-09-uut# show logging | i "bind successful"
RP/0/RP0/CPU0:Nov  3 14:31:43.535 : fsm[272]: SSE2_STATSRM: fsm sse2_stats_cl_bind():344 bind successful
RP/0/RP0/CPU0:Nov  3 14:31:44.682 : ipv6_ea[164]: SSE2_STATSRM: ipv6_ea sse2_stats_cl_bind():344 bind successful
RP/0/RP0/CPU0:Nov  3 14:31:44.752 : ipv4_io[134]: SSE2_STATSRM: ipv4_io sse2_stats_cl_bind():344 bind successful
RP/0/RP0/CPU0:Nov  3 14:31:45.578 : fib_mgr[177]: SSE2_STATSRM: fib_mgr sse2_stats_cl_bind():344 bind successful
RP/0/RP0/CPU0:Nov  3 14:31:48.560 : mpls_io_ea[318]: SSE2_STATSRM: mpls_io_ea sse2_stats_cl_bind():344 bind successful
RP/0/RP0/CPU0:Nov  3 14:31:50.026 : vlan_ea[170]: SSE2_STATSRM: vlan_ea sse2_stats_cl_bind():344 bind successful
RP/0/RP0/CPU0:Nov  3 14:32:02.672 : pfilter_ea[304]: SSE2_STATSRM: pfilter_ea sse2_stats_cl_bind():344 bind successful
RP/0/RP0/CPU0:Nov  3 14:32:04.378 : pfilter_ea[304]: SSE2_STATSRM: pfilter_ea sse2_stats_cl_bind():344 bind successful
RP/0/RP0/CPU0:Nov  3 14:32:04.538 : pfilter_ea[304]: SSE2_STATSRM: pfilter_ea sse2_stats_cl_bind():344 bind successful
RP/0/RP0/CPU0:Nov  3 14:32:20.065 : sunstone_if_driver[205]: SSE2_STATSRM: sunstone_if_driver sse2_stats_cl_bind():344 bind successful
RP/0/RP0/CPU0:Nov  3 14:45:38.311 : icpe_local_eth_intf_ea[378]: SSE2_STATSRM: icpe_local_eth_intf_ea sse2_stats_cl_bind():344 bind successful


I think we need to introduce some re-tries with sleep in the dpc_rm_svr so that the bind goes through.

Conditions:
RP/0/RP0/CPU0:ott02-sim-09-uut#run cat /etc/show_version.txt
Workspace = /workspace2/jiemiwan/sunstone
User = jiemiwan
Date: Fri Oct 31 12:52:22 EDT 2014
Host = ott-lb-016
Lineup = proj:sunstone-dev
Efr Info:
sunstone-dev   EFR-00000289322   Project
flex-531       EFR-00000286524   Project
flex-xr        EFR-00000283233   Project
ci-531         EFR-00000282550   Lineup
ci-530         EFR-00000282350   Lineup
ci-522         EFR-00000280208   Lineup
ci-521         EFR-00000277817   Lineup
default        EFR-00000276591   Lineup
RP/0/RP0/CPU0:ott02-sim-09-uut#
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.