From mariolucas75 at mail.ru Wed Nov 11 19:54:08 2020 From: mariolucas75 at mail.ru (=?UTF-8?B?TWFyaW8gTHVjYXM=?=) Date: Wed, 11 Nov 2020 22:54:08 +0300 Subject: =?UTF-8?B?Zml4ZXJpYSB0cnguaGlnaHJhbS5iaW4gc3R1Y2s=?= Message-ID: <1605124448.669612365@f340.i.mail.ru> Dear all, ? Pls help me with the following issue: I want to run a transceiver having motorola c115? i follow the procedure described in CalypsoBTS page : http://osmocom.org/projects/baseband/wiki/CalypsoBTS ? without chainloader i get: ? ? /home/ubuntu# /home/ubuntu/trx/src/host/osmocon/./osmocon -m c123xor -p /dev/ttyUSB0 /home/ubuntu/trx/src/target/firmware/board/compal_e88/trx.highram.bin got 7 bytes from modem, data looks like: 66 74 6d 74 6f 6f 6c? ftmtool Received FTMTOOL from phone, ramloader has aborted got 1 bytes from modem, data looks like: 65? e got 1 bytes from modem, data looks like: c1? . got 1 bytes from modem, data looks like: 66? f ? ? and with chainloader i get: ? /home/ubuntu# /home/ubuntu/trx/src/host/osmocon/./osmocon -m c123xor -p /dev/ttyUSB0 -c /home/ubuntu/trx/src/target/firmware/board/compal_e88/trx.highram.bin got 2 bytes from modem, data looks like: 04 81? .. got 5 bytes from modem, data looks like: 1b f6 02 00 41? ....A got 1 bytes from modem, data looks like: 01? . got 1 bytes from modem, data looks like: 40? @ Received PROMPT1 from phone, responding with CMD read_file(chainloader): file_size=32, hdr_len=4, dnload_len=39 got 1 bytes from modem, data looks like: 00? . ? ? it seems with chainloader it is trying to do more but still stuck?. ? ? pls help?. ? Mario ? -- Mario Lucas -------------- next part -------------- An HTML attachment was scrubbed... URL: From mariolucas75 at mail.ru Thu Nov 19 18:27:39 2020 From: mariolucas75 at mail.ru (=?UTF-8?B?TWFyaW8gTHVjYXM=?=) Date: Thu, 19 Nov 2020 21:27:39 +0300 Subject: =?UTF-8?B?T3Ntb2NvbSBDIGZpbGVzIHN5bnRheCB1bmRlcnN0YW5kaW5n?= Message-ID: <1605810459.68924748@f134.i.mail.ru> Dear baseband-developers team,? ? ? Would you be so kind to advise me on the following: ? I desire (dramatically want very much) to learn / understand Osmocom projects. I am a beginner in programming and i try to understand / learn C files that the project is build of. ? As an example i tried to learn / understand for example an Osmocom message buffer ? msgb.h file. ? But immediately faced some syntax difficulties: ? This is the extract of msgb.h file: ? struct msgb { ?? ?struct llist_head list; /*!< \brief linked list header */ ?? ?/* Part of which TRX logical channel we were received / transmitted */ ?? ?/* FIXME: move them into the control buffer */ ?? ?union { ?? ??? ?void *dst; /*!< \brief reference of origin/destination */ ?? ??? ? struct gsm_bts_trx *trx; ?? ?}; ? As it can be seen a structure ?msgb? has as one of its components another structure ? ?gsm_bts_trx? ? But in whole Osmocom BB project files i could not find definition / description of struct ?gsm_bts_trx?. ? Would you kindly advise me please how to see which components / constituents / elements are in this gsm_bts_trx structure? From which components is struct gsm_bts_trx build of? ? Thank you so much for your kind advise. ? -- Mario Lucas -------------- next part -------------- An HTML attachment was scrubbed... URL: From domi at tomcsanyi.net Thu Nov 19 19:23:25 2020 From: domi at tomcsanyi.net (=?UTF-8?Q?Tomcs=C3=A1nyi=2C_Domonkos?=) Date: Thu, 19 Nov 2020 20:23:25 +0100 Subject: Osmocom C files syntax understanding In-Reply-To: <1605810459.68924748@f134.i.mail.ru> References: <1605810459.68924748@f134.i.mail.ru> Message-ID: Hello Mario, I think you have not checked everywhere :). Even a quick google search (if you don't want use grep) for gsm_bts_trx returns the file: bts_trx.h https://github.com/osmocom/osmo-bts/blob/master/include/osmo-bts/bts_trx.h Cheers, Domi On Thu, Nov 19, 2020 at 7:28 PM Mario Lucas wrote: > > Dear baseband-developers team, > > > Would you be so kind to advise me on the following: > > I desire (dramatically want very much) to learn / understand Osmocom projects. > I am a beginner in programming and i try to understand / learn C files that the project is build of. > > As an example i tried to learn / understand for example an Osmocom message buffer ? msgb.h file. > > But immediately faced some syntax difficulties: > > This is the extract of msgb.h file: > > struct msgb { > struct llist_head list; /*!< \brief linked list header */ > > /* Part of which TRX logical channel we were received / transmitted */ > /* FIXME: move them into the control buffer */ > union { > void *dst; /*!< \brief reference of origin/destination */ > struct gsm_bts_trx *trx; > }; > > As it can be seen a structure ?msgb? has as one of its components another structure ? ?gsm_bts_trx? > > But in whole Osmocom BB project files i could not find definition / description of struct ?gsm_bts_trx?. > > Would you kindly advise me please how to see which components / constituents / elements are in this gsm_bts_trx structure? > From which components is struct gsm_bts_trx build of? > > Thank you so much for your kind advise. > > -- > Mario Lucas From laforge at osmocom.org Thu Nov 19 19:45:29 2020 From: laforge at osmocom.org (Harald Welte) Date: Thu, 19 Nov 2020 20:45:29 +0100 Subject: Osmocom C files syntax understanding In-Reply-To: <1605810459.68924748@f134.i.mail.ru> References: <1605810459.68924748@f134.i.mail.ru> Message-ID: <20201119194529.GK2881661@nataraja> On Thu, Nov 19, 2020 at 09:27:39PM +0300, Mario Lucas wrote: > As it can be seen a structure ?msgb? has as one of its components another structure ? ?gsm_bts_trx? to be specific, the gsm_bts_trx is not a component of the msgb, but a _pointer_ to the gsm_bts_trx (i.e. a reference) may be present in the msgb. > But in whole Osmocom BB project files i could not find definition / description of struct ?gsm_bts_trx?. libosmocore is primarily used by dozens of other osmocom projects, particularly every Osmocom CNI project. The gsm_bts_trx is likely used in osmo-bsc and osmo-bts. -- - Harald Welte http://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6) From mariolucas75 at mail.ru Thu Nov 19 19:57:14 2020 From: mariolucas75 at mail.ru (=?UTF-8?B?TWFyaW8gTHVjYXM=?=) Date: Thu, 19 Nov 2020 22:57:14 +0300 Subject: =?UTF-8?B?UmVbMl06IE9zbW9jb20gQyBmaWxlcyBzeW50YXggdW5kZXJzdGFuZGluZw==?= In-Reply-To: <20201119194529.GK2881661@nataraja> References: <1605810459.68924748@f134.i.mail.ru> <20201119194529.GK2881661@nataraja> Message-ID: <1605815834.302342542@f344.i.mail.ru> Dear baseband-developers team, ? Thank you for your advise. ? Would you please advise? ??in order to learn / understand structure of?C coding in Osmocom things, which relatively easy osmocom sub-project would you advise me to start to / learn? ? I mean instead of rush and head hit against some difficult C codes in Osmocom? ??to have relatively easy kind of ?sub-project? of Osmococom for start learning purposes?. ? Thank you ? >???????, 19 ?????? 2020, 23:45 +04:00 ?? Harald Welte : >? >On Thu, Nov 19, 2020 at 09:27:39PM +0300, Mario Lucas wrote: >> As it can be seen a structure ?msgb? has as one of its components another structure ? ?gsm_bts_trx? > >to be specific, the gsm_bts_trx is not a component of the msgb, but a _pointer_ to the gsm_bts_trx >(i.e. a reference) may be present in the msgb. > >> But in whole Osmocom BB project files i could not find definition / description of struct ?gsm_bts_trx?. > >libosmocore is primarily used by dozens of other osmocom projects, particularly every Osmocom CNI >project. The gsm_bts_trx is likely used in osmo-bsc and osmo-bts. > >-- >- Harald Welte < laforge at osmocom.org > http://laforge.gnumonks.org/ >============================================================================ >"Privacy in residential applications is a desirable marketing option." >??????????????????????????????????????????????????(ETSI EN 300 175-7 Ch. A6) ? ? -- Mario Lucas ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From mariolucas75 at mail.ru Mon Nov 23 18:44:04 2020 From: mariolucas75 at mail.ru (=?UTF-8?B?TWFyaW8gTHVjYXM=?=) Date: Mon, 23 Nov 2020 21:44:04 +0300 Subject: =?UTF-8?B?UENVIHNvY2tldCBub3QgY29ubmVjdGVkLCBkcm9wcGluZyBtZXNzYWdl?= Message-ID: <1606157044.440929871@f349.i.mail.ru> Dear baseband developers team, ? I built home gsm network with Osmo-stp-msc-hlr-bsc-bts, osmo-trx limeSDR. ? I managed and registered phones. I did send sms between each other. However when i decided to make a call ??i noticed following message in terminal: ?PCU socket not connected, dropping message?. ? I searched on?Osmocom web site and it is said that pcu socket is involved in GPRS things (i.e. in internet). Therefore why does such message appears when i try to make simple call between two mobiles ??it has nothing to do with GPRS? ? And what would you advise me how to resolve this ? ? P.S. initially when i was about to start osmo-bts-trx i got message ?PCU L1 socket failed? and i just renamed the pcu_bts file to some other name and osmo-bts-trx started. ? Thank you so much for your kind reply. ? Best regards ? ? ? ? ? ? -- Mario Lucas -------------- next part -------------- An HTML attachment was scrubbed... URL: From pespin at sysmocom.de Mon Nov 23 20:45:10 2020 From: pespin at sysmocom.de (Pau Espin Pedrol) Date: Mon, 23 Nov 2020 21:45:10 +0100 Subject: PCU socket not connected, dropping message In-Reply-To: <1606157044.440929871@f349.i.mail.ru> References: <1606157044.440929871@f349.i.mail.ru> Message-ID: Hi, Indeed PCU is in charge of handling PDCH timeslots which are related to GPRS. "pcu_bts" is not a regular file, is a unix domain socket which is used to interconnect osmo-bts-trx and osmo-pcu. So having failures there means you either have a configuration problem (path incorrect configured) or a permission/ownership problem, maybe because you run osmo-bts-trx or osmo-pcu with root and the other with regular user, so the unix domain socket is created with permissions which the other process cannot then use. So, assuming you don't have issues BTS<->PCU issues and everything's fine, seeing "PCU socket not connected, dropping message" could mean PCU crashed at that time and is no longer available. When you start a phone call there may be PCU related traffic because the MS was probably doing data transfers in PDCH timeslots until the exact moment when you page the MS and ask it to go for a call, so the MS needs to "suspend" the GPRS use and notifies the network. -- - Pau Espin Pedrol 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 From mariolucas75 at mail.ru Wed Nov 25 08:28:58 2020 From: mariolucas75 at mail.ru (=?UTF-8?B?TWFyaW8gTHVjYXM=?=) Date: Wed, 25 Nov 2020 11:28:58 +0300 Subject: =?UTF-8?B?RHJvcHBlZCBwYWNrZXRzIGJ5IEhXLi4uLiBEdW1waW5nIFN0YWxlIGJ1cnN0?= =?UTF-8?B?cw==?= Message-ID: <1606292938.428704859@f466.i.mail.ru> Dear all, ? I am using LimeSDRmini to run osmo-bts? During operation from time-to time (and sometimes quite frequently) following messages pop-up in terminal: ?Dropped packets by HW!? and ?Dumping Stale bursts...? ? I guess my LimeSDRmini is dropping some?packets. LimeSDRmini configuration is: Firmware 6, Hardware 3, Protocol1, Gateware 1.3. ? Would you advise ??may be there is more or less stable firmware version that to some extent is stable while working with Osmo-bts ? ? Thanks ? ? -- Mario Lucas -------------- next part -------------- An HTML attachment was scrubbed... URL: From nhofmeyr at sysmocom.de Wed Nov 25 17:57:05 2020 From: nhofmeyr at sysmocom.de (Neels Hofmeyr) Date: Wed, 25 Nov 2020 18:57:05 +0100 Subject: Osmocom C files syntax understanding In-Reply-To: <1605815834.302342542@f344.i.mail.ru> References: <1605810459.68924748@f134.i.mail.ru> <20201119194529.GK2881661@nataraja> <1605815834.302342542@f344.i.mail.ru> Message-ID: <20201125175705.GA23175@my.box> On Thu, Nov 19, 2020 at 10:57:14PM +0300, Mario Lucas wrote: > I mean instead of rush and head hit against some difficult C codes in Osmocom? ??to have relatively easy kind of ?sub-project? of Osmococom for start learning purposes?. Sorry to dissappoint you, but all of Osmocom code is inherently relatively complex. It is neither practical nor required to understand all of it, we are numerous "experts" with knowledge in specific parts. The only way that I gained knowledge about Osmocom so far is that I get a specific task ("Implement X" or "Fix Y") and then bang my head against it until I understand what is going on. It is almost never easy, I often need help first. If you could formulate a specific motivation, a specific aspect of what part of GSM you are interested in, that could help you to gain some entry and ask helpful questions. Knowing C is a necessary prerequisite, I'd say it is prohibitively hard to learn C *and* Osmocom code at the same time. ~N From mariolucas75 at mail.ru Sun Nov 29 21:20:19 2020 From: mariolucas75 at mail.ru (=?UTF-8?B?TWFyaW8gTHVjYXM=?=) Date: Mon, 30 Nov 2020 00:20:19 +0300 Subject: =?UTF-8?B?IkJhZCBzaWduYWxsaW5nIG1lc3NhZ2UsIHNpZ25fbGluayByZXR1cm5lZCBl?= =?UTF-8?B?cnJvcjogT3BlcmF0aW9uIG5vdCBwZXJtaXR0ZWQiIC0gZHVyaW5nIHZvaWNl?= =?UTF-8?B?IGNhbGw=?= Message-ID: <1606684819.763174131@f114.i.mail.ru> Dear team, ? I did set up GSM network with SDR (LimeSDRmini). SMS are ok. ? However when try to make voice call got following message on osmo-bsc terminal: ? <0003> abis_rsl.c:1372 (bts=0) CHAN RQD: reason: call re-establishment (ra=0x41, neci=0x01, chreq_reason=0x02) <0007> osmo_bsc_sigtran.c:305 Initializing resources for new SIGTRAN connection to MSC: RI=SSN_PC,PC=0.23.1,SSN=BSSAP... <0007> osmo_bsc_sigtran.c:351 Opening new SIGTRAN connection (id=31) to MSC: RI=SSN_PC,PC=0.23.1,SSN=BSSAP <0003> abis_rsl.c:1372 (bts=0) CHAN RQD: reason: answer to paging (ra=0x9b, neci=0x01, chreq_reason=0x01) <0007> osmo_bsc_sigtran.c:305 Initializing resources for new SIGTRAN connection to MSC: RI=SSN_PC,PC=0.23.1,SSN=BSSAP... <0007> osmo_bsc_sigtran.c:351 Opening new SIGTRAN connection (id=32) to MSC: RI=SSN_PC,PC=0.23.1,SSN=BSSAP <0004> abis_nm.c:344 BTS 0 reported connected PCU version 0.8.0 <0016> input/ipaccess.c:411 Bad signalling message, sign_link returned error: Operation not permitted. <0016> input/ipaccess.c:411 Bad signalling message, sign_link returned error: Operation not permitted. ? ? WHat is this bad signalling message operation not permitted? ? ? -- Mario Lucas -------------- next part -------------- An HTML attachment was scrubbed... URL: