<div dir="ltr"><div style>Hello everybody.</div><div style><br></div><div>Log from Osmo-SGSN</div><div><br></div><div><0010> gprs_ns.c:171 NSVCI=65534 Creating NS-VC</div><div><0010> gprs_ns.c:171 NSVCI=65535 Creating NS-VC</div>
<div><0010> gprs_ns.c:819 Creating NS-VC for BSS at <a href="http://192.168.111.144:23000">192.168.111.144:23000</a></div><div><0010> gprs_ns.c:692 NSEI=65535 Rx NS RESET (NSVCI=0, cause=O&M intervention)</div>
<div><0010> gprs_ns.c:547 NSEI=101 Tx NS RESET ACK (NSVCI=101)</div><div><0010> gprs_ns.c:863 NSEI=101 Rx NS RESET ACK</div><div><0010> gprs_ns.c:692 NSEI=101 Rx NS RESET (NSVCI=101, cause=O&M intervention)</div>
<div><0010> gprs_ns.c:547 NSEI=101 Tx NS RESET ACK (NSVCI=101)</div><div><0010> gprs_ns.c:863 NSEI=101 Rx NS RESET ACK</div><div><br></div><div>These set of statements repeats as the NS reset timer timed out.</div>
<div>When a reset request is made to the NS, According to the code and specs the NS-VC is blocked and made Alive.</div><div><br></div><div><br></div><div>Here is the log from PCU</div><div><0001> pcu_l1_if.cpp:296 RACH request received: sapi=1 qta=4, ra=124, fn=784700</div>
<div><0008> gprs_rlcmac.cpp:1794 LLC [PCU -> SGSN] TFI: 0 TLLI: 0x7b9af47b len=44</div><div><0007> gprs_rlcmac_meas.cpp:102 UL RSSI of TLLI=0x7b9af47b: -74 dBm</div><div><br></div><div><0001> pcu_l1_if.cpp:296 RACH request received: sapi=1 qta=4, ra=124, fn=785415</div>
<div><0008> gprs_rlcmac.cpp:1794 LLC [PCU -> SGSN] TFI: 0 TLLI: 0x797c478f len=47</div><div><0007> gprs_rlcmac_meas.cpp:102 UL RSSI of TLLI=0x797c478f: -58 dBm</div><div><br></div><div>These set of statements repeat. </div>
<div><br></div><div>As I receive a UL TBF on TS1 and when a request from PCU that calls gprs_ns_sendmsg() inorder to send data to SGSN, it fails because the NS-VC is still blocked and I also checked whether it is ALIVE or not, I find it is Dead.</div>
<div><br></div><div>The MS (requesting for GPRS attach keeps on requesting for RACH and responds on TS:1 with a TBF)</div><div> </div><div>I am using </div><div>Libosmocore->jolly/trx</div><div>Openbsc->jolly/testing</div>
<div>OsmoBTS->jolly/trx</div><div>OsmoPCU->Master</div><div>OsmocomBB->Jolly/trx</div><div><br></div><div>I start as ./osmo-nitb   ./osmo-sgsn   ./Osmo-pcu  ./transceiver(osmocom_bb) ./osmo-bts-trx</div><div><br>
</div><div>I compiled PCU as ./configure --enable--sysmocom-bts and osmo-bts as ./configure --enable-trx</div><div>If I dont compile PCU this way its not connecting with Osmo-BTS</div><div>and in OpenBSC I specified as sysmobts in the openbsc.cfg </div>
<div><br></div><div>Can you please guide and correct me in making the NS-VC alive and unblocked and how can the PDU reach sgsn. </div><div><br></div><div>best regards,</div><div><br></div><div>Altaf</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Jun 11, 2013 at 4:50 PM, altaf sk <span dir="ltr"><<a href="mailto:altaf329@gmail.com" target="_blank">altaf329@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hello Andreas<div><br></div><div>1.</div><div>As you mentioned use OpenBSC -> master and OsmoBTS -> jolly/trx branch. Compiling OsmoBTS results in compilations errorrs.<br></div><div>
<br></div><div>Log from OsmoBTS:</div><div><br></div><div><div>rsl.c:138:2: warning: #warning merge lchan_lookup with OpenBSC [-Wcpp]</div><div>rsl.c: In function ‘rsl_rx_chan_activ’:</div><div>rsl.c:744:53: error: ‘struct gsm_lchan’ has no member named ‘mr_bts_lv’</div>

