https://osmocom.org/https://osmocom.org/favicon.ico?16647414092020-07-03T19:02:49ZOpen Source Mobile CommunicationsOsmoBSC - Bug #4614: "bogus channel load sample" when using BS-11, Nokia or Ericsson BTShttps://osmocom.org/issues/4614?journal_id=190062020-07-03T19:02:49Zlaforge
<ul><li><strong>Subject</strong> changed from <i>"bogus channel load sample" when using BS-11 BTS</i> to <i>"bogus channel load sample" when using BS-11 BTS or Ericsson BTS</i></li><li><strong>Category</strong> set to <i>Ericsson BTS</i></li></ul><p>Also appears on RB2308:<br /><pre>
<0000> chan_alloc.c:208 (bts=0) bogus channel load sample (used=0 / total=0)
</pre></p> OsmoBSC - Bug #4614: "bogus channel load sample" when using BS-11, Nokia or Ericsson BTShttps://osmocom.org/issues/4614?journal_id=190092020-07-03T19:19:47Ztnt
<ul></ul><p>On the RBS those should clear up when it's actually running.</p> OsmoBSC - Bug #4614: "bogus channel load sample" when using BS-11, Nokia or Ericsson BTShttps://osmocom.org/issues/4614?journal_id=190232020-07-04T09:03:13Zlaforge
<ul><li><strong>Subject</strong> changed from <i>"bogus channel load sample" when using BS-11 BTS or Ericsson BTS</i> to <i>"bogus channel load sample" when using BS-11, Nokia or Ericsson BTS</i></li></ul><p>also appears when using an InSite.</p> OsmoBSC - Bug #4614: "bogus channel load sample" when using BS-11, Nokia or Ericsson BTShttps://osmocom.org/issues/4614?journal_id=190292020-07-04T09:36:20Zlaforge
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>30</i></li></ul><p>I think there is a wrong assumption in the code that prints the message. A total count of logical channels of '0' is perfectly valid for any BTS <strong>until</strong> it is operational.</p>
<p>The code tries to implement this in <code>trx_is_usable()</code> which is not implemented for most BTS models:<br /><pre>
bool trx_is_usable(const struct gsm_bts_trx *trx)
{
/* FIXME: How does this behave for BS-11 ? */
if (is_ipaccess_bts(trx->bts)) {
if (!nm_is_running(&trx->mo.nm_state) ||
!nm_is_running(&trx->bb_transc.mo.nm_state))
return false;
} else if (is_ericsson_bts(trx->bts)) {
/* The OM2000 -> 12.21 mapping we do doesn't have separate bb_transc MO */
if (!nm_is_running(&trx->mo.nm_state))
return false;
}
return true;
}
</pre></p>
<p>Since this is highly BTS model specific, the function should actually likely become part of bts_model_*, where it needs to be implemented for all BTS models. That requires testing on all of those.</p>
<p>An interim patch simply disables the message for the 'total == 0' situation: <a class="external" href="https://gerrit.osmocom.org/c/osmo-bsc/+/19132">https://gerrit.osmocom.org/c/osmo-bsc/+/19132</a></p> OsmoBSC - Bug #4614: "bogus channel load sample" when using BS-11, Nokia or Ericsson BTShttps://osmocom.org/issues/4614?journal_id=212942021-02-13T17:34:49Zlaforge
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Stalled</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Low</i></li></ul>