Closed Zethernos closed 5 years ago
Does the Automatic Gain Control needed for this project? Currently I am trying to build srsUE successfully, before connecting to mobile device. Is there any way to test that the srsenb, srsepc and srsue are working together well?
pi@pi-ubuntu:~/srsLTE/srsue$ sudo srsue ue.conf.example Reading configuration file ue.conf.example...
Built in Release mode using commit 429ee901 on branch master.
--- Software Radio Systems LTE UE ---
Opening RF device with 1 RX antennas... [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 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.2 KHz Set RX sampling rate 11.52 Mhz, filter BW: 10.00 Mhz Found PLMN: Id=00101, TAC=7 Setting PDN protocol to IPv4 Random Access Transmission: seq=40, ra-rnti=0x2 Random Access Transmission: seq=21, ra-rnti=0x2 Random Access Transmission: seq=44, ra-rnti=0x2 Random Access Transmission: seq=4, ra-rnti=0x2 Random Access Transmission: seq=50, ra-rnti=0x2 Random Access Transmission: seq=37, ra-rnti=0x2 Random Access Transmission: seq=36, ra-rnti=0x2 Random Access Transmission: seq=45, ra-rnti=0x2 Random Access Transmission: seq=9, ra-rnti=0x2 Random Access Transmission: seq=20, ra-rnti=0x2 Warning: Detected Radio-Link Failure Setting PDN protocol to IPv4 Random Access Transmission: seq=30, ra-rnti=0x2 Random Access Transmission: seq=36, ra-rnti=0x2 Random Access Transmission: seq=2, ra-rnti=0x2 Random Access Transmission: seq=31, ra-rnti=0x2 Random Access Transmission: seq=20, ra-rnti=0x2 Random Access Transmission: seq=15, ra-rnti=0x2 Random Access Transmission: seq=50, ra-rnti=0x2 Random Access Transmission: seq=46, ra-rnti=0x2 Random Access Transmission: seq=30, ra-rnti=0x2 Random Access Transmission: seq=5, ra-rnti=0x2 Warning: Detected Radio-Link Failure Setting PDN protocol to IPv4 Random Access Transmission: seq=4, ra-rnti=0x2 Random Access Transmission: seq=34, ra-rnti=0x2 Random Access Transmission: seq=27, ra-rnti=0x2 Random Access Transmission: seq=24, ra-rnti=0x2 Random Access Transmission: seq=14, ra-rnti=0x2 Random Access Transmission: seq=1, ra-rnti=0x2 Random Access Transmission: seq=10, ra-rnti=0x2 Random Access Transmission: seq=50, ra-rnti=0x2 ^CStopping srsUE... Press Ctrl+C 9 more times to force stop Random Access Transmission: seq=46, ra-rnti=0x2 Random Access Transmission: seq=19, ra-rnti=0x2 Warning: Detected Radio-Link Failure --- exiting ---
The FPGA is now at version 0.8.0.
pi@pi-ubuntu:~/srsLTE/build/lib/examples$ sudo ./pdsch_ue -f 2450000000 -r 1234 Opening RF device with 1 RX antennas... [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 Starting AGC thread... Tunning receiver to 2450.000 MHz set RX frequency to 2449999999 Searching for cell... Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz Could not find any cell in this frequency Cell not found after 0 trials. Trying again (Press Ctrl+C to exit) Searching for cell... Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz Could not find any cell in this frequency
This error is similar : http://www.softwareradiosystems.com/pipermail/srslte-users/2016-July/000404.html however this is no solution. Is there anyone able to help me resolve this problem?
Hey Zethernos,
Why are you using UHD 3.15.0? Can you use the UHD 3.9.0 LTS version instead? Also, you should be using the srs mailing list for this. This page is only to report issues in the code.
Hey Zethernos,
Why are you using UHD 3.15.0? Can you use the UHD 3.9.0 LTS version instead? Also, you should be using the srs mailing list for this. This page is only to report issues in the code.
May I know does the two computers need to be in the same version? I am trying to create a "fake" base station while I am aiming to build the srsue first. Currently, one of the computers it is running ubuntu 16.04 and uhd 3.14 meant for building srsepc and srsenb. However, the one you pointed out UHD 3.15.0 is in ubuntu 18.04 and using bladeRF x115, therefore must I still touch on it?
Both the srsenb and srsue require UHD 3.9.0 LTS
On Wed, 17 Apr 2019, 03:56 Zethernos, notifications@github.com wrote:
Hey Zethernos,
Why are you using UHD 3.15.0? Can you use the UHD 3.9.0 LTS version instead? Also, you should be using the srs mailing list for this. This page is only to report issues in the code.
May I know does the two computers need to be in the same version? I am trying to create a "fake" base station while I am aiming to build the srsue first. Currently, one of the computers it is running ubuntu 16.04 and uhd 3.14 meant for building srsepc and srsenb.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/srsLTE/srsLTE/issues/331#issuecomment-483917998, or mute the thread https://github.com/notifications/unsubscribe-auth/AEDr3IJVX9r7U2hnN9zAoSvHO8SCdtfkks5vho1ygaJpZM4cvOGY .
Both the srsenb and srsue require UHD 3.9.0 LTS … On Wed, 17 Apr 2019, 03:56 Zethernos, @.***> wrote: Hey Zethernos, Why are you using UHD 3.15.0? Can you use the UHD 3.9.0 LTS version instead? Also, you should be using the srs mailing list for this. This page is only to report issues in the code. May I know does the two computers need to be in the same version? I am trying to create a "fake" base station while I am aiming to build the srsue first. Currently, one of the computers it is running ubuntu 16.04 and uhd 3.14 meant for building srsepc and srsenb. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#331 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AEDr3IJVX9r7U2hnN9zAoSvHO8SCdtfkks5vho1ygaJpZM4cvOGY .
Alright thanks. I will just downloaded it
I received this for the computer using srsue
i@pi-ubuntu:~/srsLTE/build$ sudo apt-get update
Hit:1 http://downloads.metasploit.com/data/releases/metasploit-framework/apt lucid InRelease
Hit:2 https://download.docker.com/linux/ubuntu bionic InRelease
Hit:3 http://id.archive.ubuntu.com/ubuntu bionic InRelease
Ign:4 http://files.ettus.com/binaries/uhd/repo/uhd/ubuntu/bionic bionic InRelease
Get:5 http://id.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Err:6 http://files.ettus.com/binaries/uhd/repo/uhd/ubuntu/bionic bionic Release
404 Not Found [IP: 23.253.215.39 80]
Get:7 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Ign:8 http://ppa.launchpad.net/ettusresearch/uhd-3.9.lts/ubuntu bionic InRelease
Get:9 http://id.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Hit:10 http://ppa.launchpad.net/ettusresearch/uhd/ubuntu bionic InRelease
Hit:11 http://ppa.launchpad.net/srslte/releases/ubuntu bionic InRelease
Err:12 http://ppa.launchpad.net/ettusresearch/uhd-3.9.lts/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
Reading package lists... Done
E: The repository 'http://files.ettus.com/binaries/uhd/repo/uhd/ubuntu/bionic bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/ettusresearch/uhd-3.9.lts/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Should I ignore the error for uhd 3.9 lts?
Can you please help me provide the steps to remove UHD 3.15 I tried to remove it directly by sudo apt-get remove UHD..... , I tried to look for the file but it isn't my directory.
https://launchpad.net/~ettusresearch/+archive/ubuntu/uhd-3.9.lts
I have used this link to download. but it isnt successful. I keep seeing UHD 3.15 while building. Sorry I am totally very new to programming, I apologise for it. Just got started this project since last week.
pi@pi-ubuntu:~$ wget http://ppa.launchpad.net/ettusresearch/uhd-3.9.lts/ubuntu --2019-04-17 17:23:39-- http://ppa.launchpad.net/ettusresearch/uhd-3.9.lts/ubuntu Resolving ppa.launchpad.net (ppa.launchpad.net)... 91.189.95.83 Connecting to ppa.launchpad.net (ppa.launchpad.net)|91.189.95.83|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: http://ppa.launchpad.net/ettusresearch/uhd-3.9.lts/ubuntu/ [following] --2019-04-17 17:23:39-- http://ppa.launchpad.net/ettusresearch/uhd-3.9.lts/ubuntu/ Connecting to ppa.launchpad.net (ppa.launchpad.net)|91.189.95.83|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1128 (1.1K) [text/html] Saving to: ‘ubuntu’
ubuntu 100%[==============================>] 1.10K --.-KB/s in 0s
2019-04-17 17:23:40 (66.8 MB/s) - ‘ubuntu’ saved [1128/1128]
I don't think that looks right. Just install from source.
git clone https://github.com/EttusResearch/uhd.git cd uhd git checkout UHD-3.9.LTS cd host mkdir build cmake .. make sudo make install sudo ldconfig
Now when you run "uhd_usrp_probe" you should see 3.9LTS
On Wed, Apr 17, 2019 at 10:11 AM Zethernos notifications@github.com wrote:
Both the srsenb and srsue require UHD 3.9.0 LTS … <#m-4100170481380597800> On Wed, 17 Apr 2019, 03:56 Zethernos, @.***> wrote: Hey Zethernos, Why are you using UHD 3.15.0? Can you use the UHD 3.9.0 LTS version instead? Also, you should be using the srs mailing list for this. This page is only to report issues in the code. May I know does the two computers need to be in the same version? I am trying to create a "fake" base station while I am aiming to build the srsue first. Currently, one of the computers it is running ubuntu 16.04 and uhd 3.14 meant for building srsepc and srsenb. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#331 (comment) https://github.com/srsLTE/srsLTE/issues/331#issuecomment-483917998>, or mute the thread https://github.com/notifications/unsubscribe-auth/AEDr3IJVX9r7U2hnN9zAoSvHO8SCdtfkks5vho1ygaJpZM4cvOGY .
Alright thanks. I will just downloaded it I received this for the computer using srsue i@pi-ubuntu:~/srsLTE/build$ sudo apt-get update Hit:1 http://downloads.metasploit.com/data/releases/metasploit-framework/apt lucid InRelease Hit:2 https://download.docker.com/linux/ubuntu bionic InRelease Hit:3 http://id.archive.ubuntu.com/ubuntu bionic InRelease Ign:4 http://files.ettus.com/binaries/uhd/repo/uhd/ubuntu/bionic bionic InRelease Get:5 http://id.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Err:6 http://files.ettus.com/binaries/uhd/repo/uhd/ubuntu/bionic bionic Release 404 Not Found [IP: 23.253.215.39 80] Get:7 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Ign:8 http://ppa.launchpad.net/ettusresearch/uhd-3.9.lts/ubuntu bionic InRelease Get:9 http://id.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Hit:10 http://ppa.launchpad.net/ettusresearch/uhd/ubuntu bionic InRelease Hit:11 http://ppa.launchpad.net/srslte/releases/ubuntu bionic InRelease Err:12 http://ppa.launchpad.net/ettusresearch/uhd-3.9.lts/ubuntu bionic Release 404 Not Found [IP: 91.189.95.83 80] Reading package lists... Done E: The repository ' http://files.ettus.com/binaries/uhd/repo/uhd/ubuntu/bionic bionic Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. E: The repository ' http://ppa.launchpad.net/ettusresearch/uhd-3.9.lts/ubuntu bionic Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. Should I ignore the error for uhd 3.9 lts?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/srsLTE/srsLTE/issues/331#issuecomment-484003445, or mute the thread https://github.com/notifications/unsubscribe-auth/AEDr3AIPN7cbRnvCevOtCBzgrE4EGmFBks5vhuU3gaJpZM4cvOGY .
This is not an issue, please move discussion to mailing list http://www.softwareradiosystems.com/mailman/listinfo/srslte-users
I don't think that looks right. Just install from source. git clone https://github.com/EttusResearch/uhd.git cd uhd git checkout UHD-3.9.LTS cd host mkdir build cmake .. make sudo make install sudo ldconfig Now when you run "uhd_usrpprobe" you should see 3.9LTS … On Wed, Apr 17, 2019 at 10:11 AM Zethernos @.***> wrote: Both the srsenb and srsue require UHD 3.9.0 LTS … <#m-4100170481380597800_> On Wed, 17 Apr 2019, 03:56 Zethernos, @.> wrote: Hey Zethernos, Why are you using UHD 3.15.0? Can you use the UHD 3.9.0 LTS version instead? Also, you should be using the srs mailing list for this. This page is only to report issues in the code. May I know does the two computers need to be in the same version? I am trying to create a "fake" base station while I am aiming to build the srsue first. Currently, one of the computers it is running ubuntu 16.04 and uhd 3.14 meant for building srsepc and srsenb. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#331 (comment) <#331 (comment)>>, or mute the thread https://github.com/notifications/unsubscribe-auth/AEDr3IJVX9r7U2hnN9zAoSvHO8SCdtfkks5vho1ygaJpZM4cvOGY . Alright thanks. I will just downloaded it I received this for the computer using srsue @.:~/srsLTE/build$ sudo apt-get update Hit:1 http://downloads.metasploit.com/data/releases/metasploit-framework/apt lucid InRelease Hit:2 https://download.docker.com/linux/ubuntu bionic InRelease Hit:3 http://id.archive.ubuntu.com/ubuntu bionic InRelease Ign:4 http://files.ettus.com/binaries/uhd/repo/uhd/ubuntu/bionic bionic InRelease Get:5 http://id.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Err:6 http://files.ettus.com/binaries/uhd/repo/uhd/ubuntu/bionic bionic Release 404 Not Found [IP: 23.253.215.39 80] Get:7 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Ign:8 http://ppa.launchpad.net/ettusresearch/uhd-3.9.lts/ubuntu bionic InRelease Get:9 http://id.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Hit:10 http://ppa.launchpad.net/ettusresearch/uhd/ubuntu bionic InRelease Hit:11 http://ppa.launchpad.net/srslte/releases/ubuntu bionic InRelease Err:12 http://ppa.launchpad.net/ettusresearch/uhd-3.9.lts/ubuntu bionic Release 404 Not Found [IP: 91.189.95.83 80] Reading package lists... Done E: The repository ' http://files.ettus.com/binaries/uhd/repo/uhd/ubuntu/bionic bionic Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. E: The repository ' http://ppa.launchpad.net/ettusresearch/uhd-3.9.lts/ubuntu bionic Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. Should I ignore the error for uhd 3.9 lts? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#331 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AEDr3AIPN7cbRnvCevOtCBzgrE4EGmFBks5vhuU3gaJpZM4cvOGY .
I followed your steps then I achieved this as the result( when I used bladeRF to connect) uhd_usrp_probe linux; GNU C++ version 7.3.0; Boost_106501; UHD_003.009.007-5-ge8202128
Error: LookupError: KeyError: No devices found for -----> Empty Device Address ................................... When I used b210 to connect uhd_usrp_probe linux; GNU C++ version 7.3.0; Boost_106501; UHD_003.009.007-5-ge8202128
-- Loading firmware image: /usr/local/share/uhd/images/usrp_b200_fw.hex... -- Detected Device: B210 -- Loading FPGA image: /usr/local/share/uhd/images/usrp_b210_fpga.bin... done -- Operating over USB 3. -- Detecting internal GPSDO.... No GPSDO found -- 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 16.000000 MHz... -- Actually got clock rate 16.000000 MHz. -- Performing timer loopback test... pass -- Performing timer loopback test... pass -- Setting master clock rate selection to 'automatic'.
/ | Device: B-Series Device | _____ | / | Mboard: B210 | revision: 4 | product: 2 | serial: 3136D68 | name: MyB210 | FW Version: 8.0 | FPGA Version: 13.0 | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Time sources: none, internal, external, gpsdo | |||||||||||||||||
Clock sources: internal, external, gpsdo | |||||||||||||||||
Sensors: ref_locked | |||||||||||||||||
_____ | |||||||||||||||||
/ | |||||||||||||||||
RX DSP: 0 | |||||||||||||||||
Freq range: -8.000 to 8.000 MHz | |||||||||||||||||
_____ | |||||||||||||||||
/ | |||||||||||||||||
RX DSP: 1 | |||||||||||||||||
Freq range: -8.000 to 8.000 MHz | |||||||||||||||||
_____ | |||||||||||||||||
/ | |||||||||||||||||
RX Dboard: A | |||||||||||||||||
_____ | |||||||||||||||||
/ | |||||||||||||||||
RX Frontend: A | |||||||||||||||||
Name: FE-RX2 | |||||||||||||||||
Antennas: TX/RX, RX2 | |||||||||||||||||
Sensors: temp, rssi, lo_locked | |||||||||||||||||
Freq range: 50.000 to 6000.000 MHz | |||||||||||||||||
Gain range PGA: 0.0 to 76.0 step 1.0 dB | |||||||||||||||||
Bandwidth range: 200000.0 to 56000000.0 step 0.0 Hz | |||||||||||||||||
Connection Type: IQ | |||||||||||||||||
Uses LO offset: No | |||||||||||||||||
_____ | |||||||||||||||||
/ | |||||||||||||||||
RX Frontend: B | |||||||||||||||||
Name: FE-RX1 | |||||||||||||||||
Antennas: TX/RX, RX2 | |||||||||||||||||
Sensors: temp, rssi, lo_locked | |||||||||||||||||
Freq range: 50.000 to 6000.000 MHz | |||||||||||||||||
Gain range PGA: 0.0 to 76.0 step 1.0 dB | |||||||||||||||||
Bandwidth range: 200000.0 to 56000000.0 step 0.0 Hz | |||||||||||||||||
Connection Type: IQ | |||||||||||||||||
Uses LO offset: No | |||||||||||||||||
_____ | |||||||||||||||||
/ | |||||||||||||||||
RX Codec: A | |||||||||||||||||
Name: B210 RX dual ADC | |||||||||||||||||
Gain Elements: None | |||||||||||||||||
_____ | |||||||||||||||||
/ | |||||||||||||||||
TX DSP: 0 | |||||||||||||||||
Freq range: -8.000 to 8.000 MHz | |||||||||||||||||
_____ | |||||||||||||||||
/ | |||||||||||||||||
TX DSP: 1 | |||||||||||||||||
Freq range: -8.000 to 8.000 MHz | |||||||||||||||||
_____ | |||||||||||||||||
/ | |||||||||||||||||
TX Dboard: A | |||||||||||||||||
_____ | |||||||||||||||||
/ | |||||||||||||||||
TX Frontend: A | |||||||||||||||||
Name: FE-TX2 | |||||||||||||||||
Antennas: TX/RX | |||||||||||||||||
Sensors: temp, lo_locked | |||||||||||||||||
Freq range: 50.000 to 6000.000 MHz | |||||||||||||||||
Gain range PGA: 0.0 to 89.8 step 0.2 dB | |||||||||||||||||
Bandwidth range: 200000.0 to 56000000.0 step 0.0 Hz | |||||||||||||||||
Connection Type: IQ | |||||||||||||||||
Uses LO offset: No | |||||||||||||||||
_____ | |||||||||||||||||
/ | |||||||||||||||||
TX Frontend: B | |||||||||||||||||
Name: FE-TX1 | |||||||||||||||||
Antennas: TX/RX | |||||||||||||||||
Sensors: temp, lo_locked | |||||||||||||||||
Freq range: 50.000 to 6000.000 MHz | |||||||||||||||||
Gain range PGA: 0.0 to 89.8 step 0.2 dB | |||||||||||||||||
Bandwidth range: 200000.0 to 56000000.0 step 0.0 Hz | |||||||||||||||||
Connection Type: IQ | |||||||||||||||||
Uses LO offset: No | |||||||||||||||||
_____ | |||||||||||||||||
/ | |||||||||||||||||
TX Codec: A | |||||||||||||||||
Name: B210 TX dual DAC | |||||||||||||||||
Gain Elements: None |
I think I got 3.9.7 however, when I build sudo srsue, it just shows UHD 3.15 the original version(ubuntu 18.04(srsue)) or UHD 3.14 (ubuntu 16.04 for srsepc). I am sorry to trouble you but I am totally lost. I also build ue/epc/enb conf example respectively sometimes it doesn't well, only after restarting the computer or plugging the usb into other port or running the command. However, when the sudo srsue builds successfully, Opening USRP with args: Error opening UHD: code 11 Opening bladeRF... Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz Starting AGC thread... Tunning receiver to 2450.000 MHz set RX frequency to 2449999999 Searching for cell... Set RX sampling rate 1.92 Mhz, filter BW: 2.50 Mhz.
For this project, I used B210 for the srsepc and srsenb, bladeRF for srsue. Just to check, if i use uhd_usrp_probe, when plugged it, it won't show anything when plugged with BladeRF
pi@pi-ubuntu:~$ uhd_usrp_probe linux; GNU C++ version 7.3.0; Boost_106501; UHD_003.009.007-5-ge8202128
Error: LookupError: KeyError: No devices found for -----> Empty Device Address
Hi thanks a lot for your help. I would thank you for helping me. However, I have followed the steps you have provided the one with bladeRF doesn't seem to be working. Is there an alternative method where I can utilise 3.09LTS on the Ubuntu 18.04. Currently the Ubuntu 16.04 on the b210 is able to run with sudo srsue with UHD 3.09.07 while the Ubuntu 18.04 on the bladeRF with sudo srsepc and srsenb. I understand I shouldn't be posting here, however, I have sending to the srslte mail and it has been several days that my posts are not posted or no response from the moderator. I am grateful if these is something that I can rectify because I have read several posts.
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 -- IMSI Style Attach request Attach request -- IMSI: 001010123456789 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 Downlink NAS: Sending 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 ^CDeleting eNB context. eNB Id: 0x19b Deleting UE EMM context. IMSI: 001010123456789 Deleting SP-GW GTP-C Tunnel. IMSI: 1010123456789 Deleting UE context in HSS. IMSI: 001010123456780 Deleting UE context in HSS. IMSI: 001010123456789
--- exiting ---
Deleting UE context in HSS. IMSI: 001010123456789
--- exiting ---
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
==== eNodeB started ===
Type
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... -- Loading firmware image: /usr/local/share/uhd/images/usrp_b200_fw.hex... Opening USRP with args: type=b200,master_clock_rate=30.72e6 -- Detected Device: B210 -- Loading FPGA image: /usr/local/share/uhd/images/usrp_b210_fpga.bin... done -- Operating over USB 3. -- Detecting internal GPSDO.... No GPSDO found -- 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=-1.7 KHz Found PLMN: Id=00101, TAC=7 Setting PDN protocol to IPv4 Random Access Transmission: seq=0, ra-rnti=0x2 Random Access Transmission: seq=22, ra-rnti=0x2 Random Access Transmission: seq=0, ra-rnti=0x2 Random Access Transmission: seq=26, ra-rnti=0x2 Random Access Transmission: seq=28, ra-rnti=0x2 Random Access Transmission: seq=34, ra-rnti=0x2 Random Access Transmission: seq=0, ra-rnti=0x2 Random Access Transmission: seq=25, ra-rnti=0x2 Random Access Transmission: seq=13, ra-rnti=0x2 Random Access Transmission: seq=39, ra-rnti=0x2 Warning: Detected Radio-Link Failure Setting PDN protocol to IPv4 Random Access Transmission: seq=37, 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) Warning: Detected Radio-Link Failure RRC Connection Reestablishment RRC IDLE
Issue Description
[Describe the issue in detail]
Setup Details
Currently using B210, two laptops. Ubutnu 18.04.1 LTS, 64 bit(currently resolving this issue) with BladeRFx40, using this website for instructions.
Expected Behavior
Unsure the reason behind this
Actual Behaviour
pi@pi-ubuntu:~$ sudo srsue Reading configuration file /home/pi/.config/srslte/ue.conf...
Built in Release mode using commit 429ee901 on branch master.
--- Software Radio Systems LTE UE ---
Opening RF device with 1 RX antennas... [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... [WARNING @ host/libraries/libbladeRF/src/board/bladerf1/bladerf1.c:1695] AGC not supported by FPGA. Manual gain control will be used instead. [INFO @ host/libraries/libbladeRF/src/board/bladerf1/bladerf1.c:1696] To enable AGC, download and install FPGA v0.7.0 or newer from https://nuand.com/fpga/, then see "Generating a DC offset table" at https://github.com/Nuand/bladeRF/wiki/DC-offset-and-IQ-Imbalance-Correction 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.5 KHz Set RX sampling rate 11.52 Mhz, filter BW: 10.00 Mhz Found PLMN: Id=00101, TAC=7 Setting PDN protocol to IPv4 Random Access Transmission: seq=19, ra-rnti=0x2 Random Access Transmission: seq=32, ra-rnti=0x2 Random Access Transmission: seq=22, ra-rnti=0x2 Random Access Transmission: seq=42, ra-rnti=0x2 Random Access Transmission: seq=43, ra-rnti=0x2 Random Access Transmission: seq=38, ra-rnti=0x2 Random Access Transmission: seq=5, ra-rnti=0x2 Random Access Transmission: seq=3, ra-rnti=0x2 Random Access Transmission: seq=49, ra-rnti=0x2 Random Access Transmission: seq=36, ra-rnti=0x2 Warning: Detected Radio-Link Failure Setting PDN protocol to IPv4
Steps to reproduce the problem
Running srsepc and srsenb on the other laptop with b210 from ettus
Additional Information
bladeRF> version
bladeRF-cli version: 1.7.1-git-1da130cb libbladeRF version: 2.2.0-git-1da130cb
Firmware version: 1.9.0 FPGA version: 0.1.2
bladeRF> info
Board: Nuand bladeRF (bladerf1) Serial #: 54548816f628f3ba6703dc275e26b9d2 VCTCXO DAC calibration: 0x9121 FPGA size: 115 KLE FPGA loaded: yes Flash size: 32 Mbit (assumed) USB bus: 2 USB address: 8 USB speed: SuperSpeed Backend: libusb Instance: 0 pi@pi-ubuntu:~$ sudo srsue [sudo] password for pi: Reading configuration file /home/pi/.config/srslte/ue.conf...
Built in Release mode using commit 429ee901 on branch master.
From b210 pi@pi:~$ uhd_usrp_probe [INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800; UHD_3.14.0.0-release [INFO] [B200] Detected Device: B210 [INFO] [B200] Operating over USB 3. [INFO] [B200] Initialize CODEC control... [INFO] [B200] Initialize Radio control... [INFO] [B200] Performing register loopback test... [INFO] [B200] Register loopback test passed [INFO] [B200] Performing register loopback test... [INFO] [B200] Register loopback test passed [INFO] [B200] Setting master clock rate selection to 'automatic'. [INFO] [B200] Asking for clock rate 16.000000 MHz... [INFO] [B200] Actually got clock rate 16.000000 MHz.
pi@pi:~$ sudo srsepc
Built in Release mode using commit 429ee90 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.
pi@pi:~$ sudo srsenb
Built in Release mode using commit 429ee90 on branch master.
--- Software Radio Systems LTE eNodeB ---
Reading configuration file /home/pi/.config/srslte/enb.conf... [INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800; UHD_3.14.0.0-release Opening USRP with args: type=b200,master_clock_rate=30.72e6 [INFO] [B200] Detected Device: B210 [INFO] [B200] Operating over USB 3. [INFO] [B200] Initialize CODEC control... [INFO] [B200] Initialize Radio control... [INFO] [B200] Performing register loopback test... [INFO] [B200] Register loopback test passed [INFO] [B200] Performing register loopback test... [INFO] [B200] Register loopback test passed [INFO] [B200] Asking for clock rate 30.720000 MHz... [INFO] [B200] Actually got clock rate 30.720000 MHz. Setting frequency: DL=2685.0 Mhz, UL=2565.0 MHz [INFO] [B200] Asking for clock rate 11.520000 MHz... [INFO] [B200] Actually got clock rate 11.520000 MHz. Setting Sampling frequency 11.52 MHz
==== eNodeB started === Type to view trace
^CStopping srsENB... Press Ctrl+C 9 more times to force stop
U--- exiting ---
pi@pi:~$ sudo srsenb
[sudo] password for pi:
Built in Release mode using commit 429ee90 on branch master.
--- Software Radio Systems LTE eNodeB ---
Reading configuration file /home/pi/.config/srslte/enb.conf... [INFO] [UHD] linux; GNU C++ version 5.4.0 20160609; Boost_105800; UHD_3.14.0.0-release Opening USRP with args: type=b200,master_clock_rate=30.72e6 [INFO] [B200] Detected Device: B210 [INFO] [B200] Operating over USB 3. [INFO] [B200] Initialize CODEC control... [INFO] [B200] Initialize Radio control... [INFO] [B200] Performing register loopback test... [INFO] [B200] Register loopback test passed [INFO] [B200] Performing register loopback test... [INFO] [B200] Register loopback test passed [INFO] [B200] Asking for clock rate 30.720000 MHz... [INFO] [B200] Actually got clock rate 30.720000 MHz. Setting frequency: DL=2685.0 Mhz, UL=2565.0 MHz [INFO] [B200] Asking for clock rate 11.520000 MHz... [INFO] [B200] Actually got clock rate 11.520000 MHz. Setting Sampling frequency 11.52 MHz
==== eNodeB started === Type to view trace