Ethernet Products
Determine ramifications of Intel® Ethernet products and technologies
5509 Discussions

Failed to run bf_sde by Error: Unable to open CP2112 devices

hiroki2
Beginner
3,300 Views

We use Wedge100BF-32X as Intel Tofino(1) switch.

I setup this swith by SONIC that download from https://sonic.software/ 's master branch image.

Then, I build bf-sde-9.13.0, install bfnsdk_1.0.0_amd64.deb and bfnplatform_1.0.0_amd64.deb, tried to run switchd.

But an error occured.

```

bash /root/bf-sde-9.13.0/run_switchd.sh -c /root/table_proj/dist/test.conf -p test # --arch tofino2
Using SDE /root/bf-sde-9.13.0
Using SDE_INSTALL /root/bf-sde-9.13.0/install
Setting up DMA Memory Pool
Using TARGET_CONFIG_FILE /root/table_proj/dist/test.conf
Using SDE_DEPENDENCIES /root/bf-sde-9.13.0/install
Using PATH /root/bf-sde-9.13.0/install/bin:/root/bf-sde-9.13.0/install/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Using LD_LIBRARY_PATH /root/bf-sde-9.13.0/install/lib:/root/bf-sde-9.13.0/install/lib:/usr/local/lib:/root/bf-sde-9.13.0/install/lib:/usr/local/lib:/root/bf-sde-9.13.0/install/lib::/usr/local/lib
2023-08-22 14:30:47.915037 BF_SWITCHD DEBUG - bf_switchd: system services initialized
2023-08-22 14:30:47.915276 BF_SWITCHD DEBUG - bf_switchd: loading conf_file /root/table_proj/dist/test.conf...
2023-08-22 14:30:47.915336 BF_SWITCHD DEBUG - bf_switchd: processing device configuration...
2023-08-22 14:30:47.915418 BF_SWITCHD DEBUG - Configuration for dev_id 0
2023-08-22 14:30:47.915442 BF_SWITCHD DEBUG - Family : tofino
2023-08-22 14:30:47.915461 BF_SWITCHD DEBUG - pci_sysfs_str : /sys/devices/pci0000:00/0000:00:03.0/0000:05:00.0
2023-08-22 14:30:47.915479 BF_SWITCHD DEBUG - pci_int_mode : 0
2023-08-22 14:30:47.915497 BF_SWITCHD DEBUG - sds_fw_path : share/tofino_sds_fw/avago/firmware
2023-08-22 14:30:47.915515 BF_SWITCHD DEBUG - bf_switchd: processing P4 configuration...
2023-08-22 14:30:47.917608 BF_SWITCHD DEBUG - P4 profile for dev_id 0
2023-08-22 14:30:47.917680 BF_SWITCHD DEBUG - num P4 programs 1
2023-08-22 14:30:47.917700 BF_SWITCHD DEBUG - p4_name: test
2023-08-22 14:30:47.917741 BF_SWITCHD DEBUG - p4_pipeline_name: pipe
2023-08-22 14:30:47.917761 BF_SWITCHD DEBUG - libpd:
2023-08-22 14:30:47.917779 BF_SWITCHD DEBUG - libpdthrift:
2023-08-22 14:30:47.917800 BF_SWITCHD DEBUG - context: /root/table_proj/dist/pipe/context.json
2023-08-22 14:30:47.917819 BF_SWITCHD DEBUG - config: /root/table_proj/dist/pipe/tofino.bin
2023-08-22 14:30:47.917837 BF_SWITCHD DEBUG - Pipes in scope [
2023-08-22 14:30:47.917855 BF_SWITCHD DEBUG - 0
2023-08-22 14:30:47.917881 BF_SWITCHD DEBUG - 1
2023-08-22 14:30:47.917900 BF_SWITCHD DEBUG - 2
2023-08-22 14:30:47.917917 BF_SWITCHD DEBUG - 3
2023-08-22 14:30:47.917935 BF_SWITCHD DEBUG - ]
2023-08-22 14:30:47.917957 BF_SWITCHD DEBUG - diag:
2023-08-22 14:30:47.917975 BF_SWITCHD DEBUG - accton diag:
2023-08-22 14:30:47.917993 BF_SWITCHD DEBUG - Agent[0]: /root/bf-sde-9.13.0/install/lib/libpltfm_mgr.so
2023-08-22 14:30:47.945905 BF_SWITCHD DEBUG - bf_switchd: library /root/bf-sde-9.13.0/install/lib/libpltfm_mgr.so loaded
2023-08-22 14:30:47.962637 BF_SWITCHD DEBUG - bf_switchd: agent[0] initialized
2023-08-22 14:30:48.766637 BF_PLTFM ERROR - Error in claiming the interface with error code Resource busy at bf_pltfm_cp2112_open:988

2023-08-22 14:30:48.766756 BF_PLTFM ERROR - Error: Unable to open CP2112 devices iteration 0

```

 

