Frank_Chenxingyu_Zha
New Contributor
4 years agoConnection refused error when starting P4 studio runtime environment in Tofino hardware
I am using a Wedge100BF-32X programmable switch and trying to setup Intel P4 studio SDE in this switch to run P4 programs. When I try to run a P4 example program
tna_resubmit with P4 studio SDE using the following command,
root@localhost:~/bf-sde-9.9.0# ./run_switchd.sh --arch tofino -p tna_resubmit
I am getting the following error:
connect failed. Error: Connection refused
The full output from the command is here.
Environment:
P4 studio SDE version: 9.9.0 uname -r: 4.14.151-OpenNetworkLinux cat /etc/onl/platform: x86-64-accton-wedge100bf-32x-r0 ls /dev/bf0: /dev/bf0 lsmod: Module Size Used by bf_kdrv 24576 0 pmbus 16384 0 pmbus_core 28672 1 pmbus x86_pkg_temp_thermal 16384 0 gpio_ich 16384 0 optoe 20480 0
A user on Github suggested reloading kernel driver and checking if
/dev/bf0 exists. I did them both, but the issue remains. Any help would be appreciated.