<div>rsl.c:748:15: error: ‘struct gsm_lchan’ has no member named ‘mr_bts_lv’</div><div>rsl.c: In function ‘rsl_rx_mode_modif’:</div><div>rsl.c:991:53: error: ‘struct gsm_lchan’ has no member named ‘mr_bts_lv’</div><div>rsl.c:995:15: error: ‘struct gsm_lchan’ has no member named ‘mr_bts_lv’</div>

<div>rsl.c: In function ‘rsl_rx_ipac_XXcx’:</div><div>rsl.c:1304:7: warning: passing argument 3 of ‘osmo_rtp_get_bound_ip_port’ from incompatible pointer type [enabled by default]</div><div>/usr/local/include/osmocom/trau/osmo_ortp.h:71:5: note: expected ‘int *’ but argument is of type ‘uint16_t *’</div>

<div>make[2]: *** [rsl.o] Error 1</div><div>make[2]: Leaving directory `/home/cinterion/alt_cint/osmo-bts/src/common'</div><div>make[1]: *** [all-recursive] Error 1</div><div>make[1]: Leaving directory `/home/cinterion/alt_cint/osmo-bts/src'</div>

<div>make: *** [all-recursive] Error 1</div><div><br></div></div><div>2.</div><div><br></div><div>No errors when OpenBSC -> jolly/testing and OsmoBTS->jolly/trx. But cannot start OsmoSGSN when OpenBSC is on Jolly/tetsing.<br>

</div><div><br></div><div>OsmoSGSN says :</div><div><br></div><div><div class="im"><div><0010> gprs_ns.c:171 NSVCI=65534 Creating NS-VC</div></div><div><000f> sgsn_libgtp.c:571 Failed to create GTP: -1</div>
<div><000f> sgsn_main.c:346 Cannot bind/listen on GTP socket</div><div><br></div></div><div><br></div><div>So after compiling OsmoBTS, I switch OpenBSC->master and then start OsmoSGSN and it starts.</div>
<div><br></div><div>Then OsmoSGSN  says :</div><div><div class="im"><div><0010> gprs_ns.c:171 NSVCI=65534 Creating NS-VC</div><div><br></div></div><div>3.</div><div><br></div></div><div>I was able to connect the PCU to OsmoBTS... I compiled PCU with sysmo-bts support then it connected to osmoBTS.  I could also use the second phone for TS1 and was able to send a IMM ASS (for packet channel). I verified this on the MS (requesting for GPRS attach). And by observing log from PCU it shows MS has responded in TS-1 and sent data.<br>

</div><div><br></div><div>OsmoNITB is also working good.</div><div><br></div><div>Log from PCU when a GPRS attch request is received</div><div><br></div><div><div>./osmo-pcu -c osmo-pcu.cfg -m 234 -n 06</div>
<div><0001> sysmo_sock.cpp:292 PCU-SYSMO socket has been connected</div><div class="im"><div><0001> pcu_l1_if.cpp:375 BTS available</div></div><div><0001> pcu_l1_if.cpp:91 Sending activate request: trx=0 ts=1</div>
<div><0001> pcu_l1_if.cpp:502 PDCH: trx=0 ts=1</div>
<div><0001> pcu_l1_if.cpp:296 RACH request received: sapi=1 qta=4, ra=120, fn=741687</div><div><0008> gprs_rlcmac.cpp:1793 LLC [PCU -> SGSN] TFI: 0 TLLI: 0x7b15c7c4 len=41</div><div><0007> gprs_rlcmac_meas.cpp:102 UL RSSI of TLLI=0x7b15c7c4: -59 dBm</div>

<div><0001> pcu_l1_if.cpp:296 RACH request received: sapi=1 qta=4, ra=120, fn=744933</div><div><0008> gprs_rlcmac.cpp:1793 LLC [PCU -> SGSN] TFI: 0 TLLI: 0x7b15c7c4 len=41</div><div><0007> gprs_rlcmac_meas.cpp:102 UL RSSI of TLLI=0x7b15c7c4: -60 dBm</div>

