usrp-users@lists.ettus.com

Discussion and technical support related to USRP, UHD, RFNoC

View all threads

USRP B210 streamer throwing BAD PACKET and TIMEOUT error

AA
anil.antony@ltts.com
Tue, Nov 14, 2023 12:01 PM

Hi,

I am using usrp B210 for my 5G test bench setup. The setup is consists of Openairinterface5G 5G stack and UHD driver 4.3.0. UHD driver is installed form source code approach and only one libuhd driver is in use. My setup is as follows,

  • Intel i7, 8 core, 8GB RAM,  3.6GHz CPU with ubuntu18.04, 4.15.0.123 Low latency kernel.

  • USB 3.0 connection

  • Log periodic antenna (LP0965 Antenna)

Snippet of the error:
[HW]  [recv] received 14380 samples out of 23040

[ERROR] [STREAMER] The receive packet handler caught a value exception.

ValueError: bad vrt header or packet fragment

[HW]  ERROR_CODE_BAD_PACKET

[PHY]  rx_rf: Asked for 23040 samples, got 14380 from USRP

[PHY]  problem receiving samples

[HW]  [recv] received 0 samples out of 23040

[HW]  ERROR_CODE_TIMEOUT

kern.log:
Nov 14 07:04:43 MYTSP00192 kernel: [489670.971642] xhci_hcd 0000:00:14.0: WARN Cannot submit Set TR Deq Ptr

Nov 14 07:04:43 MYTSP00192 kernel: [489670.971644] xhci_hcd 0000:00:14.0: A Set TR Deq Ptr command is pending.

Nov 14 11:54:29 MYTSP00192 kernel: [507057.294029] enp4s0: Invalid MTU 9000 requested, hw max 1500

Nov 14 11:54:29 MYTSP00192 kernel: [507057.592639] xhci_hcd 0000:00:14.0: bad transfer trb length 7680 in event trb

Please help me.

Regards,

Anil

Hi, I am using usrp B210 for my 5G test bench setup. The setup is consists of Openairinterface5G 5G stack and UHD driver 4.3.0. UHD driver is installed form source code approach and only one libuhd driver is in use. My setup is as follows, * Intel i7, 8 core, 8GB RAM, 3.6GHz CPU with ubuntu18.04, 4.15.0.123 Low latency kernel. * USB 3.0 connection * Log periodic antenna (**LP0965 Antenna)** Snippet of the error:\ \[HW\] \[recv\] received 14380 samples out of 23040 \[ERROR\] \[STREAMER\] The receive packet handler caught a value exception. ValueError: bad vrt header or packet fragment \[HW\] ERROR_CODE_BAD_PACKET \[PHY\] rx_rf: Asked for 23040 samples, got 14380 from USRP \[PHY\] problem receiving samples \[HW\] \[recv\] received 0 samples out of 23040 \[HW\] ERROR_CODE_TIMEOUT kern.log:\ Nov 14 07:04:43 MYTSP00192 kernel: \[489670.971642\] xhci_hcd 0000:00:14.0: WARN Cannot submit Set TR Deq Ptr Nov 14 07:04:43 MYTSP00192 kernel: \[489670.971644\] xhci_hcd 0000:00:14.0: A Set TR Deq Ptr command is pending. Nov 14 11:54:29 MYTSP00192 kernel: \[507057.294029\] enp4s0: Invalid MTU 9000 requested, hw max 1500 Nov 14 11:54:29 MYTSP00192 kernel: \[507057.592639\] xhci_hcd 0000:00:14.0: bad transfer trb length 7680 in event trb\ \ Please help me.\ \ Regards, Anil
MD
Marcus D. Leech
Tue, Nov 14, 2023 3:39 PM

On 14/11/2023 07:01, anil.antony@ltts.com wrote:

Hi,

