otbr-agent.service is not running

1,429 views
Skip to first unread message

N.UMAMAHESWAR REDDY

unread,
May 25, 2021, 9:28:16 AM5/25/21
to openthread-users
Hi all,
I'm building OTBR with Raspberrypi 3B+nrf52840 dongle in RCP design.
Followed the instructions for manual setup of WiFi AP to make the BorderRouter setup.
Got the SSID from Pi and could be able to connect from mobile.
But I'm unable to open Web gui
when checking for systemctl status found that otbr-agent.service is missing.
Need help on this issue.
Thanks in advance.  

Jonathan Hui

unread,
May 25, 2021, 1:17:47 PM5/25/21
to N.UMAMAHESWAR REDDY, openthread-users
Can you provide logs that show otbr-agent process starting and exiting to help identify the error?

--
Jonathan Hui



--
You received this message because you are subscribed to the Google Groups "openthread-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openthread-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openthread-users/fff64813-3f03-4f6d-9b57-ecbbe2863116n%40googlegroups.com.

N.UMAMAHESWAR REDDY

unread,
May 25, 2021, 11:05:26 PM5/25/21
to openthread-users
pi@raspberrypi:~$ journalctl -u otbr-agent.service
-- Logs begin at Mon 2021-05-24 21:25:57 BST, end at Mon 2021-05-24 21:38:04 BST
May 24 21:26:01 raspberrypi systemd[1]: Started Border Router Agent.
May 24 21:26:02 raspberrypi otbr-agent[449]: [INFO]-UTILS---: Running 0.3.0
May 24 21:26:02 raspberrypi otbr-agent[449]: [INFO]-UTILS---: Thread version: 1.
May 24 21:26:02 raspberrypi otbr-agent[449]: [INFO]-UTILS---: Thread interface:
May 24 21:26:02 raspberrypi otbr-agent[449]: [INFO]-UTILS---: Backbone interface
May 24 21:26:02 raspberrypi otbr-agent[449]: [INFO]-UTILS---: Radio URL: spinel+
May 24 21:26:02 raspberrypi otbr-agent[449]: [INFO]-PLAT----: RCP reset: RESET_P
May 24 21:26:02 raspberrypi otbr-agent[449]: [NOTE]-PLAT----: RCP API Version: 3
May 24 21:26:02 raspberrypi otbr-agent[449]: [CRIT]-PLAT----: platformBackboneIn
May 24 21:26:02 raspberrypi systemd[1]: otbr-agent.service: Main process exited,
May 24 21:26:02 raspberrypi systemd[1]: otbr-agent.service: Failed with result '
May 24 21:26:07 raspberrypi systemd[1]: otbr-agent.service: Service RestartSec=5
May 24 21:26:07 raspberrypi systemd[1]: otbr-agent.service: Scheduled restart jo
May 24 21:26:07 raspberrypi systemd[1]: Stopped Border Router Agent.
May 24 21:26:07 raspberrypi systemd[1]: Started Border Router Agent.
May 24 21:26:07 raspberrypi otbr-agent[557]: [INFO]-UTILS---: Running 0.3.0
May 24 21:26:07 raspberrypi otbr-agent[557]: [INFO]-UTILS---: Thread version: 1.
May 24 21:26:07 raspberrypi otbr-agent[557]: [INFO]-UTILS---: Thread interface:
May 24 21:26:07 raspberrypi otbr-agent[557]: [INFO]-UTILS---: Backbone interface
May 24 21:26:07 raspberrypi otbr-agent[557]: [INFO]-UTILS---: Radio URL: spinel+
May 24 21:26:07 raspberrypi otbr-agent[557]: [INFO]-PLAT----: RCP reset: RESET_P
May 24 21:26:07 raspberrypi otbr-agent[557]: [NOTE]-PLAT----: RCP API Version: 3
May 24 21:26:08 raspberrypi otbr-agent[557]: [CRIT]-PLAT----: platformBackboneIn
May 24 21:26:08 raspberrypi systemd[1]: otbr-agent.service: Main process exited,
May 24 21:26:08 raspberrypi systemd[1]: otbr-agent.service: Failed with result '
May 24 21:26:13 raspberrypi systemd[1]: otbr-agent.service: Service RestartSec=5
May 24 21:26:13 raspberrypi systemd[1]: otbr-agent.service: Scheduled restart jo
May 24 21:26:13 raspberrypi systemd[1]: Stopped Border Router Agent.
May 24 21:26:13 raspberrypi systemd[1]: Started Border Router Agent.
May 24 21:26:13 raspberrypi otbr-agent[560]: [INFO]-UTILS---: Running 0.3.0
May 24 21:26:13 raspberrypi otbr-agent[560]: [INFO]-UTILS---: Thread version: 1.
May 24 21:26:13 raspberrypi otbr-agent[560]: [INFO]-UTILS---: Thread interface:
May 24 21:26:13 raspberrypi otbr-agent[560]: [INFO]-UTILS---: Backbone interface
May 24 21:26:13 raspberrypi otbr-agent[560]: [INFO]-UTILS---: Radio URL: spinel+
May 24 21:26:13 raspberrypi otbr-agent[560]: [INFO]-PLAT----: RCP reset: RESET_P
May 24 21:26:13 raspberrypi otbr-agent[560]: [NOTE]-PLAT----: RCP API Version: 3
May 24 21:26:13 raspberrypi otbr-agent[560]: [CRIT]-PLAT----: platformBackboneIn
May 24 21:26:13 raspberrypi systemd[1]: otbr-agent.service: Main process exited,
May 24 21:26:13 raspberrypi systemd[1]: otbr-agent.service: Failed with result '
May 24 21:26:18 raspberrypi systemd[1]: otbr-agent.service: Service RestartSec=5
May 24 21:26:18 raspberrypi systemd[1]: otbr-agent.service: Scheduled restart jo
May 24 21:26:18 raspberrypi systemd[1]: Stopped Border Router Agent.
May 24 21:26:18 raspberrypi systemd[1]: Started Border Router Agent.
May 24 21:26:18 raspberrypi otbr-agent[563]: [INFO]-UTILS---: Running 0.3.0
May 24 21:26:18 raspberrypi otbr-agent[563]: [INFO]-UTILS---: Thread version: 1.
May 24 21:26:18 raspberrypi otbr-agent[563]: [INFO]-UTILS---: Thread interface:
May 24 21:26:18 raspberrypi otbr-agent[563]: [INFO]-UTILS---: Backbone interface
May 24 21:26:18 raspberrypi otbr-agent[563]: [INFO]-UTILS---: Radio URL: spinel+
May 24 21:26:18 raspberrypi otbr-agent[563]: [INFO]-PLAT----: RCP reset: RESET_P
May 24 21:26:18 raspberrypi otbr-agent[563]: [NOTE]-PLAT----: RCP API Version: 3
May 24 21:26:18 raspberrypi otbr-agent[563]: [CRIT]-PLAT----: platformBackboneIn
May 24 21:26:18 raspberrypi systemd[1]: otbr-agent.service: Main process exited,
May 24 21:26:18 raspberrypi systemd[1]: otbr-agent.service: Failed with result '
May 24 21:26:23 raspberrypi systemd[1]: otbr-agent.service: Service RestartSec=5
May 24 21:26:23 raspberrypi systemd[1]: otbr-agent.service: Scheduled restart jo
May 24 21:26:23 raspberrypi systemd[1]: Stopped Border Router Agent.
May 24 21:26:23 raspberrypi systemd[1]: Started Border Router Agent.
May 24 21:26:23 raspberrypi otbr-agent[566]: [INFO]-UTILS---: Running 0.3.0
May 24 21:26:23 raspberrypi otbr-agent[566]: [INFO]-UTILS---: Thread version: 1.
May 24 21:26:23 raspberrypi otbr-agent[566]: [INFO]-UTILS---: Thread interface:
May 24 21:26:23 raspberrypi otbr-agent[566]: [INFO]-UTILS---: Backbone interface
May 24 21:26:23 raspberrypi otbr-agent[566]: [INFO]-UTILS---: Radio URL: spinel+
May 24 21:26:23 raspberrypi otbr-agent[566]: [INFO]-PLAT----: RCP reset: RESET_P
May 24 21:26:23 raspberrypi otbr-agent[566]: [NOTE]-PLAT----: RCP API Version: 3
May 24 21:26:23 raspberrypi otbr-agent[566]: [CRIT]-PLAT----: platformBackboneIn
May 24 21:26:23 raspberrypi systemd[1]: otbr-agent.service: Main process exited,
May 24 21:26:23 raspberrypi systemd[1]: otbr-agent.service: Failed with result '


