channel availability

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/.

Suraev suraev at alumni.ntnu.no
Thu Nov 19 11:41:42 UTC 2015


19.11.2015 09:26, Harald Welte пишет:
> which branch is the incompatible branch, and which branch are you using
> now?  We have merged osmo-trx support into master in order to get rid of
> of the need of the nightmare of too many branches.  It would be a pity
> if all that effort was for nothing.
> 

Hmm, I thought that process was still ongoing. I'm using branch
201509-fairwaves-rebase of Osmo-BTS with usrp b210. The rest of the components are at
master branch.

> does the GPRS control plane work, i.e. do you se GPRS ATTACH / ACCEPT,
> ROUTING AREA UPDATE ATTACH/ ACCEPT, PDP CONTEXT ACTIVATE / ACCEPT?
> 
> You can follow this in the VTY logging of OsmoSGSN (logging level for
> mobility management and session management).

You mean:
telnet localhost 4245
en
logging enable
logging set-log-mask DMM:DCC
?

> Alternatively, the Gb interface on port 23000/udp can be followed n
> wireshark.  You need to 'decode as... Gb (or was it called GPRS-Gb?)
> 

I can decode it as GPRS (wireshark 1.12.7). In this case I've got:

gprs attach request, with id request followed by attach accept and attach complete.

The tun0 is created, masquerading is on by iptables, forwarding is enabled with
sysctl. After the gprs attach I see lots of FLOW-CONTROL_BVC and NS-ALIVE messages
with corresponding -ACK.

The strange thing is - I see no packets over tun0 at all. Same goes for udp port
23000 except what was mentioned above. Shouldn't I be able to at least see dns
queries from mobile?

The logs from OsmoPCU also looks cryptic but the message about timeout seems suspicious:

