Project

General

Profile

Actions

Bug #2944

closed

OsmoBTS master does not work with CalypsoBTS based transceivers

Added by roox about 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
02/13/2018
Due date:
% Done:

100%

Spec Reference:

Description

Starting from revision 8c1d15764377eb6a11aa432661d5afe60c2e8a9c CalypsoBTS-based transceivers (I tested jolly/testing) does not longer work.

osmo-bts-trx fails early with:

<000b> trx_if.c:488 Response message 'RSP SETSLOT 0 5' does not match command message 'CMD SETSLOT 0 5'
<0001> bts.c:210 Shutting down BTS 0, Reason TRX-CTRL-MSG: CRITICAL

I added some log statements to the beginning of the cmd_matches_rsp function and the output from osmo-bts-trx now looks like this:

...
<000b> trx_if.c:240 Enqueuing TRX control command 'CMD POWEROFF'
<000b> trx_if.c:160 Sending control 'CMD POWEROFF' to phy0.0
<000b> trx_if.c:457 Response message: 'RSP POWEROFF 0'
<000b> trx_if.c:422 #############################
<000b> trx_if.c:423 ***TCM_CMD: POWEROFF***
<000b> trx_if.c:424 ***RSPNAME: POWEROFF***
<000b> trx_if.c:425 ***TCM_PARAMS: ***
<000b> trx_if.c:426 ***PARAMS: ***
<0001> oml.c:1049 ADM state already was Unlocked
<000b> trx_if.c:240 Enqueuing TRX control command 'CMD RXTUNE 1781800'
<000b> trx_if.c:160 Sending control 'CMD RXTUNE 1781800' to phy0.0
<000b> trx_if.c:240 Enqueuing TRX control command 'CMD TXTUNE 1876800'
<000b> trx_if.c:240 Enqueuing TRX control command 'CMD SETBSIC 63'
<000b> trx_if.c:240 Enqueuing TRX control command 'CMD POWERON'
<000b> trx_if.c:240 Enqueuing TRX control command 'CMD SETRXGAIN 1'
<000b> trx_if.c:240 Enqueuing TRX control command 'CMD SETPOWER 20'
<000b> trx_if.c:240 Enqueuing TRX control command 'CMD SETSLOT 0 5'
<000b> trx_if.c:457 Response message: 'RSP RXTUNE 0 1781800'
<000b> trx_if.c:422 #############################
<000b> trx_if.c:423 ***TCM_CMD: RXTUNE***
<000b> trx_if.c:424 ***RSPNAME: RXTUNE***
<000b> trx_if.c:425 ***TCM_PARAMS: 1781800***
<000b> trx_if.c:426 ***PARAMS: 1781800***
<000b> trx_if.c:160 Sending control 'CMD TXTUNE 1876800' to phy0.0
<000b> trx_if.c:457 Response message: 'RSP TXTUNE 0 1876800'
<000b> trx_if.c:422 #############################
<000b> trx_if.c:423 ***TCM_CMD: TXTUNE***
<000b> trx_if.c:424 ***RSPNAME: TXTUNE***
<000b> trx_if.c:425 ***TCM_PARAMS: 1876800***
<000b> trx_if.c:426 ***PARAMS: 1876800***
<000b> trx_if.c:160 Sending control 'CMD SETBSIC 63' to phy0.0
<000b> trx_if.c:457 Response message: 'RSP SETBSIC 0'
<000b> trx_if.c:422 #############################
<000b> trx_if.c:423 ***TCM_CMD: SETBSIC***
<000b> trx_if.c:424 ***RSPNAME: SETBSIC***
<000b> trx_if.c:425 ***TCM_PARAMS: 63***
<000b> trx_if.c:426 ***PARAMS: ***
<000b> trx_if.c:160 Sending control 'CMD POWERON' to phy0.0
<000b> trx_if.c:457 Response message: 'RSP POWERON 0'
<000b> trx_if.c:422 #############################
<000b> trx_if.c:423 ***TCM_CMD: POWERON***
<000b> trx_if.c:424 ***RSPNAME: POWERON***
<000b> trx_if.c:425 ***TCM_PARAMS: ***
<000b> trx_if.c:426 ***PARAMS: ***
<000b> trx_if.c:160 Sending control 'CMD SETRXGAIN 1' to phy0.0
<000b> trx_if.c:457 Response message: 'RSP SETRXGAIN 0 1'
<000b> trx_if.c:422 #############################
<000b> trx_if.c:423 ***TCM_CMD: SETRXGAIN***
<000b> trx_if.c:424 ***RSPNAME: SETRXGAIN***
<000b> trx_if.c:425 ***TCM_PARAMS: 1***
<000b> trx_if.c:426 ***PARAMS: 1***
<000b> trx_if.c:160 Sending control 'CMD SETPOWER 20' to phy0.0
<000b> trx_if.c:457 Response message: 'RSP SETPOWER 0 20'
<000b> trx_if.c:422 #############################
<000b> trx_if.c:423 ***TCM_CMD: SETPOWER***
<000b> trx_if.c:424 ***RSPNAME: SETPOWER***
<000b> trx_if.c:425 ***TCM_PARAMS: 20***
<000b> trx_if.c:426 ***PARAMS: 20***
<000b> trx_if.c:160 Sending control 'CMD SETSLOT 0 5' to phy0.0
<000b> trx_if.c:457 Response message: 'RSP SETSLOT 0 5'
<000b> trx_if.c:422 #############################
<000b> trx_if.c:423 ***TCM_CMD: SETSLOT***
<000b> trx_if.c:424 ***RSPNAME: SETSLOT***
<000b> trx_if.c:425 ***TCM_PARAMS: 0 5***
<000b> trx_if.c:426 ***PARAMS: 5***
<000b> trx_if.c:422 #############################
<000b> trx_if.c:423 ***TCM_CMD: SETPOWER***
<000b> trx_if.c:424 ***RSPNAME: SETSLOT***
<000b> trx_if.c:425 ***TCM_PARAMS: 20***
<000b> trx_if.c:426 ***PARAMS: 5***
<000b> trx_if.c:489 Response message 'RSP SETSLOT 0 5' does not match command message 'CMD SETSLOT 0 5'
<0001> bts.c:210 Shutting down BTS 0, Reason TRX-CTRL-MSG: CRITICAL
<000b> trx_if.c:240 Enqueuing TRX control command 'CMD POWEROFF'
<000b> trx_if.c:124 Clock indication: fn=1325341
<000b> trx_if.c:124 Clock indication: fn=1325389
<000b> trx_if.c:124 Clock indication: fn=1325440
...

SETPOWER does not match SETSLOT so cmd_matches_rsp returns false.

Full logs, configs and a pcap trace is attached.


Files

calypsobts-transceiver-jolly-testing calypsobts-transceiver-jolly-testing 6.31 KB roox, 02/13/2018 11:09 PM
calypsobts-transceiver-jolly-testing-firmware calypsobts-transceiver-jolly-testing-firmware 8.37 KB roox, 02/13/2018 11:09 PM
openbsc.cfg openbsc.cfg 1.35 KB roox, 02/13/2018 11:09 PM
osmo-bts.cfg osmo-bts.cfg 716 Bytes roox, 02/13/2018 11:09 PM
osmo-nitb osmo-nitb 9.61 KB roox, 02/13/2018 11:09 PM
osmo-bts-trx-debug osmo-bts-trx-debug 6.5 KB roox, 02/13/2018 11:09 PM
osmo-bts-calypto-issue.pcap osmo-bts-calypto-issue.pcap 32.4 KB roox, 02/13/2018 11:10 PM
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)