If the SIP server dies in the middle of a call, osmo-sip-connector is in a
bad state and generates a never ending stream of error messages:
58): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f258): zero length packettport(0xb7e9f258): zero length
packettport(0xb7e9f25
It looks like the messages are generated from sofia-sip and I have managed
to suppress the messages by setting the environment variable SU_DEBUG < 3:
http://sofia-sip.sourcearchive.com/documentation/1.12.7/tport__internal_8h_…
However, it looks like osmo-sip-connector is clearly in a bad state when
this happens and we need a way to detect and release these ghosted calls.
Hi Pablo,
Resent as v2, because I forgot the net-next target. Sorry for noise,
I promise I won't forget it again.
This series lays the groundwork for removing the socket references from
the GTP netdevice by removing duplicate code and simplifying the logic on
some code paths.
It slighly changes the GTP genl API by making the socket parameters optional
(though one of them is still required).
The removal of the socket references will break the 1:1 releation between
GTP netdevice and GTP socket that prevents us to support multiple VRFs with
overlaping IP addresse spaces attached to the same GTP socket (needed for
multi APN support).
Regards
Andreas
Andreas Schultz (6):
gtp: make GTP sockets in gtp_newlink optional
gtp: merge gtp_get_net and gtp_genl_find_dev
gtp: unify genl_find_pdp and prepare for per socket lookup
gtp: consolidate pdp context destruction into helper
gtp: add socket to pdp context
gtp: consolidate gtp socket rx path
drivers/net/gtp.c | 564 +++++++++++++++++++++++++++---------------------------
1 file changed, 280 insertions(+), 284 deletions(-)
--
2.10.2
Hello all
I have installed openbsc with pcs1900 nano bts but I can't make voice calls only the messages.
It's telling network busy
Thanks
Regards
Rajitha
Sri Lanka
Sent from my iPhone
On Jan 27, 2017, at 3:11 PM, "openbsc-request(a)lists.osmocom.org<mailto:openbsc-request@lists.osmocom.org>" <openbsc-request(a)lists.osmocom.org<mailto:openbsc-request@lists.osmocom.org>> wrote:
Send OpenBSC mailing list submissions to
openbsc(a)lists.osmocom.org<mailto:openbsc@lists.osmocom.org>
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.osmocom.org/mailman/listinfo/openbsc
or, via email, send a message with subject or body 'help' to
openbsc-request(a)lists.osmocom.org<mailto:openbsc-request@lists.osmocom.org>
You can reach the person managing the list at
openbsc-owner(a)lists.osmocom.org<mailto:openbsc-owner@lists.osmocom.org>
When replying, please edit your Subject line so it is more specific
than "Re: Contents of OpenBSC digest..."
Today's Topics:
1. Re: [MERGED] osmo-trx[master]: Do not embed sqlite3 when
building (Alexander Chemeris)
2. Re: [PATCH net v2 3/3] gtp: fix cross netns recv on gtp
socket (David Miller)
3. Re: [MERGED] osmo-trx[master]: Do not embed sqlite3 when
building (Neels Hofmeyr)
4. HEADS UP: jenkins DOWN (Neels Hofmeyr)
5. HEADS DOWN: jenkins UP (Neels Hofmeyr)
6. Re: HEADS DOWN: jenkins UP (Holger Freyther)
7. [PATCH net v3 0/3] various gtp fixes (Andreas Schultz)
8. [PATCH net v3 2/3] gtp: clear DF bit on GTP packet tx
(Andreas Schultz)
----------------------------------------------------------------------
Message: 1
Date: Thu, 26 Jan 2017 20:53:07 +0400
From: Alexander Chemeris <alexander.chemeris(a)gmail.com<mailto:alexander.chemeris@gmail.com>>
To: Max <msuraev(a)sysmocom.de<mailto:msuraev@sysmocom.de>>
Cc: OpenBSC Mailing List <openbsc(a)lists.osmocom.org<mailto:openbsc@lists.osmocom.org>>
Subject: Re: [MERGED] osmo-trx[master]: Do not embed sqlite3 when
building
Message-ID:
<CABmJbFUifn=3OdUWH=aH5Nij9xz4v7Z3HCm09SQEHOBkaEBtXA(a)mail.gmail.com<mailto:CABmJbFUifn=3OdUWH=aH5Nij9xz4v7Z3HCm09SQEHOBkaEBtXA@mail.gmail.com>>
Content-Type: text/plain; charset=UTF-8
Great. I was also going to ask about debian contrl files, etc. Glad
this is already fixed.
Is there a way to subscribe to gerrit patches for a particular project?
On Thu, Jan 26, 2017 at 8:10 PM, Max <msuraev(a)sysmocom.de<mailto:msuraev@sysmocom.de>> wrote:
It should have been removed with gerrit 1485
<https://gerrit.osmocom.org/1485>. See also gerrit 1691
<https://gerrit.osmocom.org/1691> for follow-up fixes.
On 26.01.2017 16:53, Alexander Chemeris wrote:
Hi Harald, Thomas,
I think it also makes sense to remove sqlite3 subdirectory, since it's no
longer used. Any reason it's kept in the repository?
--
Max Suraev <msuraev(a)sysmocom.de<mailto:msuraev@sysmocom.de>> http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschaeftsfuehrer / Managing Director: Harald Welte
--
Regards,
Alexander Chemeris.
CEO, Fairwaves, Inc.
https://fairwaves.co
------------------------------
Message: 2
Date: Thu, 26 Jan 2017 14:22:47 -0500 (EST)
From: David Miller <davem(a)davemloft.net<mailto:davem@davemloft.net>>
To: aschultz(a)tpip.net<mailto:aschultz@tpip.net>
Cc: pablo(a)netfilter.org<mailto:pablo@netfilter.org>, netdev(a)vger.kernel.org<mailto:netdev@vger.kernel.org>,
Lionel.Gauthier(a)eurecom.fr<mailto:Lionel.Gauthier@eurecom.fr>, openbsc(a)lists.osmocom.org<mailto:openbsc@lists.osmocom.org>,
laforge(a)gnumonks.org<mailto:laforge@gnumonks.org>
Subject: Re: [PATCH net v2 3/3] gtp: fix cross netns recv on gtp
socket
Message-ID: <20170126.142247.527598780818100974.davem(a)davemloft.net<mailto:20170126.142247.527598780818100974.davem@davemloft.net>>
Content-Type: Text/Plain; charset=iso-8859-7
From: Andreas Schultz <aschultz(a)tpip.net<mailto:aschultz@tpip.net>>
Date: Thu, 26 Jan 2017 16:11:34 +0100
The use of the passed through netlink src_net to check for a
cross netns operation was wrong. Using the GTP socket and the
GTP netdevice is always correct (even if the netdev has been
moved to new netns after link creation).
Remove the now obsolete net field from gtp_dev.
Signed-off-by: Andreas Schultz <aschultz(a)tpip.net<mailto:aschultz@tpip.net>>
Please at least compile test your submissions:
drivers/net/gtp.c: In function ?gtp_newlink?:
drivers/net/gtp.c:677:8: error: too many arguments to function ?gtp_encap_enable?
err = gtp_encap_enable(dev, gtp, fd0, fd1, src_net);
^
drivers/net/gtp.c:659:12: note: declared here
static int gtp_encap_enable(struct net_device *dev, struct gtp_dev *gtp,
^
drivers/net/gtp.c: At top level:
drivers/net/gtp.c:822:12: error: conflicting types for ?gtp_encap_enable?
static int gtp_encap_enable(struct net_device *dev, struct gtp_dev *gtp,
^
drivers/net/gtp.c:659:12: note: previous declaration of ?gtp_encap_enable? was here
static int gtp_encap_enable(struct net_device *dev, struct gtp_dev *gtp,
^
drivers/net/gtp.c:659:12: warning: ?gtp_encap_enable? used but never defined
drivers/net/gtp.c:822:12: warning: ?gtp_encap_enable? defined but not used [-Wunused-function]
static int gtp_encap_enable(struct net_device *dev, struct gtp_dev *gtp,
^
scripts/Makefile.build:299: recipe for target 'drivers/net/gtp.o' failed
------------------------------
Message: 3
Date: Thu, 26 Jan 2017 21:40:27 +0100
From: Neels Hofmeyr <nhofmeyr(a)sysmocom.de<mailto:nhofmeyr@sysmocom.de>>
To: Alexander Chemeris <alexander.chemeris(a)gmail.com<mailto:alexander.chemeris@gmail.com>>
Cc: Max <msuraev(a)sysmocom.de<mailto:msuraev@sysmocom.de>>, OpenBSC Mailing List
<openbsc(a)lists.osmocom.org<mailto:openbsc@lists.osmocom.org>>
Subject: Re: [MERGED] osmo-trx[master]: Do not embed sqlite3 when
building
Message-ID: <20170126204027.GA7681(a)my.box<mailto:20170126204027.GA7681@my.box>>
Content-Type: text/plain; charset="us-ascii"
On Thu, Jan 26, 2017 at 08:53:07PM +0400, Alexander Chemeris wrote:
Great. I was also going to ask about debian contrl files, etc. Glad
this is already fixed.
Is there a way to subscribe to gerrit patches for a particular project?
I'm not sure, but I guess not. We have our gerrit-log mailing list that catches
all changes https://lists.osmocom.org/mailman/listinfo/gerrit-log -- otherwise
take a look at your user's settings, maybe there's such a feature hidden there?
~N
Hi Pablo,
This series lays the groundwork for removing the socket references from
the GTP netdevice by removing duplicate code and simplifying the logic on
some code paths.
It slighly changes the GTP genl API by making the socket parameters optional
(though one of them is still required).
The removal of the socket references will break the 1:1 releation between
GTP netdevice and GTP socket that prevents us to support multiple VRFs with
overlaping IP addresse spaces attached to the same GTP socket (needed for
multi APN support).
Regards
Andreas
--
Andreas Schultz (6):
gtp: make GTP sockets in gtp_newlink optional
gtp: merge gtp_get_net and gtp_genl_find_dev
gtp: unify genl_find_pdp and prepare for per socket lookup
gtp: consolidate pdp context destruction into helper
gtp: add socket to pdp context
gtp: consolidate gtp socket rx path
drivers/net/gtp.c | 564 +++++++++++++++++++++++++++---------------------------
1 file changed, 280 insertions(+), 284 deletions(-)
--
2.10.2
This is the part of the previous "simple gtp improvements" series
that Pablo indicated should go into net-next.
The rcu_lock removal is small correctness changes. Passing invalid
to user space allows for more standards compliant handling of invalid
tunnels.
--
Andreas Schultz (2):
gtp: remove unnecessary rcu_read_lock
gtp: let userspace handle packets for invalid tunnels
drivers/net/gtp.c | 24 ++++--------------------
1 file changed, 4 insertions(+), 20 deletions(-)
--
2.10.2
I'm sorry for the compile error mess up in the last version.
It's no excuse for not test compiling, but the hunks got lost in
a rebase.
This is the part of the previous "simple gtp improvements" series
that Pablo indicated should go into net.
The addition of the module alias fixes genl family autoloading,
clearing the DF bit fixes a protocol violation in regard to the
specification and the netns comparison fixes a corner case of
cross netns recv.
Andreas
v2->v3: fix compiler error introduced in rebase
--
Andreas Schultz (3):
gtp: add genl family modules alias
gtp: clear DF bit on GTP packet tx
gtp: fix cross netns recv on gtp socket
drivers/net/gtp.c | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
--
2.10.2
While I was waiting for jenkins just now, I noticed that it was getting
impossibly slow despite an idle CPU. An attempt to restart resulted in failure
to launch jenkins due to "Disk quota exceeded".
There are things happening that I don't understand (file system is shrinking as
I remove files). I need help from Holger (or Harald?), to understand and
probably fix with a simple command making more space for the jail...
Until then our jenkins will be DOWN :/
~N
--
- Neels Hofmeyr <nhofmeyr(a)sysmocom.de> http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschäftsführer / Managing Directors: Harald Welte
This is the part of the previous "simple gtp improvements" series
that Pablo indicated should go into net.
The addition of the module alias fixes genl family autoloading,
clearing the DF bit fixes a protocol violation in regard to the
specification and the netns comparison fixes a corner case of
cross netns recv.
I'm not sure if Pablos comments on the previous version qualify
as ACK, so I left that out.
--
Andreas Schultz (3):
gtp: add genl family modules alias
gtp: clear DF bit on GTP packet tx
gtp: fix cross netns recv on gtp socket
drivers/net/gtp.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
--
2.10.2
On jenkins and opensuse, we have builds where we cannot easily analyse the
testsuite.dir after a build failed. So we only see which tests failed and not
why.
On jenkins I have in most places added a script invocation that prints all
testsuite.dir/*/*.log in case of build failure, so we can see it in the jenkins
log right away.
On opensuse.org, IIUC, the 'make check' is run by dh or something, so it's not
trivial (to me) to make it output the test logs in case of failure.
I'm thinking now, don't we always want to see these failures anyway? We could
include in our Makefile.am a tweak to print the test logs in case of testsuite
failure.
Sometimes this output can become fairly large though; e.g. when a long test
fails early and prints "nothing", the test log shows a huge diff with all
expected output as minus-lines.
My main goal right now is to see why/how the libosmo-netif OBS build failed
(osmux test fails) without further local reproduction effort. This situation
will certainly repeat over and over, for all of the other projects as well.
What do you think? Can we get that easily?
~N
--
- Neels Hofmeyr <nhofmeyr(a)sysmocom.de> http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschäftsführer / Managing Directors: Harald Welte
FYI,
no "Broken Pipe" errors in a long time, so today I increased the OsmocomBuild1
nr of executors from 3 to 4 ... and immediately got two subsequent openbsc
builds hitting the "Broken Pipe" again.
https://jenkins.osmocom.org/jenkins/job/OpenBSC-gerrit/1716/IU=--enable-iu,…https://jenkins.osmocom.org/jenkins/job/OpenBSC-gerrit/1717/IU=--disable-iu…
This time I tried something else: lower the "make -j 9" to "make -j 3" and
leave the nr of executors at 4...
Just dabbling, would be nicer to pinpoint the real cause.
~N
--
- Neels Hofmeyr <nhofmeyr(a)sysmocom.de> http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschäftsführer / Managing Directors: Harald Welte
As requested are here the simple and most obvious changes from
the larger GTP changeset. I'll break down the rest and send them
out separately.
The module alias addition and the rcu_lock removal are just small
convenience changes.
The other changes are needed to correctly implement one of the
3GPP GW functions, userspace needs to see invalid T-PDU's in
order to generate the proper error messages, GTP fragmentation
rules need the cleared DF bit.
Andreas
--
Andreas Schultz (5):
gtp: add genl family modules alias
gtp: clear DF bit on GTP packet tx
gtp: fix cross netns recv on gtp socket
gtp: remove unnecessary rcu_read_lock
gtp: let userspace handle packets for invalid tunnels
drivers/net/gtp.c | 33 ++++++++-------------------------
1 file changed, 8 insertions(+), 25 deletions(-)
--
2.10.2
The current linking of GTP network devices and GTP enabled sockets means that
we can not have multiple VRF's per GTP socket. This series seperates the
sockets from network device, makes sockets attached to GTP network device
optional and adds a API function to enable GTP encapsulation on socket
without having to create a new GTP device.
It is still possible to use the old API. The network device attached socket is
then used when no socket is specified on PDP context creation.
During that work some smaller problems where found and fixes for them are
included.
v2 changes:
* the socket that is hold by the pdp context has to be release in a rcu
callback. Otherwise a stray GTP rx could end uo with an invalid socket.
* accessing the skb->sk field in gtp_rx is invalid, that field has no
been populated at that point
* add dst_cache to speed up the routing
Regards
Andreas
--
Andreas Schultz (18):
gtp: add genl family modules alias
gtp: clear DF bit on GTP packet tx
gtp: make GTP sockets in gtp_newlink optional
gtp: return error ptr in find pdp helpers
gtp: unify genl_find_pdp and prepare for per socket lookup
gtp: fix cross netns recv on gtp socket
gtp: remove unnecessary rcu_read_lock
gtp: consolidate pdp context destruction into helper
gtp: use addr_hash when traversing pdp contexts
gtp: add socket to pdp context
gtp: consolidate gtp socket rx path
gtp: let userspace handle packets for invalid tunnels
gtp: replace netdev_dbg and KERN_DEBUG printk with pr_debug
gtp: move TEID hash to per socket structure
gtp: rename gtp hashtable helpers
gtp: add genl cmd to enable GTP encapsulation on UDP socket
gtp: add support to select a GTP socket during PDP context creation
gtp: add dst_cache support
drivers/net/gtp.c | 714 +++++++++++++++++++++++++++--------------------
include/uapi/linux/gtp.h | 4 +
2 files changed, 422 insertions(+), 296 deletions(-)
--
2.10.2
The current linking of GTP network devices and GTP enabled sockets means that
we can not have multiple VRF's per GTP socket. This series seperates the
sockets from network device, makes sockets attached to GTP network device
optional and adds a API function to enable GTP encapsulation on socket
without having to create a new GTP device.
It is still possible to use the old API. The network device attached socket is
then used when no socket is specified on PDP context creation.
During that work some smaller problems where found and fixes for them are
included.
Regards
Andreas
--
Andreas Schultz (17):
gtp: add genl family modules alias
gtp: clear DF bit on GTP packet tx
gtp: make GTP sockets in gtp_newlink optional
gtp: return error ptr in find pdp helpers
gtp: unify genl_find_pdp and prepare for per socket lookup
gtp: fix cross netns recv on gtp socket
gtp: remove unnecessary rcu_read_lock
gtp: consolidate pdp context destruction into helper
gtp: use addr_hash when traversing pdp contexts
gtp: add socket to pdp context
gtp: consolidate gtp socket rx path
gtp: let userspace handle packets for invalid tunnels
gtp: replace netdev_dbg and KERN_DEBUG printk with pr_debug
gtp: move TEID hash to per socket structure
gtp: rename gtp hashtable helpers
gtp: add genl cmd to enable GTP encapsulation on UDP socket
gtp: add support to select a GTP socket during PDP context creation
drivers/net/gtp.c | 681 +++++++++++++++++++++++++++--------------------
include/uapi/linux/gtp.h | 4 +
2 files changed, 392 insertions(+), 293 deletions(-)
--
2.10.2
Problem is usrp x310 doesnot support the gsmband, it works above 1.2GHz. Also if I still change the MCC and MNC I am not not able to find the network on the phone, and any clue on this error "check_rx_md_err: An internal receive buffer has filled", it comes in osmo-trx.
________________________________
From: Dhananjay kumar <dhananjay.cse(a)gmail.com>
Sent: Monday, January 23, 2017 11:37:38 AM
To: Snehasish Kar
Cc: nhofmeyr(a)sysmocom.de
Subject: Re: Omsobts -osmotrx communication problem
hi,
network country code 404
mobile network code 31
Change it to
network country code 001
mobile network code 01
short name TESTPLMN
long name TESTPLMN
Try it in Band 850 .
900 and 1800 and widely used in India by commercial operates.
Remove all neighbor cell list.
You are using 404 31 , it might match some real network, and you will not able to see your test network.
BR
Dhananjay
On Mon, Jan 23, 2017 at 11:20 AM, Snehasish Kar <snehasish.cse(a)live.com<mailto:snehasish.cse@live.com>> wrote:
Hi I have attached my config as requested, also in osmo-trx I am getting the following error "check_rx_md_err: An internal receive buffer has filled" and I am not able to view the network in my phone. I am using usrp x310 and os UBUNTU.
BR
Snehasish
________________________________
From: Neels Hofmeyr <nhofmeyr(a)sysmocom.de<mailto:nhofmeyr@sysmocom.de>>
Sent: Saturday, January 21, 2017 4:35:06 AM
To: Snehasish Kar
Cc: openbsc(a)lists.osmocom.org<mailto:openbsc@lists.osmocom.org>
Subject: Re: Omsobts -osmotrx communication problem
On Fri, Jan 20, 2017 at 11:58:53AM +0000, Snehasish Kar wrote:
> Hi
>
> I have installed osmobts and osmotrx with openbsc, to enable openbsc with usrp. But whenever I tried running the three applications, I gave the following error in osmobts. Please help me with it.
>
>
> <000b> trx_if.c:490 Tx burst length 0 invalid
> > <000b> trx_if.c:490 Tx burst length 0 invalid
> > <000b> trx_if.c:490 Tx burst length 0 invalid
> > <000b> trx_if.c:490 Tx burst length 0 invalid
> > <000b> trx_if.c:490 Tx burst length 0 invalid
> > <000b> trx_if.c:490 Tx burst length 0 invalid
> > <000b> trx_if.c:490 Tx burst length 0 invalid
> > <000b> trx_if.c:490 Tx burst length 0 invalid
> > <000b> trx_if.c:490 Tx burst length 0 invalid
> > <000b> trx_if.c:490 Tx burst length 0 invalid
> > <000b> trx_if.c:490 Tx burst length 0 invalid
> > <000b> trx_if.c:490 Tx burst length 0 invalid
> > <000b> trx_if.c:490 Tx burst length 0 invalid
> > <000b> trx_if.c:490 Tx burst length 0 invalid
> > <000b> trx_if.c:490 Tx burst length 0 invalid
> > <000b> trx_if.c:490 Tx burst length 0 invalid
> > <000b> trx_if.c:490 Tx burst length 0 invalid
If I remember correctly, osmo-bts-trx will at startup show a bunch of these and
then continue normally.
To clarify, you need to run 'osmo-trx', 'osmo-bts-trx' and 'osmo-nitb'.
We can't help further with this little information on your config.
~N
--
- Neels Hofmeyr <nhofmeyr(a)sysmocom.de<mailto:nhofmeyr@sysmocom.de>> http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Gesch?ftsf?hrer / Managing Directors: Harald Welte
--
Thanks & Regards
Dhananjay
9686184214
Luck is what happens when preparation meets opportunity.
Hi.
I've hit strange issue with redmine:
https://osmocom.org/issues/1836 gives 403 error
but
https://osmocom.org/issues/71 works for example.
Is this intended due to some access control restrictions or it's a
glitch in our setup?
--
Max Suraev <msuraev(a)sysmocom.de> http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschaeftsfuehrer / Managing Director: Harald Welte
HI.
A little heads up: uhd version in jenkins building osmo-trx should be
updated to 3.9.0 - this would allow gerrit #1117 to be properly verified
by jenkins.
--
Max Suraev <msuraev(a)sysmocom.de> http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschaeftsfuehrer / Managing Director: Harald Welte
Hi all,
( so.. by way of finding out what is the best way to do this kind of
thing, I went ahead and submitted my patch to gerrit. )
I've added a command to the vty to set the expire_lu value for the
subscriber to now.
My personal use case for this is that I wanted a way to set lac =
GSM_LAC_RESERVED_DETACHED when I know that the MS is not there, (because
I know it has gone to another nitb with a different lac) and therefore I
no longer want to page it and I also don't want it showing up as
connected when I poll the hlr for lac>0 via sqlite3. So if I set the
expire_lu to now, openbsc will very shortly afterwards, issue
<0002> gsm_subscriber.c:366 Expiring inactive subscriber......
I'm not sure if this would be considered something anybody else might
want, or confusing for users, and I haven't fully tested (yet) what
might happen if the mobile has not in fact done an IMSI attach to
another lac yet I expire it.
Also, my C programming history is nill. I have no idea if setting a
time_t to time(0) is cool, or will result in sky falling down.
I'm not quite sure if it's necessary to call subscr_put()
I also realise I left a pointless rc declaration in there. oh well..
guess I learn about submitting patch set 2..
So the unwritten question is, with ideas like this, should I first ask
here on the list for opinion on the theoretical merits or not of such an
idea, or should I just submit to gerrit and should the discussion, if
any, happen there?
Many Thanks!
k/
Hey,
osmo_sock_init is nice but I have hit a missing feature. I want to
be able to make an outgoing connection but need to specify the src
ip (and maybe src port too).
a.) I could extend osmo_sock_init to have a src_ip and src_port in
the parameter and issue a bind between the socket(2) and connect(2).
b.) I could add a cb function that is passing the fd to the cb and
do the bind (or others do setsockopt).
Any other ideas? Preferences? Comments?
holger
Visit https://build.opensuse.org/package/live_build_log/network:osmocom:nightly/l…
Package network:osmocom:nightly/libosmo-netif failed to build in xUbuntu_16.10/x86_64
Check out the package for editing:
osc checkout network:osmocom:nightly libosmo-netif
Last lines of build log:
[ 194s]
[ 194s] You may investigate any problem if you feel able to do so, in which
[ 194s] case the test suite provides a good starting point. Its output may
[ 194s] be found below `tests/testsuite.dir'.
[ 194s]
[ 194s] Makefile:641: recipe for target 'check-local' failed
[ 194s] make[4]: *** [check-local] Error 1
[ 194s] make[4]: Leaving directory '/usr/src/packages/BUILD/tests'
[ 194s] Makefile:494: recipe for target 'check-am' failed
[ 194s] make[3]: *** [check-am] Error 2
[ 194s] make[3]: Leaving directory '/usr/src/packages/BUILD/tests'
[ 194s] Makefile:466: recipe for target 'check-recursive' failed
[ 194s] make[2]: *** [check-recursive] Error 1
[ 194s] make[2]: Leaving directory '/usr/src/packages/BUILD'
[ 194s] Makefile:757: recipe for target 'check' failed
[ 194s] make[1]: *** [check] Error 2
[ 194s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[ 194s] dh_auto_test: make -j1 check VERBOSE=1 returned exit code 2
[ 194s] debian/rules:13: recipe for target 'build' failed
[ 194s] make: *** [build] Error 2
[ 194s] dpkg-buildpackage: error: debian/rules build gave error exit status 2
[ 194s]
[ 194s] cloud116 failed "build libosmo-netif_0.0.7.20170117.dsc" at Tue Jan 17 20:07:51 UTC 2017.
[ 194s]
[ 194s] ### VM INTERACTION START ###
[ 198s] ### VM INTERACTION END ###
[ 198s]
[ 198s] cloud116 failed "build libosmo-netif_0.0.7.20170117.dsc" at Tue Jan 17 20:07:55 UTC 2017.
[ 198s]
--
Configure notifications at https://build.opensuse.org/user/notifications
openSUSE Build Service (https://build.opensuse.org/)
Dear list
I would like to know what hardware is needed for running 3G network.
--
Akib Sayyed
Matrix-Shell
akibsayyed(a)gmail.com
akibsayyed(a)matrixshell.com
Mob:- +91-966-514-2243
Hi.
There seems to be a disagreement between Osmocom libraries as to which
is the length of AMR SID RTP payload. According to libosmocodec it's 7
bytes (see amr_len_by_ft in gsm690.c), according to libosmo-netif it's 6
bytes (see amr_ft_to_bytes in amr.c). However, than I look at 3GPP TS
26.101 Table 6 it seems like it should be 8 bytes.
Reading http://www.rfc-base.org/txt/rfc-4867.txt did not shed a light
except that it can't be lower than 5 bytes.
Please help me out - what's the right number of bytes?
--
Max Suraev <msuraev(a)sysmocom.de> http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschaeftsfuehrer / Managing Director: Harald Welte
Previously I wrote about the "Broken Pipe" error sporadically causing our
gerrit tests to fail for unknown reasons. To try and avoid those (successfully
as it seems), I reduced the nr of executors for our OsmocomBuild1 debian slave
to 2; used to be 6 IIRC. My argument was that 'make -j 9' would anyway utlize
the resources, except during the python testing phase.
But the build slave queue is getting awfully long sometimes and builds are just
sitting and waiting for a long time. But when I 'top' on the build slave, I see
the CPU idling between 50% and 90% ... assuming that the CPU activity in docker
is also shown on the host OS. So now I increased the nr of executors to 3,
seraching the optimum that still avoids the 'Broken Pipe' error. Would of
course be much nicer to fix this particular curious failure and just hammer the
nr of executors up to the roof again.
~N
--
- Neels Hofmeyr <nhofmeyr(a)sysmocom.de> http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschäftsführer / Managing Directors: Harald Welte
Hi Tom and all,
After a quick look at the 4th patch, related to your optimized
Viterbi decoder, I have noticed that currently the convolutional
code definitions from the 'src/gsm/gsm0503_conv.c' are out of
the 'tests/conv' test coverage...
So, I would like to extend the test coverage. All I need are
the test vectors, which I'll add to existing ones. Some of them
I already found in your 4th patch, but some pending I need to
write myself.
Right now I have a simple question...
Let's look at one example:
{
.name = "GSM RACH (non-recursive, flushed, not punctured)",
.code = &gsm_conv_rach,
.in_len = 14,
.out_len = 36, // ???
.has_vec = 0,
.vec_in = { },
.vec_out = { },
}
As I noticed, the 'in_len' may be taken from the code definition:
const struct osmo_conv_code gsm0503_rach = {
.N = 2,
.K = 5,
.len = 14, // The 'in_len' is here!
.next_output = xcch_output,
.next_state = xcch_state,
};
But I don't know how to calculate the 'out_len'...
Could you please give me some hint?
I already started to work on your 4th patch:
https://gerrit.osmocom.org/1542https://gerrit.osmocom.org/1543
With best regards,
Vadim Yanitskiy.
I would like to see https://gerrit.osmocom.org/#/c/1411/ fixed and merged.
Firstly, the way the code is written leaves it unclear whether it works as
intended.
Secondly, this is blocking the effort to do more sanitizer builds in jenkins
/ gerrit build jobs.
Aravind, would you please provide feedback on your availability -- will you get
around to this any time soon, or should we try to assign this to someone else?
Thanks!
~N
--
- Neels Hofmeyr <nhofmeyr(a)sysmocom.de> http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschäftsführer / Managing Directors: Harald Welte
I find the link https://osmocom.org/news/ quite valuable, but it's not easy to
get there. I would expect a "News" link on http://osmocom.org to point there,
so I placed one.
We do have a "Planet" link -> http://planet.osmocom.org/ , which is currently broken.
Firefox outright refuses to display it: the certificate is
invalid/unknown/expired and the site is marked as "only show when secure", so
one cannot add a security exception (fail: that should be the user's choice!).
Chromium redirects to https://admin-trac.openmoko.org/trac/ ... doesn't match.
So I took the liberty to remove the "Planet" link -- for now?
All this by editing, in our redmine jail, file
/usr/local/www/redmine-3.2.3/plugins/impressum_plugin/init.rb
Feedback welcome!
~N
--
- Neels Hofmeyr <nhofmeyr(a)sysmocom.de> http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschäftsführer / Managing Directors: Harald Welte
Hi,
according to a lot of sources one would think, that EC20 is based around the
Qualcomm MDM9615, but the picture of naked EC20[1] clearly shows, that there
is Qualcomm MDM9215 chip soldered on the board. Which source is true? :-) Or
it's just a wrong text on that BGA?
1. https://osmocom.org/attachments/download/2501/ec20-naked-top.jpg
-- ynezz
hi
I compliled OpenBSC in linux kernel 4.2.* and all test was successful but
when upgrade my linux to kernel v4.8.* , we face 2 failed test.
logs attached
Regards
Hossein
Hi Tom,
Recently I already asked for your permission to relicense
the GSM 05.03 code from OpenBTS, and now I am contacting
you with the same purpose. I am going to move your optimized
Viterbi decoder forward, but currently it is licensed under
the LGPL v2.1 (or later). To avoid license mix within the
core Osmocom library, it would be better to relicense your
code to the same one, if you agree.
So, the question is: do you agree to relicense your code
under the GPLv2-or-later?
With best regards,
Vadim Yanitskiy.
Dear Osmocom Community,
[please respect the Reply-To and post all follow-up discussion to this
to openbsc(a)lists.osmocom.org, so we avoid having long threads
cross-posted to several mailing lists.]
>From 2012 to 2016 we were running a series of small, invitation-only
Osmocom Developer Conferences. Access was intentionally restricted
to those community members who have demonstrated an existing track
record of contribution to any of the projects under the Osmocom
umbrella.
This format of a small, tightly knit group of about 20 people has been
successful over the years, and I have received a lot of positive
feedback from past participants.
On the other hand, the Osmocom project has grown in scope and diversity,
and some of those projects don't have all that much relationship to each
other - except being started by people from within the same group.
There's the cellular communications (GSM/GPRS/EDGE/UMTS and hopefully at
some point LTE) protocols which is attracting a lot of professional
users. And then there's pure community projects like rtl-sdr,
OsmocomBB, OsmocomGMR and many other efforts.
Particularly the cellular infrastructure projects (OsmoBTS, OsmoPCU,
OsmoBTS, OsmoNITB, OsmoSGSN, OpenGGSN, OsmoIuh & co) are somehow
"standing out" of the othe projects in the context of having a wider
user bsae, and in that user base also primarily commercial users.
So I'd like to start a discussion on how to possibly change the event
format to accomodate the various interests and parties. I definitely
don't want to loose the "annual meeting of old friends" atmosphere,
while at the same time also opening up to other interested parties.
One idea would be to keep OsmoDevCon as-is and have a separate event
where non-contributing/developing users / sysadmins / system integrators
could also be attending.
Another idea would be to split into a 'user day' and 'developer days'
format. This is something the netfilter developer workshops have been
using for many years, and from my limited insight quite successfully so.
The "user day" is more like a traditional tech conference, with a large
auditorium and talks oriented towards users / sysadmins / integrators of
the software. The "developer days" are the invitation-only part, for
known contributing developers only, similar to what we have at
OsmoDevCon.
Having both events (or both parts of an event) back-to-back has the
advantage that a large number of potential speakers for the 'user day'
are already present, and they don't have to travel yet another time.
One could even structure it further and say we have one user day, one
public 'Osmocom cellular developer day' and then the closed 'OsmoDevCon
classic', maybe reduced from 4 days to 3 or even 2 days only?
What is the general opinion about this?
Are there people lurking on this list who would be interested in
attending a public 'user day' or even 'developer day' about the Osmocom
cellular projects, with presentations and workshops around topics such
as running Osmocom based cellular networks?
In terms of when/where, I would suggest to keep the tradition of April
in Berlin/Germany. But I'm of course very happy if somebody wants to
host it some place else...
Regards, and looking forward to meeting you [again] in 2017,
Harald
--
- Harald Welte <laforge(a)gnumonks.org> http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)
Dear all,
not everyone might have seen the news item that was posted in late
December on our website at http://osmocom.org/news/62
I'm looking forward to receiving your proposal on how you would
contribute to the Osmocom project if you were to receive one of those
free 3.5G femtocells.
Quote of the news item below:
------
So please excuse me to cross-post this over several Osmocom project
mailing lists. I know that a number of people have either hacked on
femtocells in the past, or at least expressed interest in doing so...
Osmocom's support for 2G/GSM is mature and widespread. Since 2016, we're
taking on the next level: 3G/3.5G. The key to running your own 3G
network is to obtain actual 3G cell hardware -- here is an exciting
opportunity to get started:
No less than 50 femtocells will be given away for free by sysmocom, one
of the main drivers of the Osmocom project. To receive a free 3G
femtocell, tell us how you will help the Osmocom project drive 3.5G
forward if you had one, before the end of January 2017. This marks the
launch of the 3.5G Acceleration Project, backed by the Osmocom
community. Join us!
Find further details on the 3.5G Acceleration Project and receiving your
own 3G femtocell for free at https://sysmocom.de/downloads/accelerate_3g5_cfp.pdf.
------
Best regards and happy hacking,
Harald Welte
--
- Harald Welte <laforge(a)gnumonks.org> http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)
On Wed, Jan 04, 2017 at 08:55:45AM +0000, Vadim Yanitskiy wrote:
> I think it's due to --enable-sanitize, because
> when I am trying to compile libosmocore this way:
>
> ./configure --enable-static --enable-sanitize
> make check
>
> Some other tests fail (current master version, clang-3.6):
>
> Regression tests.
> 8: gea FAILED (testsuite.at:51)
> 9: msgfile FAILED (testsuite.at:59)
> 15: lapd FAILED (testsuite.at:96)
> 16: gsm0808 FAILED (testsuite.at:102)
> 17: gsm0408 FAILED (testsuite.at:108)
> 30: bssgp-fc FAILED (testsuite.at:190)
I pushed some fixes,see https://gerrit.osmocom.org/1530 and
https://gerrit.osmocom.org/1531 - the remaining failures are all
LeakSanitizer warnings, and I suspect that while we release all memory
back to talloc, talloc itself doesn't release it back to glibc
malloc/free, and hence LeakSanitizer is kicking in.
A quick online search didn't seem like anyone else has yet come up with
a solution for this, so I guess we should turn it off. I remember some
discussion on the list about a year ago where the concensus was to
disable LeakSanitizer by environment variables on the buildhost anyway?
--
- Harald Welte <laforge(a)gnumonks.org> http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)