<0001> sysmo_sock.cpp:283 PCU-SYSMO socket has been connected
<0001> pcu_l1_if.cpp:343 BTS available
<0008> gprs_ns.c:233 NSVCI=65534 Creating NS-VC
<0008> gprs_ns.c:233 NSVCI=101 Creating NS-VC
<0008> gprs_ns.c:1561 NSEI=101 RESET procedure based on API request
<0008> gprs_ns.c:392 NSEI=101 Tx NS RESET (NSVCI=101, cause=O&M intervention)
<0001> pcu_l1_if.cpp:80 Sending activate request: trx=0 ts=6
<0001> pcu_l1_if.cpp:469 PDCH: trx=0 ts=6
<0001> pcu_l1_if.cpp:80 Sending activate request: trx=0 ts=7
<0001> pcu_l1_if.cpp:469 PDCH: trx=0 ts=7
<0008> gprs_ns.c:935 NSVCI=101 Rx NS RESET ACK (NSEI=101, NSVCI=101)
<0008> gprs_ns.c:501 NSEI=101 Tx NS UNBLOCK (NSVCI=101)
<0008> gprs_ns.c:1345 NSEI=101 Rx NS UNBLOCK ACK
<000a> gprs_bssgp_pcu.cpp:489 NS-VC 101 is unblocked.
<0009> gprs_bssgp_pcu.cpp:749 Sending reset on BVCI 0
<0009> gprs_bssgp_bss.c:290 BSSGP (BVCI=0) Tx BVC-RESET CAUSE=8
<0009> gprs_bssgp_pcu.cpp:757 Sending reset on BVCI 2
<0009> gprs_bssgp_bss.c:290 BSSGP (BVCI=2) Tx BVC-RESET CAUSE=8
<0009> gprs_bssgp_pcu.cpp:765 Sending unblock on BVCI 2
<0009> gprs_bssgp_bss.c:270 BSSGP (BVCI=2) Tx BVC-BLOCK
<0001> pcu_l1_if.cpp:295 RACH request received: sapi=1 qta=0, ra=120, fn=1742448
<0009> tbf_ul.cpp:407 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0x865ad706 DIR=UL STATE=FLOW)
len=52
<0009> gprs_bssgp_pcu.cpp:179 LLC [SGSN -> PCU] = TLLI: 0x865ad706 IMSI: 000 len: 9
<0007> gprs_rlcmac_meas.cpp:104 UL RSSI of TLLI=0x865ad706: -62 dBm
<0001> pcu_l1_if.cpp:295 RACH request received: sapi=1 qta=0, ra=123, fn=1742930
<0007> gprs_rlcmac_meas.cpp:159 DL packet loss of IMSI=000 / TLLI=0x865ad706: 0%
<0009> tbf_ul.cpp:407 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0x865ad706 DIR=UL STATE=FLOW)
len=17
<0009> gprs_bssgp_pcu.cpp:179 LLC [SGSN -> PCU] = TLLI: 0x865ad706 IMSI: 000 len: 9
<0007> gprs_rlcmac_meas.cpp:104 UL RSSI of TLLI=0x865ad706: -66 dBm
<0002> tbf.cpp:434 TBF(TFI=0 TLLI=0x865ad706 DIR=DL STATE=ASSIGN) poll timeout for
FN=1743252 (curr FN 1743313)
<0002> tbf.cpp:485 - Timeout for polling PACKET CONTROL ACK for PACKET DOWNLINK
ASSIGNMENT.
<0002> tbf.cpp:777 - Assignment was on PACCH
<0002> tbf.cpp:785 - No downlink ACK received yet
<0002> bts.cpp:812 Recovered downlink assignment for TBF(TFI=0 TLLI=0x865ad706 DIR=DL
STATE=FLOW)
<0007> gprs_rlcmac_meas.cpp:184 DL Bandwitdh of IMSI=000 / TLLI=0x865ad706: 0 KBits/s
<0007> gprs_rlcmac_meas.cpp:159 DL packet loss of IMSI=000 / TLLI=0x865ad706: 0%
<0009> tbf_ul.cpp:407 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0x865ad706 DIR=UL STATE=FLOW)
len=17
<0009> gprs_bssgp_pcu.cpp:179 LLC [SGSN -> PCU] = TLLI: 0x865ad706 IMSI:
901708776992222 len: 26
<0002> tbf.cpp:434 TBF(TFI=0 TLLI=0x865ad706 DIR=UL STATE=FINISHED) poll timeout for
FN=1743534 (curr FN 1743599)
<0002> tbf.cpp:485 - Timeout for polling PACKET CONTROL ACK for PACKET DOWNLINK
ASSIGNMENT.
<0002> tbf.cpp:777 - Assignment was on PACCH
<0002> tbf.cpp:785 - No downlink ACK received yet
<0002> bts.cpp:812 Recovered downlink assignment for TBF(TFI=0 TLLI=0x865ad706 DIR=DL
STATE=FLOW)
<0007> gprs_rlcmac_meas.cpp:184 DL Bandwitdh of IMSI=000 / TLLI=0x865ad706: 0 KBits/s
<0007> gprs_rlcmac_meas.cpp:159 DL packet loss of IMSI=000 / TLLI=0x865ad706: 0%
<0009> tbf_ul.cpp:407 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0x865ad706 DIR=UL STATE=FLOW)
len=17
<0009> gprs_bssgp_pcu.cpp:179 LLC [SGSN -> PCU] = TLLI: 0x865ad706 IMSI:
901708776992222 len: 26
<0002> tbf.cpp:434 TBF(TFI=0 TLLI=0x865ad706 DIR=UL STATE=FINISHED) poll timeout for
FN=1743534 (curr FN 1743599)
<0002> tbf.cpp:485 - Timeout for polling PACKET CONTROL ACK for PACKET DOWNLINK
ASSIGNMENT.
<0002> tbf.cpp:777 - Assignment was on PACCH
<0002> tbf.cpp:779 - Uplink data was received
<0002> tbf.cpp:434 TBF(TFI=0 TLLI=0x865ad706 DIR=UL STATE=FINISHED) poll timeout for
FN=1743638 (curr FN 1743703)
<0007> gprs_rlcmac_meas.cpp:184 DL Bandwitdh of IMSI=901708776992222 /
TLLI=0x865ad706: 0 KBits/s
<0007> gprs_rlcmac_meas.cpp:104 UL RSSI of TLLI=0x865ad706: -67 dBm
<0007> gprs_rlcmac_meas.cpp:159 DL packet loss of IMSI=901708776992222 /
TLLI=0x865ad706: 0%
<0001> pcu_l1_if.cpp:295 RACH request received: sapi=1 qta=0, ra=121, fn=1744126
<0009> tbf_ul.cpp:407 LLC [PCU -> SGSN] TBF(TFI=0 TLLI=0xc7c9a645 DIR=UL STATE=FLOW)
len=8
<0007> gprs_rlcmac_meas.cpp:104 UL RSSI of TLLI=0xc7c9a645: -69 dBm
<0002> bts.cpp:767 PACKET CONTROL ACK with unknown FN=1745900 TLLI=0xc7c9a645 (TRX 0
TS 6)
<0002> bts.cpp:767 PACKET CONTROL ACK with unknown FN=1746095 TLLI=0xc7c9a645 (TRX 0
TS 6)

Any ideas what am I missing in here?

cheers,
Max.




More information about the OpenBSC mailing list