and it's running with same output

Jonathan Hui

unread,
May 25, 2021, 11:23:17 PM5/25/21
to N.UMAMAHESWAR REDDY, openthread-users
The log lines are truncated. Can you provide the logs from /var/log/syslog ?

The best I can tell from the truncated log lines is that platformBackboneInit() is failing. Likely due to a misconfiguration in the backbone interface name.

Can you provide the contents of /etc/default/otbr-agent ?

Can you also provide the output of ifconfig ?

--
Jonathan Hui



N.UMAMAHESWAR REDDY

unread,
May 26, 2021, 12:42:15 AM5/26/21
to openthread-users
pi@raspberrypi:~$ cat /etc/default/otbr-agent
# Default settings for otbr-agent. This file is sourced by systemd

# Options to pass to otbr-agent
OTBR_AGENT_OPTS="-I wpan0 spinel+hdlc+uart:///dev/ttyACM0"
pi@raspberrypi:~$ ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether b8:27:eb:0a:61:5a  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 11368  bytes 763738 (745.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 11368  bytes 763738 (745.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

nat64: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 192.168.255.1  netmask 255.255.255.255  destination 192.168.255.1
        inet6 fdaa:bb:1::2  prefixlen 128  scopeid 0x0<global>
        inet6 fe80::fe40:cf1e:aefc:1b58  prefixlen 64  scopeid 0x20<link>
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 500  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4  bytes 304 (304.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.2  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::ba27:ebff:fe5f:340f  prefixlen 64  scopeid 0x20<link>
        ether b8:27:eb:5f:34:0f  txqueuelen 1000  (Ethernet)
        RX packets 861  bytes 80746 (78.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 508  bytes 53391 (52.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Couldn't capture all the syslog output

24 23:16:35 raspberrypi systemd[1]: otbr-agent.service: Scheduled restart job, restart counter is at 1263.
May 24 23:16:35 raspberrypi systemd[1]: Stopped Border Router Agent.
May 24 23:16:35 raspberrypi systemd[1]: Started Border Router Agent.
May 24 23:16:35 raspberrypi otbr-agent[4672]: [INFO]-UTILS---: Running 0.3.0
May 24 23:16:35 raspberrypi otbr-agent[4672]: [INFO]-UTILS---: Thread version: 1.2.0
May 24 23:16:35 raspberrypi otbr-agent[4672]: [INFO]-UTILS---: Thread interface: wpan0
May 24 23:16:35 raspberrypi otbr-agent[4672]: [INFO]-UTILS---: Backbone interface:
May 24 23:16:35 raspberrypi otbr-agent[4672]: [INFO]-UTILS---: Radio URL: spinel+hdlc+uart:///dev/ttyACM0
May 24 23:16:35 raspberrypi otbr-agent[4672]: [INFO]-PLAT----: RCP reset: RESET_POWER_ON
May 24 23:16:35 raspberrypi otbr-agent[4672]: [NOTE]-PLAT----: RCP API Version: 3
May 24 23:16:35 raspberrypi otbr-agent[4672]: [CRIT]-PLAT----: platformBackboneInit() at ../../third_party/openthread/repo/src/posix/platform/backbone.cpp:59: Failure
May 24 23:16:35 raspberrypi systemd[1]: otbr-agent.service: Main process exited, code=exited, status=1/FAILURE
May 24 23:16:35 raspberrypi systemd[1]: otbr-agent.service: Failed with result 'exit-code'.
May 24 23:16:40 raspberrypi systemd[1]: otbr-agent.service: Service RestartSec=5s expired, scheduling restart.
May 24 23:16:40 raspberrypi systemd[1]: otbr-agent.service: Scheduled restart job, restart counter is at 1264.
May 24 23:16:40 raspberrypi systemd[1]: Stopped Border Router Agent.
May 24 23:16:40 raspberrypi systemd[1]: Started Border Router Agent.
May 24 23:16:40 raspberrypi otbr-agent[4675]: [INFO]-UTILS---: Running 0.3.0
May 24 23:16:40 raspberrypi otbr-agent[4675]: [INFO]-UTILS---: Thread version: 1.2.0
May 24 23:16:40 raspberrypi otbr-agent[4675]: [INFO]-UTILS---: Thread interface: wpan0
May 24 23:16:40 raspberrypi otbr-agent[4675]: [INFO]-UTILS---: Backbone interface:
May 24 23:16:40 raspberrypi otbr-agent[4675]: [INFO]-UTILS---: Radio URL: spinel+hdlc+uart:///dev/ttyACM0
May 24 23:16:40 raspberrypi otbr-agent[4675]: [INFO]-PLAT----: RCP reset: RESET_POWER_ON
May 24 23:16:40 raspberrypi otbr-agent[4675]: [NOTE]-PLAT----: RCP API Version: 3
May 24 23:16:40 raspberrypi otbr-agent[4675]: [CRIT]-PLAT----: platformBackboneInit() at ../../third_party/openthread/repo/src/posix/platform/backbone.cpp:59: Failure
May 24 23:16:40 raspberrypi systemd[1]: otbr-agent.service: Main process exited, code=exited, status=1/FAILURE
May 24 23:16:40 raspberrypi systemd[1]: otbr-agent.service: Failed with result 'exit-code'.
May 24 23:16:46 raspberrypi systemd[1]: otbr-agent.service: Service RestartSec=5s expired, scheduling restart.
May 24 23:16:46 raspberrypi systemd[1]: otbr-agent.service: Scheduled restart job, restart counter is at 1265.
May 24 23:16:46 raspberrypi systemd[1]: Stopped Border Router Agent.
May 24 23:16:46 raspberrypi systemd[1]: Started Border Router Agent.
May 24 23:16:46 raspberrypi otbr-agent[4678]: [INFO]-UTILS---: Running 0.3.0
May 24 23:16:46 raspberrypi otbr-agent[4678]: [INFO]-UTILS---: Thread version: 1.2.0
May 24 23:16:46 raspberrypi otbr-agent[4678]: [INFO]-UTILS---: Thread interface: wpan0
May 24 23:16:46 raspberrypi otbr-agent[4678]: [INFO]-UTILS---: Backbone interface:
May 24 23:16:46 raspberrypi otbr-agent[4678]: [INFO]-UTILS---: Radio URL: spinel+hdlc+uart:///dev/ttyACM0
May 24 23:16:46 raspberrypi otbr-agent[4678]: [INFO]-PLAT----: RCP reset: RESET_POWER_ON
May 24 23:16:46 raspberrypi otbr-agent[4678]: [NOTE]-PLAT----: RCP API Version: 3
May 24 23:16:46 raspberrypi otbr-agent[4678]: [CRIT]-PLAT----: platformBackboneInit() at ../../third_party/openthread/repo/src/posix/platform/backbone.cpp:59: Failure
May 24 23:16:46 raspberrypi systemd[1]: otbr-agent.service: Main process exited, code=exited, status=1/FAILURE
May 24 23:16:46 raspberrypi systemd[1]: otbr-agent.service: Failed with result 'exit-code'.
May 24 23:16:51 raspberrypi systemd[1]: otbr-agent.service: Service RestartSec=5s expired, scheduling restart.
May 24 23:16:51 raspberrypi systemd[1]: otbr-agent.service: Scheduled restart job, restart counter is at 1266.
May 24 23:16:51 raspberrypi systemd[1]: Stopped Border Router Agent.
May 24 23:16:51 raspberrypi systemd[1]: Started Border Router Agent.
May 24 23:16:51 raspberrypi otbr-agent[4681]: [INFO]-UTILS---: Running 0.3.0
May 24 23:16:51 raspberrypi otbr-agent[4681]: [INFO]-UTILS---: Thread version: 1.2.0
May 24 23:16:51 raspberrypi otbr-agent[4681]: [INFO]-UTILS---: Thread interface: wpan0
May 24 23:16:51 raspberrypi otbr-agent[4681]: [INFO]-UTILS---: Backbone interface:
May 24 23:16:51 raspberrypi otbr-agent[4681]: [INFO]-UTILS---: Radio URL: spinel+hdlc+uart:///dev/ttyACM0
May 24 23:16:51 raspberrypi otbr-agent[4681]: [INFO]-PLAT----: RCP reset: RESET_POWER_ON
May 24 23:16:51 raspberrypi otbr-agent[4681]: [NOTE]-PLAT----: RCP API Version: 3
May 24 23:16:51 raspberrypi otbr-agent[4681]: [CRIT]-PLAT----: platformBackboneInit() at ../../third_party/openthread/repo/src/posix/platform/backbone.cpp:59: Failure
May 24 23:16:51 raspberrypi systemd[1]: otbr-agent.service: Main process exited, code=exited, status=1/FAILURE
May 24 23:16:51 raspberrypi systemd[1]: otbr-agent.service: Failed with result 'exit-code'.
May 24 23:16:56 raspberrypi systemd[1]: otbr-agent.service: Service RestartSec=5s expired, scheduling restart.
May 24 23:16:56 raspberrypi systemd[1]: otbr-agent.service: Scheduled restart job, restart counter is at 1267.
May 24 23:16:56 raspberrypi systemd[1]: Stopped Border Router Agent.
May 24 23:16:56 raspberrypi systemd[1]: Started Border Router Agent.
May 24 23:16:56 raspberrypi otbr-agent[4684]: [INFO]-UTILS---: Running 0.3.0
May 24 23:16:56 raspberrypi otbr-agent[4684]: [INFO]-UTILS---: Thread version: 1.2.0
May 24 23:16:56 raspberrypi otbr-agent[4684]: [INFO]-UTILS---: Thread interface: wpan0
May 24 23:16:56 raspberrypi otbr-agent[4684]: [INFO]-UTILS---: Backbone interface:
May 24 23:16:56 raspberrypi otbr-agent[4684]: [INFO]-UTILS---: Radio URL: spinel+hdlc+uart:///dev/ttyACM0
May 24 23:16:56 raspberrypi otbr-agent[4684]: [INFO]-PLAT----: RCP reset: RESET_POWER_ON
May 24 23:16:56 raspberrypi otbr-agent[4684]: [NOTE]-PLAT----: RCP API Version: 3
May 24 23:16:56 raspberrypi otbr-agent[4684]: [CRIT]-PLAT----: platformBackboneInit() at ../../third_party/openthread/repo/src/posix/platform/backbone.cpp:59: Failure
May 24 23:16:56 raspberrypi systemd[1]: otbr-agent.service: Main process exited, code=exited, status=1/FAILURE
May 24 23:16:56 raspberrypi systemd[1]: otbr-agent.service: Failed with result 'exit-code'.
May 24 23:16:56 raspberrypi named[687]: network unreachable resolving '0.debian.pool.ntp.org/A/IN': 8.8.8.4#53
May 24 23:16:56 raspberrypi named[687]: network unreachable resolving '0.debian.pool.ntp.org/AAAA/IN': 8.8.8.4#53
May 24 23:16:56 raspberrypi named[687]: network unreachable resolving '0.debian.pool.ntp.org/A/IN': 8.8.8.8#53
May 24 23:16:56 raspberrypi named[687]: network unreachable resolving '0.debian.pool.ntp.org/AAAA/IN': 8.8.8.8#53
May 24 23:16:56 raspberrypi named[687]: network unreachable resolving '1.debian.pool.ntp.org/A/IN': 8.8.8.4#53
May 24 23:16:56 raspberrypi named[687]: network unreachable resolving '1.debian.pool.ntp.org/AAAA/IN': 8.8.8.4#53
May 24 23:16:56 raspberrypi named[687]: network unreachable resolving '1.debian.pool.ntp.org/A/IN': 8.8.8.8#53
May 24 23:16:56 raspberrypi named[687]: network unreachable resolving '1.debian.pool.ntp.org/AAAA/IN': 8.8.8.8#53
May 24 23:16:56 raspberrypi named[687]: network unreachable resolving '2.debian.pool.ntp.org/AAAA/IN': 8.8.8.4#53
May 24 23:16:56 raspberrypi named[687]: network unreachable resolving '2.debian.pool.ntp.org/A/IN': 8.8.8.4#53
May 24 23:16:56 raspberrypi named[687]: network unreachable resolving '2.debian.pool.ntp.org/AAAA/IN': 8.8.8.8#53
May 24 23:16:56 raspberrypi named[687]: network unreachable resolving '2.debian.pool.ntp.org/A/IN': 8.8.8.8#53
May 24 23:16:56 raspberrypi named[687]: network unreachable resolving '3.debian.pool.ntp.org/A/IN': 8.8.8.4#53
May 24 23:16:56 raspberrypi named[687]: network unreachable resolving '3.debian.pool.ntp.org/AAAA/IN': 8.8.8.4#53
May 24 23:16:56 raspberrypi named[687]: network unreachable resolving '3.debian.pool.ntp.org/A/IN': 8.8.8.8#53
May 24 23:16:56 raspberrypi named[687]: network unreachable resolving '3.debian.pool.ntp.org/AAAA/IN': 8.8.8.8#53
May 24 23:17:01 raspberrypi CRON[4689]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
May 24 23:17:01 raspberrypi systemd[1]: otbr-agent.service: Service RestartSec=5s expired, scheduling restart.
May 24 23:17:01 raspberrypi systemd[1]: otbr-agent.service: Scheduled restart job, restart counter is at 1268.
May 24 23:17:01 raspberrypi systemd[1]: Stopped Border Router Agent.
May 24 23:17:01 raspberrypi systemd[1]: Started Border Router Agent.
May 24 23:17:01 raspberrypi otbr-agent[4697]: [INFO]-UTILS---: Running 0.3.0
May 24 23:17:01 raspberrypi otbr-agent[4697]: [INFO]-UTILS---: Thread version: 1.2.0
May 24 23:17:01 raspberrypi otbr-agent[4697]: [INFO]-UTILS---: Thread interface: wpan0
May 24 23:17:01 raspberrypi otbr-agent[4697]: [INFO]-UTILS---: Backbone interface:
May 24 23:17:01 raspberrypi otbr-agent[4697]: [INFO]-UTILS---: Radio URL: spinel+hdlc+uart:///dev/ttyACM0
May 24 23:17:01 raspberrypi otbr-agent[4697]: [INFO]-PLAT----: RCP reset: RESET_POWER_ON
May 24 23:17:01 raspberrypi otbr-agent[4697]: [NOTE]-PLAT----: RCP API Version: 3
May 24 23:17:01 raspberrypi otbr-agent[4697]: [CRIT]-PLAT----: platformBackboneInit() at ../../third_party/openthread/repo/src/posix/platform/backbone.cpp:59: Failure
May 24 23:17:01 raspberrypi systemd[1]: otbr-agent.service: Main process exited, code=exited, status=1/FAILURE
May 24 23:17:01 raspberrypi systemd[1]: otbr-agent.service: Failed with result 'exit-code'.
May 24 23:17:07 raspberrypi systemd[1]: otbr-agent.service: Service RestartSec=5s expired, scheduling restart.
May 24 23:17:07 raspberrypi systemd[1]: otbr-agent.service: Scheduled restart job, restart counter is at 1269.
May 24 23:17:07 raspberrypi systemd[1]: Stopped Border Router Agent.
May 24 23:17:07 raspberrypi systemd[1]: Started Border Router Agent.
May 24 23:17:07 raspberrypi otbr-agent[4700]: [INFO]-UTILS---: Running 0.3.0
May 24 23:17:07 raspberrypi otbr-agent[4700]: [INFO]-UTILS---: Thread version: 1.2.0
May 24 23:17:07 raspberrypi otbr-agent[4700]: [INFO]-UTILS---: Thread interface: wpan0
May 24 23:17:07 raspberrypi otbr-agent[4700]: [INFO]-UTILS---: Backbone interface:
May 24 23:17:07 raspberrypi otbr-agent[4700]: [INFO]-UTILS---: Radio URL: spinel+hdlc+uart:///dev/ttyACM0
May 24 23:17:07 raspberrypi otbr-agent[4700]: [INFO]-PLAT----: RCP reset: RESET_POWER_ON
May 24 23:17:07 raspberrypi otbr-agent[4700]: [NOTE]-PLAT----: RCP API Version: 3
May 24 23:17:07 raspberrypi otbr-agent[4700]: [CRIT]-PLAT----: platformBackboneInit() at ../../third_party/openthread/repo/src/posix/platform/backbone.cpp:59: Failure
May 24 23:17:07 raspberrypi systemd[1]: otbr-agent.service: Main process exited, code=exited, status=1/FAILURE
May 24 23:17:07 raspberrypi systemd[1]: otbr-agent.service: Failed with result 'exit-code'.
May 24 23:17:12 raspberrypi systemd[1]: otbr-agent.service: Service RestartSec=5s expired, scheduling restart.
May 24 23:17:12 raspberrypi systemd[1]: otbr-agent.service: Scheduled restart job, restart counter is at 1270.
May 24 23:17:12 raspberrypi systemd[1]: Stopped Border Router Agent.
May 24 23:17:12 raspberrypi systemd[1]: Started Border Router Agent.
May 24 23:17:12 raspberrypi otbr-agent[4703]: [INFO]-UTILS---: Running 0.3.0
May 24 23:17:12 raspberrypi otbr-agent[4703]: [INFO]-UTILS---: Thread version: 1.2.0
May 24 23:17:12 raspberrypi otbr-agent[4703]: [INFO]-UTILS---: Thread interface: wpan0
May 24 23:17:12 raspberrypi otbr-agent[4703]: [INFO]-UTILS---: Backbone interface:
May 24 23:17:12 raspberrypi otbr-agent[4703]: [INFO]-UTILS---: Radio URL: spinel+hdlc+uart:///dev/ttyACM0
May 24 23:17:12 raspberrypi otbr-agent[4703]: [INFO]-PLAT----: RCP reset: RESET_POWER_ON
May 24 23:17:12 raspberrypi otbr-agent[4703]: [NOTE]-PLAT----: RCP API Version: 3
May 24 23:17:12 raspberrypi otbr-agent[4703]: [CRIT]-PLAT----: platformBackboneInit() at ../../third_party/openthread/repo/src/posix/platform/backbone.cpp:59: Failure
May 24 23:17:12 raspberrypi systemd[1]: otbr-agent.service: Main process exited, code=exited, status=1/FAILURE
May 24 23:17:12 raspberrypi systemd[1]: otbr-agent.service: Failed with result 'exit-code'.
May 24 23:17:17 raspberrypi systemd[1]: otbr-agent.service: Service RestartSec=5s expired, scheduling restart.
May 24 23:17:17 raspberrypi systemd[1]: otbr-agent.service: Scheduled restart job, restart counter is at 1271.
May 24 23:17:17 raspberrypi systemd[1]: Stopped Border Router Agent.
May 24 23:17:17 raspberrypi systemd[1]: Started Border Router Agent.
May 24 23:17:17 raspberrypi otbr-agent[4706]: [INFO]-UTILS---: Running 0.3.0
May 24 23:17:17 raspberrypi otbr-agent[4706]: [INFO]-UTILS---: Thread version: 1.2.0
May 24 23:17:17 raspberrypi otbr-agent[4706]: [INFO]-UTILS---: Thread interface: wpan0
May 24 23:17:17 raspberrypi otbr-agent[4706]: [INFO]-UTILS---: Backbone interface:
May 24 23:17:17 raspberrypi otbr-agent[4706]: [INFO]-UTILS---: Radio URL: spinel+hdlc+uart:///dev/ttyACM0
May 24 23:17:17 raspberrypi otbr-agent[4706]: [INFO]-PLAT----: RCP reset: RESET_POWER_ON
May 24 23:17:17 raspberrypi otbr-agent[4706]: [NOTE]-PLAT----: RCP API Version: 3
May 24 23:17:17 raspberrypi otbr-agent[4706]: [CRIT]-PLAT----: platformBackboneInit() at ../../third_party/openthread/repo/src/posix/platform/backbone.cpp:59: Failure
May 24 23:17:17 raspberrypi systemd[1]: otbr-agent.service: Main process exited, code=exited, status=1/FAILURE
May 24 23:17:17 raspberrypi systemd[1]: otbr-agent.service: Failed with result 'exit-code'.

Jonathan Hui

unread,
May 26, 2021, 1:32:51 AM5/26/21
to N.UMAMAHESWAR REDDY, openthread-users
Thanks for providing the additional logs.

It appears that there is a bug in determining when the backbone interface is not specified and we try to access the network interface with an empty string ("") name, which of course fails and causes the process to die.

We are working on a fix. Submitted openthread/openthread#6684 to track this.

--
Jonathan Hui



N.UMAMAHESWAR REDDY

unread,
May 26, 2021, 3:06:01 AM5/26/21
to openthread-users
Is there any other way that I can follow so that I can be out of this issue? 
And I could be able to get the Web gui now and when trying to FORM network, showing as FORM operation is failed.
Is there a way that I can fix this issue? or Is this because the otbr-agent.service is failing?

Jonathan Hui

unread,
Jun 1, 2021, 4:19:50 PM6/1/21
to N.UMAMAHESWAR REDDY, openthread-users
This issue has been resolved with the following PRs:
--
Jonathan Hui



senthil kumar

unread,
Jun 2, 2021, 9:57:18 AM6/2/21
to openthread-users
Hi 
    
 I have also the same problem, otbr-agent.service not running when I give the command "sudo systemctl status".
here I have raspberry pi as border router and 'NCP' is nrf52840dk board connected with raspberry pi.

But I have enabled these services.
otbr-agent.service enabled
otbr-nat44.service generated
otbr-web.service enabled

Still, I can't get "otbr-agent.service"
─avahi-daemon.service
│ ├─394 avahi-daemon: running [raspberrypi.local]
│ └─427 avahi-daemon: chroot helper
├─otbr-web.service
│ └─415 /usr/sbin/otbr-web

After I give the command for "NCP state" like this,
pi@raspberrypi:~ $ sudo ot-ctl state
connect session failed: No such file or directory

Please give me some solution for this.

Thanks & Regards
Senthil

Jonathan Hui

unread,
Jun 2, 2021, 4:43:01 PM6/2/21
to senthil kumar, openthread-users
The error indicates that otbr-agent is not running. Can you provide the logs from /var/log/messages ?

--
Jonathan Hui



senthil kumar

unread,
Jun 3, 2021, 2:33:47 AM6/3/21
to openthread-users
Hi
 I have shared the /var/log/messages, please verify that it has any error or not.

Jun  3 07:04:05 raspberrypi otbr-agent[371]: [INFO]-UTILS---: Running 0.3.0
Jun  3 07:04:05 raspberrypi kernel: [    3.015855] Non-periodic Split Transactions
Jun  3 07:04:05 raspberrypi kernel: [    3.015855] Periodic Split Transactions
Jun  3 07:04:05 raspberrypi kernel: [    3.015855] High-Speed Isochronous Endpoints
Jun  3 07:04:05 raspberrypi otbr-agent[371]: [INFO]-UTILS---: Thread version: 1.2.0
Jun  3 07:04:05 raspberrypi kernel: [    3.015855] Interrupt/Control Split Transaction hack enabled
Jun  3 07:04:05 raspberrypi kernel: [    3.026771] 
Jun  3 07:04:05 raspberrypi kernel: [    3.026781] WARN::hcd_init_fiq:457: FIQ on core 1
Jun  3 07:04:05 raspberrypi kernel: [    3.031074] 
Jun  3 07:04:05 raspberrypi otbr-agent[371]: [INFO]-UTILS---: Thread interface: wpan0
Jun  3 07:04:05 raspberrypi kernel: [    3.031083] WARN::hcd_init_fiq:458: FIQ ASM at 807be568 length 36
Jun  3 07:04:05 raspberrypi kernel: [    3.035500] 
Jun  3 07:04:05 raspberrypi kernel: [    3.035509] WARN::hcd_init_fiq:497: MPHI regs_base at bb810000
Jun  3 07:04:05 raspberrypi kernel: [    3.039974] dwc_otg 3f980000.usb: DWC OTG Controller
Jun  3 07:04:05 raspberrypi kernel: [    3.042279] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
Jun  3 07:04:05 raspberrypi kernel: [    3.044664] dwc_otg 3f980000.usb: irq 89, io mem 0x00000000
Jun  3 07:04:05 raspberrypi kernel: [    3.046983] Init: Port Power? op_state=1
Jun  3 07:04:05 raspberrypi otbr-agent[371]: [INFO]-UTILS---: Backbone interface: eth0
Jun  3 07:04:05 raspberrypi kernel: [    3.049203] Init: Power Port (0)
Jun  3 07:04:05 raspberrypi kernel: [    3.051710] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
Jun  3 07:04:05 raspberrypi kernel: [    3.056306] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Jun  3 07:04:05 raspberrypi otbr-agent[371]: [INFO]-UTILS---: Radio URL: spinel+hdlc+uart:///dev/ttyACM0
Jun  3 07:04:05 raspberrypi kernel: [    3.058758] usb usb1: Product: DWC OTG Controller
Jun  3 07:04:05 raspberrypi otbr-agent[371]: [INFO]-UTILS---: Radio URL: trel://eth0
Jun  3 07:04:05 raspberrypi kernel: [    3.061104] usb usb1: Manufacturer: Linux 5.10.17-v7+ dwc_otg_hcd
Jun  3 07:04:05 raspberrypi kernel: [    3.063486] usb usb1: SerialNumber: 3f980000.usb
Jun  3 07:04:05 raspberrypi kernel: [    3.066610] hub 1-0:1.0: USB hub found
Jun  3 07:04:05 raspberrypi kernel: [    3.069046] hub 1-0:1.0: 1 port detected
Jun  3 07:04:05 raspberrypi rsyslogd: imuxsock: Acquired UNIX socket '/run/systemd/journal/syslog' (fd 3) from systemd.  [v8.1901.0]
Jun  3 07:04:05 raspberrypi rsyslogd:  [origin software="rsyslogd" swVersion="8.1901.0" x-pid="381" x-info="https://www.rsyslog.com"] start
Jun  3 07:04:05 raspberrypi kernel: [    3.072816] usbcore: registered new interface driver usb-storage
Jun  3 07:04:05 raspberrypi kernel: [    3.075482] mousedev: PS/2 mouse device common for all mice
Jun  3 07:04:05 raspberrypi kernel: [    3.079063] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
Jun  3 07:04:05 raspberrypi kernel: [    3.084638] sdhci: Secure Digital Host Controller Interface driver
Jun  3 07:04:05 raspberrypi kernel: [    3.087163] sdhci: Copyright(c) Pierre Ossman
Jun  3 07:04:05 raspberrypi kernel: [    3.090214] mmc-bcm2835 3f300000.mmcnr: could not get clk, deferring probe
Jun  3 07:04:05 raspberrypi kernel: [    3.093435] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
Jun  3 07:04:05 raspberrypi kernel: [    3.096269] sdhci-pltfm: SDHCI platform and OF driver helper
Jun  3 07:04:05 raspberrypi kernel: [    3.100601] ledtrig-cpu: registered to indicate activity on CPUs
Jun  3 07:04:05 raspberrypi kernel: [    3.103609] hid: raw HID events driver (C) Jiri Kosina
Jun  3 07:04:05 raspberrypi kernel: [    3.106451] usbcore: registered new interface driver usbhid
Jun  3 07:04:05 raspberrypi kernel: [    3.109043] usbhid: USB HID core driver
Jun  3 07:04:05 raspberrypi kernel: [    3.116386] Initializing XFRM netlink socket
Jun  3 07:04:05 raspberrypi kernel: [    3.118987] NET: Registered protocol family 17
Jun  3 07:04:05 raspberrypi kernel: [    3.121572] Key type dns_resolver registered
Jun  3 07:04:05 raspberrypi kernel: [    3.124638] Registering SWP/SWPB emulation handler
Jun  3 07:04:05 raspberrypi kernel: [    3.127128] registered taskstats version 1
Jun  3 07:04:05 raspberrypi kernel: [    3.129453] Loading compiled-in X.509 certificates
Jun  3 07:04:05 raspberrypi kernel: [    3.132648] Key type ._fscrypt registered
Jun  3 07:04:05 raspberrypi kernel: [    3.135055] Key type .fscrypt registered
Jun  3 07:04:05 raspberrypi kernel: [    3.137376] Key type fscrypt-provisioning registered
Jun  3 07:04:05 raspberrypi kernel: [    3.150699] uart-pl011 3f201000.serial: there is not valid maps for state default
Jun  3 07:04:05 raspberrypi kernel: [    3.155592] uart-pl011 3f201000.serial: cts_event_workaround enabled
Jun  3 07:04:05 raspberrypi kernel: [    3.158099] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 114, base_baud = 0) is a PL011 rev2
Jun  3 07:04:05 raspberrypi kernel: [    4.225992] printk: console [ttyAMA0] enabled
Jun  3 07:04:05 raspberrypi kernel: [    4.235027] bcm2835-aux-uart 3f215040.serial: there is not valid maps for state default
Jun  3 07:04:05 raspberrypi kernel: [    4.248678] 3f215040.serial: ttyS0 at MMIO 0x3f215040 (irq = 86, base_baud = 50000000) is a 16550
Jun  3 07:04:05 raspberrypi kernel: [    4.263605] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
Jun  3 07:04:05 raspberrypi kernel: [    4.275260] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0
Jun  3 07:04:05 raspberrypi kernel: [    4.284028] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated
Jun  3 07:04:05 raspberrypi kernel: [    4.317999] sdhost: log_buf @ (ptrval) (f7513000)
Jun  3 07:04:05 raspberrypi kernel: [    4.363440] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
Jun  3 07:04:05 raspberrypi kernel: [    4.373370] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
Jun  3 07:04:05 raspberrypi kernel: [    4.381603] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
Jun  3 07:04:05 raspberrypi kernel: [    4.392672] of_cfs_init
Jun  3 07:04:05 raspberrypi kernel: [    4.398002] of_cfs_init: OK
Jun  3 07:04:05 raspberrypi kernel: [    4.404348] Waiting for root device PARTUUID=a74546e6-02...
Jun  3 07:04:05 raspberrypi kernel: [    4.410909] Indeed it is in host mode hprt0 = 00021501
Jun  3 07:04:05 raspberrypi kernel: [    4.480840] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
Jun  3 07:04:05 raspberrypi kernel: [    4.492001] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
Jun  3 07:04:05 raspberrypi kernel: [    4.498118] random: fast init done
Jun  3 07:04:05 raspberrypi kernel: [    4.559966] mmc0: host does not support reading read-only switch, assuming write-enable
Jun  3 07:04:05 raspberrypi kernel: [    4.578776] mmc0: new high speed SDHC card at address aaaa
Jun  3 07:04:05 raspberrypi kernel: [    4.587794] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
Jun  3 07:04:05 raspberrypi kernel: [    4.600375]  mmcblk0: p1 p2
Jun  3 07:04:05 raspberrypi kernel: [    4.614242] mmc1: new high speed SDIO card at address 0001
Jun  3 07:04:05 raspberrypi kernel: [    4.627871] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
Jun  3 07:04:05 raspberrypi kernel: [    4.634102] usb 1-1: new high-speed USB device number 2 using dwc_otg
Jun  3 07:04:05 raspberrypi kernel: [    4.640587] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
Jun  3 07:04:05 raspberrypi kernel: [    4.649445] Indeed it is in host mode hprt0 = 00001101
Jun  3 07:04:05 raspberrypi kernel: [    4.668458] devtmpfs: mounted
Jun  3 07:04:05 raspberrypi kernel: [    4.727702] Freeing unused kernel memory: 1024K
Jun  3 07:04:05 raspberrypi kernel: [    4.735184] Run /sbin/init as init process
Jun  3 07:04:05 raspberrypi kernel: [    4.904429] usb 1-1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
Jun  3 07:04:05 raspberrypi kernel: [    4.917882] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Jun  3 07:04:05 raspberrypi kernel: [    4.928634] hub 1-1:1.0: USB hub found
Jun  3 07:04:05 raspberrypi kernel: [    4.935288] hub 1-1:1.0: 4 ports detected
Jun  3 07:04:05 raspberrypi kernel: [    5.254074] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
Jun  3 07:04:05 raspberrypi kernel: [    5.384440] usb 1-1.1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
Jun  3 07:04:05 raspberrypi kernel: [    5.398380] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Jun  3 07:04:05 raspberrypi kernel: [    5.409471] hub 1-1.1:1.0: USB hub found
Jun  3 07:04:05 raspberrypi kernel: [    5.416450] hub 1-1.1:1.0: 3 ports detected
Jun  3 07:04:05 raspberrypi kernel: [    5.482341] NET: Registered protocol family 10
Jun  3 07:04:05 raspberrypi kernel: [    5.491124] Segment Routing with IPv6
Jun  3 07:04:05 raspberrypi kernel: [    5.756171] usb 1-1.1.2: new full-speed USB device number 4 using dwc_otg
Jun  3 07:04:05 raspberrypi kernel: [    5.909897] uart-pl011 3f201000.serial: no DMA platform data
Jun  3 07:04:05 raspberrypi kernel: [    5.918944] usb 1-1.1.2: config 1 has an invalid interface number: 2 but max is 1
Jun  3 07:04:05 raspberrypi kernel: [    5.918976] usb 1-1.1.2: config 1 has no interface number 0
Jun  3 07:04:05 raspberrypi kernel: [    5.946224] usb 1-1.1.2: New USB device found, idVendor=1915, idProduct=cafe, bcdDevice= 1.00
Jun  3 07:04:05 raspberrypi kernel: [    5.960747] usb 1-1.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun  3 07:04:05 raspberrypi kernel: [    5.974186] usb 1-1.1.2: Product: nRF52 USB Product
Jun  3 07:04:05 raspberrypi kernel: [    5.982704] usb 1-1.1.2: Manufacturer: Nordic Semiconductor
Jun  3 07:04:05 raspberrypi kernel: [    5.991669] usb 1-1.1.2: SerialNumber: CA9F28EE36DA
Jun  3 07:04:05 raspberrypi kernel: [    6.314087] usb 1-1.1.1: new high-speed USB device number 5 using dwc_otg
Jun  3 07:04:05 raspberrypi kernel: [    6.454683] usb 1-1.1.1: New USB device found, idVendor=0424, idProduct=7800, bcdDevice= 3.00
Jun  3 07:04:05 raspberrypi kernel: [    6.468888] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Jun  3 07:04:05 raspberrypi kernel: [    6.707055] random: systemd: uninitialized urandom read (16 bytes read)
Jun  3 07:04:05 raspberrypi kernel: [    6.734457] random: systemd: uninitialized urandom read (16 bytes read)
Jun  3 07:04:05 raspberrypi kernel: [    6.753537] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): No External EEPROM. Setting MAC Speed
Jun  3 07:04:05 raspberrypi kernel: [    6.770958] libphy: lan78xx-mdiobus: probed
Jun  3 07:04:05 raspberrypi kernel: [    6.781316] random: systemd: uninitialized urandom read (16 bytes read)
Jun  3 07:04:05 raspberrypi kernel: [    6.807587] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): int urb period 64
Jun  3 07:04:05 raspberrypi kernel: [    7.796274] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Jun  3 07:04:05 raspberrypi kernel: [    8.464588] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
Jun  3 07:04:05 raspberrypi kernel: [    8.467173] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
Jun  3 07:04:05 raspberrypi kernel: [    8.467204] [vc_sm_connected_init]: start
Jun  3 07:04:05 raspberrypi kernel: [    8.473962] [vc_sm_connected_init]: installed successfully
Jun  3 07:04:05 raspberrypi kernel: [    8.512648] mc: Linux media interface: v0.10
Jun  3 07:04:05 raspberrypi kernel: [    8.561891] videodev: Linux video capture interface: v2.00
Jun  3 07:04:05 raspberrypi kernel: [    8.696688] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
Jun  3 07:04:05 raspberrypi kernel: [    8.703545] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
Jun  3 07:04:05 raspberrypi kernel: [    8.703552] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
Jun  3 07:04:05 raspberrypi kernel: [    8.703604] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
Jun  3 07:04:05 raspberrypi kernel: [    8.714721] bcm2835_audio bcm2835_audio: card created with 8 channels
Jun  3 07:04:05 raspberrypi kernel: [    8.716000] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
Jun  3 07:04:05 raspberrypi kernel: [    8.718813] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
Jun  3 07:04:05 raspberrypi kernel: [    8.724595] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
Jun  3 07:04:05 raspberrypi kernel: [    8.739189] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
Jun  3 07:04:05 raspberrypi kernel: [    8.739853] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
Jun  3 07:04:05 raspberrypi kernel: [    8.740473] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
Jun  3 07:04:05 raspberrypi kernel: [    8.740839] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
Jun  3 07:04:05 raspberrypi kernel: [    8.740872] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
Jun  3 07:04:05 raspberrypi kernel: [    8.740899] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
Jun  3 07:04:05 raspberrypi kernel: [    8.740920] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
Jun  3 07:04:05 raspberrypi kernel: [    8.740941] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
Jun  3 07:04:05 raspberrypi kernel: [    8.741173] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
Jun  3 07:04:05 raspberrypi kernel: [    8.741190] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
Jun  3 07:04:05 raspberrypi kernel: [    8.741233] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
Jun  3 07:04:05 raspberrypi kernel: [    8.776209] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
Jun  3 07:04:05 raspberrypi kernel: [    8.776267] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
Jun  3 07:04:05 raspberrypi kernel: [    8.787252] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
Jun  3 07:04:05 raspberrypi kernel: [    8.787307] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
Jun  3 07:04:05 raspberrypi kernel: [    8.907549] cfg80211: Loading compiled-in X.509 certificates for regulatory database
Jun  3 07:04:05 raspberrypi kernel: [    9.037009] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
Jun  3 07:04:05 raspberrypi kernel: [    9.129373] usbcore: registered new interface driver brcmfmac
Jun  3 07:04:05 raspberrypi kernel: [    9.170062] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt failed with error -2
Jun  3 07:04:05 raspberrypi kernel: [    9.325867] cdc_acm 1-1.1.2:1.1: ttyACM0: USB ACM device
Jun  3 07:04:05 raspberrypi kernel: [    9.326933] usbcore: registered new interface driver cdc_acm
Jun  3 07:04:05 raspberrypi kernel: [    9.326955] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
Jun  3 07:04:05 raspberrypi kernel: [   11.401279] random: crng init done
Jun  3 07:04:05 raspberrypi kernel: [   11.401308] random: 7 urandom warning(s) missed due to ratelimiting
Jun  3 07:04:05 raspberrypi kernel: [   11.591229] 8021q: 802.1Q VLAN Support v1.8
Jun  3 07:04:05 raspberrypi otbr-agent[371]: [INFO]-PLAT----: RCP reset: RESET_POWER_ON
Jun  3 07:04:05 raspberrypi kernel: [   11.804390] Adding 102396k swap on /var/swap.  Priority:-2 extents:1 across:102396k SSFS
Jun  3 07:04:06 raspberrypi kernel: [   12.164812] 8021q: adding VLAN 0 to HW filter on device eth0
Jun  3 07:04:06 raspberrypi kernel: [   12.177357] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jun  3 07:04:10 raspberrypi otbr-agent[475]: [INFO]-UTILS---: Running 0.3.0
Jun  3 07:04:10 raspberrypi otbr-agent[475]: [INFO]-UTILS---: Thread version: 1.2.0
Jun  3 07:04:10 raspberrypi otbr-agent[475]: [INFO]-UTILS---: Thread interface: wpan0
Jun  3 07:04:10 raspberrypi otbr-agent[475]: [INFO]-UTILS---: Backbone interface: eth0
Jun  3 07:04:10 raspberrypi otbr-agent[475]: [INFO]-UTILS---: Radio URL: spinel+hdlc+uart:///dev/ttyACM0
Jun  3 07:04:10 raspberrypi otbr-agent[475]: [INFO]-UTILS---: Radio URL: trel://eth0
Jun  3 07:04:10 raspberrypi otbr-agent[475]: [INFO]-PLAT----: RCP reset: RESET_POWER_ON
Jun  3 07:04:11 raspberrypi kernel: [   17.243314] tun: Universal TUN/TAP device driver, 1.6
Jun  3 07:04:11 raspberrypi tayga[490]: Created persistent tun device nat64
Jun  3 07:04:11 raspberrypi kernel: [   17.821866] IPv6: ADDRCONF(NETDEV_CHANGE): nat64: link becomes ready
Jun  3 07:04:16 raspberrypi otbr-agent[529]: [INFO]-UTILS---: Running 0.3.0
Jun  3 07:04:16 raspberrypi otbr-agent[529]: [INFO]-UTILS---: Thread version: 1.2.0
Jun  3 07:04:16 raspberrypi otbr-agent[529]: [INFO]-UTILS---: Thread interface: wpan0
Jun  3 07:04:16 raspberrypi otbr-agent[529]: [INFO]-UTILS---: Backbone interface: eth0
Jun  3 07:04:16 raspberrypi otbr-agent[529]: [INFO]-UTILS---: Radio URL: spinel+hdlc+uart:///dev/ttyACM0
Jun  3 07:04:16 raspberrypi otbr-agent[529]: [INFO]-UTILS---: Radio URL: trel://eth0
Jun  3 07:04:16 raspberrypi otbr-agent[529]: [INFO]-PLAT----: RCP reset: RESET_POWER_ON
Jun  3 07:04:19 raspberrypi kernel: [   25.514117] Voltage normalised (0x00000000)
Jun  3 07:04:21 raspberrypi otbr-agent[530]: [INFO]-UTILS---: Running 0.3.0
Jun  3 07:04:21 raspberrypi otbr-agent[530]: [INFO]-UTILS---: Thread version: 1.2.0
Jun  3 07:04:21 raspberrypi otbr-agent[530]: [INFO]-UTILS---: Thread interface: wpan0
Jun  3 07:04:21 raspberrypi otbr-agent[530]: [INFO]-UTILS---: Backbone interface: eth0
Jun  3 07:04:21 raspberrypi otbr-agent[530]: [INFO]-UTILS---: Radio URL: spinel+hdlc+uart:///dev/ttyACM0
Jun  3 07:04:21 raspberrypi otbr-agent[530]: [INFO]-UTILS---: Radio URL: trel://eth0
Jun  3 07:04:21 raspberrypi otbr-agent[530]: [INFO]-PLAT----: RCP reset: RESET_POWER_ON
Jun  3 07:04:26 raspberrypi otbr-agent[531]: [INFO]-UTILS---: Running 0.3.0
Jun  3 07:04:26 raspberrypi otbr-agent[531]: [INFO]-UTILS---: Thread version: 1.2.0
Jun  3 07:04:26 raspberrypi otbr-agent[531]: [INFO]-UTILS---: Thread interface: wpan0
Jun  3 07:04:26 raspberrypi otbr-agent[531]: [INFO]-UTILS---: Backbone interface: eth0
Jun  3 07:04:26 raspberrypi otbr-agent[531]: [INFO]-UTILS---: Radio URL: spinel+hdlc+uart:///dev/ttyACM0
Jun  3 07:04:26 raspberrypi otbr-agent[531]: [INFO]-UTILS---: Radio URL: trel://eth0
Jun  3 07:04:26 raspberrypi otbr-agent[531]: [INFO]-PLAT----: RCP reset: RESET_POWER_ON
Jun  3 07:04:32 raspberrypi otbr-agent[534]: [INFO]-UTILS---: Running 0.3.0
Jun  3 07:04:32 raspberrypi otbr-agent[534]: [INFO]-UTILS---: Thread version: 1.2.0
Jun  3 07:04:32 raspberrypi otbr-agent[534]: [INFO]-UTILS---: Thread interface: wpan0
Jun  3 07:04:32 raspberrypi otbr-agent[534]: [INFO]-UTILS---: Backbone interface: eth0
Jun  3 07:04:32 raspberrypi otbr-agent[534]: [INFO]-UTILS---: Radio URL: spinel+hdlc+uart:///dev/ttyACM0
Jun  3 07:04:32 raspberrypi otbr-agent[534]: [INFO]-UTILS---: Radio URL: trel://eth0
Jun  3 07:04:32 raspberrypi otbr-agent[534]: [INFO]-PLAT----: RCP reset: RESET_POWER_ON
Jun  3 07:04:50 raspberrypi otbr-agent[564]: [INFO]-UTILS---: Running 0.3.0
Jun  3 07:04:50 raspberrypi otbr-agent[564]: [INFO]-UTILS---: Thread version: 1.2.0
Jun  3 07:04:50 raspberrypi otbr-agent[564]: [INFO]-UTILS---: Thread interface: wpan0
Jun  3 07:04:50 raspberrypi otbr-agent[564]: [INFO]-UTILS---: Backbone interface: eth0
Jun  3 07:04:50 raspberrypi otbr-agent[564]: [INFO]-UTILS---: Radio URL: spinel+hdlc+uart:///dev/ttyACM0
Jun  3 07:04:50 raspberrypi otbr-agent[564]: [INFO]-UTILS---: Radio URL: trel://eth0
Jun  3 07:04:50 raspberrypi otbr-agent[564]: [INFO]-PLAT----: RCP reset: RESET_POWER_ON
Jun  3 07:04:54 raspberrypi kernel: [   48.394125] Voltage normalised (0x00000000)
Jun  3 07:04:55 raspberrypi otbr-agent[567]: [INFO]-UTILS---: Running 0.3.0
Jun  3 07:04:55 raspberrypi otbr-agent[567]: [INFO]-UTILS---: Thread version: 1.2.0
Jun  3 07:04:55 raspberrypi otbr-agent[567]: [INFO]-UTILS---: Thread interface: wpan0
Jun  3 07:04:55 raspberrypi otbr-agent[567]: [INFO]-UTILS---: Backbone interface: eth0
Jun  3 07:04:55 raspberrypi otbr-agent[567]: [INFO]-UTILS---: Radio URL: spinel+hdlc+uart:///dev/ttyACM0
Jun  3 07:04:55 raspberrypi otbr-agent[567]: [INFO]-UTILS---: Radio URL: trel://eth0
Jun  3 07:04:55 raspberrypi otbr-agent[567]: [INFO]-PLAT----: RCP reset: RESET_POWER_ON

and I can't see the "sudo ot-ctl state". It is giving this
"connect session failed: No such file or directory"
How to get state of the NCP device.
 And here I get the NCP device hex file "nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8/examples/thread/ncp/ftd/usb/nrf52840_xxaa_pca10056.hex".

Thanks & Regards
Senthil  
 


Kangping Dong

unread,
Jun 3, 2021, 2:40:40 AM6/3/21
to senthil kumar, openthread-users
It seems that you are using the NCP firmware but the latest OTBR doesn't support NCP any more.
To work with the latest OTBR, you need a RCP firmware, would you follow the codelab to see if  building
a RCP firmware from source works for you?

Also see https://openthread.io/platforms for more information about NCP and RCP design.

BRs,
Kangping

--
You received this message because you are subscribed to the Google Groups "openthread-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openthread-use...@googlegroups.com.
Message has been deleted

senthil kumar

unread,
Jun 3, 2021, 7:21:15 AM6/3/21
to openthread-users
Hi 
 Thanks for the reply.
 Right now I have finished the "Build & Configuration" part that time "systemctl status" giving running status everything normal,
then after when I reached the "Wi-Fi access point setup" up to (4.verify the access point) point finished, after rebooting the Rpi and check the wireless network on my mobile, but no wifi network there.
So again check the "systemctl status" it's giving "state: degraded" and 2 units failure.
How to solve the state: degraded?.
Screenshot from 2021-06-03 16-42-34.png

Jonathan Hui

unread,
Jun 3, 2021, 12:50:54 PM6/3/21
to senthil kumar, openthread-users
I have not had much success with Wi-Fi AP setup on more recent versions of Raspberry Pi OS. Furthermore, network manager is not currently compatible with the most recent border routing features we have implemented. You may try using a separate Wi-Fi AP and connecting your RPi as a Wi-Fi client.

--
Jonathan Hui



senthil kumar

unread,
Jun 4, 2021, 4:19:36 AM6/4/21
to openthread-users
Hi 
Thanks for your response.
I'll try this.

Thanks & Regards
Senthilkumar

Vijay Baskar

unread,
Oct 28, 2021, 5:36:02 PM10/28/21
to openthread-users
Hi Kangping,

Can you please tell me if there was any reason for supporting only RCP now? For my application, I have several devices sending a lot of data during each transmission. NCP design would have reduced the number of transactions, right?

Kind regards,
Vijay

Jonathan Hui

unread,
Oct 28, 2021, 5:56:49 PM10/28/21
to Vijay Baskar, openthread-users
Some benefits of using RCP:
  1. More resources: OpenThread can take advantage of the host processor's resources, which is typically much more than what an 802.15.4 SoC provides.
  2. More cost effective: minimize resource requirements on the 802.15.4 SoC, which can lead to a more cost-effective solution.
  3. Easier to debug: since most of the processing happens on the host processor, developers can utilize more capable debugging tools on the host processor.
  4. More stable 802.15.4 SoC firmware: the RCP only implements the sub-MAC and PHY, reducing the frequency at which the 802.15.4 SoC needs firmware updates.
  5. Easier integration with host IPv6 network stack: having OpenThread run on the host allows for more direct integration with the host IPv6 stack.
Whether RCP reduces the number of serial bus transactions largely depends on the typical size of IPv6 datagrams being communicated.

--
Jonathan Hui


Reply all
Reply to author
Forward
0 new messages