Project

General

Profile

Actions

Support #4059

closed

osmo-trx-lms: segfault on start LimeSDR-USB

Added by LimeSDR almost 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
06/12/2019
Due date:
% Done:

100%

Spec Reference:

Description

after folowing

https://osmocom.org/projects/cellular-infrastructure/wiki/Osmocom_New_Splits_(BSC_MGW_HLR_MSC)

i am running Vbox + extetions.
2x cpu 100%
usb3 selected.
4096mb ram
128mb gpu
60gb hdd

i am doing all from a clean new installed and updated ubuntu 16.04.
i do get the next error see below.

sudo osmo-trx-lms -C ~/osmobsc/limesdr.cfg
Info: SSE3 support compiled in and supported by CPU
Info: SSE4.1 support compiled in and supported by CPU
Tue Jun 11 22:21:57 2019 DLGLOBAL <0004> telnet_interface.c:104 Available via telnet 127.0.0.1 4237
Tue Jun 11 22:21:57 2019 DLCTRL <000b> control_if.c:911 CTRL at 127.0.0.1 4236
Tue Jun 11 22:21:57 2019 DMAIN <0000> osmo-trx.cpp:478 [tid=140198298917632] Config Settings
Log Level............... 3
Device args.............
TRX Base Port........... 5700
TRX Address............. 127.0.0.1
GSM BTS Address......... 127.0.0.1
Channels................ 1
Tx Samples-per-Symbol... 4
Rx Samples-per-Symbol... 4
EDGE support............ 0
Extended RACH support... 0
Reference............... 0
C0 Filler Table......... 1
Multi-Carrier........... 0
Tuning offset........... 0
RSSI to dBm offset...... 0
Swap channels........... 0
Tx Antennas............. 'BAND1'
Rx Antennas............. 'LNAW'

Tue Jun 11 22:21:57 2019 DMAIN <0000> osmo-trx.cpp:434 [tid=140198298917632] Setting SCHED_RR priority 18
Tue Jun 11 22:21:57 2019 DDEV <0002> LMSDevice.cpp:52 [tid=140198298917632] creating LMS device...
Tue Jun 11 22:21:57 2019 DDEV <0002> LMSDevice.cpp:139 [tid=140198298917632] Opening LMS device..
Tue Jun 11 22:21:57 2019 DDEV <0002> LMSDevice.cpp:145 [tid=140198298917632] Devices found: 1
Tue Jun 11 22:21:57 2019 DDEV <0002> LMSDevice.cpp:155 [tid=140198298917632] Device [0]: LimeSDR-USB, media=USB 3.0, module=FX3, addr=1d50:6108, serial=0009060B00490D0F
Tue Jun 11 22:21:57 2019 DDEV <0002> LMSDevice.cpp:164 [tid=140198298917632] Using device0
Tue Jun 11 22:21:57 2019 DLMS <0003> LMSDevice.cpp:92 [tid=140198298917632] Reference clock 30.72 MHz
Tue Jun 11 22:21:57 2019 DDEV <0002> LMSDevice.cpp:190 [tid=140198298917632] Init LMS device
Tue Jun 11 22:21:58 2019 DDEV <0002> LMSDevice.cpp:203 [tid=140198298917632] Setting Internal clock reference
Tue Jun 11 22:21:58 2019 DLMS <0003> LMSDevice.cpp:92 [tid=140198298917632] Disabling external reference clock
Tue Jun 11 22:21:58 2019 DDEV <0002> LMSDevice.cpp:97 [tid=140198298917632] Sample Rate: Min=100000 Max=6.144e+07 Step=0
Tue Jun 11 22:21:58 2019 DDEV <0002> LMSDevice.cpp:226 [tid=140198298917632] Setting sample rate to 1.08333e+06 4
Tue Jun 11 22:21:59 2019 DDEV <0002> LMSDevice.cpp:232 [tid=140198298917632] Sample Rate: Host=1.08333e+06 RF=3.46667e+07
Tue Jun 11 22:21:59 2019 DMAIN <0000> LMSDevice.cpp:209 [tid=140198298917632] Antennas configured successfully
Tue Jun 11 22:21:59 2019 DMAIN <0000> Threads.cpp:116 [tid=140198299232000] Thread 140198299232000 (task 24985) set name: CtrlService0
Tue Jun 11 22:21:59 2019 DMAIN <0000> osmo-trx.cpp:526 [tid=140198298917632] -- Transceiver active with 1 channel(s)
Tue Jun 11 22:22:01 2019 DTRXCTRL <0001> Transceiver.cpp:717 [tid=140198299232000][chan=0] command is 'POWERON'
Tue Jun 11 22:22:01 2019 DMAIN <0000> Transceiver.cpp:244 [tid=140198299232000] Starting the transceiver
Tue Jun 11 22:22:01 2019 DMAIN <0000> radioInterface.cpp:177 [tid=140198299232000] Starting radio device
Tue Jun 11 22:22:01 2019 DDEV <0002> LMSDevice.cpp:260 [tid=140198299232000] starting LMS...
Tue Jun 11 22:22:01 2019 DDEV <0002> LMSDevice.cpp:409 [tid=140198299232000][chan=0] Setting TX gain to 73 dB
Segmentation fault (core dumped)

====================================================================================================================================================================================================================================================

and trying
https://osmocom.org/projects/cellular-infrastructure/wiki/OpenBSC_with_Asterisk

