[srsran-users] Which development environment do you use?

Robert Falkenberg robert.falkenberg at srs.io
Fri Jun 10 08:46:25 UTC 2022


Hi Ahmad,

in general, the |srsenb| does not require root privileges. But maybe 
some RF devices are not accessible by the unprivileged users.
At least for ZMQ and UHD (USRPs) I can run |srsenb| as normal user 
without any tweaks.
The output of the Debug Console mentions bladeRF, so it might be 
different for that RF device. It may require you to change
permissions to access the bladeRF device as unprivileged user. This is 
only a guess.
It would be helpful if you could share the log files and the (normal) 
console output, so we can confirm the reason for the failure.

Best regards
Robert

On 08.06.22 03:57, Ahmad Oweis wrote:

> Hi Robert,
>
> The project builds successfully, but then when it tries to execute, it 
> exits with code 1. Here are the last lines I get in the Debug Console 
> of Visual Studio code when I run without root privileges. So, is it 
> supposed to run successfully without sudo?
>
> Loaded '/lib/x86_64-linux-gnu/libpthread.so.0'. Symbols loaded.
> Loaded '/lib/x86_64-linux-gnu/libboost_program_options.so.1.71.0'. 
> Symbols loaded.
> Loaded '/lib/x86_64-linux-gnu/libmbedcrypto.so.3'. Symbols loaded.
> Loaded '/lib/x86_64-linux-gnu/libconfig++.so.9'. Symbols loaded.
> Loaded '/lib/x86_64-linux-gnu/libsctp.so.1'. Symbols loaded.
> Loaded 
> '/home/ahmad/GitHub/LTE-mobility/src/build/lib/src/phy/rf/libsrsran_rf.so.0'. 
> Symbols loaded.
> Loaded '/lib/x86_64-linux-gnu/libfftw3f.so.3'. Symbols loaded.
> Loaded '/lib/x86_64-linux-gnu/libstdc++.so.6'. Symbols loaded.
> Loaded '/lib/x86_64-linux-gnu/libm.so.6'. Symbols loaded.
> Loaded '/lib/x86_64-linux-gnu/libgcc_s.so.1'. Symbols loaded.
> Loaded '/lib/x86_64-linux-gnu/libc.so.6'. Symbols loaded.
> Loaded '/usr/local/lib/libbladeRF.so.2'. Symbols loaded.
> Loaded '/lib/x86_64-linux-gnu/libusb-1.0.so.0'. Symbols loaded.
> Loaded '/lib/x86_64-linux-gnu/libudev.so.1'. Symbols loaded.
> [Inferior 1 (process 9178) exited with code 01]
> The program 
> '/home/ahmad/GitHub/LTE-mobility/src/build/srsenb/src/srsenb' has 
> exited with code 1 (0x00000001).
>
> Thanks,
>
> Ahmad
>
> On Tue, Jun 7, 2022 at 10:48 AM Robert Falkenberg 
> <robert.falkenberg at srs.io> wrote:
>
>     Hi Ahmad,
>     on what exactly does the eNB fail on your side when run without
>     rootprivileges?
>
>     Best regards,
>     Robert
>
>
>     On 03.06.22 05:05, Ahmad Oweis wrote:
>>     Hi all,
>>
>>     I was using VS Code to run and debug srsenb, and I had tostart
>>     vscode with "sudo", as otherwise, it won't run.Recently, there
>>     was a new release of VS Code which does notwork with sudo. This
>>     was reported as a bug but it was closedwithout a fix
>>     (https://github.com/microsoft/vscode/issues/146847).I just want
>>     to know how you guys are developing and debuggingthe code?
>>
>>     Thank you
>>     -- 
>>     Ahmad Oweis
>>
>>     _______________________________________________srsran-users mailing listsrsran-users at lists.srsran.comhttps://lists.srsran.com/mailman/listinfo/srsran-users
>
>     -- 
>
>
>           RobertFalkenberg
>
>     Senior Engineer
>
>     SoftwareRadio Systems
>
>     	
>     	
>     	
>     	
>
>     	robert at srs.io <mailto:robert at srs.io>
>
>     	www.srs.io <//www.srs.io>
>
>     	Dortmund, Germany
>
>
>
>
>     	
>     twitter <https://twitter.com/srssystems> 	
>
>     _______________________________________________
>     srsran-users mailing list
>     srsran-users at lists.srsran.com
>     https://lists.srsran.com/mailman/listinfo/srsran-users
>
>
>
> -- 
> Ahmad Oweis

​
-- 


      RobertFalkenberg

Senior Engineer

Software Radio Systems

	
	
	
	

	robert at srs.io <mailto:robert at srs.io>

	www.srs.io <//www.srs.io>

	Dortmund, Germany




	
twitter <https://twitter.com/srssystems> 	
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20220610/7c3d6103/attachment-0001.htm>


More information about the srsran-users mailing list