Hello, Harald, thanks for the answer.
first of all, CalypsoBTS is not an active / maintained / stable solution
> but more lik an (mindbogglingly amazing!) Hack.
Yes, I know that CalypsoBTS is not stable solution. But currently I am a
student and I have no so much money to buy anything more powerful.
Furthermore, I am interested in this for research purposes only, not for
creating public land mobile networks.
As you are the first person to report using the code to this list for
> quite some time, it would be great if you had some time to re-base, test
> and submit it.
As I previously said, I also tested master branches. Here are the results:
* When I start OsmoBTS I often see this message in OpenBSC log: "Lost some
E1 TEI link: X X" from bsc_init.c. In this case my MS can not connect to
the test network and I have to restart OsmoBTS until this message will no
hide.
* When the Location Update process I always see this error:
"input/ipaccess.c:277 Bad signalling message,sign_link returned error". But
a phone successfully registers in the network.
* SMS, USSD and Silent SMS works fine.
* When TS1 assigned TCH/H I can call to another ms or LCR. DTMF works.
* When TS1 assigned TCH/F I can use FR codec and call to LCR.
* PDCH does not work on this BTS.
* RRLP works.
* ISMI detach works but as in case of Location Update I see "Bad signalling
message..." error.
* It seems, the network works more stable when battery capacity is 100% and
backlight is disabled.
If I understood correctly, osmobts-trx was just moved from obsolete
repository to the master. Now I am reading the source code and trying to
fix this bugs.
I have one thing in my mind for a long time. Is it possible to serve a PDCH
lchan on TS1 instead of TCH (in case of this "powerful" BTS)? I have tested
OsmoSGSN+OpenGGSN with one PDCH channel on TS1, but it did not work.
With best regards,
Яницкий Вадим.
2015-12-06 18:14 GMT+06:00 Harald Welte <laforge(a)gnumonks.org>:
> Hi Vadim,
>>
>> first of all, CalypsoBTS is not an active / maintained / stable solution
>> but more lik an (mindbogglingly amazing!) Hack.
>>
>> On Sat, Dec 05, 2015 at 06:32:45PM +0600, Вадим Яницкий wrote:
>> > When I use jolly/multi-trx branch of libosmo-abis, jolly/testing branch
>> of
>> > OpenBSC and jolly/trx branch of OsmoBTS my network works very unstable.
>>
>> I'm sorry to say that none of the branches you refer to are maintained
>> by anyone at this point. It would be great if somebody interested in
>> that code (i.e. using it) could forward-port it onto current master.
>> Now tat l1sap and osmo-bts-trx is in osmo-bts master, this should be
>> relatively straight forward.
>>
>> It's really sad for us to see that people are continuing to use
>> old/outdated non-master, rather than rebasing + submitting their changes
>> for inclusion. It always makes me tempte to remove some of those
>> branches from the repo, ort at least rename them to something like
>> 'outdated'.
>>
>> As you are the first person to report using the code to this list for
>> quite some time, it would be great if you had some time to re-base, test
>> and submit it.
>>
>> --
>> - 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)
>>
>
>
Hi,
While building the package for Debian, apparently there is a problem
related to big-endian architectures.
Please see the logs here:
https://buildd.debian.org/status/fetch.php?pkg=libosmocore&arch=powerpc&ver…
and
https://buildd.debian.org/status/package.php?p=libosmocore
It is related to the test case for smscb and the struct gsm341_ms_message:
+++ /«PKGBUILDDIR»/tests/testsuite.dir/at-groups/7/stdout 2015-12-05
15:51:53.463182812 +0000
@@ -1,4 +1,4 @@
-(srl) GS: 1 MSG_CODE: 1 UPDATE: 0
+(srl) GS: 0 MSG_CODE: 256 UPDATE: 1
(msg) msg_id: 1293
-(dcs) group: 1 language: 0
+(dcs) group: 0 language: 1
(pge) page total: 1 current: 1
7. testsuite.at:45: 7. smscb (testsuite.at:45): FAILED (testsuite.at:48)
Could you please suggest how we should fix this so that the package
also can build for powerpc and other big-endian architectures?
Thank you very much in advance.
Ruben
Hi all,
I've been doing some profiling on osmo-bts recently (on sysmobts
hardware, which has only a relatively slow ARM926 CPU core), and the two
things that show up most are:
* msgb_alloc() -> talloc_zero() -> malloc
this can be alleviated somewhat by using talloc pools. For some
reason the pools don't remove all of the malloc() calls.
* vfprintf() and friends, from logp() statements. The sad part is that
calls like gsm_lchan_name() are of course executed beefore the call
into logp(), at which point the vfprintf/sprintf/... for arguments has
already been executed, and only the last/final one hasn't happened
yet.
Here we can do two things: Calls like gsm_lchan_name() don't need to
happen all the time, as the lchan name is static and can be generated
once at the time gsm_lchan is created. I implemented that in osmo-bts
(and openbsc, as it's from gsm_data_shared).
The second idea would be to expand the LOGP() macro a bit in a way to
ensure the the checking whether the log line is enabled _before_ the
arguments (and thus associated function calls) are evaluated. Any
ideas on that?
After a brief look at osmo-pcu profiling, it looks like in the
attached picture. We cannot do much about the __copy_to_user_std,
do_select and core_sys_select, as those are kernel side.
However, there again we see vfprintf and friends, mostly via
gprs_rlcmac_tbf::name() - and of course the msgb_alloc() and msgb_free()
going through talloc and finally malloc.
So the same strategies as above could (and probably should) be applied
to osmo-pcu.
Regards,
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)
Hi all!
This is the announcement for the re-incarnation of our bi-weekly
Osmocom Berlin Meeting.
Dec 09, 8pm @ CCC Berlin, Marienstr. 11, 10117 Berlin
There is no formal presentation this time, but
* there will be SIMtrace equipment in case somebody wants to play with
it there will be a sysmoBTS with OsmoBTS, OsmoPCU, OsmoNITB, OsmoSGSN
and OpenGGSN if somebody wants to play with it
* there will be Huawei Femtocells to play with
The meeting is open to anyone interested in mobile communications. You
do not have to be involved with the Osmocom projects in order to attend.
Anyone interested in mobile communications protocols is welcome.
If you are interested to show up, feel free to do so. The meeting is
"free as in free beer", despite no actual free beer being around ;)
More information can be found at
http://openbsc.osmocom.org/trac/wiki/OsmocomMeeting/Berlin
Regards,
Harald
--
- Harald Welte <laforge(a)gnumonks.org>
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)
Hi list,
I'm merging the last commits from the neels/gtphub branch to master
(Holger agrees). I will direct my attention to other topics for the time
being -- we're waiting for a live testing setup.
ATM, I would see gtphub's maturity as "alpha": I believe it works as
intended, but all testing so far, even though done with real equipment,
was in a controlled test environment.
If anyone would like to give it a spin, we'd appreciate any feedback.
~Neels
--
- 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: Holger Freyther, Harald Welte
Dear list,
I just appear to have a strange UE behavior where the UE tries to Attach (both CS and PS), the Osmo-SGSN sends an Attach accept, but the UE never responds with an Attach complete, instead after 10 seconds it tries to re-attach.
I had an issue quite similar like this earlies where the UE requests for some IEs or the SGSN sends soething the UE don't like.
The point is, I would like to do protocol trace between the SGSN and the PCU, and I managed to see the traffic with Wireshark, but it was not able to dissect/recognise the protocols over the UDP layer.
Can someone please help me how to configure Wireshark to be able to dissect the involved protocols?
Thanks!
Csaba
Dear Neels,
Today just grabbed the latest OpenBSC master, and got this compile error:
Making all in gtphub
make[3]: Entering directory `/root/new_osmocom/openbsc/openbsc/tests/gtphub'
CC gtphub_test.o
CC ../../src/gprs/gtphub.o
../../src/gprs/gtphub.c:2191:1: fatal error: opening dependency file .deps/../../src/gprs/gtphub.Tpo: No such file or directory
}
^
compilation terminated.
make[3]: *** [../../src/gprs/gtphub.o] Error 1
make[3]: Leaving directory `/root/new_osmocom/openbsc/openbsc/tests/gtphub'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/new_osmocom/openbsc/openbsc/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/new_osmocom/openbsc/openbsc'
make: *** [all] Error 2
Do you have any idea why is this happening?
Regards,
Csaba