IP Access nanobts dropping OML link to OpenBSC

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Harald Welte laforge at gnumonks.org
Sun Oct 21 08:50:36 UTC 2012


This NACK might very well be some incompatibility between the specific
nanoBTS firmware version and current OpenBSC.

I would be useful if you could provide a full pcap trace of the exchange
between BTS and OpenBSC. (tcpdump -ni eth0 -s0 -w/tmp/trace.pcap or the
like).  Have you looked at the protocol trace yet in wireshark?  What
kind of details can you see about that OPSTART NACK message?

Regards,
	Harald

On Mon, Oct 15, 2012 at 08:47:46AM +0100, Dingani Brian Nkala wrote:
> Hi All,
> 
> I'm very new to OpenBSC and nanoBTS (but have quite a bit of experience in
> telecoms in general). I recently acquired a brand new ip.access nanoBTS
> (nanoGSM) for a project I'm working on and I promptly installed OpenBSC on
> Ubuntu 11.04 successfully without any headaches. So far I've managed to do
> an "ipaccess-find" and found the BTS, and also set the Unit ID of the
> nanoBTS + OML address using the "ipaccess-config" utility. My problem is,
> when I startup osmo-nitb, I can see the BTS trying to connect and then it
> sends a NACK and OpenBSC drops the links. Below is the output I get on the
> screen when I startup osmo-nitb:
> 
> /home/beta/libosmocore/openbsc/openbsc/src/osmo-nitb# ./osmo-nitb
> -debug=DRLL:DCC:DMM:DRR:DRSL:DNM:DSMS:DMNSMS:DDB:DMEAS -c openbsc.cfg
> DB: Database initialized.
> DB: Database prepared.
> <0007> sms_queue.c:232 Attempting to send 20 SMS
> <0007> sms_queue.c:292 SMSqueue added 0 messages in 0 rounds
> <0005> abis_nm.c:419 OC=SITE-MANAGER(00) INST=(ff,ff,ff) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=BTS(01) INST=(00,ff,ff) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=BASEBAND-TRANSCEIVER(04) INST=(00,00,ff) STATE
> CHG: OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=CHANNEL(03) INST=(00,00,00) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=CHANNEL(03) INST=(00,00,01) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=CHANNEL(03) INST=(00,00,02) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=CHANNEL(03) INST=(00,00,03) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=CHANNEL(03) INST=(00,00,04) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=CHANNEL(03) INST=(00,00,05) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=CHANNEL(03) INST=(00,00,06) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=CHANNEL(03) INST=(00,00,07) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=RADIO-CARRIER(02) INST=(00,00,ff) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=GPRS-NSE(f0) INST=(00,ff,ff) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=GPRS-CELL(f1) INST=(00,00,ff) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=GPRS-NSVC(f2) INST=(00,00,ff) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=GPRS-NSVC(f2) INST=(00,01,ff) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=SITE-MANAGER(00) INST=(ff,ff,ff) SW Activate
> Request: <0005> abis_nm.c:418 Software Activate Request, ACKing and
> Activating
> <0005> abis_nm.c:439 Found SW config: 42 12 00 08 31 31 39 61 30 30 32
> 00 13 00 0a 76 31 32 37 62 31 34 64 30 00
> <0005> abis_nm.c:419 OC=SITE-MANAGER(00) INST=(ff,ff,ff) Software
> Activated Report
> <0005> abis_nm.c:419 OC=SITE-MANAGER(00) INST=(ff,ff,ff) STATE CHG:
> OP_STATE=Disabled AVAIL=Off line(03)
> <0005> abis_nm.c:419 OC=SITE-MANAGER(00) INST=(ff,ff,ff) Sending OPSTART
> <0005> abis_nm.c:419 OC=BTS(01) INST=(00,ff,ff) SW Activate Request:
> <0005> abis_nm.c:418 Software Activate Request, ACKing and Activating
> <0005> abis_nm.c:439 Found SW config: 42 12 00 08 31 31 39 61 30 30 32
> 00 13 00 0a 76 31 32 37 62 31 34 64 30 00
> <0005> abis_nm.c:419 OC=GPRS-NSE(f0) INST=(00,ff,ff) SW Activate
> Request: <0005> abis_nm.c:418 Software Activate Request, ACKing and
> Activating
> <0005> abis_nm.c:439 Found SW config: 42 12 00 08 31 31 39 61 30 30 32
> 00 13 00 0a 76 31 32 37 62 31 34 64 30 00
> <0005> abis_nm.c:419 OC=SITE-MANAGER(00) INST=(ff,ff,ff) STATE CHG:
> OP_STATE=Enabled
> <0005> abis_nm.c:419 OC=SITE-MANAGER(00) INST=(ff,ff,ff) Sending OPSTART
> <0005> abis_nm.c:419 OC=SITE-MANAGER(00) INST=(ff,ff,ff) OPSTART NACK
> CAUSE=Message cannot be performed
> <0005> bsc_init.c:54 Got a NACK going to drop the OML links.
> <0005> abis_nm.c:419 OC=SITE-MANAGER(00) INST=(ff,ff,ff) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=BTS(01) INST=(00,ff,ff) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=BASEBAND-TRANSCEIVER(04) INST=(00,00,ff) STATE
> CHG: OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=CHANNEL(03) INST=(00,00,00) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=CHANNEL(03) INST=(00,00,01) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=CHANNEL(03) INST=(00,00,02) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=CHANNEL(03) INST=(00,00,03) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=CHANNEL(03) INST=(00,00,04) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=CHANNEL(03) INST=(00,00,05) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=CHANNEL(03) INST=(00,00,06) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=CHANNEL(03) INST=(00,00,07) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=RADIO-CARRIER(02) INST=(00,00,ff) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=GPRS-NSE(f0) INST=(00,ff,ff) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=GPRS-CELL(f1) INST=(00,00,ff) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=GPRS-NSVC(f2) INST=(00,00,ff) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=GPRS-NSVC(f2) INST=(00,01,ff) STATE CHG:
> OP_STATE=Disabled AVAIL=Not installed(07)
> <0005> abis_nm.c:419 OC=SITE-MANAGER(00) INST=(ff,ff,ff) SW Activate
> Request: <0005> abis_nm.c:418 Software Activate Request, ACKing and
> Activating
> <0005> abis_nm.c:439 Found SW config: 42 12 00 08 31 31 39 61 30 30 32
> 00 13 00 0a 76 31 32 37 62 31 34 64 30 00
> <0005> abis_nm.c:419 OC=SITE-MANAGER(00) INST=(ff,ff,ff) Software
> Activated Report
> <0005> abis_nm.c:419 OC=SITE-MANAGER(00) INST=(ff,ff,ff) STATE CHG:
> OP_STATE=Disabled AVAIL=Off line(03)
> <0005> abis_nm.c:419 OC=SITE-MANAGER(00) INST=(ff,ff,ff) Sending OPSTART
> <0005> abis_nm.c:419 OC=BTS(01) INST=(00,ff,ff) SW Activate Request:
> <0005> abis_nm.c:418 Software Activate Request, ACKing and Activating
> <0005> abis_nm.c:439 Found SW config: 42 12 00 08 31 31 39 61 30 30 32
> 00 13 00 0a 76 31 32 37 62 31 34 64 30 00
> <0005> abis_nm.c:419 OC=GPRS-NSE(f0) INST=(00,ff,ff) SW Activate
> Request: <0005> abis_nm.c:418 Software Activate Request, ACKing and
> Activating
> <0005> abis_nm.c:439 Found SW config: 42 12 00 08 31 31 39 61 30 30 32
> 00 13 00 0a 76 31 32 37 62 31 34 64 30 00
> <0005> abis_nm.c:419 OC=SITE-MANAGER(00) INST=(ff,ff,ff) STATE CHG:
> OP_STATE=Enabled
> <0005> abis_nm.c:419 OC=SITE-MANAGER(00) INST=(ff,ff,ff) Sending OPSTART
> <0005> abis_nm.c:419 OC=SITE-MANAGER(00) INST=(ff,ff,ff) OPSTART NACK
> CAUSE=Message cannot be performed
> <0005> bsc_init.c:54 Got a NACK going to drop the OML links.
> 
> 
> And the config file:
> 
> cat openbsc.cfg
> !
> ! OpenBSC configuration saved from vty
> !   !
> password foo
> !
> line vty
>  no login
> !
> e1_input
>  e1_line 0 driver ipa
> network
>  network country code 1
>  mobile network code 1
>  short name OpenBSC
>  long name OpenBSC
>  auth policy closed
>  location updating reject cause 13
>  encryption a5 0
>  neci 1
>  rrlp mode none
>  mm info 1
>  handover 0
>  handover window rxlev averaging 10
>  handover window rxqual averaging 1
>  handover window rxlev neighbor averaging 10
>  handover power budget interval 6
>  handover power budget hysteresis 3
>  handover maximum distance 9999
>  timer t3101 10
>  timer t3103 0
>  timer t3105 0
>  timer t3107 0
>  timer t3109 0
>  timer t3111 0
>  timer t3113 60
>  timer t3115 0
>  timer t3117 0
>  timer t3119 0
>  timer t3141 0
>  bts 0
>   type nanobts
>   band DCS1800
>   cell_identity 0
>   location_area_code 1
>   training_sequence_code 7
>   base_station_id_code 63
>   ms max power 15
>   cell reselection hysteresis 4
>   rxlev access min 0
>   channel allocator ascending
>   rach tx integer 9
>   rach max transmission 7
>   ip.access unit_id 1801 0
>   oml ip.access stream_id 255 line 0
>   gprs mode none
>   trx 0
>    rf_locked 0
>    arfcn 514
>    nominal power 23
>    max_power_red 20
>    rsl e1 tei 0
>     timeslot 0
>      phys_chan_config CCCH+SDCCH4
>     timeslot 1
>      phys_chan_config SDCCH8
>     timeslot 2
>      phys_chan_config TCH/F
>     timeslot 3
>      phys_chan_config TCH/F
>     timeslot 4
>      phys_chan_config TCH/F
>     timeslot 5
>      phys_chan_config TCH/F
>     timeslot 6
>      phys_chan_config TCH/F
>     timeslot 7
>      phys_chan_config TCH/F
> 
> 
> Thanks in advance.
> 
> -- 
> Dee
> 
> 
> 
> 

-- 
- Harald Welte <laforge at gnumonks.org>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)




More information about the OpenBSC mailing list