Hi,
I'm using bladeRF A4 with Open Air Interface and the application stops due to this error: "Requested timestamp is in the past" my guess is that the problem is not in OAI but somewhere in bladeRF. It seems like probably the FPGA crashes and resets which causes the internal timers to reset also. I tested the OAI in both machines running the same version of OAI. One of the machines is a Intel i5-4460 and the other one is an HP Proliant ML350 with two Intel Xeon E5-2620 for a total of 24 threads. Surprisingly the problem only happens with the higher spec machine and not on the lower one. It also seems that the USB is reset every time the program crashes and outputs this on Linux log:
"reset SuperSpeed USB device number 2 using xhci_hcd"
Things that I tried and doesn't have any effect:
- Different Linux versions, tested Ubuntu 16.04, 20.04 and 22.04
- Different versions of the FPGA firmware, tested v0.11, v.010, v0.12
- Using external power supply to power BladeRF
bladeRF-cli version: 1.8.0-git-0ffb795c
libbladeRF version: 2.4.1-git-0ffb795c
Firmware version: 2.4.0-git-a3d5c55f
FPGA version: 0.14.0 (configured from SPI flash)
Any ideas as to what might be causing these? or any way I could debug this further?
Please let me know if I should attach some output log.
I'll appreciate any comments.
bladeRF A4 Error: "Requested timestamp is in the past"
-
- Posts: 1
- Joined: Fri Aug 12, 2022 5:38 pm
-
- Posts: 162
- Joined: Thu Feb 28, 2013 11:14 pm
Re: bladeRF A4 Error: "Requested timestamp is in the past"
If OAI is running well on one of the systems, and not the other with the same exact software version, I think this might be related to some power management issue. Can you please confirm the setting of the scaling governors are set to performance?
Please also take a look at this link: https://askubuntu.com/questions/1021748 ... e-in-18-04
Please also take a look at this link: https://askubuntu.com/questions/1021748 ... e-in-18-04
-
- Posts: 2
- Joined: Mon Jan 29, 2024 7:38 pm
Re: bladeRF A4 Error: "Requested timestamp is in the past"
Ensure that the timestamps being used by the software and the BladeRF are synchronized. Timestamps are crucial for proper sample alignment and signal processing. Watermelon Game
-
- Posts: 1
- Joined: Mon Mar 04, 2024 2:10 am
Re: bladeRF A4 Error: "Requested timestamp is in the past"
By default The performance CPU frequency scaling governor will be employed at boot thanks to the configurations of the Ubuntu kernel. The appropriate segment within the kernel configuration file. The CPU frequency of modern processors is scalable, even in performance mode and depending on how deep an idle state they enter.
-
- Posts: 2
- Joined: Fri Mar 22, 2024 1:34 am
Re: bladeRF A4 Error: "Requested timestamp is in the past"
Since you mentioned that the USB is reset every time the program crashesstrands, it's worth investigating if there are any issues with the USB port or cable.
-
- Posts: 2
- Joined: Fri Mar 08, 2024 7:44 pm
Re: bladeRF A4 Error: "Requested timestamp is in the past"
The error message "Requested timestamp is in the past" typically indicates a synchronization problem between the host and the bladeRF device, often caused by a reset or timing issue. Since the USB resets when the program crashes, it suggests that the bladeRF device is encountering some instability.robert.ghilduta wrote: ↑Sat Aug 13, 2022 3:15 am If OAI is running well on one of the systems, and not the other with the same exact software version, I think this might be related to some power management issue. Can you please confirm the setting of the scaling governors are set to performance?
Please also take a look at this link: https://askubuntu.com/questions/1021748 ... e-in-18-04 retro bowl
-
- Posts: 6
- Joined: Tue Nov 28, 2023 6:24 am
Re: bladeRF A4 Error: "Requested timestamp is in the past"
Hi,
I am also exactly same issue.
One Intel i9 13th Generation machine with Ubuntu 22.04.4 LTS, I continuously notice "requested timestamp is in the past" even for 15.36 Msps when running OAI5G. But on an Intel i5 equivalent machine (Basically having AMD Ryzen 5, 2500 U processor), I don't see this issue.
Version of Ubuntu, low latency kernel and OAI code versions are exactly same.
Any solution to this puzzling issue.
I have tried all suggested solutions like setting to performance using cpupower etc but no effect.
One more observation is that on fast Intel i9 machine, If I use Ubutnu command line, I don't see "Requested timestamp is in the past" issue.
Hi @robert.ghilduta , any ideas or possible solutions for this issue?
I am also exactly same issue.
One Intel i9 13th Generation machine with Ubuntu 22.04.4 LTS, I continuously notice "requested timestamp is in the past" even for 15.36 Msps when running OAI5G. But on an Intel i5 equivalent machine (Basically having AMD Ryzen 5, 2500 U processor), I don't see this issue.
Version of Ubuntu, low latency kernel and OAI code versions are exactly same.
Any solution to this puzzling issue.
I have tried all suggested solutions like setting to performance using cpupower etc but no effect.
One more observation is that on fast Intel i9 machine, If I use Ubutnu command line, I don't see "Requested timestamp is in the past" issue.
Hi @robert.ghilduta , any ideas or possible solutions for this issue?
Cheers!
Nitin Jain
Bangalore, India
https://in.linkedin.com/in/nitjain
Nitin Jain
Bangalore, India
https://in.linkedin.com/in/nitjain
-
- Posts: 6
- Joined: Tue Nov 28, 2023 6:24 am
Re: bladeRF A4 Error: "Requested timestamp is in the past"
Further on this same issue. As reported earlier, I also faced exactly same issue.
On very fast machine (Intel i9, 13th Gen proc), I was seeing the issue.
I tried following to disable idle states in processor cores.
sudo cpupower idle-set -D0
It seems to help me as at least for 15.36 Msps rates, I don't see the issue.
I tested with following OAI5G nr-softmodem invocation commands by enabling and disabling idle states and it seems to help me.
sudo ./nr-softmodem -O ../../../targets/PROJECTS//GENERIC-NR-5GC/CONF/gnb.sa.band1.u0.52PRB.usrpb210.conf --sa
Hope it helps.
@nico2022, @robert.ghilduta, @weepymillion
On very fast machine (Intel i9, 13th Gen proc), I was seeing the issue.
I tried following to disable idle states in processor cores.
sudo cpupower idle-set -D0
It seems to help me as at least for 15.36 Msps rates, I don't see the issue.
I tested with following OAI5G nr-softmodem invocation commands by enabling and disabling idle states and it seems to help me.
sudo ./nr-softmodem -O ../../../targets/PROJECTS//GENERIC-NR-5GC/CONF/gnb.sa.band1.u0.52PRB.usrpb210.conf --sa
Hope it helps.
@nico2022, @robert.ghilduta, @weepymillion
Cheers!
Nitin Jain
Bangalore, India
https://in.linkedin.com/in/nitjain
Nitin Jain
Bangalore, India
https://in.linkedin.com/in/nitjain