<div><br></div><div><br></div><div>Log from OsmoBTS when GPRS attch request is received</div><div>When a UL data received on PDTCH<br></div><div><div><br></div><div><000a> trx_if.c:178 No response from transceiver</div>

<div><0006> scheduler.c:1169 Received RACH fn=754683 toa=1.51</div><div><0006> scheduler.c:1338 Received bad PDTCH block ending at fn=754809 (81/104) for </div><div>            PDTCH</div><div><000a> trx_if.c:178 No response from transceiver</div>

<div><br></div><div>After this OsmoBTS results in </div><div><br></div><div><div>Segmentation fault (core dumped)</div><div><br></div></div></div></div><div><br></div><div>Can you please tell how can I compile OsmoBTS correctly by using OpenBSC->master.</div>

<div><br></div><div><br></div><div>regards,</div><div><br></div><div>Altaf</div><div><br></div><div><br></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">

On Wed, Jun 5, 2013 at 6:37 PM, altaf sk <span dir="ltr"><<a href="mailto:altaf329@gmail.com" target="_blank">altaf329@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">Hello andreas,<div><br></div><div>thanks a lot for your help.<br><div><br></div><div>I resulted successful in running the osmoBTS with calypso phones. Currently I did (register) with 1 phone but will do it with 2 also.  yes I am using the debugging option.</div>


<div><br></div><div>Can you kindly tell me how should I enable the PCU support. I have the osmo-pcu (master) installed and I start it before  starting osmoBTS. </div><div><br></div><div>I tried to use jolly_test in osmo-pcu git, but errors concerning sysmobts.</div>


<div> </div><div>I tried looking around sockets and vty but could not figure it out. I looked at the osmo-bts-sysmo code which has the command line option (-M --pcu-direct) to enable pcu support.</div><div>I looked at the code and I found that pcu_direct is set to 1 (pcu_direct=1) when -M option is used.</div>


<div><br></div><div>using this as a reference in the main.c of osmo-bts-trx i directly defined pcu_direct=1 and then tried. The socket /tmp/pcu-bts is open but still I dont see any response from PCU.</div><div>
<br></div><div>Can you suggest me in this regard.</div><div><br></div><div>regards,</div><div><br></div><div>Altaf</div>
</div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 4, 2013 at 5:13 PM, altaf sk <span dir="ltr"><<a href="mailto:altaf329@gmail.com" target="_blank">altaf329@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yes, I understand how trx uses two phones by reading your previous commits. I will study them<div><br></div>


<div><br></div><div>regards,</div><div><br></div><div>altaf</div><div>
<br></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 4, 2013 at 4:53 PM, altaf sk <span dir="ltr"><<a href="mailto:altaf329@gmail.com" target="_blank">altaf329@gmail.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">ok. Thank you...<div><br></div><div>I will look into this and will post if any success..</div><div><br>


</div>
<div>You say that using jolly/testing branch it is possible to use two phones.  I am not sure how to use two phones and connect and how is the sync b/w them. Can you please give some brief idea before you write documentation. </div>




<div><br></div><div>isnt it possible with 1 phone, Just for minimal functions.?</div><div><br></div><div>I don't find the branch jolly/trx in <span style="font-size:13px;background-color:rgb(247,247,247)">git clone git://<a href="http://github.com/chemeris/openbts-p2.8.git" target="_blank">github.com/chemeris/openbts-p2.8.git</a>. Should I clone from a different git.</span></div>




<div><br></div><div><br></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div>On Tue, Jun 4, 2013 at 4:13 PM, jolly <span dir="ltr"><<a href="mailto:andreas@eversberg.eu" target="_blank">andreas@eversberg.eu</a>></span> wrote:<br>




</div><div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>altaf sk wrote:<br>
> PCU -> master<br>
> bts   -> gprs-work<br>
> os_BB -> sylvain/testing<br>
> openbsc -> master<br>
</div>pcu master is ok (everything merged).<br>
openbsc master is ok.<br>
bts gprs-work? i don't know this branch, please use jolly/trx.<br>
osmocom_bb you should use jolly/testing branch, because you need to use<br>
two phones, one for broadcast and one for timeslot 1 (gprs). i think i<br>
need to write a documentation for that. but in your case, the IMM.ASS<br>
problem must be solved first.<br>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>