bbaranoff / openLTE2GSM

GNU Affero General Public License v3.0
7 stars 6 forks source link

Segmentation fault LTE2GSM LimeSDR-USB #1

Open ghost opened 2 years ago

ghost commented 2 years ago
  1. package wget https://github.com/bbaranoff/openLTE2GSM/releases/download/v0.1/openlte_20211230-1_amd64.deb already contains a patch - Redirection patch code?

2.after command "start" i get a stable error - Segmentation error I can't get tired, maybe you can help with this?

I tried to run it on two different computers, the result is the same.

Ubuntu 20.04.4 LTS - clean, after installation LimeSDR-USB (not mini)

I did everything according to the instructions:

git clone https://github.com/bbaranoff/OpenLTE2GSM cd OpenLTE2GSM sudo bash install.sh


osmo@osmo:~$ LimeUtil --info ######################################################

LimeSuite information summary

######################################################

Version information: Library version: v20.10.0-g1480bfea Build timestamp: 2022-06-26 Interface version: v2020.10.0 Binary interface: 20.10-1

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

Supported connections:

osmo@osmo:~$

osmo@osmo:~$ LimeUtil --find

osmo@osmo:~$


osmo@osmo:~$ telnet localhost 30000 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. LTE FDD ENB Type help to see a list of commands write rx_gain 30 ok write tx_gain 80 ok write mcc 215 ok write mnc 15 ok write band 7 ok write dl_earfcn 3350 ok start ok Connection closed by foreign host.


osmo@osmo:~$ sudo LTE_fdd_enodeb linux; GNU C++ version 10.3.0; Boost_106700; UHD_003.009.007-6-g9ebbb8eb

LTE FDD ENB Please connect to control port 30000 -- Make connection: 'LimeSDR-USB [USB 2.0] 90726074F1A1B'

UHD Warning: Gateware version mismatch! Expected gateware version 2, revision 23 But found version 2, revision 21 Follow the FW and FPGA upgrade instructions: http://wiki.myriadrf.org/Lime_Suite#Flashing_images Or run update on the command line: LimeUtil --update -- Reference clock 30.72 MHz -- Device name: LimeSDR-USB -- Reference: 30.72 MHz -- LMS7002M register cache: Disabled -- Filter calibrated. Filter order-4th, filter bandwidth set to 15.36 MHz.Real pole 1st order filter set to 2.5 MHz. Preemphasis filter not active -- TX LPF configured -- Filter calibrated. Filter order-4th, filter bandwidth set to 15.36 MHz.Real pole 1st order filter set to 2.5 MHz. Preemphasis filter not active -- TX LPF configured -- RX LPF configured -- RX LPF configured -- Tx calibration finished -- Rx calibration finished Segmentation fault

bbaranoff commented 2 years ago

Hello there is missing dependencies not written on Readme will try to update this a soon as possible

ghost commented 2 years ago

thank you very much, it’s bad that there is no indication of the absence of a dependency, otherwise I would understand what needs to be installed

ghost commented 2 years ago

Could you post a disk image with LTE2GSM installed for LimeSDR in particular?

bbaranoff commented 2 years ago

https://mega.nz/file/y9pilZrK#QSOyQbcfgJLIEr3vXoeUpXPH9QBp6ec0eYo_iBPMwNE Working with limemini idk for limeusb

ghost commented 2 years ago

First of all, thank you very much for not forgetting about my problem. For several days I tried to test the disk image on different computers, there are three in total. As a result, I get the same error that I had before - Segmentation error after Lime-USB calibration passes I assembled the project from modules, assembled everything without errors, the output in the log was somewhat different, but the error was the same and there. You probably did everything you could and can no longer help. Perhaps this is how Lime-USB behaves, although in another BTS project it works well.

ghost commented 2 years ago

output from disk image: 20.11.11

ubuntu@ubuntu:~$ sudo LTE_fdd_enodeb LTE FDD ENB Please connect to control port 30000 [INFO] [UHD] linux; GNU C++ version 7.5.0; Boost_106501; UHD_3.15.0.HEAD-0-g4e06022c [INFO] [UHDSoapyDevice] Make connection: 'LimeSDR-USB [USB 2.0] 90726074F1A1B' [INFO] [UHDSoapyDevice] Reference clock 30.72 MHz [INFO] [UHDSoapyDevice] Device name: LimeSDR-USB [INFO] [UHDSoapyDevice] Reference: 30.72 MHz [INFO] [UHDSoapyDevice] LMS7002M register cache: Disabled [INFO] [UHDSoapyDevice] Filter calibrated. Filter order-4th, filter bandwidth set to 15.36 MHz.Real pole 1st order filter set to 2.5 MHz. Preemphasis filter not active [INFO] [UHDSoapyDevice] TX LPF configured [INFO] [UHDSoapyDevice] Filter calibrated. Filter order-4th, filter bandwidth set to 15.36 MHz.Real pole 1st order filter set to 2.5 MHz. Preemphasis filter not active [INFO] [UHDSoapyDevice] TX LPF configured [INFO] [UHDSoapyDevice] RX LPF configured [INFO] [UHDSoapyDevice] RX LPF configured [INFO] [UHDSoapyDevice] Tx calibration finished [INFO] [UHDSoapyDevice] Rx calibration finished segmentation fault ubuntu@ubuntu:~$


ubuntu@ubuntu:~$ telnet localhost 30000 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. LTE FDD ENB Type help to see a list of commands write rx_gain 30 write tx_gain 80 write mcc 215 write mnc 15 write band 7 write dl_earfcn 3350ok ok ok ok ok