I am using usrp B210 for my 5G test bench setup. The setup is consists
of Openairinterface5G 5G stack and UHD driver 4.3.0. UHD driver is
installed form source code approach and only one libuhd driver is in
use. My setup is as follows,

 Intel i7, 8 core, 8GB RAM, 3.6GHz CPU with ubuntu18.04, 4.15.0.123
 Low latency kernel.
 USB 3.0 connection
 Log periodic antenna (*LP0965 Antenna)*

Snippet of the error:
[HW] [recv] received 14380 samples out of 23040

[ERROR] [STREAMER] The receive packet handler caught a value exception.

ValueError: bad vrt header or packet fragment

[HW] ERROR_CODE_BAD_PACKET

[PHY] rx_rf: Asked for 23040 samples, got 14380 from USRP

[PHY] problem receiving samples

[HW] [recv] received 0 samples out of 23040

[HW] ERROR_CODE_TIMEOUT

kern.log:
Nov 14 07:04:43 MYTSP00192 kernel: [489670.971642] xhci_hcd
0000:00:14.0: WARN Cannot submit Set TR Deq Ptr

Nov 14 07:04:43 MYTSP00192 kernel: [489670.971644] xhci_hcd
0000:00:14.0: A Set TR Deq Ptr command is pending.

Nov 14 11:54:29 MYTSP00192 kernel: [507057.294029] enp4s0: Invalid MTU
9000 requested, hw max 1500

Nov 14 11:54:29 MYTSP00192 kernel: [507057.592639] xhci_hcd
0000:00:14.0: bad transfer trb length 7680 in event trb

Please help me.

Regards,

Anil

Yeah, so there's something wrong with your USB3 subsystem.   Maybe a bad
cable?   Try using the external power supply
  on the B210 if you aren't already.

Also:

https://kb.ettus.com/USRP_Host_Performance_Tuning_Tips_and_Tricks

And you might look into the transport parameters for USB:

https://files.ettus.com/manual/page_transport.html

On 14/11/2023 07:01, anil.antony@ltts.com wrote: > > Hi, > > I am using usrp B210 for my 5G test bench setup. The setup is consists > of Openairinterface5G 5G stack and UHD driver 4.3.0. UHD driver is > installed form source code approach and only one libuhd driver is in > use. My setup is as follows, > > * > > Intel i7, 8 core, 8GB RAM, 3.6GHz CPU with ubuntu18.04, 4.15.0.123 > Low latency kernel. > > * > > USB 3.0 connection > > * > > Log periodic antenna (*LP0965 Antenna)* > > Snippet of the error: > [HW] [recv] received 14380 samples out of 23040 > > [ERROR] [STREAMER] The receive packet handler caught a value exception. > > ValueError: bad vrt header or packet fragment > > [HW] ERROR_CODE_BAD_PACKET > > [PHY] rx_rf: Asked for 23040 samples, got 14380 from USRP > > [PHY] problem receiving samples > > [HW] [recv] received 0 samples out of 23040 > > [HW] ERROR_CODE_TIMEOUT > > kern.log: > Nov 14 07:04:43 MYTSP00192 kernel: [489670.971642] xhci_hcd > 0000:00:14.0: WARN Cannot submit Set TR Deq Ptr > > Nov 14 07:04:43 MYTSP00192 kernel: [489670.971644] xhci_hcd > 0000:00:14.0: A Set TR Deq Ptr command is pending. > > Nov 14 11:54:29 MYTSP00192 kernel: [507057.294029] enp4s0: Invalid MTU > 9000 requested, hw max 1500 > > Nov 14 11:54:29 MYTSP00192 kernel: [507057.592639] xhci_hcd > 0000:00:14.0: bad transfer trb length 7680 in event trb > > Please help me. > > Regards, > > Anil > > Yeah, so there's something wrong with your USB3 subsystem.   Maybe a bad cable?   Try using the external power supply   on the B210 if you aren't already. Also: https://kb.ettus.com/USRP_Host_Performance_Tuning_Tips_and_Tricks And you might look into the transport parameters for USB: https://files.ettus.com/manual/page_transport.html