Open Source Mobile Communications: Issueshttps://osmocom.org/https://osmocom.org/favicon.ico?16647414092024-03-09T21:34:47ZOpen Source Mobile Communications
Redmine pySim - Bug #6398 (New): Add helper for SwMatchErrorhttps://osmocom.org/issues/63982024-03-09T21:34:47Zn4n5
<p>Hello</p>
<p>Here is a tiny patch to add the error interpreter to SwMatchError()</p>
<p>Btw I have another question :<br />What can we do when we have "Expected 9000 and got 6983: Command not allowed - Authentication/PIN method blocked" ?</p>
<p>Thanks</p> Linux Kernel GTP-U - Bug #6382 (Feedback): "TC_pdp6_act_deact_gtpu_access" fails with kernel gtp-uhttps://osmocom.org/issues/63822024-03-01T17:08:19Zosmith
<p>Pau and I debugged why TC_pdp6_act_deact_gtpu_access does not work with osmo-ggsn with kernel gtp-u. It passes without kernel gtp-u.</p>
<blockquote>
<p>pespin: so I'd say that use case cannot really be performed right now as with current setup, but it's quite a specific one and not sure what would be the best desired behavior</p>
</blockquote>
<blockquote>
<p>pespin: so in summary: a GTP-U/IPv6(src-addr-link-local) arrives to the gtp kernel module (socket fd1u), and it decides the GGSN (userspace) needs to handle the packet, so the packet is pushed/read by osmo-ggsn, which in our current logic decides to forward the packet out of the tun. In order to do that, when we have a non-gtp generic tun, we use the tun FD to inject the decapsulted packet (IPv6(src-addr-link-local) into the network stack.</p>
</blockquote>
<blockquote>
<p>pespin: but when using the gtp tundev kind, we apparently do have the "tun fd" we need to inject decapsulated packets from the userspace program (osmo-ggsn), that only happens through the network stack internally.</p>
</blockquote>
<blockquote>
<p>pespin: So the question would be: 1- Can we somehow obtain an fd for the tun so we can inject decapsulated packets to it like we do in the userspace-gtp scenario? If yes, we should replace fd = -1 with that. If no, then we simply assume we don't want to inject those packets and discard them</p>
</blockquote>
<blockquote>
<p>pespin: feel free to create the ticket or point me to the existing one and I can fill in more info</p>
</blockquote>
<p><a href="#" onclick="$('#collapse-5ea08adb-show, #collapse-5ea08adb-hide').toggle(); $('#collapse-5ea08adb').fadeToggle(150);; return false;" id="collapse-5ea08adb-show" class="icon icon-collapsed collapsible">osmo-ggsn log + dmesg</a><a href="#" onclick="$('#collapse-5ea08adb-show, #collapse-5ea08adb-hide').toggle(); $('#collapse-5ea08adb').fadeToggle(150);; return false;" id="collapse-5ea08adb-hide" class="icon icon-expended collapsible" style="display:none;">osmo-ggsn log + dmesg</a><div id="collapse-5ea08adb" class="collapsed-text" style="display:none;"><pre>
+ osmo-ggsn -c /data/osmo-ggsn.cfg
20240301163326408 DLSTATS INFO Stats timer started with interval 5 sec (stats.c:206)
20240301163326410 DGGSN INFO APN(internet): Starting (ggsn.c:186)
20240301163326411 DGGSN INFO APN(internet): Opening Kernel GTP device tun46 (ggsn.c:204)
20240301163326412 DGGSN NOTICE APN(internet): Skipping APN start (ggsn.c:210)
20240301163326413 DGGSN INFO GGSN(ggsn0): Starting GGSN (ggsn.c:816)
20240301163326414 DLGTP NOTICE GTP: gtp_newgsn() started at 172.18.70.201 (gsn.c:465)
20240301163326416 DLGTP NOTICE State information file (/tmp/gsn_restart) not found. Creating new file. (gsn.c:386)
20240301163326417 DLGLOBAL DEBUG validating counter group 0x7fd8d2ca7b00(gsn) with 18 counters (rate_ctr.c:86)
20240301163326419 DGGSN NOTICE GGSN(ggsn0): Successfully started (ggsn.c:852)
20240301163326420 DGGSN INFO APN(internet): Starting (ggsn.c:186)
20240301163326421 DGGSN INFO APN(internet): Opening Kernel GTP device tun46 (ggsn.c:204)
20240301163326422 DGGSN NOTICE Initialized GTP kernel mode (genl ID is 32) (gtp-kernel.c:79)
[ 0.772102] gtp: enable gtp on 7, 4
[ 0.772475] gtp: enable gtp on 9, 5
[ 0.773067] tun46: registered new GTP interface
20240301163326425 DTUN NOTICE GTP kernel configured (tun.c:217)
[ 0.774548] tun46: no PDP ctx found for ff02:0000:0000:0000:0000:0000:0000:0002, skip
20240301163326426 DGGSN INFO APN(internet): Setting tun IP address 176.16.16.0/20 (ggsn.c:230)
20240301163326428 DGGSN INFO APN(internet): Setting tun IPv6 address 2001:780:44:2100::/56 (ggsn.c:242)
20240301163326429 DGGSN INFO APN(internet): Creating IPv4 pool 176.16.16.0/20 (ggsn.c:288)
20240301163326430 DGGSN INFO APN(internet): Blacklist tun IP 176.16.16.0/20 (ggsn.c:167)
20240301163326432 DGGSN INFO APN(internet): Creating IPv6 pool 2001:780:44:2100::/56 (ggsn.c:305)[ 0.781506] tun46: no PDP ctx found for ff02:0000:0000:0000:0000:0000:0000:0016, skip
20240301163326434 DGGSN INFO APN(internet): Blacklist tun IP 2001:780:44:2100::/56 (ggsn.c:167)
20240301163326435 DGGSN NOTICE APN(internet): Successfully started (ggsn.c:320)
20240301163326436 DLGLOBAL NOTICE Available via telnet 0.0.0.0 4260 (telnet_interface.c:88)
20240301163326437 DLCTRL NOTICE CTRL at 127.0.0.1 4257 (control_if.c:1014)
[ 1.166137] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input3
[ 1.603649] tun46: no PDP ctx found for ff02:0000:0000:0000:0000:0000:0000:0016, skip
[ 1.604747] tun46: no PDP ctx found for ff02:0000:0000:0000:0000:0000:0000:0002, skip
[ 1.606563] tun46: no PDP ctx found for ff02:0000:0000:0000:0000:0000:0000:0016, skip
[ 1.739641] tun46: no PDP ctx found for ff02:0000:0000:0000:0000:0000:0000:0016, skip
[ 2.243889] tun46: no PDP ctx found for ff02:0000:0000:0000:0000:0000:0000:0016, skip
20240301163328636 DLGLOBAL INFO Accept()ed new telnet connection r=172.18.70.202:37064<->l=172.18.70.201:4260 (telnet_interface.c:192)
20240301163328660 DLGLOBAL NOTICE TTCN3 f_logp(): TC_pdp6_act_deact_gtpu_access() start (logging_vty.c:1165)
20240301163328670 DLGTP DEBUG Begin pdp_tidget tid = e505007495524262 (pdp.c:322)
20240301163328674 DLGTP DEBUG Begin pdp_tidget. Not found (pdp.c:330)
20240301163328678 DLGTP DEBUG Begin pdp_tidset tid = e505007495524262 (pdp.c:277)
20240301163328682 DLGTP DEBUG End pdp_tidset (pdp.c:286)
20240301163328686 DGGSN DEBUG PDP(262425594700505:14): Processing create PDP context request for APN 'inet6' (ggsn.c:441)
20240301163328690 DGGSN DEBUG PDP(262425594700505:14): gtp_kernel_tunnel_add tun46 v1 TEID c88d0b86 EUA=(,2001:780:44:2101::) SGSN=172.18.70.202 (gtp-kernel.c:50)
[ 3.043499] tun46: GTPv1-U: new PDP ctx id=1/c88d0b86 ssgn=172.18.70.202 ms=32.1.7.128 (pdp=(____ptrval____))
20240301163328698 DGGSN INFO SGSN(172.18.70.202): Discovered (sgsn.c:83)
20240301163328700 DGGSN DEBUG PDP(262425594700505:14): PCO Protocol 0x0003 (pco.c:206)
20240301163328704 DGGSN INFO PDP(262425594700505:14): Successful PDP Context Creation: APN=inet6(internet), TEIC=1, IPv4=none, IPv6=2001:780:44:2101:: (ggsn.c:563)
20240301163328710 DLGTP DEBUG Registering seq=62633 in restransmit resp queue (gtp.c:503)
[ 3.065090] tun46: encap_recv sk=(____ptrval____)
[ 3.066495] tun46: received GTP1U packet
[ 3.067603] tun46: No PDP ctx for this MS
[ 3.068730] tun46: pass up to the process
20240301163328721 DGGSN DEBUG PDP(262425594700505:14): Packet received on APN(internet): forwarding to tun tun46 (ggsn.c:675)
[ 3.078465] tun46: encap_recv sk=(____ptrval____)
[ 3.079954] tun46: received GTP1U packet
[ 3.081068] tun46: No PDP ctx for this MS
[ 3.082226] tun46: pass up to the process
[ 3.083371] tun46: encap_recv sk=(____ptrval____)
[ 3.084696] tun46: received GTP1U packet
[ 3.085825] tun46: No PDP ctx for this MS
[ 3.086953] tun46: pass up to the process
20240301163328739 DGGSN DEBUG PDP(262425594700505:14): Packet received on APN(internet): forwarding to tun tun46 (ggsn.c:675)
20240301163328744 DTUN ERROR errno=9/Bad file descriptor TUN(tun46): write() failed (tun.c:324)
20240301163328747 DGGSN DEBUG PDP(262425594700505:14): Packet received on APN(internet): forwarding to tun tun46 (ggsn.c:675)
20240301163328752 DTUN ERROR errno=9/Bad file descriptor TUN(tun46): write() failed (tun.c:324)
[ 5.251918] tun46: no PDP ctx found for ff02:0000:0000:0000:0000:0000:0000:0002, skip
20240301163331735 DLGLOBAL INFO Closing telnet connection r=172.18.70.202:37064<->l=172.18.70.201:4260 (telnet_interface.c:138)
</pre></div></p>
<p>The error happens in <code>lib/tun.c</code>:</p>
<pre><code class="c syntaxhl"><span class="kt">int</span> <span class="nf">tun_encaps</span><span class="p">(</span><span class="k">struct</span> <span class="n">tun_t</span> <span class="o">*</span><span class="n">tun</span><span class="p">,</span> <span class="kt">void</span> <span class="o">*</span><span class="n">pack</span><span class="p">,</span> <span class="kt">unsigned</span> <span class="n">len</span><span class="p">)</span>
<span class="p">{</span>
<span class="kt">int</span> <span class="n">rc</span><span class="p">;</span>
<span class="n">rc</span> <span class="o">=</span> <span class="n">write</span><span class="p">(</span><span class="n">tun</span><span class="o">-></span><span class="n">fd</span><span class="p">,</span> <span class="n">pack</span><span class="p">,</span> <span class="n">len</span><span class="p">);</span>
<span class="k">if</span> <span class="p">(</span><span class="n">rc</span> <span class="o"><</span> <span class="mi">0</span><span class="p">)</span> <span class="p">{</span>
<span class="n">SYS_ERR</span><span class="p">(</span><span class="n">DTUN</span><span class="p">,</span> <span class="n">LOGL_ERROR</span><span class="p">,</span> <span class="n">errno</span><span class="p">,</span> <span class="s">"TUN(%s): write() failed"</span><span class="p">,</span> <span class="n">tun</span><span class="o">-></span><span class="n">devname</span><span class="p">);</span>
<span class="p">...</span>
</code></pre>
<code>tun->fd</code> is -1 for kernel gtp-u, it gets set in <code>lib/tun.c:tun_new()</code>:
<pre><code class="c syntaxhl"> <span class="k">if</span> <span class="p">(</span><span class="o">!</span><span class="n">use_kernel</span><span class="p">)</span> <span class="p">{</span>
<span class="cm">/* Open the actual tun device */</span>
<span class="k">if</span> <span class="p">(((</span><span class="o">*</span><span class="n">tun</span><span class="p">)</span><span class="o">-></span><span class="n">fd</span> <span class="o">=</span> <span class="n">open</span><span class="p">(</span><span class="s">"/dev/net/tun"</span><span class="p">,</span> <span class="n">O_RDWR</span><span class="p">))</span> <span class="o"><</span> <span class="mi">0</span><span class="p">)</span> <span class="p">{</span>
<span class="p">...</span>
<span class="p">}</span> <span class="k">else</span> <span class="p">{</span>
<span class="n">strncpy</span><span class="p">((</span><span class="o">*</span><span class="n">tun</span><span class="p">)</span><span class="o">-></span><span class="n">devname</span><span class="p">,</span> <span class="n">dev_name</span><span class="p">,</span> <span class="n">IFNAMSIZ</span><span class="p">);</span>
<span class="p">(</span><span class="o">*</span><span class="n">tun</span><span class="p">)</span><span class="o">-></span><span class="n">devname</span><span class="p">[</span><span class="n">IFNAMSIZ</span> <span class="o">-</span> <span class="mi">1</span><span class="p">]</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span>
<span class="p">(</span><span class="o">*</span><span class="n">tun</span><span class="p">)</span><span class="o">-></span><span class="n">fd</span> <span class="o">=</span> <span class="o">-</span><span class="mi">1</span><span class="p">;</span>
<span class="k">if</span> <span class="p">(</span><span class="n">gtp_kernel_create</span><span class="p">(</span><span class="o">-</span><span class="mi">1</span><span class="p">,</span> <span class="n">dev_name</span><span class="p">,</span> <span class="n">fd0</span><span class="p">,</span> <span class="n">fd1u</span><span class="p">)</span> <span class="o"><</span> <span class="mi">0</span><span class="p">)</span> <span class="p">{</span>
</code></pre> OsmoMGW - Bug #5726 (New): AMR octet-align in SDP: lack of 'octet-align' fmtp should imply octet-...https://osmocom.org/issues/57262022-10-24T21:26:29Zneelsnhofmeyr@sysmocom.de
<p>OsmoMGW makes decisions for AMR octet-align vs bandwidth-efficient alignment depending on whether a fmtp parameter 'octet-align' is explicitly present or not.</p>
<p>IIUC the situation arises from the fact that until today, osmo-bsc and osmo-msc fail to set 'octet-align=1' in their MGCP.<br />It seems that osmo-mgw is trying to make amends for this error, that should instead be fixed in osmo-bsc and osmo-mgw.</p>
<p>In SDP, per spec, lack of the octet-align parameter must imply 'octet-align=0'. So if we now fix osmo-mgw to properly handle the 'octet-align' setting, we may suddenly break interworking with osmo-bsc and osmo-msc.</p>
<p>IIUC the intention is to convert between OA and BE only if the 'octet-align' parameter is explicitly present:</p>
<ul>
<li>"AMR" <-> "AMR": do not convert alignment</li>
<li>"AMR:octet-align=0" <-> "AMR:octet-align=1": convert alignment</li>
</ul>
<p>This seems like a good hack / legacy compat shim, but the effects are potentially catastrophic.<br />These are the problems:</p>
<ul>
<li>By allowing AMR OA on a conn where there is no fmtp configured, we are inviting confusion.<br /> For example, in the case "AMR" <-> "AMR:octet-align=1": do not convert alignment?<br /> Current code actually looks like we will only convert alignment in one direction, but not the other.</li>
</ul>
<ul>
<li>the lack of a fmtp for AMR is, per spec, <strong>identical</strong> to having 'octet-align=0' present.<br /> By handling the presence or absence of the fmtp as an indicator to change osmo-mgw's behavior, we are not compliant.</li>
</ul>
<ul>
<li>On each MGCP conn, there may be any number of different AMR configurations on either side.<br /> So depending on the PT number, we may receive / forward AMR OA or AMR BE interchangeably.<br /> For example, if osmo-msc forwards SDP from SIP that allows both OA and BE in two distinct payload type nrs,<br /> where OA has 'octet-align=1' and BE has no fmtp according to spec in the SDP from SIP,<br /> then osmo-mgw might interpret the AMR without fmtp as OA, even though it should be BE,<br /> and patch the wrong payload type number into outgoing RTP packets.<br /> (We could explicitly check whether both are featured, but that is another level of nightmare.)</li>
</ul>
<p>So I think we need to reach a situation where osmo-mgw behaves strictly conforming to spec,<br />not assuming OA as compat behavior if there is no fmtp with the AMR codec.<br />We need to teach osmo-bsc and osmo-msc to appropriately send 'octet-align=1' in the MGCP,<br />and we should switch osmo-mgw to handle these instructions accurately.<br />Maybe we need switch osmo-mgw to strict AMR behavior with a .cfg VTY option.</p> gr-osmosdr - Bug #5448 (New): a bug related to gqrx using gr-osmosdr for sdrplay rsp1 through soa...https://osmocom.org/issues/54482022-02-09T02:56:35Zagerasageras@tutanota.com
<p>There is a bug in gqrx with sdrplay rsp1 that it probably has to do with gr-osmosdr.<br />i have posted the issue on gqrx github <a class="external" href="https://github.com/gqrx-sdr/gqrx/issues/970">https://github.com/gqrx-sdr/gqrx/issues/970</a><br />and came in to the conclusion the it is probably on gr-osmosdr.</p>
<p>I use arch linux and the same problem consists for a year or more.<br />I am using gqrx v2.15.2-20-gdadc20b and gr-osmosdr 0.2.3-8.</p>
<p>In gqrx the input rate is only 0.2 MHz available in the 5, 6, 8 MHz, or whatever rate i choose.<br />It renders all the 8 MHz as an example but all of it is noise only for a 0.2 MHz hump in the middle.<br />Everything out of the hump is muted, you can only receive signal in the middle of the hump.</p>
<p>Every other software that i use through soapy has no problem but it is not through gr-osmosdr.</p> SIMtrace 2 - Bug #5423 (New): "trace" firmware continuous test setuphttps://osmocom.org/issues/54232022-01-27T12:24:54Zlaforge
<p>Similar to <code>cardem</code> in <a class="issue tracker-2 status-2 priority-2 priority-default" title="Feature: "cardem" continuous testing setup (In Progress)" href="https://osmocom.org/issues/5422">#5422</a>, we should also create a continuous test setup for passing SIM protocol tracing. The IUT is the simtrace2 firmware.</p>
<p>We can use diffeent modems / CCID readers accessing a SIM card via a SIMtrace2 device while tracing the communication.</p> OsmocomDECT - Bug #5396 (New): TcpDump/WireShark will not build with libpcap(dect) https://osmocom.org/issues/53962022-01-09T12:56:49Z
<p>Wireshark problem:</p>
<pre>
capture-pcap-util.c:274: error: static declaration of ‘pcap_datalink_name_to_val’ follows non-static declaration
/usr/local/include/pcap/pcap.h:380: note: previous declaration of ‘pcap_datalink_name_to_val’ was here
capture-pcap-util.c:289: error: static declaration of ‘pcap_datalink_val_to_name’ follows non-static declaration
/usr/local/include/pcap/pcap.h:381: note: previous declaration of ‘pcap_datalink_val_to_name’ was here
TcpDump? problem:
./../libpcap/libpcap.a(pcap.o): In function `pcap_datalink_name_to_val':
/root/libpcap/./pcap.c:855: multiple definition of `pcap_datalink_name_to_val'
dlnames.o:dlnames.c:(.text+0x90): first defined here
./../libpcap/libpcap.a(pcap.o): In function `pcap_datalink_val_to_name':
/root/libpcap/./pcap.c:868: multiple definition of `pcap_datalink_val_to_name'
dlnames.o:dlnames.c:(.text+0x0): first defined here
./../libpcap/libpcap.a(pcap.o): In function `pcap_datalink_val_to_description':
/root/libpcap/./pcap.c:880: multiple definition of `pcap_datalink_val_to_description'
dlnames.o:dlnames.c:(.text+0x40): first defined here
./../libpcap/libpcap.a(pcap.o): In function `pcap_list_datalinks':
/root/libpcap/./pcap.c:553: multiple definition of `pcap_list_datalinks'
datalinks.o:datalinks.c:(.text+0x0): first defined here
./../libpcap/libpcap.a(sf-pcap.o): In function `pcap_dump_ftell':
/root/libpcap/./sf-pcap.c:590: multiple definition of `pcap_dump_ftell'
pcap_dump_ftell.o:pcap_dump_ftell.c:(.text+0x0): first defined here
./../libpcap/libpcap.a(pcap-dect-linux.o): In function `dect_platform_finddevs':
/root/libpcap/./pcap-dect-linux.c:79: undefined reference to `nl_dect_cell_alloc_cache'
./../libpcap/libpcap.a(pcap-dect-linux.o): In function `add_cell_cb':
/root/libpcap/./pcap-dect-linux.c:52: undefined reference to `nl_dect_cell_get_name'
</pre> E1/T1 Hardware Interface (including icE1usb) - Bug #5382 (New): icE1usb: detect all-1 pattern an...https://osmocom.org/issues/53822022-01-02T12:17:29Zlaforge
<p>This applies to both DAHDI and e1d.</p> OsmocomBB - Bug #5202 (New): [Assert failed rc >= 0 l1ctl.c:83] cell_log crashes (mostly) when mo...https://osmocom.org/issues/52022021-07-25T13:38:10Zantfarmer
<p>Upon execution of <strong>./cell_log -A 117 -i 127.0.0.1</strong>, the program crashes after a while with:</p>
<pre>
Assert failed rc >= 0 l1ctl.c:83
backtrace() returned 13 addresses
/usr/local/lib/libosmocore.so.17(osmo_generate_backtrace+0x18) [0x7f10d726684f]
/usr/local/lib/libosmocore.so.17(+0x24557) [0x7f10d7266557]
/usr/local/lib/libosmocore.so.17(osmo_panic+0xdc) [0x7f10d7266638]
./cell_log() [0x407f4a]
./cell_log() [0x40821d]
/usr/local/lib/libosmocore.so.17(osmo_wqueue_bfd_cb+0x3a) [0x7f10d7259e3d]
/usr/local/lib/libosmocore.so.17(+0xf2c4) [0x7f10d72512c4]
/usr/local/lib/libosmocore.so.17(+0xf3ba) [0x7f10d72513ba]
/usr/local/lib/libosmocore.so.17(osmo_select_main+0x15) [0x7f10d72513d8]
./cell_log() [0x402f2c]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f10d66db840]
./cell_log() [0x4030b9]
Aborted
</pre>
<p>Line 83 in l1ctl.c:</p>
<pre><code class="c syntaxhl"><span class="cm">/* if FN is negative, we were called for something that's not CCCH! */</span>
<span class="n">OSMO_ASSERT</span><span class="p">(</span><span class="n">rc</span> <span class="o">>=</span> <span class="mi">0</span><span class="p">);</span>
</code></pre>
<p>The problem exists mostly when specifying an ARFCN manually, although i have seen the same type of crash even when no ARFCN is specified and an active scan is in place, but it is a very rare occasion and takes much more time to occur.</p>
<p>I have tried with different cells of different network carriers, so this is very unlikely to be a network issue.</p>
<p>Using the latest revision to date of master branch.</p> OsmoBTS - Bug #4985 (New): AMR RTP CMR of downlink frames not used to influence CMChttps://osmocom.org/issues/49852021-01-28T13:35:16Zlaforge
<p>Every AMR RTP frame the BTS receives in downlink contains a CMR (codec mode request) field, indicating what kind of codec mode the remote peer wishes to receive.</p>
<p>As per 3GPP TS 45.009 Section 3.1.2, we should use this CMR field, compare it with the CMC the local rate adaptation would normally choose and then forward the <em>lower</em> of both as actual CMC to the MS.</p> SDR (Software Defined Radio) - Bug #4653 (New): cannot import name 'fosphor'https://osmocom.org/issues/46532020-07-05T14:34:54Zsystemd
<p>I am using Linux Mint 19.3 with a NVIDIA Corporation GM107GL [Quadro K620] (rev a2), runnin GNU Radio 3.8.</p>
<p>I followed the instructions on the installation page (<a class="external" href="https://osmocom.org/projects/sdr/wiki/fosphor">https://osmocom.org/projects/sdr/wiki/fosphor</a>) but I receive an error when I try to use fosphor. The error says "from gnuradio import fosphor<br />ImportError: cannot import name 'fosphor'"</p>
<p>my installation went as</p>
<p>First installed GLFW3 and it did install great.</p>
<p>then, sudo apt-get install nvidia-opencl-dev opencl-headers and sudo apt-get install nvidia-modprobe</p>
<p>Afterwards, gr-fosphor which too installed correctly.</p>
<p>Would someone be nice enough to advice what solutions I may try?</p> OsmoBTS - Bug #4579 (New): add IPv6 supporthttps://osmocom.org/issues/45792020-06-03T16:59:04Zlynxis
<p>Add support to use OsmoBTS in a IPv6 environment. All connections has to support IPv6.<br />GB IPv6 and PCU related changes are in a seperate ticket.</p>
<a name="OML-content"></a>
<h2 >OML content<a href="#OML-content" class="wiki-anchor">¶</a></h2>
<ul>
<li>rx_oml_ipa_rsl_connect()
<ul>
<li>NM_ATT_IPACC_DST_IP contains IPv4-only address by BSC</li>
</ul></li>
</ul>
<a name="RSL-content"></a>
<h2 >RSL content<a href="#RSL-content" class="wiki-anchor">¶</a></h2>
<ul>
<li>rsl_tx_ipac_XXcx_ack()
<ul>
<li>assumes RSL_IE_IPAC_REMOTE_IP is IPv4-only address by BSC</li>
<li>uses osmo_rtp_get_bound_ip_port() -> migrate to osmo_rtp_get_bound_addr()</li>
</ul></li>
</ul>
<ul>
<li>tx_ipac_XXcx_nack() + rsl_tx_ipac_XXcx_ack()
<ul>
<li>uses RSL_IE_IPAC_REMOTE_IP / RSL_IE_IPAC_LOCAL_IP and assumes content is v4-only</li>
</ul></li>
</ul>
<a name="TTCN3-tests-for-IPv6-have-to-be-created-for-all-parts-messages-IEs"></a>
<h2 >TTCN3 tests for IPv6 have to be created for all parts / messages / IEs<a href="#TTCN3-tests-for-IPv6-have-to-be-created-for-all-parts-messages-IEs" class="wiki-anchor">¶</a></h2>
<ul>
<li>write tests with dual stack and connect to a single stack BSC.</li>
<li>write tests for a only IPv6 setup.</li>
</ul> IMSI Pseudonymization - Bug #4480 (New): Applet/OsmoMSC: fix or workaround for OsmoMSC only pagin...https://osmocom.org/issues/44802020-04-01T08:28:39Zosmith
<p>We have to set the "channel-description attach 0" option in OsmoBSC, so the MS does not detach from the network when changing the IMSI. This also means, there will be no IMSI attach. OsmoMSC will only page subscribers that have attached, so we need to either teach OsmoMSC to page subscribers that are not attached as well, or work around it in the applet by doing something like an arbitrary CM Service Request right after changing the IMSI.</p>
<p>Details: <a class="external" href="https://osmocom.org/issues/4404#note-6">https://osmocom.org/issues/4404#note-6</a></p> IMSI Pseudonymization - Bug #4417 (New): Applet: LU counter should only increase on successful lo...https://osmocom.org/issues/44172020-02-26T12:38:13Zosmith
<p>With the current code, the LU counter seems to increase on every location update, no matter if successful or not.</p> OsmoSTP - Bug #4274 (New): AS Name isn't displayedhttps://osmocom.org/issues/42742019-11-21T10:47:29Zroch
<p>Hi,</p>
<p>It looks like AS Name isn't displayed properly even if both AS and ASPs are active.<br /><pre>
OsmoSTP# show cs7 instance 0 asp
Effect Primary
ASP Name AS Name State Type Remote IP Addr:Rmt Port SCTP
------------ ------------ ------------- ---- ----------------------- ----------
stp2 ? ASP_ACTIVE m3ua 199.255.7.133:2919
asp-dyn-0 ? ASP_ACTIVE ipa 172.17.0.2:34856
asp-dyn-1 ? ASP_ACTIVE ipa 172.17.0.3:53584
OsmoSTP# show cs7 instance 0 as all
Routing Routing Key Cic Cic Traffic
AS Name State Context Dpc Si Opc Ssn Min Max Mode
------------ ------------ ---------- ------------- ---- ------------- --- ----- ----- -------
STP2 AS_ACTIVE 56 0.8.6 loadshare
telnahub AS_ACTIVE 0 0.0.0 loadshare
</pre></p> libosmocore - Bug #4265 (New): --enable-embedded doesn't work as expectedhttps://osmocom.org/issues/42652019-11-12T11:18:36Zlaforge
<p>--enable-embedded is supposed to automatically set flags like --disable-libsctp. In theory that<br /> is implemented, but in practise it doesn't work, as the actual <strong>check</strong> is still performed, even if later down the configure[.ac] script we set ENABLE_LIBSCTP to "false". So we perform the check (and abort in case it isn't present), but later would discard the result.</p>
<p>Re-ordering the blocks in configure.ac to first have the embedded handling doesn't help. I guess we would need to take the "$embedded" variable into account somehow in each of the enable/disable clauses?</p>
<p>Unless somebody knows a quick fix, it's not worth spending time on right now, but just for the record...</p> osmo-fl2k - Bug #4174 (New): After the latest commits, the fl2k tools do not exit on first SIGINThttps://osmocom.org/issues/41742019-08-25T16:57:13Zparkerlreed
<p>It hangs after the first and then exits on the second.</p>
<pre><code>
[parker@stealth ~]$ fl2k_test -s 157e6
Allocating 6 zero-copy buffers
libusb: error [op_dev_mem_alloc] alloc dev mem failed errno 12
Failed to allocate zero-copy buffer for transfer 4
Falling back to buffers in userspace
Requested sample rate 157000000 not possible, using 157142851.000000, error is 142851.000000
Reporting PPM error measurement every 10 seconds...
Press ^C after a few minutes.
real sample rate: 157153750 current PPM: 69 cumulative PPM: 69
real sample rate: 157153688 current PPM: 69 cumulative PPM: 69
real sample rate: 157153733 current PPM: 69 cumulative PPM: 69
real sample rate: 157151996 current PPM: 58 cumulative PPM: 66
^CSignal caught, exiting!
User cancel, exiting...
^CSignal caught, exiting!
</code></pre> OsmoMGW - Bug #4153 (New): 3G voice broken with ALu 9361 femtohttps://osmocom.org/issues/41532019-08-15T15:04:11Zdev_zzo
<p>Hello,</p>
<p>I am trying to create a setup with various Osmocom components to get the Alcatel-Lucent 9361 femtocells I have to function as a small 3G network. Currently, I am experiencing issues with 3G voice calls, quite similar to the ones described in <a class="issue tracker-1 status-3 priority-2 priority-default closed" title="Bug: 3G voice broken, CS RAB Assignment is not working (Resolved)" href="https://osmocom.org/issues/3411">#3411</a> / <a class="issue tracker-2 status-3 priority-2 priority-default closed behind-schedule" title="Feature: remove nano3G IuUP "Initialization ACK" hack when IuUP proxy is in place (Resolved)" href="https://osmocom.org/issues/2459">#2459</a> / <a class="issue tracker-2 status-3 priority-2 priority-default closed behind-schedule" title="Feature: Implement way how to handle IuUP on RTP endpoints (Resolved)" href="https://osmocom.org/issues/1937">#1937</a>: the voice call is dropped.</p>
<p>I have traced the issue to the following code: <a class="external" href="https://github.com/osmocom/osmo-mgw/blob/9aaaab6b3b5a541a6c17077f5f1f8bc00ba77152/src/libosmo-mgcp/mgcp_network.c#L873">https://github.com/osmocom/osmo-mgw/blob/9aaaab6b3b5a541a6c17077f5f1f8bc00ba77152/src/libosmo-mgcp/mgcp_network.c#L873</a></p>
<p>The femtocell rejects the IuUP message due to a CRC mismatch and indeed, when the bytes are patched, the header CRC is not updated and therefore cannot match.</p> OsmoBSC - Bug #3737 (New): abort because unused lchan has non-null conn pointer, after AMR config...https://osmocom.org/issues/37372018-12-18T02:23:42Zneelsnhofmeyr@sysmocom.de
<p>I was just establishing a call and osmo-bsc crashes on me. Log follows.</p> OsmocomBB SDR PHY - Bug #3459 (Stalled): apps/grgsm_trx: AssertionError: packe t_info.packet_coun...https://osmocom.org/issues/34592018-08-09T19:10:03Zfixeria
<p>Despite actual burst transmission works, I see the following messages repeated multiple times:</p>
<pre>
[i] Recv POWEROFF cmd
[i] Stopping transceiver...
[i] Setting TA value 0
[i] Recv ECHO cmd
[i] Recv SETSLOT cmd
[i] Configure timeslot filter to: drop all
[i] Recv MEASURE cmd
[i] Recv POWEROFF cmd
[i] Recv ECHO cmd
[i] Recv SETSLOT cmd
[i] Configure timeslot filter to: TS 0
[i] Recv POWERON CMD
[i] Starting transceiver...
thread[thread-per-block[15]: <block gr uhd usrp sink (8)>]: EnvironmentError: IOError: Radio ctrl (0) packet parse error - AssertionError: packe
t_info.packet_count == (seq_to_ack & 0xfff)
in uint64_t radio_ctrl_core_3000_impl::wait_for_ack(bool)
at /build/libuhd/src/uhd-3.11.1.0/host/lib/usrp/cores/radio_ctrl_core_3000.cpp:254
</pre>
<p>Observed within a Docker image wit the recent software:</p>
<ul>
<li>UHD_3.11.1.0-0-unknown</li>
<li>GNU Radio 3.7.11-6</li>
<li>GR-GSM TRX from fixeria/trx</li>
</ul>
<p>Could you please have a look?<br />Do you see this too?</p> OsmocomBB SDR PHY - Bug #3458 (Stalled): apps/grgsm_trx: [ERROR] [STREAMER] recv packet demuxer u...https://osmocom.org/issues/34582018-08-09T18:29:31Zfixeria
<p>Sometimes, while running the following output appears:</p>
<pre>
[i] Recv ECHO cmd
[i] Recv POWEROFF cmd
[i] Recv ECHO cmd
[i] Recv SETSLOT cmd
[i] Configure timeslot filter to: TS 0
[i] Recv RXTUNE cmd
[i] Recv TXTUNE cmd
[i] Recv POWERON CMD
[i] Starting transceiver...
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x0
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x0
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x0
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x0
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x0
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x0
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x0
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x0
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x0
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x0
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x0
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x4a000f
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xe0024
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x37ffe7
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x1b0005
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xff530020
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xcff6d
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x7ffc8
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xffbeff95
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x65000f
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xffb20072
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x16ffc9
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xfff5fff1
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xffc400bb
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xcffdd
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xffdcffcb
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xffb2fff5
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xffd5ffc4
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x38fff2
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xffcf0000
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xbb0069
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x12ffcc
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xffb6001f
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xffd7001e
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x14004c
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xffa6ffe8
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xa002a
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xff76003f
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xff96ffd3
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x130013
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xffd5ffe3
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x4001e
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xff8c0075
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xfff0000f
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xdffee
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xfff40011
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x1afff9
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xff9aff5d
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xff9afffa
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x7ffce
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xffcb0008
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xfff7ffdd
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x5a005e
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x38ffca
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x6ffa2
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x4ffcc
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xffba00ab
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xff420029
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x1effe2
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x70067
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x1a001e
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x1a0016
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xb00a5
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xffbe0008
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xffe6001a
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xffcfffc3
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0x130003
[ERROR] [STREAMER] recv packet demuxer unexpected sid 0xffceff44
</pre> OsmoMSC - Bug #2916 (New): asan failure on debian unstable in msc_vlr_test_gsm_ciphhttps://osmocom.org/issues/29162018-02-09T16:20:01Zlaforge
<p>The <code>./msc_vlr_test_gsm_ciph</code> unit test fails on debian unstable when compiled using asan:</p>
</pre><br />DRLL Dispatching 04.08 message GSM48_MT_CC_SETUP (0x3:0x5)<br />DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: GSM48_MT_CC_SETUP<br />DRLL Dispatching 04.08 message unknown 0x33 (0x5:0x33)<br />DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: unknown 0x33<br />DRLL Dispatching 04.08 message GSM48_MT_RR_SYSINFO_1 (0x6:0x19)<br />DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: GSM48_MT_RR_SYSINFO_1<br />DRLL Dispatching 04.08 message SMS:0x01 (0x9:0x1)<br />DRLL subscr IMSI:901700000004620: Message not permitted for initial conn: SMS:0x01<br /> lu_result_sent 0<br />DREF VLR subscr IMSI:901700000004620 usage increases to: 2<br /> vsub->imeisv[0] 0<br />DREF VLR subscr IMSI:901700000004620 usage decreases to: 1<br />- MS sends Ciphering Mode Complete with IMEISV, VLR accepts and sends GSUP LU Req to HLR<br /> MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_CIPH_M_COMPL<br />DRR IMSI:901700000004620: CIPHERING MODE COMPLETE<br />DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_CIPH}: Received Event VLR_ULA_E_CIPH_RES
=================================================================<br />28515ERROR: AddressSanitizer: stack-use-after-scope on address 0x7ffe6af2f8e0 at pc 0x7f1d52773203 bp 0x7ffe6af2dc70 sp 0x7ffe6af2d420<br />READ of size 18 at 0x7ffe6af2f8e0 thread T0<br /> #0 0x7f1d52773202 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x71202)<br /> <a class="issue tracker-2 status-5 priority-5 priority-highest closed" title="Feature: port Dieter's windows code to mISDN (Closed)" href="https://osmocom.org/issues/1">#1</a> 0x7f1d527e5d07 (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xe3d07)<br /> <a class="issue tracker-1 status-5 priority-3 priority-high3 closed" title="Bug: Fix / finish the paging code (Closed)" href="https://osmocom.org/issues/2">#2</a> 0x7f1d5277338b (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x7138b)<br /> <a class="issue tracker-1 status-5 priority-3 priority-high3 closed" title="Bug: Finish TRAU frame demultiplex/remultiplex (Closed)" href="https://osmocom.org/issues/3">#3</a> 0x7f1d5279f015 in vsnprintf (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x9d015)<br /> <a class="issue tracker-1 status-5 priority-2 priority-default closed" title="Bug: multiple TRX support (Closed)" href="https://osmocom.org/issues/4">#4</a> 0x7f1d51c22cff in _output /home/laforge/projects/git/libosmocore/src/logging.c:419<br /> <a class="issue tracker-2 status-5 priority-2 priority-default closed" title="Feature: multiple BTS support (Closed)" href="https://osmocom.org/issues/5">#5</a> 0x7f1d51c23172 in osmo_vlogp /home/laforge/projects/git/libosmocore/src/logging.c:520<br /> <a class="issue tracker-2 status-5 priority-2 priority-default closed" title="Feature: cell broadcast support (Closed)" href="https://osmocom.org/issues/6">#6</a> 0x7f1d51c23297 in logp2 /home/laforge/projects/git/libosmocore/src/logging.c:553<br /> <a class="issue tracker-1 status-5 priority-3 priority-high3 closed" title="Bug: SMS switching (Closed)" href="https://osmocom.org/issues/7">#7</a> 0x563682cb0c73 in lu_fsm_wait_ciph /home/laforge/projects/git/osmo-msc/src/libvlr/vlr_lu_fsm.c:1135<br /> <a class="issue tracker-2 status-5 priority-3 priority-high3 closed" title="Feature: core SMS receive and transmit support (Closed)" href="https://osmocom.org/issues/8">#8</a> 0x7f1d51c1fe7e in _osmo_fsm_inst_dispatch /home/laforge/projects/git/libosmocore/src/fsm.c:481<br /> <a class="issue tracker-2 status-5 priority-3 priority-high3 closed" title="Feature: HowTo for step-by-step setup of BS-11 and OpenBSC (Closed)" href="https://osmocom.org/issues/9">#9</a> 0x563682c9d196 in vlr_subscr_rx_ciph_res /home/laforge/projects/git/osmo-msc/src/libvlr/vlr.c:1097<br /> <a class="issue tracker-2 status-5 priority-3 priority-high3 closed" title="Feature: implement lht (local hacker terminal) as open source version for minimal LMT subset (Closed)" href="https://osmocom.org/issues/10">#10</a> 0x563682c65ff9 in msc_cipher_mode_compl /home/laforge/projects/git/osmo-msc/src/libmsc/osmo_msc.c:200<br /> <a class="issue tracker-2 status-5 priority-2 priority-default closed" title="Feature: Abis software download support (Closed)" href="https://osmocom.org/issues/11">#11</a> 0x563682c1fea5 in rx_from_ms /home/laforge/projects/git/osmo-msc/tests/msc_vlr/msc_vlr_tests.c:230<br /> <a class="issue tracker-2 status-5 priority-2 priority-default closed" title="Feature: use talloc memory allocator (Closed)" href="https://osmocom.org/issues/12">#12</a> 0x563682c20141 in ms_sends_msg /home/laforge/projects/git/osmo-msc/tests/msc_vlr/msc_vlr_tests.c:245<br /> <a class="issue tracker-2 status-5 priority-3 priority-high3 closed" title="Feature: location updating support (Closed)" href="https://osmocom.org/issues/13">#13</a> 0x563682c02fc2 in test_ciph_imeisv /home/laforge/projects/git/osmo-msc/tests/msc_vlr/msc_vlr_test_gsm_ciph.c:637<br /> <a class="issue tracker-1 status-6 priority-2 priority-default closed" title="Bug: when we release the channel after a PAGING RESPONSE, mobile continues to Tx (Rejected)" href="https://osmocom.org/issues/14">#14</a> 0x563682c1dd6c in run_tests /home/laforge/projects/git/osmo-msc/tests/msc_vlr/msc_vlr_tests.c:841<br /> <a class="issue tracker-2 status-5 priority-3 priority-high3 closed" title="Feature: import telnet interface from quagga (with contex-specific commands, tab-completion, history, ... (Closed)" href="https://osmocom.org/issues/15">#15</a> 0x563682bf2070 in main /home/laforge/projects/git/osmo-msc/tests/msc_vlr/msc_vlr_tests.c:898<br /> <a class="issue tracker-2 status-5 priority-2 priority-default closed" title="Feature: telnet commands to interactively explore data structures (Closed)" href="https://osmocom.org/issues/16">#16</a> 0x7f1d4fd79f29 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x20f29)<br /> <a class="issue tracker-2 status-5 priority-2 priority-default closed" title="Feature: store IMEI in addition to IMEISV (Closed)" href="https://osmocom.org/issues/17">#17</a> 0x563682bf2979 in _start (/space/home/laforge/projects/git/osmo-msc/tests/msc_vlr/msc_vlr_test_gsm_ciph+0x10b979)
<p>Address 0x7ffe6af2f8e0 is located in stack of thread T0 at offset 96 in frame<br /> #0 0x563682c65ccf in msc_cipher_mode_compl /home/laforge/projects/git/osmo-msc/src/libmsc/osmo_msc.c:158</p>
<pre><code>This frame has 3 object(s):<br /> [32, 48) 'ciph_res'<br /> [96, 128) 'imeisv' <== Memory access at offset 96 is inside this variable<br /> [160, 4256) 'tp'<br />HINT: this may be a false positive if your program uses some custom stack unwind mechanism or swapcontext<br /> (longjmp and C++ exceptions <strong>are</strong> supported)<br />SUMMARY: AddressSanitizer: stack-use-after-scope (/usr/lib/x86_64-linux-gnu/libasan.so.4+0x71202) <br />Shadow bytes around the buggy address:<br /> 0x10004d5ddec0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br /> 0x10004d5dded0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br /> 0x10004d5ddee0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br /> 0x10004d5ddef0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br /> 0x10004d5ddf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br />=>0x10004d5ddf10: f1 f1 f1 f1 00 00 f2 f2 f2 f2 f2 f2[f8]f8 f8 f8<br /> 0x10004d5ddf20: f2 f2 f2 f2 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8<br /> 0x10004d5ddf30: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8<br /> 0x10004d5ddf40: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8<br /> 0x10004d5ddf50: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8<br /> 0x10004d5ddf60: f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8 f8<br />Shadow byte legend (one shadow byte represents 8 application bytes):<br /> Addressable: 00<br /> Partially addressable: 01 02 03 04 05 06 07 <br /> Heap left redzone: fa<br /> Freed heap region: fd<br /> Stack left redzone: f1<br /> Stack mid redzone: f2<br /> Stack right redzone: f3<br /> Stack after return: f5<br /> Stack use after scope: f8<br /> Global redzone: f9<br /> Global init order: f6<br /> Poisoned by user: f7<br /> Container overflow: fc<br /> Array cookie: ac<br /> Intra object redzone: bb<br /> ASan internal: fe<br /> Left alloca redzone: ca<br /> Right alloca redzone: cb<br />28515ABORTING<br /></pre></code></pre>
<p>I did some initial investigation and didn't really seme to be able to find out why the imeisv would be used after the scope has been left. Maybe a false positive? Or I'm too stupid?</p> OsmoMSC - Bug #2851 (Stalled): a_iface.c:534 Unhandled SIGTRAN primitive: 3:2https://osmocom.org/issues/28512018-01-21T19:52:32Zlaforge
<p>Every so often I'm seeing the following error message:<br /><pre>
<000a> a_iface.c:534 Unhandled SIGTRAN primitive: 3:2
</pre></p>
We should
<ul>
<li>investigate and resolve this</li>
<li>make sure we print string values rather than numeric ones.</li>
</ul> OsmoMSC - Bug #2698 (New): Add more tests to jenkins job testing osmo-msc against NG40testerhttps://osmocom.org/issues/26982017-12-01T12:36:00Zpespin
<p>So far, in sysmocom's jenkins instance job (ng40-test-core-network), we only run 1 test which checks that LU works for 300 MS connecting to osmo-msc.</p>
<p>We need to find a list of screnarios we want to test and implement them using NG40.</p> OsmocomBB - Bug #2690 (New): ASAN issue on shutdown/no shutdown SYSINFO accesshttps://osmocom.org/issues/26902017-11-29T09:33:16Zzecke
<p>Hard to reproduce (only happens once). Using a script to issue "shutdown/no shutdown" with a timer...</p>
<pre>
<0002> gsm322.c:5123 exit PLMN process
<0003> gsm322.c:5124 exit Cell Selection process
<0003> gsm322.c:834 new state 'C3 camped normally' -> 'C0 null'
<0003> gsm322.c:5138 free sysinfo ARFCN=514(DCS)
<0003> gsm322.c:5169 Write stored BA list (mcc=000 mnc=000 Marshall Islands, 000)
<0005> gsm48_mm.c:1342 exit Mobility Management process
<0005> gsm48_mm.c:487 stopping pending (periodic loc. upd. delay) timer T3212
<0001> gsm48_rr.c:5515 exit Radio Ressource process
<0001> gsm48_rr.c:822 stopping pending timer T_meas
<0006> gsm48_cc.c:74 exit Call Control processes for 1
<0007> gsm480_ss.c:240 exit SS processes for 1
<001a> gsm411_sms.c:73 exit SMS processes for 1
<000f> sim.c:1243 exit SIM client
<0013> @foo.lua:37 MS shutdown 0 -> 2
<0011> app_mobile.c:179 Power off! (MS 1)
<0013> @foo.lua:95 END 0
<0013> @foo.lua:98 After timeout2!!!
<0013> @foo.lua:99 000000000000000
<0012> primitives.c:90 Creating timer with reference: 18446744072442999032
=================================================================
==26249==ERROR: AddressSanitizer: heap-use-after-free on address 0xb2807f2d at pc 0xb7ab6429 bp 0xbfffe9a8 sp 0xbfffe580
READ of size 23 at 0xb2807f2d thread T0
#0 0xb7ab6428 in __interceptor_memcmp (/usr/lib/i386-linux-gnu/libasan.so.3+0x8f428)
#1 0x8006ea61 in gsm48_rr_rx_sysinfo4 /media/sf_source/gsm/osmocom-bb/src/host/layer23/src/mobile/gsm48_rr.c:1931
#2 0x8006ed2b in gsm48_rr_rx_bcch /media/sf_source/gsm/osmocom-bb/src/host/layer23/src/mobile/gsm48_rr.c:4707
#3 0x80085f79 in gsm48_rr_unit_data_ind /media/sf_source/gsm/osmocom-bb/src/host/layer23/src/mobile/gsm48_rr.c:4841
#4 0x80068c76 in gsm48_rcv_rll /media/sf_source/gsm/osmocom-bb/src/host/layer23/src/mobile/gsm48_rr.c:5319
#5 0x800862df in gsm48_rcv_rsl /media/sf_source/gsm/osmocom-bb/src/host/layer23/src/mobile/gsm48_rr.c:5376
#6 0x80086363 in gsm48_rsl_dequeue /media/sf_source/gsm/osmocom-bb/src/host/layer23/src/mobile/gsm48_rr.c:563
#7 0x80023def in mobile_work /media/sf_source/gsm/osmocom-bb/src/host/layer23/src/mobile/app_mobile.c:68
#8 0x80024136 in l23_app_work /media/sf_source/gsm/osmocom-bb/src/host/layer23/src/mobile/app_mobile.c:389
#9 0x80023c1e in main /media/sf_source/gsm/osmocom-bb/src/host/layer23/src/mobile/main.c:283
#10 0xb777b275 in __libc_start_main (/lib/i386-linux-gnu/libc.so.6+0x18275)
#11 0x80023130 (/media/sf_source/gsm/osmocom-bb/src/host/layer23/src/mobile/mobile+0x23130)
0xb2807f2d is located 173 bytes inside of 1500-byte region [0xb2807e80,0xb280845c)
freed by thread T0 here:
#0 0xb7ae4e5c in free (/usr/lib/i386-linux-gnu/libasan.so.3+0xbde5c)
#1 0xb7a15e72 in _talloc_free (/usr/lib/i386-linux-gnu/libtalloc.so.2+0x3e72)
previously allocated by thread T0 here:
#0 0xb7ae5194 in malloc (/usr/lib/i386-linux-gnu/libasan.so.3+0xbe194)
#1 0xb7a18276 in _talloc_zero (/usr/lib/i386-linux-gnu/libtalloc.so.2+0x6276)
SUMMARY: AddressSanitizer: heap-use-after-free (/usr/lib/i386-linux-gnu/libasan.so.3+0x8f428) in __interceptor_memcmp
Shadow bytes around the buggy address:
0x36500f90: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x36500fa0: fd fd fd fd fd fd fd fd fd fd fd fd fa fa fa fa
0x36500fb0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x36500fc0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x36500fd0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
=>0x36500fe0: fd fd fd fd fd[fd]fd fd fd fd fd fd fd fd fd fd
0x36500ff0: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x36501000: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x36501010: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x36501020: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x36501030: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user: f7
Container overflow: fc
Array cookie: ac
Intra object redzone: bb
ASan internal: fe
Left alloca redzone: ca
Right alloca redzone: cb
==26249==ABORTING
</pre> OsmoGSMTester - Bug #2615 (New): Add API to check GPS lock in BTShttps://osmocom.org/issues/26152017-11-03T17:00:23Zpespin
<p>We should make sure that all BTS are always correctly calibrated.</p>
<p>For sysmocell5000, ssh+ccli can be used:</p>
<p>Ensure GPS_AUTO_SET_DATE_TIME_ENABLE is enabled<br /><pre>
> mib.get GPS_AUTO_SET_DATE_TIME_ENABLE
OK
GPS_AUTO_SET_DATE_TIME_ENABLE 1 (0x1
</pre></p>
<p>Other interesting commands to check for fix:<br /><pre>
> gps.get-location
OK
lat=0, long=0, alt=0m, age=4294967295s
> gps.get-time
OK
time=023016.33, date=1970-01-11, unixtime=873016, age=4294967295s
</pre></p>
<p>For OCTPHY it's even part of the DSP API.</p>
<p>For b-200, there no way to check afaik.</p>
<p>For sysmobts: gps related:"gpsmon", "gpsdate", "gpsctl", "cgps /dev/ttyS2" <br />To calibrate use sysmobts-calib -m calibrate with any available source (gps or other networks).</p> OsmoBTS - Bug #1744 (New): 1-way voice between sysmobts and nanobts if DTX is enabledhttps://osmocom.org/issues/17442016-06-03T16:23:39Zmsuraev
<p>Not sure if it's osmobts or openbsc to blame but in following setup there's 1-way audio:</p>
<p>ms1 <-> sysmobts <-> openbsc <-> nanobts <-> ms2</p>
<p>The audio ms2 -> ms1 can be heard (if -P option is used for openbsc than some stattering in voice is audible, not sure if it's a separate issue) but the audio ms1 -> ms2 is nonexistent. In some test 1-2 words could be heard before audio is gone. Switching phones change nothing.</p>
<p>OpenBSC is configured for full-rate channels with AMR codec in the attached .pcap although the same effect could be observed with other codecs too.</p> OsmoPCU - Bug #1624 (New): add CRBB support to write_packet_ack_nack_desc_egprshttps://osmocom.org/issues/16242016-02-25T17:23:58Zmsuraev
<p>According to TS 44.060 §12.3.1 EGPRS Ack/Nack Description can use compressed block bitmaps.<br />At the moment there is todo code plug which forces use of URBB makes coverity unhappy (CID 1351734).<br />Note: this would require extending osmo_t4_encode() into proper encoder with backtracking instead of current "best guess" approach.</p> Mobile (in)Security - Bug #1480 (New): A5/3 is not deployed in GSM networkshttps://osmocom.org/issues/14802016-02-19T22:51:58Zlaforge
<p>The 3GPP has specified the Kasumi-derived A5/3 cipher for use in GSM networks. This would significantly increase the confidentiality and security of the GSM network, since it avoids the known-weak and known-broken A5/1 cipher. The passive A5/1 key-cracking attacks would no longer work.</p>
<p>In order to use A5/3, both the MS and the BTS will have to implement the A5/3 cipher, and the BSC will have to configure the BTSs to actually use it.</p>
<p>Many modern phones (whether 3G or not) support A5/3 operation on GSM and indicate this capability in their CLASSMARK.</p>
<p>However, none of the networks we have seen are using A5/3 on GSM.</p>
<p>Thus, the operators and/or equipment manufacturers are actively preventing a higher level of security and confidentiality.</p> OsmocomBB - Bug #1462 (New): ../../src/utils.c:182:7: error: only weak aliases are supported in t...https://osmocom.org/issues/14622016-02-19T22:48:42Z
<p>Build fails on OSX Lion</p>
<p>bash-3.2# make<br />mkdir shared/libosmocore/build-target<br />cd shared/libosmocore/build-target && ../configure \<br /> --host=arm-elf --enable-embedded --disable-shared \<br /> --disable-tests ac_cv_header_sys_select_h=no \<br /> --disable-tests ac_cv_header_sys_socket_h=no \<br /> CFLAGS="-Os <del>ffunction-sections -I/Users/blombo/osmocom-bb/src/target/firmware/include -nostartfiles -nodefaultlibs" <br />configure: WARNING: if you wanted to set the --build type, don't use --host.<br /> If a cross compiler is detected then cross compile mode will be used<br />checking for a BSD-compatible install... /usr/bin/install -c<br />checking whether build environment is sane... yes<br />checking for arm-elf-strip... arm-elf-strip<br />checking for a thread-safe mkdir -p... ../install-sh -c -d<br />checking for gawk... no<br />checking for mawk... no<br />checking for nawk... no<br />checking for awk... awk<br />checking whether make sets $(MAKE)... yes<br />checking whether make sets $(MAKE)... (cached) yes<br />checking for arm-elf-gcc... arm-elf-gcc<br />checking whether the C compiler works... yes<br />checking for C compiler default output file name... a.out<br />checking for suffix of executables... <br />checking whether we are cross compiling... yes<br />checking for suffix of object files... o<br />checking whether we are using the GNU C compiler... yes<br />checking whether arm-elf-gcc accepts -g... yes<br />checking for arm-elf-gcc option to accept ISO C89... none needed<br />checking for style of include used by make... GNU<br />checking dependency style of arm-elf-gcc... gcc3<br />checking build system type... x86_64-apple-darwin11.2.0<br />checking host system type... arm-unknown-elf<br />checking how to print strings... printf<br />checking for a sed that does not truncate output... /usr/bin/sed<br />checking for grep that handles long lines and -e... /usr/bin/grep<br />checking for egrep... /usr/bin/grep -E<br />checking for fgrep... /usr/bin/grep -F<br />checking for ld used by arm-elf-gcc... /Volumes/Speicher/opt/local/arm-elf/bin/ld<br />checking if the linker (/Volumes/Speicher/opt/local/arm-elf/bin/ld) is GNU ld... yes<br />checking for BSD</del> or MS-compatible name lister (nm)... /opt/local/bin//arm-elf-nm <del>B<br />checking the name lister (/opt/local/bin//arm-elf-nm -B) interface... BSD nm<br />checking whether ln -s works... yes<br />checking the maximum length of command line arguments... 196608<br />checking whether the shell understands some XSI constructs... yes<br />checking whether the shell understands "+="... yes<br />checking how to convert x86_64-apple-darwin11.2.0 file names to arm-unknown-elf format... func_convert_file_noop<br />checking how to convert x86_64-apple-darwin11.2.0 file names to toolchain format... func_convert_file_noop<br />checking for /Volumes/Speicher/opt/local/arm-elf/bin/ld option to reload object files... -r<br />checking for arm-elf-objdump... arm-elf-objdump<br />checking how to recognize dependent libraries... unknown<br />checking for arm-elf-dlltool... no<br />checking for dlltool... no<br />checking how to associate runtime and link libraries... printf <span>s\n<br />checking for arm-elf-ar... arm-elf-ar<br />checking for archiver <code>FILE support... </code><br />checking for arm-elf-strip... (cached) arm-elf-strip<br />checking for arm-elf-ranlib... arm-elf-ranlib<br />checking command to parse /opt/local/bin//arm-elf-nm -B output from arm-elf-gcc object... ok<br />checking for sysroot... no<br />checking for arm-elf-mt... no<br />checking for mt... no<br />checking if : is a manifest tool... no<br />checking how to run the C preprocessor... arm-elf-gcc -E<br />checking for ANSI C header files... yes<br />checking for sys/types.h... yes<br />checking for sys/stat.h... yes<br />checking for stdlib.h... yes<br />checking for string.h... yes<br />checking for memory.h... yes<br />checking for strings.h... yes<br />checking for inttypes.h... yes<br />checking for stdint.h... yes<br />checking for unistd.h... yes<br />checking for dlfcn.h... no<br />checking for objdir... .libs<br />checking if arm-elf-gcc supports -fno-rtti -fno-exceptions... no<br />checking for arm-elf-gcc option to produce PIC... -fPIC -DPIC<br />checking if arm-elf-gcc PIC flag -fPIC -DPIC works... yes<br />checking if arm-elf-gcc static flag -static works... yes<br />checking if arm-elf-gcc supports -c -o file.o... yes<br />checking if arm-elf-gcc supports -c -o file.o... (cached) yes<br />checking whether the arm-elf-gcc linker (/Volumes/Speicher/opt/local/arm-elf/bin/ld) supports shared libraries... yes<br />checking dynamic linker characteristics... no<br />checking how to hardcode library paths into programs... immediate<br />checking whether stripping libraries is possible... yes<br />checking if libtool supports shared libraries... no<br />checking whether to build shared libraries... no<br />checking whether to build static libraries... yes<br />checking for ANSI C header files... (cached) yes<br />checking execinfo.h usability... no<br />checking execinfo.h presence... no<br />checking for execinfo.h... no<br />checking for sys/select.h... (cached) no<br />checking for sys/socket.h... (cached) no<br />checking syslog.h usability... no<br />checking syslog.h presence... no<br />checking for syslog.h... no<br />checking ctype.h usability... yes<br />checking ctype.h presence... yes<br />checking for ctype.h... yes<br />checking for size_t... yes<br />checking for working alloca.h... yes<br />checking for alloca... yes<br />checking for library containing dlopen... no<br />checking for doxygen... false<br />checking if arm-elf-gcc supports -fvisibility=hidden... yes<br />configure: creating ./config.status<br />config.status: creating libosmocore.pc<br />config.status: creating libosmocodec.pc<br />config.status: creating libosmovty.pc<br />config.status: creating libosmogsm.pc<br />config.status: creating include/osmocom/Makefile<br />config.status: creating include/osmocom/vty/Makefile<br />config.status: creating include/osmocom/codec/Makefile<br />config.status: creating include/osmocom/crypt/Makefile<br />config.status: creating include/osmocom/gsm/Makefile<br />config.status: creating include/osmocom/gsm/protocol/Makefile<br />config.status: creating include/osmocom/core/Makefile<br />config.status: creating include/Makefile<br />config.status: creating src/Makefile<br />config.status: creating src/vty/Makefile<br />config.status: creating src/codec/Makefile<br />config.status: creating src/gsm/Makefile<br />config.status: creating tests/Makefile<br />config.status: creating tests/timer/Makefile<br />config.status: creating tests/sms/Makefile<br />config.status: creating tests/msgfile/Makefile<br />config.status: creating tests/ussd/Makefile<br />config.status: creating tests/smscb/Makefile<br />config.status: creating tests/bits/Makefile<br />config.status: creating utils/Makefile<br />config.status: creating Doxyfile.core<br />config.status: creating Doxyfile.gsm<br />config.status: creating Doxyfile.vty<br />config.status: creating Doxyfile.codec<br />config.status: creating Makefile<br />config.status: creating config.h<br />config.status: executing depfiles commands<br />config.status: executing libtool commands<br />cd shared/libosmocore/build-target &x%x</span> make<br />make all-recursive<br />Making all in include<br />Making all in osmocom<br />Making all in codec<br />maker5: Nothing to be done for @all'.<br />Making all in crypt<br />maker5: Nothing to be done for @all'.<br />Making all in gsm<br />Making all in protocol<br />maker6: Nothing to be done for @all'.<br />maker6: Nothing to be done for @all-am'.<br />Making all in core<br /> SED ../../../../include/osmocom/core/crcXXgen.h.tpl -> crc8gen.h<br /> SED ../../../../include/osmocom/core/crcXXgen.h.tpl -> crc16gen.h<br /> SED ../../../../include/osmocom/core/crcXXgen.h.tpl -> crc32gen.h<br /> SED ../../../../include/osmocom/core/crcXXgen.h.tpl -> crc64gen.h<br />maker5: Nothing to be done for @all-am'.<br />maker4: Nothing to be done for @all-am'.<br />Making all in src<br />Making all in .<br /> CC timer.lo<br /> CC select.lo<br /> CC signal.lo<br /> CC msgb.lo<br /> CC bits.lo<br /> CC bitvec.lo<br /> CC statistics.lo<br />../../src/statistics.c: In function 'osmo_counter_get_by_name':<br />../../src/statistics.c:72:3: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]<br /> CC write_queue.lo<br /> CC utils.lo<br />../../src/utils.c: In function 'get_value_string':<br />../../src/utils.c:33:2: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'uint32_t' [-Wformat]<br />../../src/utils.c: In function 'get_string_value':<br />../../src/utils.c:49:3: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration]<br /> CC socket.lo<br /> CC logging.lo<br />../../src/logging.c: In function 'log_parse_category_mask':<br />../../src/logging.c:168:2: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration]<br />../../src/logging.c:168:15: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default]<br />../../src/logging.c:175:2: warning: implicit declaration of function 'strtok' [-Wimplicit-function-declaration]<br />../../src/logging.c:175:17: warning: assignment makes pointer from integer without a cast [enabled by default]<br />../../src/logging.c:178:4: warning: implicit declaration of function 'strstr' [-Wimplicit-function-declaration]<br />../../src/logging.c:178:18: warning: incompatible implicit declaration of built-in function 'strstr' [enabled by default]<br />../../src/logging.c:203:27: warning: assignment makes pointer from integer without a cast [enabled by default]<br />../../src/logging.c: In function '_file_output':<br />../../src/logging.c:433:2: warning: implicit declaration of function 'fprintf' [-Wimplicit-function-declaration]<br />../../src/logging.c:433:2: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]<br />../../src/logging.c:434:2: warning: implicit declaration of function 'fflush' [-Wimplicit-function-declaration]<br />../../src/logging.c: In function 'log_target_create_file':<br />../../src/logging.c:506:2: warning: implicit declaration of function 'fopen' [-Wimplicit-function-declaration]<br />../../src/logging.c:506:23: warning: assignment makes pointer from integer without a cast [enabled by default]<br />../../src/logging.c: In function 'log_target_find':<br />../../src/logging.c:530:4: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]<br />../../src/logging.c: In function 'log_target_destroy':<br />../../src/logging.c:552:4: warning: implicit declaration of function 'fclose' [-Wimplicit-function-declaration]<br />../../src/logging.c: In function 'log_target_file_reopen':<br />../../src/logging.c:565:23: warning: assignment makes pointer from integer without a cast [enabled by default]<br /> CC logging_syslog.lo<br /> CC rate_ctr.lo<br />../../src/rate_ctr.c: In function 'rate_ctr_get_group_by_name_idx':<br />../../src/rate_ctr.c:153:3: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]<br /> CC gsmtap_util.lo<br /> CC crc16.lo<br /> CC panic.lo<br /> CC backtrace.lo<br /> CC conv.lo<br /> CC application.lo<br /> CC rbtree.lo<br /> SED ../../src/crcXXgen.c.tpl -> crc8gen.c<br /> CC crc8gen.lo<br /> SED ../../src/crcXXgen.c.tpl -> crc16gen.c<br /> CC crc16gen.lo<br /> SED ../../src/crcXXgen.c.tpl -> crc32gen.c<br /> CC crc32gen.lo<br /> SED ../../src/crcXXgen.c.tpl -> crc64gen.c<br /> CC crc64gen.lo<br /> CCLD libosmocore.la<br />Making all in vty<br />maker4: Nothing to be done for @all'.<br />Making all in codec<br /> CC gsm610.lo<br /> CC gsm620.lo<br /> CC gsm660.lo<br /> CC gsm690.lo<br /> CCLD libosmocodec.la<br />Making all in gsm<br /> CC a5.lo<br /> CC rxlev_stat.lo<br /> CC tlv_parser.lo<br /> CC comp128.lo<br /> CC gsm_utils.lo<br />../../../src/gsm/gsm_utils.c: In function 'gsm_7bit_encode':<br />../../../src/gsm/gsm_utils.c:253:13: warning: variable 'z' set but not used [-Wunused-but-set-variable]<br /> CC rsl.lo<br /> CC gsm48.lo<br />../../../src/gsm/gsm48.c: In function 'gsm48_mi_to_string':<br />../../../src/gsm/gsm48.c:348:4: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'uint32_t' [-Wformat]<br /> CC gsm48_ie.lo<br /> CC gsm0808.lo<br /> CC sysinfo.lo<br /> CC gprs_cipher_core.lo<br /> CC gsm0480.lo<br />../../../src/gsm/gsm0480.c: In function 'parse_process_uss_req':<br />../../../src/gsm/gsm0480.c:405:7: warning: pointer targets in passing argument 1 of 'gsm_7bit_decode' differ in signedness [-Wpointer-sign]<br />../../../include/osmocom/gsm/gsm_utils.h:59:5: note: expected 'char <strong>' but argument is of type 'uint8_t *'<br /> CC abis_nm.lo<br /> CC gsm0502.lo<br /> CC gsm0411_utils.lo<br /> CC gsm0411_smc.lo<br /> CC gsm0411_smr.lo<br /> CC lapd_core.lo<br />../../../src/gsm/lapd_core.c: In function 'lapd_acknowledge':<br />../../../src/gsm/lapd_core.c:710:38: warning: variable 't200_start' set but not used [-Wunused-but-set-variable]<br />../../../src/gsm/lapd_core.c: In function 'lapd_rx_u':<br />../../../src/gsm/lapd_core.c:835:5: warning: implicit declaration of function 'memcmp' [-Wimplicit-function-declaration]<br /> CC lapdm.lo<br /> CCLD libosmogsm.la<br />Making all in tests<br />maker4: Nothing to be done for @all-am'.<br />Making all in utils<br />maker3: Nothing to be done for @all'.<br />maker3: Nothing to be done for @all-am'.<br />mkdir shared/libosmocore/build-host<br />cd shared/libosmocore/build-host && ../configure <br />checking for a BSD-compatible install... /usr/bin/install -c<br />checking whether build environment is sane... yes<br />checking for a thread-safe mkdir -p... ../install-sh -c -d<br />checking for gawk... no<br />checking for mawk... no<br />checking for nawk... no<br />checking for awk... awk<br />checking whether make sets $(MAKE)... yes<br />checking whether make sets $(MAKE)... (cached) yes<br />checking for gcc... gcc<br />checking whether the C compiler works... yes<br />checking for C compiler default output file name... a.out<br />checking for suffix of executables... <br />checking whether we are cross compiling... no<br />checking for suffix of object files... o<br />checking whether we are using the GNU C compiler... yes<br />checking whether gcc accepts -g... yes<br />checking for gcc option to accept ISO C89... none needed<br />checking for style of include used by make... GNU<br />checking dependency style of gcc... gcc3<br />checking build system type... x86_64-apple-darwin11.2.0<br />checking host system type... x86_64-apple-darwin11.2.0<br />checking how to print strings... printf<br />checking for a sed that does not truncate output... /usr/bin/sed<br />checking for grep that handles long lines and -e... /usr/bin/grep<br />checking for egrep... /usr/bin/grep -E<br />checking for fgrep... /usr/bin/grep -F<br />checking for ld used by gcc... /usr/bin/ld<br />checking if the linker (/usr/bin/ld) is GNU ld... no<br />checking for BSD</del> or MS-compatible name lister (nm)... /usr/bin/nm<br />checking the name lister (/usr/bin/nm) interface... BSD nm<br />checking whether ln -s works... yes<br />checking the maximum length of command line arguments... 196608<br />checking whether the shell understands some XSI constructs... yes<br />checking whether the shell understands "+="... yes<br />checking how to convert x86_64-apple-darwin11.2.0 file names to x86_64-apple-darwin11.2.0 format... func_convert_file_noop<br />checking how to convert x86_64-apple-darwin11.2.0 file names to toolchain format... func_convert_file_noop<br />checking for /usr/bin/ld option to reload object files... -r<br />checking for objdump... no<br />checking how to recognize dependent libraries... pass_all<br />checking for dlltool... no<br />checking how to associate runtime and link libraries... printf <span>s\n<br />checking for ar... ar<br />checking for archiver @FILE support... no<br />checking for strip... strip<br />checking for ranlib... ranlib<br />checking command to parse /usr/bin/nm output from gcc object... ok<br />checking for sysroot... no<br />checking for mt... no<br />checking if : is a manifest tool... no<br />checking for dsymutil... dsymutil<br />checking for nmedit... nmedit<br />checking for lipo... lipo<br />checking for otool... otool<br />checking for otool64... no<br />checking for -single_module linker flag... yes<br />checking for -exported_symbols_list linker flag... yes<br />checking for -force_load linker flag... yes<br />checking how to run the C preprocessor... gcc -E<br />checking for ANSI C header files... yes<br />checking for sys/types.h... yes<br />checking for sys/stat.h... yes<br />checking for stdlib.h... yes<br />checking for string.h... yes<br />checking for memory.h... yes<br />checking for strings.h... yes<br />checking for inttypes.h... yes<br />checking for stdint.h... yes<br />checking for unistd.h... yes<br />checking for dlfcn.h... yes<br />checking for objdir... .libs<br />checking if gcc supports -fno-rtti -fno-exceptions... no<br />checking for gcc option to produce PIC... -fno-common -DPIC<br />checking if gcc PIC flag -fno-common -DPIC works... yes<br />checking if gcc static flag -static works... no<br />checking if gcc supports -c -o file.o... yes<br />checking if gcc supports -c -o file.o... (cached) yes<br />checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes<br />checking dynamic linker characteristics... darwin11.2.0 dyld<br />checking how to hardcode library paths into programs... immediate<br />checking whether stripping libraries is possible... yes<br />checking if libtool supports shared libraries... yes<br />checking whether to build shared libraries... yes<br />checking whether to build static libraries... yes<br />checking for ANSI C header files... (cached) yes<br />checking execinfo.h usability... yes<br />checking execinfo.h presence... yes<br />checking for execinfo.h... yes<br />checking sys/select.h usability... yes<br />checking sys/select.h presence... yes<br />checking for sys/select.h... yes<br />checking sys/socket.h usability... yes<br />checking sys/socket.h presence... yes<br />checking for sys/socket.h... yes<br />checking syslog.h usability... yes<br />checking syslog.h presence... yes<br />checking for syslog.h... yes<br />checking ctype.h usability... yes<br />checking ctype.h presence... yes<br />checking for ctype.h... yes<br />checking for size_t... yes<br />checking for working alloca.h... yes<br />checking for alloca... yes<br />checking for library containing dlopen... none required<br />checking for doxygen... false<br />checking if gcc supports -fvisibility=hidden... yes<br />configure: creating ./config.status<br />config.status: creating libosmocore.pc<br />config.status: creating libosmocodec.pc<br />config.status: creating libosmovty.pc<br />config.status: creating libosmogsm.pc<br />config.status: creating include/osmocom/Makefile<br />config.status: creating include/osmocom/vty/Makefile<br />config.status: creating include/osmocom/codec/Makefile<br />config.status: creating include/osmocom/crypt/Makefile<br />config.status: creating include/osmocom/gsm/Makefile<br />config.status: creating include/osmocom/gsm/protocol/Makefile<br />config.status: creating include/osmocom/core/Makefile<br />config.status: creating include/Makefile<br />config.status: creating src/Makefile<br />config.status: creating src/vty/Makefile<br />config.status: creating src/codec/Makefile<br />config.status: creating src/gsm/Makefile<br />config.status: creating tests/Makefile<br />config.status: creating tests/timer/Makefile<br />config.status: creating tests/sms/Makefile<br />config.status: creating tests/msgfile/Makefile<br />config.status: creating tests/ussd/Makefile<br />config.status: creating tests/smscb/Makefile<br />config.status: creating tests/bits/Makefile<br />config.status: creating utils/Makefile<br />config.status: creating Doxyfile.core<br />config.status: creating Doxyfile.gsm<br />config.status: creating Doxyfile.vty<br />config.status: creating Doxyfile.codec<br />config.status: creating Makefile<br />config.status: creating config.h<br />config.status: executing depfiles commands<br />config.status: executing libtool commands<br />cd shared/libosmocore/build-host &x%x</span> make<br />make all-recursive<br />Making all in include<br />Making all in osmocom<br />Making all in vty<br />maker5: Nothing to be done for @all'.<br />Making all in codec<br />maker5: Nothing to be done for @all'.<br />Making all in crypt<br />maker5: Nothing to be done for @all'.<br />Making all in gsm<br />Making all in protocol<br />maker6: Nothing to be done for @all'.<br />maker6: Nothing to be done for @all-am'.<br />Making all in core<br /> SED ../../../../include/osmocom/core/crcXXgen.h.tpl -> crc8gen.h<br /> SED ../../../../include/osmocom/core/crcXXgen.h.tpl -> crc16gen.h<br /> SED ../../../../include/osmocom/core/crcXXgen.h.tpl -> crc32gen.h<br /> SED ../../../../include/osmocom/core/crcXXgen.h.tpl -> crc64gen.h<br />maker5: Nothing to be done for @all-am'.<br />maker4: Nothing to be done for @all-am'.<br />Making all in src<br />Making all in .<br /> CC timer.lo<br /> CC select.lo<br /> CC signal.lo<br /> CC msgb.lo<br /> CC bits.lo<br /> CC bitvec.lo<br /> CC statistics.lo<br /> CC write_queue.lo<br /> CC utils.lo<br />../../src/utils.c:182:7: error: only weak aliases are supported in this configuration<br />maker4: <b></strong> [utils.lo] Error 1<br />maker3: <strong></b> [all-recursive] Error 1<br />maker2: <b></strong> [all-recursive] Error 1<br />maker1: <strong></b> [all] Error 2<br />make: *</strong>* [shared/libosmocore/build-host/src/.libs/libosmocore.la] Error 2</p> OsmocomDECT - Bug #5388 (New): {MM-INFO-SUGGEST} message not sent with ext bit set to 0https://osmocom.org/issues/53882010-10-05T00:00:00Z
<p>GAP (ETSI EN 300 444) section 8.29 (Location update) requires two consecutive {MM-INFO-SUGGEST} messages to be sent, one with the ext bit set to one, one with the ext bit set to zero, presumably for compatibility with old equipment. libdect always sets the ext bit to one on the final octet.</p>