Current OpenBSC + LCR using MNCC socket

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

Seungju Kim admin at manateeshome.com
Sat Jul 30 17:17:51 UTC 2011


FATAL: Error inserting mISDN_core
(/lib/modules/2.6.32-5-686/extra/mISDN_core.ko): Unknown symbol in module,
or unknown parameter (see dmesg)
I did the exactly same step with fresh Debian 6.0.2 installation and it
yields this error.
Does anyone know what causes this?
I tried using EXPORT_SYMBOL but that case the kernel dropped the modules
because of the loop.


-----Original Message-----
From: openbsc-bounces at lists.osmocom.org
[mailto:openbsc-bounces at lists.osmocom.org] On Behalf Of Konrad Meier
Sent: Wednesday, July 27, 2011 6:59 PM
To: openbsc at lists.osmocom.org
Subject: Re: Current OpenBSC + LCR using MNCC socket

On 26.07.2011 20:38, Lennart Müller wrote:
>  From my experience, no.
> My init.d script does the following in short:
>
>          modprobe mISDN_dsp
>          modprobe mISDN_l1loop nchannel=30 interfaces=2
>          sleep 1
>
>          echo 1 > /proc/sys/net/ipv4/ip_forward
>          iptables -t nat -A POSTROUTING -s 192.168.253.0/24 
> <http://192.168.253.0/24> -o eth0 -j MASQUERADE
>
>          screen -S bsc -d -m su gsm -c "osmo-nitb -d 
> DRLL:DCC:DMM:DRR:DRSL:DNM:DSMS:DMNSMS:DPAG:DMUX -c 
> /etc/openbsc/openbsc.cfg -m -P"
>          screen -S lcr -d -m su gsm -c "/usr/sbin/lcr start"
>
> I'm using mISDN_l1loop.ko from current mISDN git because it was not 
> included in my kernel. Small patch to make it compile:
>
> --- a/drivers/isdn/mISDN/hwchannel.c
> +++ b/drivers/isdn/mISDN/hwchannel.c
> @@ -19,6 +19,8 @@
>   #include <linux/module.h>
>   #include <linux/mISDNhw.h>
>
> +bool flush_work_sync (struct work_struct *);
> +
>   static void
>   dchannel_bh(struct work_struct *ws)
>   {

Hi,

I solved the memory allocation problem. It was the interface configuration
from LCR. To work properly I had to remove the [Ext] and [Int] section in
the file /usr/local/lcr/interface.conf

This was indicated by a error message in LCR during start:
000000 ERROR Port 1 already in use by LCR. You can't use a NT port multiple
times.

All necessary steps for a working OpenBSC + LCR setup can be found in the
step by step guide here:
http://lab.ks.uni-freiburg.de/projects/gsm/wiki/Openbsc_lcr

@Andreas: Can you apply the mISDN patch from Lennart to the mISDN-Git? 
Than everything compiles and works properly.

Best regards
Konrad








More information about the OpenBSC mailing list