Using Accton Diag(https://support.edge-core.com/hc/en-us/articles/900000750703), I successfully run switchd as testing switch device, on SONIC with bf-sde-9.13.0, I got an error.

 

How can I solve this problem and run switchd?

0 Kudos
8 Replies
Sazirah
Employee
3,277 Views

Hi hiroki2,

 

Thank you for posting in Intel Ethernet Communities.

 

As per checking your query, this is related to Intel Tofino product. For your information, Intel is no longer supporting Tofino product, as it is now handled by Barefoot. You may reach to Barefoot team for any assistance, or you can contact Intel Premier Support (IPS) for any Technical Support:

 

https://www.intel.com/content/www/us/en/support/contact-intel.html

 

https://premiersupport.intel.com

 

Best Regards,

Sazzy_Intel


0 Kudos
Sazirah
Employee
3,237 Views

Hi hiroki2,


Good day,

 

This is related to your enquiries above, I would like to check if the issue has resolved?

If you have any questions or clarifications, please let me know.

 

Regards,

Sazzy_Intel


0 Kudos
Sazirah
Employee
3,204 Views

Hi hiroki2,

 

Good day,


I would like to follow up if you have any questions or clarifications regarding this case.

Feel free to contact us should you need any further assistance, and we will be more than glad to continue assisting you.

 

Regards,

Sazzy_Intel


0 Kudos
hiroki2
Beginner
3,199 Views

Hello, thank you very much.

I'm still in trouble about this error.

 

Then, to contact to barefoot team, I tried to join Intel® Connectivity Research Program (Private).

https://community.intel.com/t5/Intel-Connectivity-Research/cmp-p/grouphub:connectivity-research-program

This group has a lot of knowledge about Tofino and barefoot team was joined.

 

But my request to join this group is not approved yet and it displays "Your request to join was sent August 23, 2023
You will receive a notification if your request is approved.".

 

How can I join to this group?

I'm waiting for your great support. Thank you.

0 Kudos
Sazirah
Employee
3,149 Views

Hi hiroki2,


Thank you for your reply.


As it might take some time for your request to join the group to be approve, we would advise you to contact our Intel Premier Support to assist you further.


To contact Intel Premier Support, you may follow instuctions in link below:

https://www.intel.com/content/www/us/en/support/articles/000057045/ethernet-products.html


Best Regards,

Sazzy_Intel


0 Kudos
Sazirah
Employee
3,109 Views

Hi hiroki2,

 

Good day,

 

This is related to your enquiries above, I would like to check if the issue has resolved?

If you have any questions or clarifications, please let me know.

 

Regards,

Sazzy_Intel


0 Kudos
Sazirah
Employee
3,092 Views

Hi hiroki2,

 

Good day,


I would like to follow up if you have any questions or clarifications regarding this case.

Feel free to contact us should you need any further assistance, and we will be more than glad to continue assisting you.

 

Regards,

Sazzy_Intel


0 Kudos
Sazirah
Employee
3,046 Views

Hi hiroki2,


We would like to know if the provided solution was able to help in your situation. In case you did, we would highly appreciate if you would let us know the outcome of these. We will be waiting for your response.

 

Since we have not seen an update, if you need any additional information, please submit a new question as this thread will no longer be monitored.


Best Regards,

Sazzy_Intel


0 Kudos
Reply