Project

General

Profile

Bug #5219

Updated by pespin 3 months ago

The same command worked fined on a osmo-bts-trx with "base_station_id_code 63". 

 Doing the same command on a sysmobts with "base_station_id_code 10", I a NACK from osmo-bts-symo (see osmo-bts-sysmo log below): 
 <pre> 
 <0006> /git/osmo-bts/src/common/rsl.c:269 (bts=0,trx=0,ts=3,ss=0) This PHY does not support lchan TSC 0 != BSIC-TSC 2, sending NACK 
 <0000> /git/osmo-bts/src/common/rsl.c:1289 (bts=0,trx=0,ts=3,ss=0): Sending Channel Activated NACK: cause = 0x4f 
 </pre> 

 The TS was properly configured as TCH/F on osmo-bsc.cfg. 

 osmo-bsc.git while running the VTY command (ts_nr may change because I tried several times, each time with a different one): 
 <pre> 
 20210827175029010 DCHAN <000f> /home/pespin/dev/sysmocom/git/osmo-bsc/src/osmo-bsc/bsc_vty.c:1556 lchan(1-0-3-TCH_F-0)[0x61200000b7a0]{UNUSED}: (type=NONE) attempt from VTY to activate lchan (bts=1,trx=0,ts=3,ss=0) with codec fr 
 20210827175029010 DCHAN <000f> /home/pespin/dev/sysmocom/git/osmo-bsc/src/osmo-bsc/lchan_select.c:320 lchan(1-0-3-TCH_F-0)[0x61200000b7a0]{UNUSED}: (type=TCH_F) Selected 
 20210827175029010 DCHAN <000f> /home/pespin/dev/sysmocom/git/osmo-bsc/src/osmo-bsc/lchan_fsm.c:389 lchan(1-0-3-TCH_F-0)[0x61200000b7a0]{UNUSED}: Received Event LCHAN_EV_ACTIVATE 
 20210827175029010 DCHAN <000f> /home/pespin/dev/sysmocom/git/osmo-bsc/src/osmo-bsc/lchan_fsm.c:631 lchan(1-0-3-TCH_F-0)[0x61200000b7a0]{UNUSED}: state_chg to WAIT_TS_READY 
 20210827175029010 DCHAN <000f> /home/pespin/dev/sysmocom/git/osmo-bsc/src/osmo-bsc/gsm_data.c:996 lchan(1-0-3-TCH_F-0)[0x61200000b7a0]{WAIT_TS_READY}: (type=TCH_F) MS Power level update requested: 32 dBm 
 20210827175029010 DCHAN <000f> /home/pespin/dev/sysmocom/git/osmo-bsc/src/osmo-bsc/gsm_data.c:1027 lchan(1-0-3-TCH_F-0)[0x61200000b7a0]{WAIT_TS_READY}: (type=TCH_F) MS Power level update (power class 0): 0 -> 31 
 20210827175029010 DCHAN <000f> /home/pespin/dev/sysmocom/git/osmo-bsc/src/osmo-bsc/lchan_fsm.c:722 lchan(1-0-3-TCH_F-0)[0x61200000b7a0]{WAIT_TS_READY}: (type=TCH_F) Activation requested: ACTIVATE_FOR_VTY voice=no MGW-ci=none type=TCH_F tch-mode=SPEECH_V1 encr-alg=A5/0 ck=none 
 20210827175029010 DTS <0010> /home/pespin/dev/sysmocom/git/osmo-bsc/src/osmo-bsc/lchan_fsm.c:737 timeslot(1-0-3-TCH_F)[0x612000008f20]{UNUSED}: Received Event TS_EV_LCHAN_REQUESTED 
 20210827175029010 DTS <0010> /home/pespin/dev/sysmocom/git/osmo-bsc/src/osmo-bsc/timeslot_fsm.c:366 timeslot(1-0-3-TCH_F)[0x612000008f20]{UNUSED}: state_chg to IN_USE 
 20210827175029010 DCHAN <000f> /home/pespin/dev/sysmocom/git/osmo-bsc/src/osmo-bsc/timeslot_fsm.c:108 lchan(1-0-3-TCH_F-0)[0x61200000b7a0]{WAIT_TS_READY}: Received Event LCHAN_EV_TS_READY 
 20210827175029010 DCHAN <000f> /home/pespin/dev/sysmocom/git/osmo-bsc/src/osmo-bsc/lchan_fsm.c:757 lchan(1-0-3-TCH_F-0)[0x61200000b7a0]{WAIT_TS_READY}: state_chg to WAIT_ACTIV_ACK 
 20210827175029011 DRSL <0003> /home/pespin/dev/sysmocom/git/osmo-bsc/src/osmo-bsc/abis_rsl.c:578 (bts=1,trx=0,ts=3,pchan=TCH/F,state=IN_USE) Tx RSL Channel Activate with act_type=INTRA_NORM_ASS 
 20210827175029013 DCHAN <000f> /home/pespin/dev/sysmocom/git/osmo-bsc/src/osmo-bsc/abis_rsl.c:1378 lchan(1-0-3-TCH_F-0)[0x61200000b7a0]{WAIT_ACTIV_ACK}: (type=TCH_F) Rx CHAN_ACTIV_NACK 
 20210827175029013 DCHAN <000f> /home/pespin/dev/sysmocom/git/osmo-bsc/src/osmo-bsc/abis_rsl.c:1083 lchan(1-0-3-TCH_F-0)[0x61200000b7a0]{WAIT_ACTIV_ACK}: (type=TCH_F) CHANNEL ACTIVATE NACK (cause=Service or Option not implemented [ 4f ]) 
 20210827175029013 DCHAN <000f> /home/pespin/dev/sysmocom/git/osmo-bsc/src/osmo-bsc/abis_rsl.c:1088 lchan(1-0-3-TCH_F-0)[0x61200000b7a0]{WAIT_ACTIV_ACK}: Received Event LCHAN_EV_RSL_CHAN_ACTIV_NACK 
 20210827175029013 DCHAN <000f> /home/pespin/dev/sysmocom/git/osmo-bsc/src/osmo-bsc/lchan_fsm.c:859 lchan(1-0-3-TCH_F-0)[0x61200000b7a0]{WAIT_ACTIV_ACK}: (type=TCH_F) Handling failure, will then transition to state BORKEN 
 20210827175029013 DCHAN <000f> /home/pespin/dev/sysmocom/git/osmo-bsc/src/osmo-bsc/lchan_fsm.c:859 lchan(1-0-3-TCH_F-0)[0x61200000b7a0]{WAIT_ACTIV_ACK}: (type=TCH_F) lchan allocation failed in state WAIT_ACTIV_ACK: Chan Activ NACK: Service or Option not implemented (0x4f) 
 20210827175029013 DCHAN <000f> /home/pespin/dev/sysmocom/git/osmo-bsc/src/osmo-bsc/lchan_fsm.c:180 lchan(1-0-3-TCH_F-0)[0x61200000b7a0]{WAIT_ACTIV_ACK}: (type=TCH_F) VTY user invoked lchan activation failed (lchan allocation failed in state WAIT_ACTIV_ACK: Chan Activ NACK: Service or Option not implemented (0x4f)) 
 20210827175029013 DCHAN <000f> /home/pespin/dev/sysmocom/git/osmo-bsc/src/osmo-bsc/lchan_fsm.c:859 lchan(1-0-3-TCH_F-0)[0x61200000b7a0]{WAIT_ACTIV_ACK}: state_chg to BORKEN 
 20210827175029013 DCHAN <000f> /home/pespin/dev/sysmocom/git/osmo-bsc/src/osmo-bsc/lchan_fsm.c:473 lchan(1-0-3-TCH_F-0)[0x61200000b7a0]{BORKEN}: (type=TCH_F) Clearing lchan state 
 </pre> 

 Also VTY output: 
 <pre> 
 OsmoBSC# bts 1 trx 0 timeslot 3 sub-slot 0 activate fr 
 % activating lchan (bts=1,trx=0,ts=3,ss=0) as TCH_F 
 </pre> 

 Running versions: 
 osmo-bts.git master (f616294d8c1ebc280b7cd0a7a25c2b0a9d353a24) 
 osmo-bsc.git master (faf37254eb0a2b4b8d52e787f407ea7843031654) 


 Possible candidate breaking it (adding a .tsc=0 somehwere): 
 <pre> 
 commit 2aac1765e6e301716770b2fa4e223d6e9ff6cbc7 
 Author: Neels Hofmeyr <neels@hofmeyr.de> 
 Date:     Sun Apr 25 17:02:15 2021 +0200 

     implement CHANnel ACTIVate to VAMOS mode 

     Related: SYS#5315 OS#4940 
     Change-Id: If3ac584e4223ef7656c7fedc3bf11df87e4309ec 
 </pre> 

 BTW, the failing sysmobts is "bts 1" in osmo-bsc.cfg, that may be a cause of issues if always verybody tries with "bts 0". 

Back

Add picture from clipboard (Maximum size: 48.8 MB)