srsran / srsRAN_Project

Open source O-RAN 5G CU/DU solution from Software Radio Systems (SRS) https://docs.srsran.com/projects/project
https://www.srsran.com
GNU Affero General Public License v3.0
525 stars 179 forks source link

F1 Setup failed. Cause: CU-CP responded with F1 Setup Failure #882

Open smartsaski opened 1 month ago

smartsaski commented 1 month ago

Issue Description

I ran srsCU on a different host machine than the srsRAN DU, When I try to run the DU It shows an error mesage

image

Additional Information

Configuration:

CU:

`gnb_id: 441 gnb_id_bit_length: 32 ran_node_name: cu_cp_01

amf: addr: 127.0.0.5 bind_addr: 127.0.0.2

cu_cp: inactivity_timer: 7200 plmns: "00101" tacs: "1"

f1ap: bind_addr: 192.168.1.40

cu_up: nru: bind_addr: 192.168.1.40 udp_max_rx_msgs: 256`

DU:

`gnb_id: 411 gnb_id_bit_length: 32

gnb_du_id: 0

f1ap: cu_cp_addr: 192.168.1.40 bind_addr: 192.168.1.41

nru: bind_addr: 192.168.1.41

ru_sdr: device_driver: uhd device_args: type=x300,num_recv_frames=64,num_send_frames=64 srate: 92.16 tx_gain: 30 rx_gain: 15

cell_cfg: dl_arfcn: 663264 band: 77 channel_bandwidth_MHz: 80 common_scs: 30 plmn: "00101" tac: 1 pci: 1

log: filename: /tmp/du.log all_level: warning

pcap: mac_enable: true mac_filename: /tmp/du_mac.pcap f1ap_enable: true f1ap_filename: /tmp/du_f1ap.pcap f1u_enable: true f1u_filename: /tmp/du_f1u.pcap`

Logs

2024-10-21T09:25:50.602570 [CONFIG ] [I] Input configuration (only non-default values): gnb_id: 411 gnb_id_bit_length: 32 log: filename: /tmp/du.log all_level: info f1ap_level: info f1u_level: info du_level: info f1ap: cu_cp_addr: 192.168.1.40 bind_addr: 192.168.1.41 nru: bind_addr: 192.168.1.41 pcap: f1ap_filename: /tmp/du_f1ap.pcap f1ap_enable: true f1u_filename: /tmp/du_f1u.pcap f1u_enable: true mac_filename: /tmp/du_mac.pcap mac_enable: true cell_cfg: pci: 1 dl_arfcn: 663264 band: 77 common_scs: 1 channel_bandwidth_MHz: 80 plmn: 00101 tac: 1 ru_sdr: srate: 92.16 device_driver: uhd device_args: type=x300,num_recv_frames=64,num_send_frames=64 tx_gain: 30 rx_gain: 15 2024-10-21T09:25:51.569235 [DU ] [I] Built in Release mode using commit 4cf7513e9 on branch main 2024-10-21T09:25:51.578085 [ALL ] [I] Task worker "phy_prach#0" started... 2024-10-21T09:25:51.578154 [ALL ] [I] Task worker "ru_stats_worker" started... 2024-10-21T09:25:51.578191 [ALL ] [I] Task worker "radio" started... 2024-10-21T09:25:51.578229 [ALL ] [I] Task worker "lower_phy_dl#0" started... 2024-10-21T09:25:51.578483 [ALL ] [I] Task worker "lower_phy_ul#0" started... 2024-10-21T09:25:51.578787 [SCTP-GW ] [I] F1-C: Bind to 192.168.1.41:0 was successful 2024-10-21T09:25:51.579358 [GTPU ] [I] GTP-U demux. warn_on_drop=true 2024-10-21T09:25:51.579362 [UDP-GW ] [I] UDP GW configured. rx_max_mmsg=256 2024-10-21T09:25:51.581901 [IO-EPOLL] [I] fd=10: Registered file descriptor successfully 2024-10-21T09:25:51.582861 [GNB ] [I] SSB derived parameters for cell: 1, band: 77, dl_arfcn:663264, crbs: 217 scs:30kHz, ssb_scs:30kHz: