Project

General

Profile

Bug #4439

Unnumbered frame not allowed / sending MDL-ERROR-IDN cause 12

Added by laforge 29 days ago. Updated 19 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
03/07/2020
Due date:
% Done:

90%

Resolution:
Spec Reference:

Description

I currently see a lot of those errors when running mobile / virtphy / osmo-bts-virtual:

<0003> gsm322.c:477 Sync to ARFCN=871(DCS) rxlev=<=-110 (No sysinfo yet, ccch mode NONE)
<0003> gsm322.c:2278 40 frequencies left in band 512..885
<0003> gsm322.c:2956 Channel synched. (ARFCN=871(DCS), snr=0, BSIC=0)
<0003> gsm322.c:703 Starting CS timer with 4 seconds.
<0001> gsm322.c:2979 using DSC of 90
<0003> gsm48_rr.c:4814 Channel provides data.
<0003> gsm322.c:703 Starting CS timer with 4 seconds.
<0015> lapd_core.c:1239 Unnumbered frame not allowed. (dl=0x55c632f9f220)
<0015> lapd_core.c:392 sending MDL-ERROR-IND cause 12 from state LAPD_STATE_IDLE (dl=0x55c632f9f220)
<0015> lapdm.c:481 sending MDL-ERROR-IND 12
<0001> gsm48_rr.c:4977 MDL-Error (cause 12) ignoring
<0001> gsm48_rr.c:1814 New SYSTEM INFORMATION 2
<0015> lapd_core.c:1239 Unnumbered frame not allowed. (dl=0x55c632f9f220)
<0015> lapd_core.c:392 sending MDL-ERROR-IND cause 12 from state LAPD_STATE_IDLE (dl=0x55c632f9f220)
<0015> lapdm.c:481 sending MDL-ERROR-IND 12
<0001> gsm48_rr.c:4977 MDL-Error (cause 12) ignoring
<0001> sysinfo.c:703 New SYSTEM INFORMATION 3 (mcc 262 mnc 42 lac 0x0001)
<0001> gsm48_rr.c:1905 Changing CCCH_MODE to 2
<0015> lapd_core.c:1239 Unnumbered frame not allowed. (dl=0x55c632f9f220)
<0015> lapd_core.c:392 sending MDL-ERROR-IND cause 12 from state LAPD_STATE_IDLE (dl=0x55c632f9f220)
<0015> lapdm.c:481 sending MDL-ERROR-IND 12
<0001> gsm48_rr.c:4977 MDL-Error (cause 12) ignoring
<0001> gsm48_rr.c:1937 New SYSTEM INFORMATION 4 (mcc 262 mnc 42 lac 0x0001)
<0015> lapd_core.c:1239 Unnumbered frame not allowed. (dl=0x55c632f9f220)
<0015> lapd_core.c:392 sending MDL-ERROR-IND cause 12 from state LAPD_STATE_IDLE (dl=0x55c632f9f220)
<0015> lapdm.c:481 sending MDL-ERROR-IND 12
<0001> gsm48_rr.c:4977 MDL-Error (cause 12) ignoring
<0015> lapd_core.c:1239 Unnumbered frame not allowed. (dl=0x55c632f9f220)
<0015> lapd_core.c:392 sending MDL-ERROR-IND cause 12 from state LAPD_STATE_IDLE (dl=0x55c632f9f220)
<0015> lapdm.c:481 sending MDL-ERROR-IND 12
<0001> gsm48_rr.c:4977 MDL-Error (cause 12) ignoring
<0001> gsm48_rr.c:1872 New SYSTEM INFORMATION 2ter
<0015> lapd_core.c:1239 Unnumbered frame not allowed. (dl=0x55c632f9f220)
<0015> lapd_core.c:392 sending MDL-ERROR-IND cause 12 from state LAPD_STATE_IDLE (dl=0x55c632f9f220)
<0015> lapdm.c:481 sending MDL-ERROR-IND 12
<0001> gsm48_rr.c:4977 MDL-Error (cause 12) ignoring
<0015> lapd_core.c:1239 Unnumbered frame not allowed. (dl=0x55c632f9f220)
<0015> lapd_core.c:392 sending MDL-ERROR-IND cause 12 from state LAPD_STATE_IDLE (dl=0x55c632f9f220)
<0015> lapdm.c:481 sending MDL-ERROR-IND 12
<0001> gsm48_rr.c:4977 MDL-Error (cause 12) ignoring
<0015> lapd_core.c:1239 Unnumbered frame not allowed. (dl=0x55c632f9f220)
<0015> lapd_core.c:392 sending MDL-ERROR-IND cause 12 from state LAPD_STATE_IDLE (dl=0x55c632f9f220)
<0015> lapdm.c:481 sending MDL-ERROR-IND 12
<0001> gsm48_rr.c:4977 MDL-Error (cause 12) ignoring
<0001> sysinfo.c:615 Now updating previously received SYSTEM INFORMATION 4

