https://www.osmocom.org/https://www.osmocom.org/favicon.ico?16647414092020-06-29T10:45:37ZOpen Source Mobile CommunicationsOsmoTRX - Bug #4636: osmo-trx-uhd crashes with 3 channels multi-ARFCN modehttps://www.osmocom.org/issues/4636?journal_id=189742020-06-29T10:45:37Zfixeria
<ul></ul><p>No matter if N > 2 channels is supported by USRP B210 or not, we should terminate gracefully and not crash:</p>
<p><a class="external" href="https://gerrit.osmocom.org/c/osmo-trx/+/19040">https://gerrit.osmocom.org/c/osmo-trx/+/19040</a> UHDDevice: catch LookupError/IndexError in set{Rx,Tx}Antenna()</p> OsmoTRX - Bug #4636: osmo-trx-uhd crashes with 3 channels multi-ARFCN modehttps://www.osmocom.org/issues/4636?journal_id=189752020-06-29T10:50:39Zfixeria
<ul></ul><p>Here is an extract from the log output during a successful run with 2 channels:</p>
<pre>
DDEV INFO UHDDevice.cpp:639 [tid=140375369013120] Device configuration: Single USRP:
Device: B-Series Device
Mboard 0: B210
RX Channel: 0
RX DSP: 0
RX Dboard: A
RX Subdev: FE-RX2
RX Channel: 1
RX DSP: 1
RX Dboard: A
RX Subdev: FE-RX1
TX Channel: 0
TX DSP: 0
TX Dboard: A
TX Subdev: FE-TX2
TX Channel: 1
TX DSP: 1
TX Dboard: A
TX Subdev: FE-TX1
</pre> OsmoTRX - Bug #4636: osmo-trx-uhd crashes with 3 channels multi-ARFCN modehttps://www.osmocom.org/issues/4636?journal_id=189762020-06-29T10:54:37ZHoernchen
<ul></ul><p>I don't know where the number 3 comes from, unless you use the mcbts mode the b210 has only 2 channels to offer, which still are not independent due to the shared LO.</p> OsmoTRX - Bug #4636: osmo-trx-uhd crashes with 3 channels multi-ARFCN modehttps://www.osmocom.org/issues/4636?journal_id=189772020-06-29T11:12:22ZHoernchen
<ul></ul><p>Err, duh, the mctbs mode is what you're trying to use.. it should support 5 arfcns, and it's actually just one channel that contains the whole bw. Still no idea where that 3 comes from.</p> OsmoTRX - Bug #4636: osmo-trx-uhd crashes with 3 channels multi-ARFCN modehttps://www.osmocom.org/issues/4636?journal_id=196072020-09-11T07:01:47Zlaforge
<ul><li><strong>Assignee</strong> set to <i>fixeria</i></li></ul><p>As nobody every provided any feedback here, I assumed it is something specific to the setup of <a class="user active" href="https://www.osmocom.org/users/67">fixeria</a> and not a generic bug.</p>
<p><a class="user active" href="https://www.osmocom.org/users/30187">pespin</a>: Do we have osmo-gsm-tester tests with multi-arfcn mode of osmo-trx on B2xx?</p>
<p>Did anyone else see this problem during the last 2 months?</p> OsmoTRX - Bug #4636: osmo-trx-uhd crashes with 3 channels multi-ARFCN modehttps://www.osmocom.org/issues/4636?journal_id=196082020-09-11T07:05:57Zfixeria
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback</i></li></ul> OsmoTRX - Bug #4636: osmo-trx-uhd crashes with 3 channels multi-ARFCN modehttps://www.osmocom.org/issues/4636?journal_id=196092020-09-11T07:10:41Zlaforge
<ul></ul><p>From the backtrace it seems that osmo-trx is trying to setTxAntenna() for chan=2. I would assume chan=0/chan=1 are the actaul physical radio frontend channels, and there is no chan=2?</p>
<p>So somehow a part of code doens't "get" that the three ARFCNs are just in software and thre's no TxAntenna specifically for each of those ARFCN?</p> OsmoTRX - Bug #4636: osmo-trx-uhd crashes with 3 channels multi-ARFCN modehttps://www.osmocom.org/issues/4636?journal_id=196102020-09-11T08:02:43Zlaforge
<ul></ul><p>looking at the code, it should magically work if you don't set tx-path or rx-path on chan 1 + chan 2.</p> OsmoTRX - Bug #4636: osmo-trx-uhd crashes with 3 channels multi-ARFCN modehttps://www.osmocom.org/issues/4636?journal_id=196132020-09-11T11:38:48Zfixeria
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Kudos to <a class="user active" href="https://www.osmocom.org/users/7">laforge</a> for his analysis that helped to fix the problem.</p>
<p><a class="external" href="https://gerrit.osmocom.org/c/osmo-trx/+/20076">https://gerrit.osmocom.org/c/osmo-trx/+/20076</a> radioDevice: fix set_antennas(): consider MULTI_ARFCN mode<br /><a class="external" href="https://gerrit.osmocom.org/c/osmo-trx/+/20077">https://gerrit.osmocom.org/c/osmo-trx/+/20077</a> vty: add multi-ARFCN specific warning for chan N > 0</p>
<p>Updated by Hoernchen 2 months ago:</p>
<blockquote>
<p>... it should support 5 arfcns ...</p>
</blockquote>
<p>See <a class="external" href="https://lists.osmocom.org/pipermail/openbsc/2020-September/013233.html">https://lists.osmocom.org/pipermail/openbsc/2020-September/013233.html</a>.</p> OsmoTRX - Bug #4636: osmo-trx-uhd crashes with 3 channels multi-ARFCN modehttps://www.osmocom.org/issues/4636?journal_id=196332020-09-14T09:09:36Zfixeria
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul><p>The fix has been merged.</p>