Project

General

Profile

Bug #4785

Dozens of 'pcu_sock.c:870 PCU socket not connected, dropping message' when osmo-pcu disconnects/crashes

Added by fixeria about 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
PCU Interface
Target version:
-
Start date:
10/09/2020
Due date:
% Done:

100%

Spec Reference:

Description

When using dynamic PDCH timeslots (TCH/F_TCH/H_PDCH), disconnection of the PCU (e.g. due to a crash) makes osmo-bts flood stderr with:

DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message
DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message
DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message
DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message
DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message
DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message
DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message
DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message
DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message
DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message
DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message
DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message
DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message
DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message
DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message
DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message
DPCU NOTICE pcu_sock.c:870 PCU socket not connected, dropping message

I guess we need to handle PCU disconnection gracefully and deactivate all PDCH slots.

Associated revisions

Revision 912b4df7 (diff)
Added by fixeria about 1 year ago

pcu_sock: fix pcu_sock_close(): deactivate dynamic timeslots too

Change-Id: Ib0efa6e1e2a68ac9675a18487b79d9b14bdb22c5
Fixes: OS#4785

History

#1 Updated by fixeria about 1 year ago

  • Status changed from New to In Progress

#2 Updated by fixeria about 1 year ago

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100

Indeed, dynamic timeslots were not handled in pcu_sock_close():

https://gerrit.osmocom.org/c/osmo-bts/+/20494 pcu_sock: fix pcu_sock_close(): deactivate dynamic timeslots too

This changes fixes the problem for me.

#3 Updated by fixeria about 1 year ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)