This is strange....

Associated revisions

Revision 90616c1e (diff)
Added by laforge 29 days ago

virtphy: Don't pass CBCH to L1CTL if not requested by application

Doing so can create a number of warning messages in e.g. 'mobile'
like
<0015> lapd_core.c:1239 Unnumbered frame not allowed. (dl=0x55c632f9f220)
<0015> lapd_core.c:392 sending MDL-ERROR-IND cause 12 from state LAPD_STATE_IDLE (dl=0x55c632f9f220)
<0015> lapdm.c:481 sending MDL-ERROR-IND 12
<0001> gsm48_rr.c:4977 MDL-Error (cause 12) ignoring

Change-Id: I2cf65be5b2f879fe940e08c9f369bc1cada7b0dd
Closes: OS#4439

Revision a1be0a6b (diff)
Added by laforge 29 days ago

cbch_sniff: Use CCCH_MODE_COMBINED_CBCH, not CCCH_MODE_COMBINED

In Change-Id Ia94ebf22a2ec439dfe1f31d703b832ae57b48ef2 we
introduced a new member to the ccch_mode enum: CCCH_MODE_COMBINED_CBCH,
which is to be used to tell the PHY if a CBCH is present on the combined
CCCH+SDCCH/4+CBCH or not (CCCH+SDCCH4).

This was implemented in trxcon + calypso firmware, but cbch_sniff has
not been updated accordingly.

Related: OS#4439
Change-Id: I429d45cfb181da4a2e767e92f1213ccd08c6d440

History

#1 Updated by laforge 29 days ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10

Enabling hex-dumps of the L1SAP messages, I'm now getting:

<000c> l1ctl.c:237 BCCH on TS0 (0530/00/02) -47 dBm: 49 06 1b 00 00 62 f2 24 00 01 c9 03 05 17 47 40 e5 04 00 0b 2b 2b 2b 
<0015> lapdm.c:788 fmt=Bbis UI
<0001> sysinfo.c:703 New SYSTEM INFORMATION 3 (mcc 262 mnc 42 lac 0x0001)
<0001> gsm48_rr.c:1905 Changing CCCH_MODE to 2
<000c> l1ctl.c:440 CCCH Mode Req
<000c> l1l2_interface.c:141 Sending: '10 00 00 00 02 00 00 00 '
<000c> l1ctl.c:812 CCCH MODE CONF: mode=2
<000c> l1ctl.c:237 PCH/AGCH on TS0 (0530/04/06) -47 dBm: 03 03 01 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 
<0015> lapdm.c:788 fmt=Bbis UI
<000c> l1ctl.c:237 PCH/AGCH on TS0 (0530/10/12) -47 dBm: 15 06 21 00 01 f0 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 
<0015> lapdm.c:788 fmt=Bbis UI
<000c> l1ctl.c:237 PCH/AGCH on TS0 (0530/14/16) -47 dBm: 15 06 21 00 01 f0 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 
<0015> lapdm.c:788 fmt=Bbis UI
<000c> l1ctl.c:237 UNKNOWN on TS0 (0530/04/32) -47 dBm: 2f 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 2b 
<0015> lapdm.c:684 fmt=B
<0015> lapd_core.c:1239 Unnumbered frame not allowed. (dl=0x55b99a738ef0)
<0015> lapd_core.c:392 sending MDL-ERROR-IND cause 12 from state LAPD_STATE_IDLE (dl=0x55b99a738ef0)
<0015> lapdm.c:481 sending MDL-ERROR-IND 12
<0001> gsm48_rr.c:4977 MDL-Error (cause 12) ignoring

So the error messages appear whenever frames starting with 0x2f as the first byte appear on the downlink of TS0. Maybe CBCH related?

#2 Updated by laforge 29 days ago

  • % Done changed from 10 to 90

#3 Updated by fixeria 19 days ago

Please also see:

https://gerrit.osmocom.org/c/osmocom-bb/+/17493 layer23/l1ctl: fix: do not pass PDCH and CBCH frames to LAPDm

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)