srsran / srsRAN_4G

Open source SDR 4G software suite from Software Radio Systems (SRS) https://docs.srsran.com/projects/4g
https://www.srsran.com
GNU Affero General Public License v3.0
3.42k stars 1.13k forks source link

srsue can't connect to srsenb #323

Closed MIKEXU2017 closed 5 years ago

MIKEXU2017 commented 5 years ago

Issue Description

srsue can't connect to srsenb

Setup Details

device: Ubuntu16.04 srsepc&srsenb:bladeRFx40 srsue:bladeRFx40

PS: Both computers use a virtual machine and use the same Ubuntu.vdi

srsepc: zpt4x@zpt4x-VirtualBox:~/srsLTE/srsepc$ sudo srsepc epc.conf [sudo] password for zpt4x:

Built in Release mode using commit 3cc4ca8 on branch master.

--- Software Radio Systems EPC ---

Reading configuration file epc.conf... HSS Initialized. MME GTP-C Initialized MME Initialized. MCC: 0xf001, MNC: 0xff01 SP-GW Initialized. Received S1 Setup Request. S1 Setup Request - eNB Name: srsenb01, eNB id: 0x19b S1 Setup Request - MCC:001, MNC:01, PLMN: 61712 S1 Setup Request - TAC 7, B-PLMN 0 S1 Setup Request - Paging DRX 2 Sending S1 Setup Response


