Subject: Rare project developers
List archive
- From: mc36 <>
- To: Gawen Davey <>
- Cc: "" <>, Alexander Gall <>, Alexander Jeffries <>, Frédéric LOUI <>
- Subject: Re: [rare-dev] Access
- Date: Tue, 21 Jun 2022 22:43:52 +0200
hi
i've added ipmitool, it changed a bit, but for now, i have no bfswd processes
at all...
ps: here is the contents of the s.sh, it just reinstalls the igb with i2c...
by default,
they're not provided... it was the same on the stock debian install on the
old sde too...
(before trying this, i just started without them but then bfswd complained
about i2c...)
thanks,
cs
mc36@stordis:~$ cat s.sh
#/bin/bash
echo 256 | sudo tee /proc/sys/vm/nr_hugepages
sudo modprobe -r igb
sudo modprobe -r i2c_i801
sudo modprobe -r i2c_dev
sudo modprobe i2c_dev
sudo modprobe igb
sudo modprobe i2c_i801
sudo i2cdetect -l
sudo -E $SDE/pkgsrc/bf-drivers/kdrv/bf_kpkt_mod_load $SDE/install
sudo -E $SDE/run_switchd.sh -p bf_router
mc36@stordis:~$ ./s.sh
[sudo] password for mc36:
256
i2c-1 i2c igb BB I2C adapter
i2c-2 smbus SMBus I801 adapter at f000 SMBus adapter
i2c-0 i2c igb BB I2C adapter
Using SDE /home/mc36/bf-sde-9.9.0/
Using SDE_INSTALL /home/mc36/bf-sde-9.9.0//install/
Setting up DMA Memory Pool
Using TARGET_CONFIG_FILE
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
Using PATH
/home/mc36/bf-sde-9.9.0//install//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Using LD_LIBRARY_PATH /usr/local/lib:/home/mc36/bf-sde-9.9.0//install//lib:
checking for bf_sysfs_fname /sys/class/bf/bf0/device/dev_add
kernel mode packet driver present, forcing kernel_pkt option!
bf_switchd: Install dir: /home/mc36/bf-sde-9.9.0//install/
bf_switchd: system services initialized
bf_switchd: loading conf_file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf...
bf_switchd: processing device configuration...
Configuration for dev_id 0
Family : tofino
pci_sysfs_str : /sys/devices/pci0000:00/0000:00:03.0/0000:05:00.0
pci_int_mode : 0
sds_fw_path : share/tofino_sds_fw/avago/firmware
bf_switchd: processing P4 configuration...
P4 profile for dev_id 0
num P4 programs 1
p4_name: bf_router
p4_pipeline_name: pipe
libpd:
libpdthrift:
context:
/home/mc36/bf-sde-9.9.0//install//bf_router.tofino/pipe/context.json
config: /home/mc36/bf-sde-9.9.0//install//bf_router.tofino/pipe/tofino.bin
Pipes in scope [0 1 2 3 ]
diag:
accton diag:
Agent[0]: /home/mc36/bf-sde-9.9.0//install//lib/libpltfm_mgr.so
bf_switchd: library /home/mc36/bf-sde-9.9.0//install//lib/libpltfm_mgr.so
loaded
bf_switchd: agent[0] initialized
Platform Manager: Starting BF2556X-1T
Platform Manager: Initialising SMB (i2c) subsystem
Platform SMB: Detecting system device
Platform SMB: System i2c bus found at /dev/i2c-2
Platform Manager: Initialising QSFP subsystem
Platform Manager: Initialising IPC (socket) subsystem
Platform IPC: Socket at /tmp/tofino_usocket ready
Platform Manager: Initialising IPMI (sensor) subsystem
Device 0: Operational mode set to ASIC
Initialized the device types using platforms infra API
ASIC detected at PCI /sys/class/bf/bf0/device
ASIC pci device id is 16 (0x0010)
Skipped pkt-mgr init
Starting PD-API RPC server on port 9090
bf_switchd: drivers initialized
2022-06-21 22:41:25.722285 BF_PIPE ERROR - pipe_mgr_set_dev_info: Unknown
device family. Please check if running correct version of the drivers for the
device.
2022-06-21 22:41:25.722395 BF_SYS ERROR - ASSERTION FAILED: "0" (0) from
pipe_mgr_set_dev_info:1982
2022-06-21 22:41:25.722416 BF_PIPE ERROR - pipe_mgr_add_rmt_device: failed to
initialize device info
2022-06-21 22:41:25.723010 BF_PIPE ERROR - pipe_mgr_add_device: failed to
instantiate device Invalid arguments 3
2022-06-21 22:41:25.723036 BF_DVM ERROR - Device add handling failed for dev
0, sts Invalid arguments (3), Client pipe-mgr
2022-06-21 22:41:25.723052 BF_DVM ERROR - Device add failed for dev 0, sts
Invalid arguments (3)
2022-06-21 22:41:25.723513 BF_TM ERROR - TM: tm_remove_device called without
valid tm_ctx for device 0
2022-06-21 22:41:25.723631 BF_PIPE ERROR - pipe_mgr_remove_device: failed to
de-instantiate device 0
/home/mc36/bf-sde-9.9.0//run_switchd.sh: line 218: 1104 Segmentation fault sudo env "SDE=$SDE" "SDE_INSTALL=$SDE_INSTALL" $ASAN_ON_ERROR "PATH=$PATH" "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" $DBG bf_switchd "$SERVER_LISTEN_LOCAL_ONLY" --install-dir $SDE_INSTALL --conf-file $TARGET_CONFIG_FILE "--init-mode=$INIT_MODE" $SKIP_HLD_STR $SKIP_P4_STR $SKIP_PORT_ADD_STR $STS_PORT_STR $KERNEL_PKT_STR $SHELL_NO_WAIT $@
mc36@stordis:~$
mc36@stordis:~$ ps aux | grep bf
mc36 1128 0.0 0.0 6180 716 pts/0 S+ 22:41 0:00 grep bf
mc36@stordis:~$
On 6/21/22 22:32, Gawen Davey wrote:
Are you able to provide me with "s.sh" script?
Also with respect to the execve errors, is ipmitool installed?
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*From:* mc36 <>
*Sent:* 21 June 2022 21:30
*To:* Gawen Davey <>
*Cc:* <>; Alexander Gall <>; Alexander Jeffries <>; Fr d ric LOUI <>
*Subject:* Re: Access
hi,
thanks a lot! at this time it compiled, but i was not able to start the
switchd...
it seems it spawned up a lot of bf_switchds, and the one ran, segfaulted...
thanks,
cs
mc36@stordis:~$ cat s.sh
#/bin/bash
echo 256 | sudo tee /proc/sys/vm/nr_hugepages
sudo modprobe -r igb
sudo modprobe -r i2c_i801
sudo modprobe -r i2c_dev
sudo modprobe i2c_dev
sudo modprobe igb
sudo modprobe i2c_i801
sudo i2cdetect -l
sudo -E $SDE/pkgsrc/bf-drivers/kdrv/bf_kpkt_mod_load $SDE/install
sudo -E $SDE/run_switchd.sh -p bf_router
mc36@stordis:~$
mc36@stordis:~$ ./s.sh
256
i2c-1 i2c igb BB
I2C adapter
i2c-2 smbus SMBus I801 adapter at f000
SMBus adapter
i2c-0 i2c igb BB
I2C adapter
insmod: ERROR: could not insert module
/home/mc36/bf-sde-9.9.0//install/lib/modules/bf_kpkt.ko: File exists
Using SDE /home/mc36/bf-sde-9.9.0/
Using SDE_INSTALL /home/mc36/bf-sde-9.9.0//install/
Setting up DMA Memory Pool
Using TARGET_CONFIG_FILE
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
Using PATH
/home/mc36/bf-sde-9.9.0//install//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Using LD_LIBRARY_PATH /usr/local/lib:/home/mc36/bf-sde-9.9.0//install//lib:
checking for bf_sysfs_fname /sys/class/bf/bf0/device/dev_add
kernel mode packet driver present, forcing kernel_pkt option!
bf_switchd: Install dir: /home/mc36/bf-sde-9.9.0//install/
bf_switchd: system services initialized
bf_switchd: loading conf_file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf...
bf_switchd: processing device configuration...
Configuration for dev_id 0
Family : tofino
pci_sysfs_str : /sys/devices/pci0000:00/0000:00:03.0/0000:05:00.0
pci_int_mode : 0
sds_fw_path : share/tofino_sds_fw/avago/firmware
bf_switchd: processing P4 configuration...
P4 profile for dev_id 0
num P4 programs 1
p4_name: bf_router
p4_pipeline_name: pipe
libpd:
libpdthrift:
context:
/home/mc36/bf-sde-9.9.0//install//bf_router.tofino/pipe/context.json
config:
/home/mc36/bf-sde-9.9.0//install//bf_router.tofino/pipe/tofino.bin
Pipes in scope [0 1 2 3 ]
diag:
accton diag:
Agent[0]: /home/mc36/bf-sde-9.9.0//install//lib/libpltfm_mgr.so
bf_switchd: library /home/mc36/bf-sde-9.9.0//install//lib/libpltfm_mgr.so
loaded
bf_switchd: agent[0] initialized
Platform Manager: Starting BF2556X-1T
Platform Manager: Initialising SMB (i2c) subsystem
Platform SMB: Detecting system device
Platform SMB: System i2c bus found at /dev/i2c-2
Platform Manager: Initialising QSFP subsystem
Platform Manager: Initialising IPC (socket) subsystem
Platform IPC: Socket at /tmp/tofino_usocket ready
Platform Manager: Initialising IPMI (sensor) subsystem
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
Device 0: Operational mode set to ASIC
Initialized the device types using platforms infra API
ASIC detected at PCI /sys/class/bf/bf0/device
ASIC pci device id is 16 (0x0010)
Skipped pkt-mgr init
Starting PD-API RPC server on port 9090
bf_switchd: drivers initialized
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
2022-06-21 22:25:20.692282 BF_PIPE ERROR - pipe_mgr_set_dev_info: Unknown
device family. Please check if running correct version of the drivers for the
device.
2022-06-21 22:25:20.692428 BF_SYS ERROR - ASSERTION FAILED: "0" (0) from
pipe_mgr_set_dev_info:1982
2022-06-21 22:25:20.692458 BF_PIPE ERROR - pipe_mgr_add_rmt_device: failed to
initialize device info
2022-06-21 22:25:20.693041 BF_PIPE ERROR - pipe_mgr_add_device: failed to
instantiate device Invalid arguments 3
2022-06-21 22:25:20.693066 BF_DVM ERROR - Device add handling failed for dev
0, sts Invalid arguments (3), Client pipe-mgr
2022-06-21 22:25:20.693080 BF_DVM ERROR - Device add failed for dev 0, sts
Invalid arguments (3)
2022-06-21 22:25:20.694026 BF_TM ERROR - TM: tm_remove_device called without
valid tm_ctx for device 0
2022-06-21 22:25:20.694156 BF_PIPE ERROR - pipe_mgr_remove_device: failed to
de-instantiate device 0
ERROR: bf_device_add failed(3) for dev_id 0
ERROR: bf_switchd_device_add failed(Invalid arguments) for dev_id 0
bf_switchd: initialized 0 devices
2022-06-21 22:25:20.701574 BF_SYS ERROR -
/home/mc36/bf-sde-9.9.0//install//lib/libdriver.so(+0x1c53bf2)
[0x7efea1496bf2]
2022-06-21 22:25:20.701623 BF_SYS ERROR -
/home/mc36/bf-sde-9.9.0//install//lib/libdriver.so(bf_switchd_lib_init+0x12ff)
[0x7efea149cdff]
2022-06-21 22:25:20.701659 BF_SYS ERROR - bf_switchd(+0x3773) [0x5620f8b74773]
2022-06-21 22:25:20.701676 BF_SYS ERROR -
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea) [0x7efe9f426d0a]
2022-06-21 22:25:20.701690 BF_SYS ERROR - bf_switchd(+0x398a) [0x5620f8b7498a]
/home/mc36/bf-sde-9.9.0//run_switchd.sh: line 218: 1171 Segmentation fault sudo env
"SDE=$SDE" "SDE_INSTALL=$SDE_INSTALL" $ASAN_ON_ERROR "PATH=$PATH"
"LD_LIBRARY_PATH=$LD_LIBRARY_PATH" $DBG bf_switchd "$SERVER_LISTEN_LOCAL_ONLY"
--install-dir $SDE_INSTALL --conf-file $TARGET_CONFIG_FILE "--init-mode=$INIT_MODE" $SKIP_HLD_STR
$SKIP_P4_STR $SKIP_PORT_ADD_STR $STS_PORT_STR $KERNEL_PKT_STR $SHELL_NO_WAIT
$@
mc36@stordis:~$ execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
execve: No such file or directory
ps auexecve: No such file or directory
x | gexecve: No such file or directory
rep bf
root 1188 0.0 0.0 397368 30916 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1189 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1190 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1195 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1196 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1197 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1199 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1200 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1201 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1202 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1203 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1204 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1205 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1206 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1207 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1208 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1209 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1210 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1211 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1212 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1213 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1214 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1215 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1216 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1217 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1218 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1219 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1220 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1221 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1222 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1223 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1224 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1225 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1226 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1227 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1228 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1229 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1230 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1231 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1232 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1233 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1234 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1235 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1236 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1237 0.0 0.0 397368 29208 pts/0 S 22:25
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1238 0.0 0.0 397368 29208 pts/0 S 22:26
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1239 0.0 0.0 397368 29208 pts/0 S 22:26
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1240 0.0 0.0 397368 29208 pts/0 S 22:26
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1241 0.0 0.0 397368 29208 pts/0 S 22:26
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1242 0.0 0.0 397368 29208 pts/0 S 22:26
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1243 0.0 0.0 397368 29208 pts/0 S 22:26
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1244 0.0 0.0 397368 29208 pts/0 S 22:26
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1245 0.0 0.0 397368 29208 pts/0 S 22:26
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1246 0.0 0.0 397368 29208 pts/0 S 22:26
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1247 0.0 0.0 397368 29208 pts/0 S 22:26
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1248 0.0 0.0 397368 29208 pts/0 S 22:26
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1249 0.0 0.0 397368 29208 pts/0 S 22:26
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1250 0.0 0.0 397368 29208 pts/0 S 22:26
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
root 1251 0.0 0.0 397368 28056 pts/0 S 22:26
0:00 bf_switchd --install-dir /home/mc36/bf-sde-9.9.0//install/ --conf-file
/home/mc36/bf-sde-9.9.0//install//share/p4/targets/tofino/bf_router.conf
--init-mode=cold --status-port 7777
mc36 1253 0.0 0.0 6180 656 pts/0 S+ 22:26
0:00 grep bf
mc36@stordis:~$
mc36@stordis:~$ sudo dmesg | tail -n 10
[ 157.468161] igb 0000:0a:00.0: enp10s0: (PCIe:2.5Gb/s:Width x1)
84:c7:8f:02:20:60
[ 157.476470] igb 0000:0a:00.0: enp10s0: PBA No: 000300-000
[ 157.482502] igb 0000:0a:00.0: Using MSI-X interrupts. 4 rx queue(s), 4 tx
queue(s)
[ 157.539542] i801_smbus 0000:00:1f.3: SMBus using PCI interrupt
[ 157.546815] i2c i2c-2: 2/4 memory slots populated (from DMI)
[ 157.580407] igb 0000:0a:00.0 enp10s0: igb: enp10s0 NIC Link is Up 1000
Mbps Full Duplex, Flow Control: RX
[ 157.591436] IPv6: ADDRCONF(NETDEV_CHANGE): enp10s0: link becomes ready
[ 159.850151] bf_m_init 31
[ 162.908657] bf_switchd[1172]: segfault at 0 ip 0000000000000000 sp
00007fff38f15ce8 error 14 in bf_switchd[5620f8b71000+3000]
[ 162.921341] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6.
mc36@stordis:~$ execve: No such file or directory
On 6/21/22 21:39, Gawen Davey wrote:
That was my fault<https://aps-networks.atlassian.net/servicedesk>>
The SDE doesn't have "bfsys" and "bfutils" etc anymore. They've now named them
"target_sys" and "target_utils" for some reason.
I had the older versions in my library path and was linking against them
instead.
The list files have been updated to select the correct libs and been uploaded
to the ticket. Third times the charm.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*From:* mc36 <>
*Sent:* 21 June 2022 20:23
*To:* Gawen Davey <>
*Cc:* <>; Alexander Gall
<>; Alexander Jeffries
<>; Fr d ric LOUI
<>
*Subject:* Re: Access
hi,
i've recompiled the sde for hw but without bsp and given a try to the
build.sh but no luck:
mc36@stordis:~/apsn-bsp-9.9.0-147974d-dirty$ ./build.sh -p BF2556X-1T -i
$SDE/install/
CMake Warning (dev) at CMakeLists.txt:1 (project):
Policy CMP0048 is not set: project() command manages VERSION
variables.
Run "cmake --help-policy CMP0048" for policy details. Use the
cmake_policy
command to set the policy and suppress this warning.
The following variable(s) would be set to empty:
CMAKE_PROJECT_VERSION
CMAKE_PROJECT_VERSION_MAJOR
CMAKE_PROJECT_VERSION_MINOR
CMAKE_PROJECT_VERSION_PATCH
This warning is for project developers. Use -Wno-dev to suppress it.
-- Populating googletest
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/mc36/apsn-bsp-9.9.0-147974d-dirty/build/_deps/googletest-subbuild
[100%] Built target googletest-populate
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/mc36/apsn-bsp-9.9.0-147974d-dirty/build
[ 19%] Built target pltfm_driver_o
[ 29%] Built target pltfm_util_o
[ 57%] Built target bf2556x_driver_o
[ 61%] Built target pltfm_o
[ 63%] Built target pltfm_mgr
[ 64%] Linking C shared library
/home/mc36/bf-sde-9.9.0/install/lib/libbf2556x_driver.so
/usr/bin/ld: cannot find -lbfsys
collect2: error: ld returned 1 exit status
make[2]: ***
[platforms/bf2556x-1t/src/CMakeFiles/bf2556x_driver.dir/build.make:132:
/home/mc36/bf-sde-9.9.0/install/lib/libbf2556x_driver.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:402:
platforms/bf2556x-1t/src/CMakeFiles/bf2556x_driver.dir/all] Error 2
make: *** [Makefile:160: all] Error 2
mc36@stordis:~/apsn-bsp-9.9.0-147974d-dirty$
i only found this
mc36@stordis:~/bf-sde-9.9.0$ find . -name *bfsys*
./build/pkgsrc/bf-utils/src/CMakeFiles/bfsysutil_o.dir
mc36@stordis:~/bf-sde-9.9.0$
what i should do something to the sde to generate the libbfsys?
thanks?
cs
On 6/21/22 19:36, Gawen Davey wrote:
There is a cmake option to select the platform to be built, via ${PLATFORM}.
I think it's empty which is why it's coming up with the error. I was trying
to prepare in advance a BSP
that could host code for both the 2556x and 6064x.
I'm not quite sure how to set that at the moment, via p4studio.
I've uploaded a version that doesn't use that test.
Otherwise, workarounds would be to remove that if statement, but preserving
adding the bf2556x-1t subdirectory, or build the SDE without the BSP.
You can then use the build script to build it separately -- should be in the
bf-platforms inner tarball. The script has a help output flag, should you
need it.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*From:* mc36 <>
*Sent:* 21 June 2022 18:26
*To:* Gawen Davey <>
*Cc:* <>; Alexander Gall
<>; Alexander Jeffries
<>; Fr d ric LOUI
<>
*Subject:* Re: Access
hi,
i've fed the package to the sde and it stopped with the below message..
also attaching the mentioned logs... any idea on how to compile for the sde?
thanks,
cs
Begin bf-platforms setup
CMake Error at pkgsrc/bf-platforms/platforms/CMakeLists.txt:6 (if):
if given arguments:
"STREQUAL" "BF2556X-1T"
Unknown arguments specified
-- Configuring incomplete, errors occurred!
See also "/home/mc36/bf-sde-9.9.0/build/CMakeFiles/CMakeOutput.log".
See also "/home/mc36/bf-sde-9.9.0/build/CMakeFiles/CMakeError.log".
- pi: Cmd 'cmake /home/mc36/bf-sde-9.9.0
-DTOFINO2H=OFF -DTOFINO3=OFF -DASIC=ON -DTOFINO2=OFF -DTOFINO2M=OFF -DP4RT=ON
-DTOFINO=OFF -DBSP=ON -DCMAKE_BUILD_TYPE='relwithdebinfo'
-DCMAKE_INSTALL_PREFIX='/home/mc36/bf-sde-9.9.0/install'' took:
0:00:11.044427, status: 1
Error: cmake completed unsuccessfully
On 6/21/22 18:44, mc36 wrote:
hi,
thanks, i've got it... i'll give it a spin asap and will provide you some
feedback...
br,
cs
On 6/21/22 18:41, Gawen Davey wrote:
Should have been an attachment.
I've replied with a comment containing a link.
If that doesn't work I'll try and email you.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*From:* mc36 <>
*Sent:* 21 June 2022 17:39
*To:* Gawen Davey <>
*Cc:* <>; Alexander Gall
<>; Alexander Jeffries
<>; Fr d ric LOUI
<>
*Subject:* Re: Access
hi,
thanks a lot! where can i grab the files for testing?
(i had no luck nor under the ticker nor at the search bar)
br,
cs
On 6/21/22 18:34, Gawen Davey wrote:
I've released a beta tarball to you via our service desk.
Frederic, I've made you the reporter, and Csaba, you're a participant.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*From:* mc36 <>
*Sent:* 14 June 2022 16:03
*To:* Gawen Davey <>
*Cc:* <>; Alexander Gall
<>; Alexander Jeffries
<>; Fr d ric LOUI
<>
*Subject:* Re: Access
hi,
sounds good, thanks... if you have anything that could be beta-tested, let us
know :)
thanks,
cs
On 6/14/22 16:31, Gawen Davey wrote:
Hi Csaba,
I'm working to get this out as soon as possible. I can't be specific about
dates as I don't want to over promise. But I am working on it full time at
the moment.
Gawen
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*From:* mc36 <>
*Sent:* 14 June 2022 15:29
*To:* Gawen Davey <>
*Cc:* <>; Alexander Gall
<>; Alexander Jeffries
<>; Fr d
ric LOUI
<>
*Subject:* Re: Access
hi,
any news about the bsp for sde990 on aps2556?
thanks,
cs
On 6/2/22 13:22, mc36 wrote:
hi,
have you managed to update the bf2556x bsp to sde990?
thanks,
cs
On 4/30/22 13:00, Gawen Davey wrote:
If you like, that would be
great. I won't be touching it until Monday though
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*From:* mc36 <>
*Sent:* 30 April 2022 12:00
*To:* Gawen Davey <>
*Cc:* Fr d
ric LOUI
<>
*Subject:* Re: Access
hmmm, if that helps you out, i can upload it to access@bf2556x-r1-u17 ?
On 4/30/22 12:56, Gawen Davey wrote:
So I didn't receive the new SDE until the collection was updated today, so it
might be a week or two before I get something out.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*From:* mc36 <>
*Sent:* 30 April 2022 11:55
*To:* Gawen Davey <>
*Cc:* Fr
d
ric LOUI <>
*Subject:* Re: Access
hi,
thanks a lot! so the issue was, in my keepass, only the domain was saved and
that one redirected me where i pushed the access request...
anyway, i was about to check if you already have something for the fresh
sde990?
(i've just started rebuilding my dataplane vms to run those ~400 integration
tests of ours with it...)
thanks,
cs
On 4/30/22 12:44, Gawen Davey wrote:
Hey Csaba,
I just saw you tried to get access to JIRA -- that's our internal instance.
Presuming you wanted to get to the support portal?
Could you try https://aps-networks.atlassian.net/servicedesk <https://aps-networks.atlassian.net/servicedesk> <https://aps-networks.atlassian.net/servicedesk
<https://aps-networks.atlassian.net/servicedesk
<https://aps-networks.atlassian.net/servicedesk<https://aps-networks.atlassian.net/servicedesk
<https://aps-networks.atlassian.net/servicedesk>>>
<https://aps-networks.atlassian.net/servicedesk
<https://aps-networks.atlassian.net/servicedesk <https://aps-networks.atlassian.net/servicedesk <https://aps-networks.atlassian.net/servicedesk>>>>
<https://aps-networks.atlassian.net/servicedesk>>>>><https://aps-networks.atlassian.net/servicedesk <https://aps-networks.atlassian.net/servicedesk <https://aps-networks.atlassian.net/servicedesk
<https://aps-networks.atlassian.net/servicedesk<https://aps-networks.atlassian.net/servicedesk>>>>>>>>
<https://aps-networks.atlassian.net/servicedesk<https://aps-networks.atlassian.net/servicedesk
<https://aps-networks.atlassian.net/servicedesk
<https://aps-networks.atlassian.net/servicedesk
<https://aps-networks.atlassian.net/servicedesk>>>>>>
<https://aps-networks.atlassian.net/servicedesk
<https://aps-networks.atlassian.net/servicedesk <https://aps-networks.atlassian.net/servicedesk<https://aps-networks.atlassian.net/servicedesk
<https://aps-networks.atlassian.net/servicedesk
<https://aps-networks.atlassian.net/servicedesk
<https://aps-networks.atlassian.net/servicedesk>>>>>>>
<https://aps-networks.atlassian.net/servicedesk
<https://aps-networks.atlassian.net/servicedesk <https://aps-networks.atlassian.net/servicedesk <https://aps-networks.atlassian.net/servicedesk<https://aps-networks.atlassian.net/servicedesk
<https://aps-networks.atlassian.net/servicedesk
<https://aps-networks.atlassian.net/servicedesk
<https://aps-networks.atlassian.net/servicedesk<https://aps-networks.atlassian.net/servicedesk
<https://aps-networks.atlassian.net/servicedesk<https://aps-networks.atlassian.net/servicedesk
<https://aps-networks.atlassian.net/servicedesk
<https://aps-networks.atlassian.net/servicedesk
<https://aps-networks.atlassian.net/servicedesk
<https://aps-networks.atlassian.net/servicedesk
<https://aps-networks.atlassian.net/servicedesk>>>>>>>>>?
Gawen
- Re: [rare-dev] Access, (continued)
- Re: [rare-dev] Access, Gawen Davey, 06/21/2022
- Re: [rare-dev] Access, mc36, 06/21/2022
- Re: [rare-dev] Access, Gawen Davey, 06/21/2022
- Re: [rare-dev] Access, mc36, 06/21/2022
- Re: [rare-dev] Access, mc36, 06/21/2022
- Re: [rare-dev] Access, Gawen Davey, 06/21/2022
- Re: [rare-dev] Access, mc36, 06/21/2022
- Re: [rare-dev] Access, Gawen Davey, 06/21/2022
- Re: [rare-dev] Access, mc36, 06/21/2022
- Re: [rare-dev] Access, Gawen Davey, 06/21/2022
- Re: [rare-dev] Access, mc36, 06/21/2022
- Re: [rare-dev] Access, Gawen Davey, 06/21/2022
- Re: [rare-dev] Access, Alexander Gall, 06/22/2022
- Re: [rare-dev] Access, Frédéric LOUI, 06/22/2022
- Re: [rare-dev] Access, Gawen Davey, 06/22/2022
- Re: [rare-dev] Access, mc36, 06/22/2022
- Re: [rare-dev] Access, Alexander Gall, 06/22/2022
- Re: [rare-dev] Access, mc36, 06/22/2022
- Re: [rare-dev] Access, Gawen Davey, 06/22/2022
- Re: [rare-dev] Access, Gawen Davey, 06/22/2022
- Re: [rare-dev] Access, mc36, 06/22/2022
- Re: [rare-dev] Access, Gawen Davey, 06/21/2022
- Re: [rare-dev] Access, mc36, 06/21/2022
- Re: [rare-dev] Access, Gawen Davey, 06/21/2022
Archive powered by MHonArc 2.6.19.