Ptp4l sync issue between the cuBB server and the RU-emulator server

Hello community!

I have an issue with ptp4l sync between two servers.

I set the server 1 as a master clock and it seems work well, but for the server 2, it can’t get the master clock from the server 1 and set the its own interface as a best master.

Would you help me to solve this problem?

Servers are connected through BF3 with 100GE cooper and settings are follow,

Connections

  • server1 aerial00 interface - server2 aerial00 interface
  • server1 aerial01 interface - server2 aerial01 interface

Server 1 for cuphycontroller and testmac




Server 2 for RU-emulator




@tojsm

would you please do the following steps?

  1. start mst
    sudo mst start
  2. get the BF3 info
    sudo mst status -v
    sudo mlxlink -d 0000:01:00.0
    sudo mlxlink -d 0000:99:00.0

sudo mlxconfig -d /dev/mst/mt41692_pciconf0 q | grep “CQE_COMPRESSION|PROG_PARSE_GRAPH|ACCURATE_TX_SCHEDULER|FLEX_PARSER_PROFILE_ENABLE|REAL_TIME_CLOCK_ENABLE|INTERNAL_CPU_MODEL|LINK_TYPE_P1|LINK_TYPE_P2|INTERNAL_CPU_PAGE_SUPPLIER|INTERNAL_CPU_ESWITCH_MANAGER|INTERNAL_CPU_IB_VPORT0|INTERNAL_CPU_OFFLOAD_ENGINE|EXP_ROM_VIRTIO_NET_PXE_ENABLE|EXP_ROM_VIRTIO_NET_UEFI_ARM_ENABLE|EXP_ROM_VIRTIO_NET_UEFI_x86_ENABLE|EXP_ROM_VIRTIO_BLK_UEFI_ARM_ENABLE|EXP_ROM_VIRTIO_BLK_UEFI_x86_ENABLE”

Hello, @jixu

Followings are the results,

The last grep-related command doesn’t seem to be working on either of my servers.

So I attached the command which mentioned on Aerial Doc too.

@tojsm
Thank you for capturing and sharing the info. noticed that there are two BF3 on server#1, do you have the 2nd BF3 ports connected to RU-emulator? plese capture the outputs of “sudo mst status -v”
Also, please try configuring RU-Emulator as master and gNB as slave and share the outcome.

Thanks for your checking the issue,

Followings are the results you requested,

  1. sudo mst status -v
  • As you mentioned, we have two BF3 cards in one server, but I connected 1st BF3 ports to RU-emulator server as below


  1. Switching master server

Thanks!

@tojsm

From what you provided, ptp configurations seem not to be the cause for the problem. the interface status also shows that the ports are connected with 100G. To confirm aerial00 on one server is connected to aerial00 on another server, can you please unplug one of connection cable and then run these two commands again?
sudo mlxlink -d 0000:01:00.0
sudo mlxlink -d 0000:99:00.0

Thanks jixu,

I found the physical connection issue with your reply.

I solved the problem.

1 Like

@tojsm thanks for sharing the root cause. very glad the ptp sync issue is resolved.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.