L1SAP and TRX rebase, the last one (TM)

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

Alexander Chemeris alexander.chemeris at gmail.com
Sat Sep 12 15:12:29 UTC 2015


On Sat, Sep 12, 2015 at 5:01 AM, Harald Welte <laforge at gnumonks.org> wrote:
> Hi Alexander,
>
> On Sat, Sep 12, 2015 at 12:19:34AM -0400, Alexander Chemeris wrote:
>
>> I tried to run the code today, but was not able to get osmo-bts to
>> start at all. It stop with an error:
>> <0011> e1_input.c:326 No such E1 driver 'ipa
>> Have you seen this? I guess this comes from the common part of the
>> code, but I don't have much experience with this part of the code,
>> unfortunately.
>
> Please check commit '2e9854e368d72f7481e14ec712de0baede685efd' which
> should resolve this.  Looking forward to your further test results.

Thanks a lot! Now it starts, but crashes while reading a config file:

#0  cfg_trx_rxgain (self=<optimized out>, vty=<optimized out>,
argc=<optimized out>, argv=<optimized out>) at trx_vty.c:232
(gdb) bt
#0  cfg_trx_rxgain (self=<optimized out>, vty=<optimized out>,
argc=<optimized out>, argv=<optimized out>) at trx_vty.c:232
#1  0x00007f797e2951c7 in cmd_execute_command_strict
(vline=vline at entry=0x17ded20, vty=vty at entry=0x17de940,
cmd=cmd at entry=0x0) at command.c:2211
#2  0x00007f797e295246 in config_from_file (vty=vty at entry=0x17de940,
fp=fp at entry=0x17de6b0) at command.c:2234
#3  0x00007f797e2980b4 in vty_read_file (priv=0x0, confp=0x17de6b0) at
vty.c:1458
#4  vty_read_config_file (file_name=0x1763680
"/etc/osmocom/osmo-bts.cfg", priv=priv at entry=0x0) at vty.c:1775
#5  0x00000000004041c6 in main (argc=5, argv=0x7ffd931ee858) at main.c:333

DEFUN(cfg_trx_rxgain, cfg_trx_rxgain_cmd,
"rxgain <0-50>",
"Set the receiver gain in dB\n"
"Gain in dB\n")
{
struct gsm_bts_trx *trx = vty->index;
struct trx_l1h *l1h = trx_l1h_hdl(trx);

l1h->config.rxgain = atoi(argv[0]);
l1h->config.rxgain_valid = 1;
^^^^^^^^^^^^^^^^^^^^^^

I'll look into this later if you don't happen to know the reason for
this already.

-- 
Regards,
Alexander Chemeris.
CEO, Fairwaves, Inc.
https://fairwaves.co

 



More information about the OpenBSC mailing list