Project

General

Profile

Actions

Bug #4785

closed

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.

Actions #1

Updated by fixeria about 1 year ago

  • Status changed from New to In Progress
Actions #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.

Actions #3

Updated by fixeria about 1 year ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)