Actions
Bug #2899
openchannel attributes are sent to BTS even for NONE channels
Start date:
01/30/2018
Due date:
% Done:
0%
Spec Reference:
Description
While trying to set up a network with very few channels, I disabled most channels for bts 0 in the OsmoBSC configuration file by setting them to NONE.
In this configuration, an osmo-bts-virtual BTS refuses channel attributes sent by OsmoBSC, resulting in a failure of the connection between BTS and BSC.
A pcap file showing the protocol exchange is attached (filter for gsm_abis_oml).
The BSC side log says this:
<0024> input/ipa.c:263 accept()ed new link from 127.0.0.1 to port 3002 <0024> bts_ipaccess_nanobts.c:420 Identified BTS 6969/0/0 <0005> abis_nm.c:1644 Get Attr (bts=0) <0005> abis_nm.c:1644 Get Attr (bts=0) <0005> abis_nm.c:382 OC=SITE-MANAGER(00) INST=(ff,ff,ff) STATE CHG: OP_STATE=Enabled AVAIL=OK(ff) <0005> abis_nm.c:1981 OC=SITE-MANAGER(00) INST=(ff,ff,ff) Sending OPSTART <0005> abis_nm.c:382 OC=BTS(01) INST=(00,ff,ff) STATE CHG: OP_STATE=NULL AVAIL=Dependency(05) <0005> abis_nm.c:1662 Set BTS Attr (bts=0) <0005> abis_nm.c:1981 OC=BTS(01) INST=(00,ff,ff) Sending OPSTART <0005> abis_nm.c:382 OC=GPRS-NSE(f0) INST=(00,ff,ff) STATE CHG: OP_STATE=NULL AVAIL=Dependency(05) <0005> abis_nm.c:382 OC=GPRS-CELL(f1) INST=(00,ff,ff) STATE CHG: OP_STATE=NULL AVAIL=Dependency(05) <0005> abis_nm.c:382 OC=GPRS-NSVC(f2) INST=(00,00,ff) STATE CHG: OP_STATE=NULL AVAIL=Dependency(05) <0005> abis_nm.c:382 OC=GPRS-NSVC(f2) INST=(00,01,ff) STATE CHG: OP_STATE=Disabled AVAIL=Off line(03) <0005> abis_nm.c:382 OC=RADIO-CARRIER(02) INST=(00,00,ff) STATE CHG: OP_STATE=NULL AVAIL=Power off(02) <0005> abis_nm.c:382 OC=BASEBAND-TRANSCEIVER(04) INST=(00,00,ff) STATE CHG: OP_STATE=NULL AVAIL=Power off(02) <0005> abis_nm.c:382 OC=CHANNEL(03) INST=(00,00,00) STATE CHG: OP_STATE=NULL AVAIL=Power off(02) <0005> abis_nm.c:382 OC=CHANNEL(03) INST=(00,00,01) STATE CHG: OP_STATE=NULL AVAIL=Power off(02) <0005> abis_nm.c:382 OC=CHANNEL(03) INST=(00,00,02) STATE CHG: OP_STATE=NULL AVAIL=Power off(02) <0005> abis_nm.c:382 OC=CHANNEL(03) INST=(00,00,03) STATE CHG: OP_STATE=NULL AVAIL=Power off(02) <0005> abis_nm.c:382 OC=CHANNEL(03) INST=(00,00,04) STATE CHG: OP_STATE=NULL AVAIL=Power off(02) <0005> abis_nm.c:382 OC=CHANNEL(03) INST=(00,00,05) STATE CHG: OP_STATE=NULL AVAIL=Power off(02) <0005> abis_nm.c:382 OC=CHANNEL(03) INST=(00,00,06) STATE CHG: OP_STATE=NULL AVAIL=Power off(02) <0005> abis_nm.c:382 OC=CHANNEL(03) INST=(00,00,07) STATE CHG: OP_STATE=NULL AVAIL=Power off(02) <0005> abis_nm.c:552 OC=BTS(01) INST=(00,ff,ff) Get Attributes Response for BTS0 <0005> abis_nm.c:464 BTS0 Get Attributes Response Info: 65 bytes total with 0 unreported attributes <0005> abis_nm.c:508 BTS0 feature 'GPRS' reported via OML does not match statically set feature: 0 != 1. Please fix. <0005> abis_nm.c:508 BTS0 feature 'EGPRS' reported via OML does not match statically set feature: 0 != 1. Please fix. <0005> abis_nm.c:575 BTS0: ARI reported sw[0/2]: sysmobts is 0.7.0.54-e5b6 <0005> abis_nm.c:447 BTS0 reported variant: unknown <0005> abis_nm.c:552 OC=BTS(01) INST=(00,ff,ff) Get Attributes Response for BTS0 <0005> abis_nm.c:464 BTS0 Get Attributes Response Info: 32 bytes total with 1 unreported attributes <0005> abis_nm.c:469 BTS0 Attribute Manufacturer Dependent State is unreported <0005> abis_nm.c:575 BTS0: ARI reported sw[0/1]: TRX_PHY_VERSION is Unknown <0005> abis_nm.c:814 OC=SITE-MANAGER(00) INST=(ff,ff,ff) Opstart ACK <0005> abis_nm.c:382 OC=RADIO-CARRIER(02) INST=(00,00,ff) STATE CHG: OP_STATE=Disabled AVAIL=OK(ff) <0005> abis_nm.c:1981 OC=RADIO-CARRIER(02) INST=(00,00,ff) Sending OPSTART <0005> abis_nm.c:382 OC=BASEBAND-TRANSCEIVER(04) INST=(00,00,ff) STATE CHG: OP_STATE=NULL AVAIL=OK(ff) <0005> abis_nm.c:382 OC=CHANNEL(03) INST=(00,00,00) STATE CHG: OP_STATE=Disabled AVAIL=Dependency(05) <0005> abis_nm.c:1874 Set Chan Attr (bts=0,trx=0,ts=0) <0005> abis_nm.c:1981 OC=CHANNEL(03) INST=(00,00,00) Sending OPSTART <0005> abis_nm.c:382 OC=CHANNEL(03) INST=(00,00,01) STATE CHG: OP_STATE=Disabled AVAIL=Dependency(05) <0005> abis_nm.c:1874 Set Chan Attr (bts=0,trx=0,ts=1) <0005> abis_nm.c:1981 OC=CHANNEL(03) INST=(00,00,01) Sending OPSTART <0005> abis_nm.c:382 OC=CHANNEL(03) INST=(00,00,02) STATE CHG: OP_STATE=Disabled AVAIL=Dependency(05) <0005> abis_nm.c:1874 Set Chan Attr (bts=0,trx=0,ts=2) <0005> abis_nm.c:1981 OC=CHANNEL(03) INST=(00,00,02) Sending OPSTART <0005> abis_nm.c:382 OC=CHANNEL(03) INST=(00,00,03) STATE CHG: OP_STATE=Disabled AVAIL=Dependency(05) <0005> abis_nm.c:1874 Set Chan Attr (bts=0,trx=0,ts=3) <0005> abis_nm.c:1981 OC=CHANNEL(03) INST=(00,00,03) Sending OPSTART <0005> abis_nm.c:382 OC=CHANNEL(03) INST=(00,00,04) STATE CHG: OP_STATE=Disabled AVAIL=Dependency(05) <0005> abis_nm.c:1874 Set Chan Attr (bts=0,trx=0,ts=4) <0005> abis_nm.c:1981 OC=CHANNEL(03) INST=(00,00,04) Sending OPSTART <0005> abis_nm.c:382 OC=CHANNEL(03) INST=(00,00,05) STATE CHG: OP_STATE=Disabled AVAIL=Dependency(05) <0005> abis_nm.c:1874 Set Chan Attr (bts=0,trx=0,ts=5) <0005> abis_nm.c:1981 OC=CHANNEL(03) INST=(00,00,05) Sending OPSTART <0005> abis_nm.c:382 OC=CHANNEL(03) INST=(00,00,06) STATE CHG: OP_STATE=Disabled AVAIL=Dependency(05) <0005> abis_nm.c:1874 Set Chan Attr (bts=0,trx=0,ts=6) <0005> abis_nm.c:1981 OC=CHANNEL(03) INST=(00,00,06) Sending OPSTART <0005> abis_nm.c:382 OC=CHANNEL(03) INST=(00,00,07) STATE CHG: OP_STATE=Disabled AVAIL=Dependency(05) <0005> abis_nm.c:1874 Set Chan Attr (bts=0,trx=0,ts=7) <0005> abis_nm.c:1981 OC=CHANNEL(03) INST=(00,00,07) Sending OPSTART <0005> abis_nm.c:382 OC=RADIO-CARRIER(02) INST=(00,00,ff) Software Activated Report <0005> abis_nm.c:1679 Set TRX Attr (bts=0,trx=0) <0005> abis_nm.c:1981 OC=RADIO-CARRIER(02) INST=(00,00,ff) Sending OPSTART <0005> abis_nm.c:382 OC=BASEBAND-TRANSCEIVER(04) INST=(00,00,ff) Software Activated Report <0005> abis_nm.c:1981 OC=BASEBAND-TRANSCEIVER(04) INST=(00,00,ff) Sending OPSTART <0005> abis_nm.c:2800 ip.access RSL CONNECT IP=0.0.0.0 PORT=3003 STREAM=0x00 <0005> abis_nm.c:382 OC=BTS(01) INST=(00,ff,ff) STATE CHG: OP_STATE=Enabled AVAIL=OK(ff) <0005> abis_nm.c:814 OC=BTS(01) INST=(00,ff,ff) Opstart ACK <0005> abis_nm.c:382 OC=RADIO-CARRIER(02) INST=(00,00,ff) STATE CHG: OP_STATE=Enabled AVAIL=OK(ff) <0005> abis_nm.c:814 OC=RADIO-CARRIER(02) INST=(00,00,ff) Opstart ACK <0005> abis_nm.c:818 OC=CHANNEL(03) INST=(00,00,00) Set Channel Attributes ACK <0005> abis_nm.c:382 OC=CHANNEL(03) INST=(00,00,00) STATE CHG: OP_STATE=Enabled AVAIL=OK(ff) <0005> abis_nm.c:814 OC=CHANNEL(03) INST=(00,00,00) Opstart ACK <0005> abis_nm.c:768 OC=CHANNEL(03) INST=(00,00,01) SET CHANNEL ATTRIBUTE NACK CAUSE=Parameter value outside permitted range <0005> bsc_init.c:62 Got SET CHANNEL ATTRIBUTE NACK going to drop the OML links.
Files
Actions