Hi Purva Joshi,

let's pick this apart:

On 18.12.23 12:41, [email protected] wrote:
Dear Users,

I am using USRP N310, with UHD 4.0 version in Ubuntu 20.04. When I want to test 
my uplink sniffing using N310, it gives me following errors:

1) \[WARNING\] \[MPM.RPCServer\] A timeout event occured!
not an error, just a warning. This might be benign, but probably is symptomatic of something else.
2) \[WARNING\] \[0/Radio#0\] Attempting to set tick rate to 0. Skipping.
Another warning, not an error. This is something that happens when you don't initialize with an MCR, so probably benign.
3) \[ERROR\] \[UHD RF\] std::bad_alloc

This! Is the actually point where a problem leads to an error. However, that logging format looks like srsRAN, not UHD to me. So probably, what happened is that the USRP was not correctly initialized by srsRAN, then srsRAN asks UHD for something and bases a buffer allocation on that, which then goes wrong. (this is but a guess).


Could you do two things, please?

1.) Make sure `uhd_usrp_probe --args 'arguments as specified in srsRAN'` works (please redirect the output into a file and attach that!). The arguments, if any, are specified in your srsran config under `ru_sdr:`, `device_args`. Generally, please also attach your srsRAN config .yml file

2.) Try to run this on a more modern UHD. IIRC, you can install srsRAN quite straightforwardly on Ubuntu 22.04; using `podman`, you can try doing that in a container without touching your main operating system at all (`sudo podman run -it -v $(pwd):/data:Z --network=host ubuntu:23.10`, then `apt update; apt install software-properties-common; add-apt-repository ppa:softwareradiosystems/srsran-project; apt update; apt install srsran-project`).


Best regards,

Marcus

_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to