srsenb: zpt4x@zpt4x-VirtualBox:~/srsLTE/srsenb$ sudo srsenb enb.conf [INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800; UHD_3.11.0.git-128-g379f922d

Built in Release mode using commit 3cc4ca8 on branch master.

--- Software Radio Systems LTE eNodeB ---

Reading configuration file enb.conf... Opening USRP with args: Error opening UHD: code 11 Opening bladeRF... Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz Setting frequency: DL=2685.0 Mhz, UL=2565.0 MHz set TX frequency to 2684999936 set RX frequency to 2564999936 Starting plot for worker_id=0 Setting Sampling frequency 11.52 MHz Set RX sampling rate 11.52 Mhz, filter BW: 10.00 Mhz

==== eNodeB started === Type to view trace


srsue: zpt4x@zpt4x-VirtualBox:~/srsLTE/srsue$ sudo srsue ue.conf [INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800; UHD_3.11.0.git-128-g379f922d Reading configuration file ue.conf...

Built in Release mode using commit 3cc4ca8 on branch master.

--- Software Radio Systems LTE UE ---

Opening RF device with 1 RX antennas... Opening USRP with args: Error opening UHD: code 11 Opening bladeRF... Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz Waiting PHY to initialize... ... Attaching UE... Searching cell in DL EARFCN=3400, f_dl=2685.0 MHz, f_ul=2565.0 MHz set RX frequency to 2685000000 set TX frequency to 2565000000 Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz ..... Found Cell: PCI=1, PRB=50, Ports=1, CFO=0.7 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.3 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.6 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.5 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.5 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.4 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.7 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.3 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.4 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.3 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.7 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.7 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.4 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.4 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.7 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.6 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.5 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.3 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.6 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.6 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.3 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.3 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.8 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.7 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.4 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.9 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.6 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.6 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.6 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.6 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.7 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.5 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.3 KHz Stopping srsUE... Press Ctrl+C 9 more times to force stop ^C. Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.9 KHz --- exiting ---


If I exchange two bladeRFx40 to use,the following results will appear.

(The value of CFO is the opposite.)

srsue: zpt4x@zpt4x-VirtualBox:~/srsLTE/srsue$ sudo srsue ue.conf [INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800; UHD_3.11.0.git-128-g379f922d Reading configuration file ue.conf...

Built in Release mode using commit 3cc4ca8 on branch master.

--- Software Radio Systems LTE UE ---

Opening RF device with 1 RX antennas... Opening USRP with args: Error opening UHD: code 11 Opening bladeRF... Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz Waiting PHY to initialize... ... Attaching UE... Searching cell in DL EARFCN=3400, f_dl=2685.0 MHz, f_ul=2565.0 MHz set RX frequency to 2685000000 set TX frequency to 2565000000 Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz .. Found Cell: PCI=1, PRB=50, Ports=1, CFO=-1.3 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=-1.3 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=-1.4 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=-1.7 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=-1.3 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=-1.3 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=-1.3 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=-1.1 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=-1.2 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=-1.2 KHz Stopping srsUE... Press Ctrl+C 9 more times to force stop ^C. Found Cell: PCI=1, PRB=50, Ports=1, CFO=-1.4 KHz --- exiting ---

Expected Behavior

I want srsue to connect to srsenb.

Actual Behaviour

Nothing happened.

srsenb


New test(I haven't tried using pdsch_enodeb and pdsch_ue yet. I will go back to the test after class at 11pm tonight.) Hi,

This time I retested and there was a new problem. The following is the ue side running log added later. ue_positive_value.log ue_negative_value.log

Thank you!

andrepuschmann commented 5 years ago

Hey, please send the UE logs along. In general we suggest you should make sure that this setup works with pdsch_enodeb and pdsch_ue first.

MIKEXU2017 commented 5 years ago

The problem seems to have become more serious? zpt4x@zpt4x-VirtualBox:~/srsLTE/srsue$ sudo srsue ue.conf [INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800; UHD_3.11.0.git-128-g379f922d Reading configuration file ue.conf...

Built in Release mode using commit 3cc4ca8 on branch master.

--- Software Radio Systems LTE UE ---

Opening RF device with 1 RX antennas... Opening USRP with args: Error opening UHD: code 11 Opening bladeRF... Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz Waiting PHY to initialize... ... Attaching UE... Searching cell in DL EARFCN=3400, f_dl=2685.0 MHz, f_ul=2565.0 MHz set RX frequency to 2685000000 set TX frequency to 2565000000 Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.6 KHz Set RX sampling rate 11.52 Mhz, filter BW: 10.00 Mhz Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz .. Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.6 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.5 KHz Set RX sampling rate 11.52 Mhz, filter BW: 10.00 Mhz Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz .. Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.8 KHz Set RX sampling rate 11.52 Mhz, filter BW: 10.00 Mhz Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz .. Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.6 KHz Set RX sampling rate 11.52 Mhz, filter BW: 10.00 Mhz Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz .. Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.3 KHz Set RX sampling rate 11.52 Mhz, filter BW: 10.00 Mhz Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz .. Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.7 KHz Set RX sampling rate 11.52 Mhz, filter BW: 10.00 Mhz Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz .. Found Cell: PCI=1, PRB=50, Ports=1, CFO=1.8 KHz Set RX sampling rate 11.52 Mhz, filter BW: 10.00 Mhz Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz .........^CStopping srsUE... Press Ctrl+C 9 more times to force stop .--- exiting --- ue.log

MIKEXU2017 commented 5 years ago

This is another run log with the opposite value: zpt4x@zpt4x-VirtualBox:~/srsLTE/srsue$ sudo srsue ue.conf [INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800; UHD_3.11.0.git-128-g379f922d Reading configuration file ue.conf...

Built in Release mode using commit 3cc4ca8 on branch master.

--- Software Radio Systems LTE UE ---

Opening RF device with 1 RX antennas... Opening USRP with args: Error opening UHD: code 11 Opening bladeRF... Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz Waiting PHY to initialize... ... Attaching UE... Searching cell in DL EARFCN=3400, f_dl=2685.0 MHz, f_ul=2565.0 MHz set RX frequency to 2685000000 set TX frequency to 2565000000 Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz .. Found Cell: PCI=1, PRB=50, Ports=1, CFO=-1.7 KHz ... Found Cell: PCI=1, PRB=50, Ports=1, CFO=-1.6 KHz Set RX sampling rate 11.52 Mhz, filter BW: 10.00 Mhz Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz .. Found Cell: PCI=1, PRB=50, Ports=1, CFO=-1.9 KHz Set RX sampling rate 11.52 Mhz, filter BW: 10.00 Mhz Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz .. Found Cell: PCI=1, PRB=50, Ports=1, CFO=-1.8 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=-1.6 KHz . Found Cell: PCI=1, PRB=50, Ports=1, CFO=-1.5 KHz Set RX sampling rate 11.52 Mhz, filter BW: 10.00 Mhz Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz .. Found Cell: PCI=1, PRB=50, Ports=1, CFO=-1.6 KHz Set RX sampling rate 11.52 Mhz, filter BW: 10.00 Mhz Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz .. Found Cell: PCI=1, PRB=50, Ports=1, CFO=-1.4 KHz Set RX sampling rate 11.52 Mhz, filter BW: 10.00 Mhz Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz .. Found Cell: PCI=1, PRB=50, Ports=1, CFO=-1.5 KHz Set RX sampling rate 11.52 Mhz, filter BW: 10.00 Mhz Stopping srsUE... Press Ctrl+C 9 more times to force stop ^CSet RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz .--- exiting --- ue.log

MIKEXU2017 commented 5 years ago

Now testing pdsch_enodeb and pdsch_ue:

pdsch_enodeb: zpt4x@zpt4x-VirtualBox:~/srsLTE/build/lib/examples$ ./pdsch_enodeb -f 1800 [INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800; UHD_3.11.0.git-128-g379f922d Opening RF device... Opening USRP with args: Error opening UHD: code 11 Opening bladeRF... Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz Setting sampling rate 5.76 MHz Set TX gain: 60.0 dB [INFO @ fpga_common/src/lms.c:2227] Clamping frequency to 237500000Hz set TX frequency to 237500000 Set TX freq: 0.00 MHz

Press enter maximum printing debug log of 1 subframe.

Tx scheme: Single nof layers: 1 nof codewords: 1 CFO: -16.04 Hz RSRP: +39.4 dBm | -inf dBm SNR: +21.0 dB | -inf dB Rb: 0.70 / 0.70 / 2.23 Mbps (net/maximum/processing) PDCCH-Miss: 26.05% PDSCH-BLER: 0.00% TB 0: mcs=1; tbs=904 TB 1: mcs=0; tbs=0

Press enter maximum printing debug log of 1 subframe.

Tx scheme: Single nof layers: 1 nof codewords: 1 CFO: -183.75 Hz RSRP: +40.5 dBm | -inf dBm SNR: +11.9 dB | -inf dB Rb: 0.72 / 0.70 / 1.85 Mbps (net/maximum/processing) PDCCH-Miss: 27.31% PDSCH-BLER: 0.01% TB 0: mcs=1; tbs=904 TB 1: mcs=0; tbs=0

Press enter maximum printing debug log of 1 subframe.

Tx scheme: Single nof layers: 1 nof codewords: 1 CFO: -195.56 Hz RSRP: +40.8 dBm | -inf dBm SNR: +11.3 dB Tx scheme: Single SIGINT received. Exiting....70 / 2.20 Mbps (net/maximum/processing) nof layers: 1 nof codewords: 1 CFO: -1922.21 Hz RSRP: +38.9 dBm | -inf dBm SNR: +0.9 dB | -inf dB Rb: 0.40 / 0.00 / 0.01 Mbps (net/maximum/processing) PDCCH-Miss: 30.73% PDSCH-BLER: 0.00% TB 0: mcs=1; tbs=904 TB 1: mcs=0; tbs=0

Press enter maximum printing debug log of 1 subframe.

Hangup ue_1 ue_2

MIKEXU2017 commented 5 years ago

Hi,

Can anyone help me with this?This has confused me for a long time, or someone told me what is wrong with the tests of pdsch_enodeb and pdsch_ue?

Best regards, Mike

Zethernos commented 5 years ago

Hi Mike, I am new to this project, currently I am facing the similar situation as you. I apologize that I am unable to help you. However, I am tasked to complete this project, I hope we can help each other to build srsLTE successfully. I am totally new to Linux just started about 3-4 weeks ago, won't say I am confident with it. Trust me I posted on the srs forums and blade for help, the posts I have sent doesn't seem to have been posted on the forums.

Currently the set up is on Ubuntu 16.04 and 18.04. On the 16.04, it has the b210 and on the 18.04, it has the bladeRF x115.

However, I am facing some difficulties, may I know what are the steps to use UHD 3.9.7 because I tried to download. Before that I have uninstalled uhd, before installing UHD 3.9 LTS. It is not working for me but I am unable to figure it out. Besides that, after running the commands below, i tried to rerun the commands, it displayed error like: UHD error code 11. Hope someone is able to guide me

Similarly to srsepc and srsue, pi@pi-ubuntu:~$ sudo srsepc

Built in Release mode using commit 429ee901 on branch master.

--- Software Radio Systems EPC ---

Reading configuration file /home/pi/.config/srslte/epc.conf... HSS Initialized. Error binding SCTP socket MME GTP-C Initialized MME Initialized. MCC: 0xf001, MNC: 0xff01 Could not initialize the SGi interface. Error initializing SP-GW

pi@pi-ubuntu:~$ sudo srsenb [sudo] password for pi:

Built in Release mode using commit 429ee901 on branch master.

--- Software Radio Systems LTE eNodeB ---

Reading configuration file /home/pi/.config/srslte/enb.conf... [INFO] [UHD] linux; GNU C++ version 7.3.0; Boost_106501; UHD_3.15.0.git-84-g164d76dc Opening USRP with args: Error opening UHD: code 11 Opening bladeRF... Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz Setting frequency: DL=2685.0 Mhz, UL=2565.0 MHz set TX frequency to 2684999936 set RX frequency to 2564999936 Setting Sampling frequency 11.52 MHz Set RX sampling rate 11.52 Mhz, filter BW: 10.00 Mhz

Below are the commands that I have built: pi@pi-ubuntu:~$ sudo srsepc

Built in Release mode using commit 429ee901 on branch master.

--- Software Radio Systems EPC ---

Reading configuration file /home/pi/.config/srslte/epc.conf... HSS Initialized. MME GTP-C Initialized MME Initialized. MCC: 0xf001, MNC: 0xff01 SP-GW Initialized. Received S1 Setup Request. S1 Setup Request - eNB Name: srsenb01, eNB id: 0x19b S1 Setup Request - MCC:001, MNC:01, PLMN: 61712 S1 Setup Request - TAC 7, B-PLMN 0 S1 Setup Request - Paging DRX 2 Sending S1 Setup Response Initial UE message: LIBLTE_MME_MSG_TYPE_ATTACH_REQUEST Received Initial UE message -- Attach Request Attach request -- GUTI Style Attach request Attach request -- M-TMSI: 0x66e299da Attach request -- eNB-UE S1AP Id: 1 Attach request -- Attach type: 1 Attach Request -- UE Network Capabilities EEA: 11100000 Attach Request -- UE Network Capabilities EIA: 01100000 Attach Request -- MS Network Capabilities Present: false PDN Connectivity Request -- EPS Bearer Identity requested: 0 PDN Connectivity Request -- Procedure Transaction Id: 1 PDN Connectivity Request -- ESM Information Transfer requested: false UL NAS: Received Identity Response ID Response -- IMSI: 001010123456789 Downlink NAS: Sent Authentication Request UL NAS: Received Authentication Response Authentication Response -- IMSI 001010123456789 UE Authentication Accepted. Generating KeNB with UL NAS COUNT: 0 Downlink NAS: Sending NAS Security Mode Command. UL NAS: Received Security Mode Complete Security Mode Command Complete -- IMSI: 001010123456789 Getting subscription information -- QCI 7 Sending Create Session Request. Creating Session Response -- IMSI: 1010123456789 Creating Session Response -- MME control TEID: 1 SPGW: Allocated Ctrl TEID 1 SPGW: Allocated User TEID 1 SPGW: Allocate UE IP 172.16.0.2 Received Create Session Response Create Session Response -- SPGW control TEID 1 Create Session Response -- SPGW S1-U Address: 127.0.1.100 SPGW Allocated IP 172.16.0.2 to ISMI 001010123456789 Adding attach accept to Initial Context Setup Request Initial Context Setup Request -- eNB UE S1AP Id 1, MME UE S1AP Id 1 Initial Context Setup Request -- E-RAB id 5 Initial Context Setup Request -- S1-U TEID 0x1. IP 127.0.1.100 Initial Context Setup Request -- S1-U TEID 0x1. IP 127.0.1.100 Initial Context Setup Request -- QCI 7 Received Initial Context Setup Response E-RAB Context Setup. E-RAB id 5 E-RAB Context -- eNB TEID 0x500003; eNB GTP-U Address 127.0.1.1 UL NAS: Received Attach Complete Unpacked Attached Complete Message. IMSI 1010123456789 Unpacked Activate Default EPS Bearer message. EPS Bearer id 5 Sending EMM Information Received UE Context Release Request. MME-UE S1AP Id 1 There are active E-RABs, send release access bearers request UE is ECM IDLE. Received UE Context Release Complete. MME-UE S1AP Id 1 UE is not ECM connected. No need to release S1-U. MME UE S1AP Id 1 UE Context Release Completed.

pi@pi-ubuntu:~$ sudo srsenb

Built in Release mode using commit 429ee901 on branch master.

--- Software Radio Systems LTE eNodeB ---

Reading configuration file /home/pi/.config/srslte/enb.conf... [INFO] [UHD] linux; GNU C++ version 7.3.0; Boost_106501; UHD_3.15.0.git-84-g164d76dc Opening USRP with args: Error opening UHD: code 11 Opening bladeRF... Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz Setting frequency: DL=2685.0 Mhz, UL=2565.0 MHz set TX frequency to 2684999936 set RX frequency to 2564999936 Setting Sampling frequency 11.52 MHz Set RX sampling rate 11.52 Mhz, filter BW: 10.00 Mhz

==== eNodeB started === Type to view trace RACH: tti=1631, preamble=3, offset=0, temp_crnti=0x46 SCHED: Could not transmit RAR within the window (RA TTI=1631, Window=10, Now=1645) RACH: tti=1661, preamble=44, offset=0, temp_crnti=0x47 SCHED: Could not transmit RAR within the window (RA TTI=1661, Window=10, Now=1676) RACH: tti=1691, preamble=28, offset=0, temp_crnti=0x48 SCHED: Could not transmit RAR within the window (RA TTI=1691, Window=10, Now=1706) Disconnecting rnti=0x46. RACH: tti=1721, preamble=49, offset=0, temp_crnti=0x49 SCHED: Could not transmit RAR within the window (RA TTI=1721, Window=10, Now=1736) RACH: tti=1751, preamble=42, offset=0, temp_crnti=0x4a Disconnecting rnti=0x47. Disconnecting rnti=0x48. Disconnecting rnti=0x49. RACH: tti=1841, preamble=31, offset=0, temp_crnti=0x4b RACH: tti=1931, preamble=25, offset=0, temp_crnti=0x4c RACH: tti=2021, preamble=45, offset=0, temp_crnti=0x4d RACH: tti=2111, preamble=1, offset=0, temp_crnti=0x4e SCHED: Could not transmit RAR within the window (RA TTI=2111, Window=10, Now=2127) RACH: tti=2141, preamble=42, offset=0, temp_crnti=0x4f Disconnecting rnti=0x4e. Disconnecting rnti=0x4f. Disconnecting rnti=0x4a. Disconnecting rnti=0x4b. Disconnecting rnti=0x4c. Disconnecting rnti=0x4d. RACH: tti=4631, preamble=28, offset=0, temp_crnti=0x50 User 0x50 connected Disconnecting rnti=0x50.

pi@pi:~$ sudo srsue linux; GNU C++ version 5.4.0 20160609; Boost_105800; UHD_003.009.007-5-ge8202128

Reading configuration file /home/pi/.config/srslte/ue.conf...

Built in Release mode using commit 429ee90 on branch master.

--- Software Radio Systems LTE UE ---

Opening RF device with 1 RX antennas... Opening USRP with args: type=b200,master_clock_rate=30.72e6 -- Detected Device: B210 -- Operating over USB 3. -- Initialize CODEC control... -- Initialize Radio control... -- Performing register loopback test... pass -- Performing register loopback test... pass -- Performing CODEC loopback test... pass -- Performing CODEC loopback test... pass -- Asking for clock rate 30.720000 MHz... -- Actually got clock rate 30.720000 MHz. -- Performing timer loopback test... pass -- Performing timer loopback test... pass Waiting PHY to initialize... ... Attaching UE... Searching cell in DL EARFCN=3400, f_dl=2685.0 MHz, f_ul=2565.0 MHz .......... Found Cell: PCI=1, PRB=50, Ports=1, CFO=-0.8 KHz Found PLMN: Id=00101, TAC=7 Setting PDN protocol to IPv4 Random Access Transmission: seq=3, ra-rnti=0x2 Random Access Transmission: seq=44, ra-rnti=0x2 Random Access Transmission: seq=28, ra-rnti=0x2 Random Access Transmission: seq=49, ra-rnti=0x2 Random Access Transmission: seq=4pi@pi-ubuntu:~$ sudo srsenb [sudo] password for pi:

Built in Release mode using commit 429ee901 on branch master.

--- Software Radio Systems LTE eNodeB ---

Reading configuration file /home/pi/.config/srslte/enb.conf... [INFO] [UHD] linux; GNU C++ version 7.3.0; Boost_106501; UHD_3.15.0.git-84-g164d76dc Opening USRP with args: Error opening UHD: code 11 Opening bladeRF... Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz Setting frequency: DL=2685.0 Mhz, UL=2565.0 MHz set TX frequency to 2684999936 set RX frequency to 2564999936 Setting Sampling frequency 11.52 MHz Set RX sampling rate 11.52 Mhz, filter BW: 10.00 Mhz

==== eNodeB started === Type to view trace RACH: tti=7391, preamble=51, offset=0, temp_crnti=0x46 SCHED: Could not transmit RAR within the window (RA TTI=7391, Window=10, Now=7405) RACH: tti=7421, preamble=46, offset=0, temp_crnti=0x47 SCHED: Could not transmit RAR within the window (RA TTI=7421, Window=10, Now=7436) RACH: tti=7451, preamble=39, offset=0, temp_crnti=0x48 SCHED: Could not transmit RAR within the window (RA TTI=7451, Window=10, Now=7466) Disconnecting rnti=0x46. RACH: tti=7481, preamble=25, offset=0, temp_crnti=0x49 SCHED: Could not transmit RAR within the window (RA TTI=7481, Window=10, Now=7495) RACH: tti=7511, preapi@pi-ubuntu:~$ sudo srsenb [sudo] password for pi:

Built in Release mode using commit 429ee901 on branch master.

--- Software Radio Systems LTE eNodeB ---

Reading configuration file /home/pi/.config/srslte/enb.conf... [INFO] [UHD] linux; GNU C++ version 7.3.0; Boost_106501; UHD_3.15.0.git-84-g164d76dc Opening USRP with args: Error opening UHD: code 11 Opening bladeRF... Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz Setting frequency: DL=2685.0 Mhz, UL=2565.0 MHz set TX frequency to 2684999936 set RX frequency to 2564999936 Setting Sampling frequency 11.52 MHz Set RX sampling rate 11.52 Mhz, filter BW: 10.00 Mhz

==== eNodeB started === Type to view trace RACH: tti=7391, preamble=51, offset=0, temp_crnti=0x46 SCHED: Could not transmit RAR within the window (RA TTI=7391, Window=10, Now=7405) RACH: tti=7421, preamble=46, offset=0, temp_crnti=0x47 SCHED: Could not transmit RAR within the window (RA TTI=7421, Window=10, Now=7436) RACH: tti=7451, preamble=39, offset=0, temp_crnti=0x48 SCHED: Could not transmit RAR within the window (RA TTI=7451, Window=10, Now=7466) Disconnecting rnti=0x46. RACH: tti=7481, preamble=25, offset=0, temp_crnti=0x49 SCHED: Could not transmit RAR within the window (RA TTI=7481, Window=10, Now=7495) RACH: tti=7511, preamble=1, offset=0, temp_crnti=0x4a Disconnecting rnti=0x47. Disconnecting rnti=0x48. Disconnecting rnti=0x49. RACH: tti=7601, preamble=46, offset=0, temp_crnti=0x4b RACH: tti=7691, preamble=37, offset=0, temp_crnti=0x4c RACH: tti=7781, preamble=11, offset=0, temp_crnti=0x4d RACH: tti=7871, preamble=36, offset=0, temp_crnti=0x4e SCHED: Could not transmit RAR within the window (RA TTI=7871, Window=10, Now=7886) RACH: tti=7901, preamble=42, offset=0, temp_crnti=0x4f SCHED: Could not transmit RAR within the window (RA TTI=7901, Window=10, Now=7915) Disconnecting rnti=0x4e. Disconnecting rnti=0x4f. Disconnecting rnti=0x4a. Disconnecting rnti=0x4b. Disconnecting rnti=0x4c. Disconnecting rnti=0x4d. RACH: tti=151, preamble=44, offset=0, temp_crnti=0x50 User 0x50 connected Disconnecting rnti=0x50. mble=1, offset=0, temp_crnti=0x4a Disconnecting rnti=0x47. Disconnecting rnti=0x48. Disconnecting rnti=0x49. RACH: tti=7601, preamble=46, offset=0, temp_crnti=0x4b RACH: tti=7691, preamble=37, offset=0, temp_crnti=0x4c RACH: tti=7781, preamble=11, offset=0, temp_crnti=0x4d RACH: tti=7871, preamble=36, offset=0, temp_crnti=0x4e SCHED: Could not transmit RAR within the window (RA TTI=7871, Window=10, Now=7886) RACH: tti=7901, preamble=42, offset=0, temp_crnti=0x4f SCHED: Could not transmit RAR within the window (RA TTI=7901, Window=10, Now=7915) Disconnecting rnti=0x4e. Disconnecting rnti=0x4f. Disconnecting rnti=0x4a. Disconnecting rnti=0x4b. Disconnecting rnti=0x4c. Disconnecting rnti=0x4d. RACH: tti=151, preamble=44, offset=0, temp_crnti=0x50 User 0x50 connected Disconnecting rnti=0x50. 2, ra-rnti=0x2 Random Access Transmission: seq=31, ra-rnti=0x2 Random Access Transmission: seq=25, ra-rnti=0x2 Random Access Transmission: seq=45, ra-rnti=0x2 Random Access Transmission: seq=1, ra-rnti=0x2 Random Access Transmission: seq=42, ra-rnti=0x2 Warning: Detected Radio-Link Failure Setting PDN protocol to IPv4 Random Access Transmission: seq=28, ra-rnti=0x2 RRC Connected Random Access Complete. c-rnti=0x50, ta=0 Network attach successful. IP: 172.16.0.2 Software Radio Systems LTE (srsLTE) Received RRC Connection Release RRC IDLE

Thanks in advance, Nehemiah

andrepuschmann commented 5 years ago

Closing this here because the discussion seems to go nowhere. Please use the list for config issues like this.