gives me the same result

========================================================================================================================== ==========================================================================================================================

LimeUtil --make
Make device
Device name: LimeSDR-USB
Expansion name: UNSUPPORTED
Firmware version: 4
Hardware version: 4
Protocol version: 1
Gateware version: 2
Gateware revision: 21
Gateware target: LimeSDR-USB
Serial number: 0x9060b00490d0f
Free connection... OK

========================================================================================================================== ==========================================================================================================================

LimeUtil --find * [LimeSDR-USB, media=USB 3.0, module=FX3, addr=1d50:6108, serial=0009060B00490D0F]

========================================================================================================================== ==========================================================================================================================
kimesdr@kimesdr-VirtualBox:~$ LimeUtil LimeUtil --info ######################################################
  1. LimeSuite information summary ######################################################

Version information:
Library version: v19.04.0-g4ab24db5
Build timestamp: 2019-06-11
Interface version: v2019.1.0
Binary interface: 19.04-1

System resources:
Installation root: /usr/local
User home directory: /home/kimesdr
App data directory: /home/kimesdr/.local/share/LimeSuite
Config directory: /home/kimesdr/.limesuite
Image search paths:
- /home/kimesdr/.local/share/LimeSuite/images
- /usr/local/share/LimeSuite/images

Supported connections: * FT601 * FX3 * PCIEXillybus

========================================================================================================================== ==========================================================================================================================
SoapySDRUtil --info ######################################################
  1. Soapy SDR -- the SDR abstraction library ## ######################################################

Lib Version: v0.8.0-g980c2c50
API Version: v0.8.0
ABI Version: v0.8
Install root: /usr/local
Search path: /usr/local/lib/SoapySDR/modules0.8
Module found: /usr/local/lib/SoapySDR/modules0.8/libLMS7Support.so (19.04.0-4ab24db)
Available factories... lime
Available converters...
- CF32 -> [CF32, CS16, CS8, CU16, CU8]
- CS16 -> [CF32, CS16, CS8, CU16, CU8]
- CS32 -> [CS32]
- CS8 -> [CF32, CS16, CS8, CU16, CU8]
- CU16 -> [CF32, CS16, CS8]
- CU8 -> [CF32, CS16, CS8]
- F32 -> [F32, S16, S8, U16, U8]
- S16 -> [F32, S16, S8, U16, U8]
- S32 -> [S32]
- S8 -> [F32, S16, S8, U16, U8]
- U16 -> [F32, S16, S8]
- U8 -> [F32, S16, S8]

========================================================================================================================== ==========================================================================================================================
SoapySDRUtil --find ######################################################
  1. Soapy SDR -- the SDR abstraction library ## ######################################################

Found device 0
addr = 1d50:6108
driver = lime
label = LimeSDR-USB [USB 3.0] 9060B00490D0F
media = USB 3.0
module = FX3
name = LimeSDR-USB
serial = 0009060B00490D0F

========================================================================================================================== ==========================================================================================================================
LimeUtil --update
Connected to [LimeSDR-USB [USB 3.0] 9060B00490D0F]
--2019-06-12 12:47:29-- https://downloads.myriadrf.org/project/limesuite/19.04/LimeSDR-USB_HW_1.4_r2.21.rbf
Resolving downloads.myriadrf.org (downloads.myriadrf.org)... 134.209.28.241, 2a03:b0c0:1:e0::3f9:a001
Connecting to downloads.myriadrf.org (downloads.myriadrf.org)|134.209.28.241|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 580050 (566K) [application/octet-stream]
Saving to: ‘/home/kimesdr/.local/share/LimeSuite/images/19.04/LimeSDR-USB_HW_1.4_r2.21.rbf’

/home/kimesdr/.loca 100%[===================>] 566,46K 2,55MB/s in 0,2s

2019-06-12 12:47:30 (2,55 MB/s) - ‘/home/kimesdr/.local/share/LimeSuite/images/19.04/LimeSDR-USB_HW_1.4_r2.21.rbf’ saved [580050/580050]

--2019-06-12 12:47:30-- https://downloads.myriadrf.org/project/limesuite/19.04/LimeSDR-USB_HW_1.4_r4.0.img
Resolving downloads.myriadrf.org (downloads.myriadrf.org)... 134.209.28.241, 2a03:b0c0:1:e0::3f9:a001
Connecting to downloads.myriadrf.org (downloads.myriadrf.org)|134.209.28.241|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 185976 (182K) [application/octet-stream]
Saving to: ‘/home/kimesdr/.local/share/LimeSuite/images/19.04/LimeSDR-USB_HW_1.4_r4.0.img’

/home/kimesdr/.loca 100%[===================>] 181,62K --.-KB/s in 0,1s

2019-06-12 12:47:30 (1,50 MB/s) - ‘/home/kimesdr/.local/share/LimeSuite/images/19.04/LimeSDR-USB_HW_1.4_r4.0.img’ saved [185976/185976]

Existing firmware is same as update (4)
Existing gateware is same as update (2.21)
Firmware and Gateware update is not required.

Programming update complete!

========================================================================================================================== ==========================================================================================================================

i have alle the ubuntu versions ready. all clean installs waiting for a hero with the solution or a good guide that will work. all i need is just that it runs.


Related issues

Related to OsmoTRX - Bug #4055: osmo-trx-lms: segfault on start with lime mini/usbResolvedpespin06/11/2019

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)