Hello Harald and everyone out there!

I have been going through your Osmocom projects especially Openbsc (osmo-nitb) 
and Osmobts projects and I must say it's a real great work!
I'm a lead engineer at Octasic and after looking at your work on OpenBSC and 
OsmoBTS, we decided to use your OpenBSC stack for internal testing of our 
Octasic PHY.

I know currently openbsc supports few BTS models like ip.access, sysmocom etc. 
I have gone through the wiki and some of the openbsc archives. I could find an 
archive regarding Octasic SDR, but I guess it has not gone any further.
http://lists.osmocom.org/pipermail/openbsc/2010-November/002196.html

I will be interested in osmo-nitb which I can use for network part of GSM and 
use osmo-bts for BTS L2/L3 stuff, which already has abis-over-ip interface to 
openBSC(osmo-nitb). I have Octasic SDR hardware that has the layer1 (DSP 
image), so all I need to implement is the interfaces between Octasic Layer1 and 
osmobts L2/L3 to communicate between them, which I'm working on.

I have already installed openbsc (osmo-nitb) and also osmobts on my Debian 
7.1.0. I'm currently in a process of writing interfaces between Octasic L1 and 
osmobts.
I'm using the default config file openbsc.cfg for osmo-nitb & using ip.access 
config file for osmobts (with changes in the OML ip & band GSM900)

At present I'm trying to get TRX config request from osmo-nitb. However though 
I'm receiving few OML messages like NM_MT_SET_BTS_ATTR (pcap attached), I guess 
they are specific to ip.access BTS, I'm not able to see any TRX config request 
coming from osmo-nitb (Or by any chance is that what I'm receiving is the TRX 
config one?)

I'm simply sending ack for those OML messages and eventually expecting a TRX 
config request from osmo-nitb. I'm not sure if osmo-nitb expects something to 
se sent from BTS side, looks like it is simply waiting for something(see below).

I have tried to run osmo-nitb program and it look like:
./osmo-nitb -c openbsc.cfg 
<0019> input/ipaccess.c:934 enabling ipaccess BSC mode 
DB: Database initialized. 
DB: Database prepared. 
<001d> sms_queue.c:220 Attempting to send 20 SMS 
<0019> input/ipa.c:323 accept()ed new link from 127.0.0.1 to port 3002

(I do not see RSL link becoming up here)

I tried turn on debug:
./osmo-nitb -c openbsc.cfg -C --debug=DRLL:DCC:DMM:DRR:DRSL:DNM 
DB: Database initialized. 
DB: Database prepared. 
<0005> abis_nm.c:315 OC=SITE-MANAGER(00) INST=(ff,ff,ff) STATE CHG: 
OP_STATE=NULL AVAIL=Power off(02) 
<0005> abis_nm.c:315 OC=BTS(01) INST=(00,ff,ff) STATE CHG: OP_STATE=NULL 
AVAIL=Dependency(05) 
<0005> abis_nm.c:1442 Set BTS Attr (bts=0) <0005> abis_nm.c:1763 OC=BTS(01) 
INST=(00,ff,ff) Sending OPSTART 
<0005> abis_nm.c:315 OC=GPRS-NSE(f0) INST=(00,ff,ff) STATE CHG: OP_STATE=NULL 
AVAIL=Dependency(05) 
<0005> abis_nm.c:315 OC=GPRS-CELL(f1) INST=(00,ff,ff) STATE CHG: OP_STATE=NULL 
AVAIL=Dependency(05) 
<0005> abis_nm.c:315 OC=GPRS-NSVC(f2) INST=(00,00,ff) STATE CHG: OP_STATE=NULL 
AVAIL=Dependency(05) 
<0005> abis_nm.c:315 OC=GPRS-NSVC(f2) INST=(00,01,ff) STATE CHG: OP_STATE=NULL 
AVAIL=Dependency(05) 
<0005> abis_nm.c:315 OC=RADIO-CARRIER(02) INST=(00,00,ff) STATE CHG: 
OP_STATE=NULL AVAIL=Power off(02) 
<0005> abis_nm.c:315 OC=BASEBAND-TRANSCEIVER(04) INST=(00,00,ff) STATE CHG: 
OP_STATE=NULL AVAIL=Power off(02) 
<0005> abis_nm.c:315 OC=CHANNEL(03) INST=(00,00,00) STATE CHG: OP_STATE=NULL 
AVAIL=Power off(02) 
<0005> abis_nm.c:315 OC=CHANNEL(03) INST=(00,00,01) STATE CHG: OP_STATE=NULL 
AVAIL=Power off(02) 
<0005> abis_nm.c:315 OC=CHANNEL(03) INST=(00,00,02) STATE CHG: OP_STATE=NULL 
AVAIL=Power off(02) 
<0005> abis_nm.c:315 OC=CHANNEL(03) INST=(00,00,03) STATE CHG: OP_STATE=NULL 
AVAIL=Power off(02) 
<0005> abis_nm.c:315 OC=CHANNEL(03) INST=(00,00,04) STATE CHG: OP_STATE=NULL 
AVAIL=Power off(02) 
<0005> abis_nm.c:315 OC=CHANNEL(03) INST=(00,00,05) STATE CHG: OP_STATE=NULL 
AVAIL=Power off(02) 
<0005> abis_nm.c:315 OC=CHANNEL(03) INST=(00,00,06) STATE CHG: OP_STATE=NULL 
AVAIL=Power off(02) 
<0005> abis_nm.c:315 OC=CHANNEL(03) INST=(00,00,07) STATE CHG: OP_STATE=NULL 
AVAIL=Power off(02) 
<0005> abis_nm.c:315 OC=BTS(01) INST=(00,ff,ff) STATE CHG: OP_STATE=Enabled 
AVAIL=Dependency(05) 
<0005> abis_nm.c:1442 Set BTS Attr (bts=0) <0005> abis_nm.c:1763 OC=BTS(01) 
INST=(00,ff,ff) Sending OPSTART