ok start ok Connection closed by foreign host. ubuntu@ubuntu:~$

ghost commented 2 years ago

Output of a manually installed project

osmo@osmo:~$ sudo LTE_fdd_enodeb linux; GNU C++ version 10.3.0; Boost_106700; UHD_003.009.007-6-g9ebbb8eb

LTE FDD ENB Please connect to control port 30000 -- Make connection: 'LimeSDR-USB [USB 2.0] 90726074F1A1B' -- Reference clock 30.72 MHz -- Device name: LimeSDR-USB -- Reference: 30.72 MHz CGEN: Freq=80 MHz, VCO=2.4 GHz, INT=77, FRAC=131072, DIV_OUTCH_CGEN=14 CGEN: Freq=80 MHz, VCO=2.4 GHz, INT=77, FRAC=131072, DIV_OUTCH_CGEN=14 -- LMS7002M register cache: Disabled CGEN: Freq=61.44 MHz, VCO=2.33472 GHz, INT=75, FRAC=0, DIV_OUTCH_CGEN=18 CGEN: Freq=61.44 MHz, VCO=2.33472 GHz, INT=75, FRAC=0, DIV_OUTCH_CGEN=18 CGEN: Freq=491.52 MHz, VCO=1.96608 GHz, INT=63, FRAC=0, DIV_OUTCH_CGEN=1 CGEN: Freq=491.52 MHz, VCO=1.96608 GHz, INT=63, FRAC=0, DIV_OUTCH_CGEN=1 MCU programming : 16384/16384 MCU Programming finished, 973 ms -- Filter calibrated. Filter order-4th, filter bandwidth set to 15.36 MHz.Real pole 1st order filter set to 2.5 MHz. Preemphasis filter not active CGEN: Freq=61.44 MHz, VCO=2.33472 GHz, INT=75, FRAC=0, DIV_OUTCH_CGEN=18 -- TX LPF configured CGEN: Freq=491.52 MHz, VCO=1.96608 GHz, INT=63, FRAC=0, DIV_OUTCH_CGEN=1 CGEN: Freq=491.52 MHz, VCO=1.96608 GHz, INT=63, FRAC=0, DIV_OUTCH_CGEN=1 -- Filter calibrated. Filter order-4th, filter bandwidth set to 15.36 MHz.Real pole 1st order filter set to 2.5 MHz. Preemphasis filter not active CGEN: Freq=61.44 MHz, VCO=2.33472 GHz, INT=75, FRAC=0, DIV_OUTCH_CGEN=18 -- TX LPF configured CGEN: Freq=491.52 MHz, VCO=1.96608 GHz, INT=63, FRAC=0, DIV_OUTCH_CGEN=1 CGEN: Freq=491.52 MHz, VCO=1.96608 GHz, INT=63, FRAC=0, DIV_OUTCH_CGEN=1 -- RX LPF configured CGEN: Freq=491.52 MHz, VCO=1.96608 GHz, INT=63, FRAC=0, DIV_OUTCH_CGEN=1 CGEN: Freq=491.52 MHz, VCO=1.96608 GHz, INT=63, FRAC=0, DIV_OUTCH_CGEN=1 -- RX LPF configured Tx calibration using MCU INTERNAL loopback Tx ch.A @ 2680 MHz, BW: 15.36 MHz, RF output: BAND1, Gain: 20 Current MCU firmware: 5, DC/IQ calibration full MCU Ref. clock: 30.72 MHz -- Tx calibration finished Tx | DC | GAIN | PHASE ---+-----+------+------ I: | -109 | 1875 | -43 Q: | 120 | 2047 | Duration: 187 ms Rx calibration using INTERNAL loopback Rx ch.A @ 2560 MHz, BW: 15.36 MHz, RF input: LNAL, PGA: 12, LNA: 7, TIA: 3 Current MCU firmware: 5, DC/IQ calibration full MCU Ref. clock: 30.72 MHz -- Rx calibration finished RX | DC | GAIN | PHASE ---+-----+------+------ I: | 8 | 2047 | -3 Q: | 63 | 1999 | Duration: 152 ms segmentation fault osmo@osmo:~$

============================================================================================== osmo@osmo:~$ telnet localhost 30000 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. LTE FDD ENB Type help to see a list of commands write rx_gain 30 write tx_gain 80 write mcc 215 write mnc 15 write band 7 write dl_earfcn 3350 write tracking_area_code 6604 ok ok ok ok ok ok ok start ok Connection closed by foreign host. osmo@osmo:~$

bbaranoff commented 2 years ago

UHD Warning: Gateware version mismatch! Expected gateware version 2, revision 23 But found version 2, revision 21 Follow the FW and FPGA upgrade instructions: http://wiki.myriadrf.org/Lime_Suite#Flashing_images You have to update GW version to version 2 rev 23

start837 commented 1 year ago

You sent a disk image, but when I run the LTE2GSM LimeSDR-USB disk on my computer, I get the Segmentation fault error again At first there was another error and it turned out I had an older processor that did not support some commands. Installed on a modern computer, the first error disappeared - Segmentation fault Such an error appears when we access the part of the memory that is forbidden for us. Could you tell me what computer configuration you had when you installed the project? in particular, what is the size of the RAM. Because it's strange, you have a scratch disk and a project installed - it won't run on my computer

start837 commented 1 year ago

Do you know about another way to transfer a phone from LTE to 2G, using only a transmitter? receiver not in use