Project

General

Profile

Actions

Bug #2380

closed

logical channels can get stuck if BTS sends no RELEASE INDICATION for SACCH / T3109 can be disabled

Added by laforge almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
libbsc
Target version:
-
Start date:
07/19/2017
Due date:
% Done:

100%

Resolution:
Spec Reference:

Description

Every so often we received bug reports from users indicating "stuck" logical channels in the BSC, which accumulat over time and don't get automatically recycled. Unfortunately I cannot seem to find any issue here in redmine about it, but I just have experienced something similar here during testing with osmo-bts-virtual, virtphy and my L1CTL/LAPDm test cases from osmo-ttcn3-hacks.

From the BSC side, formerly-used channels would still show up in "show lchan", even on a completely idle cell:

OpenBSC> show lchan
BTS 0, TRX 0, Timeslot 0, Lchan 1: Type SDCCH
  Connection: 0, State: RELEASE REQUESTED
  BS Power: 3 dBm, MS Power: 36 dBm
  Channel Mode / Codec: signalling
  No Subscriber
  Bound IP: 0.0.0.0 Port 0 RTP_TYPE2=0 CONN_ID=0
  Measurement Report:
    Flags: DLinval
    RXL-FULL-ul: -110 dBm, RXL-SUB-ul: -110 dBm RXQ-FULL-ul: 0, RXQ-SUB-ul: 0

I can not trigger this with a well-behaving MS (e.g. OsmocomBB performing a LU). In that case, the lchan is released as expected (rsl_lu_normal.pcapng)

However, from a L1CTL based test case that doesn't properly establish LAPDm on the radio channel, it can be reproduced quite easily ( (rsl_est_fefe_fail.pcapng).

Initial comparison of the pcap traces shows that the erroneous case (causing stuck lchan) doesn't ever show a RELEASE INDICATION from BTS to BSC. This is not a surprise, as there is no functional LAPDm entity in the test case, and hence there is no established SACCH that could be released.


Files

rsl_lu_normal.pcapng rsl_lu_normal.pcapng 2.23 KB RSL trace with normal LU behaving properly laforge, 07/19/2017 02:32 PM
rsl_est_fefe_fail.pcapng rsl_est_fefe_fail.pcapng 1.38 KB RSL trace without proper LAPDm instance causing stuck channel laforge, 07/19/2017 02:32 PM

Related issues

Related to OpenBSC - Bug #49: T3109 not implementedClosedzecke

Actions
Related to OpenBSC - Bug #50: Abnormal channel release handling is wrongClosed

Actions
Related to OsmoBSC - Bug #1610: RF channel release skipping T3109Resolvedneels02/23/2016

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)