And then BSC keeps waiting here though at osmobts - osmo-nitb interface 
IPACCESS ping-pong goes on for keep-alive of the abis OML link and after some 
time,
Osmobts reports link down(see attached osmo-bts debug).

At present, I have just created socket interface from osmo-bts to octasic L1 
and I'm in the process of writing interfaces for the messages.
I'm expecting 1st message, TRX config request from osmo-nitb and do not see it. 
I was thinking, once the abis interface is up (OML link), osmo-nitb will 
trigger TRX configuration and then based on the response from BTS, other 
configurations. Does osmo-nitb require some kind of handshake from the BTS side 
to send the TRX configuration?

I shall be really grateful to hear advices from the experts out there. I can 
give you more information if required.

Thanks,
Jason D'Souza 

./osmo_bts_octasic
<0006> l1_if.c:1204 Opening L1 interface for Octasic BTS
<0006> l1_if.c:1271 L1C IO port opened successfully.
<0006> main.c:93 Inside link_init()
<0006> main.c:104 Calling abis_open()
<000d> abis.c:508 Abis socket trying to reach BSC.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:374 Abis socket now connected.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:421 Received messages from Abis socket.
<0006> abis.c:292 Received IPAC_PROTO_IPACCESS message
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:427 Sending messages to Abis socket.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:427 Sending messages to Abis socket.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:421 Received messages from Abis socket.
<0006> abis.c:292 Received IPAC_PROTO_IPACCESS message
<0001> oml.c:217 OC=SITE-MANAGER INST=(ff,ff,ff) Tx STATE CHG REP
<0001> oml.c:217 OC=BTS INST=(00,ff,ff) Tx STATE CHG REP
<0001> oml.c:217 OC=GPRS-NSE INST=(00,ff,ff) Tx STATE CHG REP
<0001> oml.c:217 OC=GPRS-CELL INST=(00,ff,ff) Tx STATE CHG REP
<0001> oml.c:217 OC=GPRS-NSVC INST=(00,00,ff) Tx STATE CHG REP
<0001> oml.c:217 OC=GPRS-NSVC INST=(00,01,ff) Tx STATE CHG REP
<0001> oml.c:217 OC=RADIO-CARRIER INST=(00,00,ff) Tx STATE CHG REP
<0001> oml.c:217 OC=BASEBAND-TRANSCEIVER INST=(00,00,ff) Tx STATE CHG REP
<0001> oml.c:217 OC=CHANNEL INST=(00,00,00) Tx STATE CHG REP
<0001> oml.c:217 OC=CHANNEL INST=(00,00,01) Tx STATE CHG REP
<0001> oml.c:217 OC=CHANNEL INST=(00,00,02) Tx STATE CHG REP
<0001> oml.c:217 OC=CHANNEL INST=(00,00,03) Tx STATE CHG REP
<0001> oml.c:217 OC=CHANNEL INST=(00,00,04) Tx STATE CHG REP
<0001> oml.c:217 OC=CHANNEL INST=(00,00,05) Tx STATE CHG REP
<0001> oml.c:217 OC=CHANNEL INST=(00,00,06) Tx STATE CHG REP
<0001> oml.c:217 OC=CHANNEL INST=(00,00,07) Tx STATE CHG REP
<000d> abis.c:427 Sending messages to Abis socket.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:427 Sending messages to Abis socket.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:427 Sending messages to Abis socket.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:427 Sending messages to Abis socket.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:427 Sending messages to Abis socket.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:427 Sending messages to Abis socket.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:427 Sending messages to Abis socket.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:427 Sending messages to Abis socket.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:427 Sending messages to Abis socket.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:427 Sending messages to Abis socket.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:427 Sending messages to Abis socket.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:427 Sending messages to Abis socket.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:427 Sending messages to Abis socket.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:427 Sending messages to Abis socket.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:427 Sending messages to Abis socket.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:427 Sending messages to Abis socket.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:421 Received messages from Abis socket.
<0006> abis.c:301 Received IPAC_PROTO_OML message
<0006> oml.c:817 Jason - FOM: Received NM_MT_SET_BTS_ATTR
<0001> oml.c:412 MSG: 41 01 00 ff ff 19 55 5b 61 67 6d 73 18 06 0e 00 02 01 20 
33 1e 24 24 a8 34 21 a8 1f 3f 25 00 01 0a 0c 0a 0b 01 2a 0a 2b 03 e8 0a 80 23 
0a 08 00 78 09 3f 99 00 07 00 f1 10 00 01 00 00 
<0001> oml.c:414 L3=0x8768c8e, VAL=0x8768cbd, DIF=47
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:427 Sending messages to Abis socket.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:421 Received messages from Abis socket.
<0006> abis.c:301 Received IPAC_PROTO_OML message
<0006> oml.c:841 Jason - FOM: Received NM_MT_CHG_ADM_STATE
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:427 Sending messages to Abis socket.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:421 Received messages from Abis socket.
<0006> abis.c:301 Received IPAC_PROTO_OML message
<0006> oml.c:837 Jason - FOM: Received NM_MT_OPSTART
<0006> oml.c:729 Jason - Inside oml_rx_opstart
<0006> l1_oml.c:63 Jason - l1_oml.c - Inside bts_model_opstart 
<0001> oml.c:256 OC=BTS INST=(00,ff,ff) OPER STATE NULL -> Enabled
<0001> oml.c:217 OC=BTS INST=(00,ff,ff) Tx STATE CHG REP
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:427 Sending messages to Abis socket.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:427 Sending messages to Abis socket.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:421 Received messages from Abis socket.
<0006> abis.c:301 Received IPAC_PROTO_OML message
<0006> oml.c:817 Jason - FOM: Received NM_MT_SET_BTS_ATTR
<0001> oml.c:412 MSG: 41 01 00 ff ff 19 55 5b 61 67 6d 73 18 06 0e 00 02 01 20 
33 1e 24 24 a8 34 21 a8 1f 3f 25 00 01 0a 0c 0a 0b 01 2a 0a 2b 03 e8 0a 80 23 
0a 08 00 78 09 3f 99 00 07 00 f1 10 00 01 00 00 
<0001> oml.c:414 L3=0x8768c8e, VAL=0x8768cbd, DIF=47
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:427 Sending messages to Abis socket.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:421 Received messages from Abis socket.
<0006> abis.c:301 Received IPAC_PROTO_OML message
<0006> oml.c:841 Jason - FOM: Received NM_MT_CHG_ADM_STATE
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:427 Sending messages to Abis socket.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:421 Received messages from Abis socket.
<0006> abis.c:301 Received IPAC_PROTO_OML message
<0006> oml.c:837 Jason - FOM: Received NM_MT_OPSTART
<0006> oml.c:729 Jason - Inside oml_rx_opstart
<0006> oml.c:748 Jason - automatic ACK, OP state already was Enabled 
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:421 Received messages from Abis socket.
<0006> abis.c:292 Received IPAC_PROTO_IPACCESS message
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:427 Sending messages to Abis socket.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:421 Received messages from Abis socket.
<0006> abis.c:292 Received IPAC_PROTO_IPACCESS message
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:427 Sending messages to Abis socket.
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:358 ABIS: Calling abis_sock_cb()
<000d> abis.c:421 Received messages from Abis socket.
<0006> abis.c:292 Received IPAC_PROTO_IPACCESS message
<000d> abis.c:59 Link Down, dropping message.
<000d> abis.c:59 Link Down, dropping message.
<000d> abis.c:59 Link Down, dropping message.
<000d> abis.c:59 Link Down, dropping message.
<000d> abis.c:59 Link Down, dropping message.
<000d> abis.c:59 Link Down, dropping message.
<000d> abis.c:59 Link Down, dropping message.
<000d> abis.c:59 Link Down, dropping message.
<000d> abis.c:59 Link Down, dropping message.
<000d> abis.c:59 Link Down, dropping message.

Attachment: osmo-nitb.pcap
Description: osmo-nitb.pcap

Reply via email to