Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZHA Setup Fails after Upgrading Silicon Labs from 2.3.2 to 2.4.4 #3486

Closed
chriselera opened this issue Feb 26, 2024 · 3 comments
Closed

ZHA Setup Fails after Upgrading Silicon Labs from 2.3.2 to 2.4.4 #3486

chriselera opened this issue Feb 26, 2024 · 3 comments
Labels

Comments

@chriselera
Copy link

chriselera commented Feb 26, 2024

Describe the issue you are experiencing

My ZHA + SkyConnect + Zigbee devices setup is working fine on Silicon Labs Multi-protocol 2.3.2. I've been trying to upgrade it since last month to the latest version (last attempt was earlier to upgrade it to version 2.4.4) but every time I do that, ZHA integration fails setup and all Zigbee devices become unavailable. ZHA devices are available immediately after the upgrade but they all become unavailable after a while.

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Which add-on are you reporting an issue with?

CEC Scanner

What is the version of the add-on?

2.4.4

Steps to reproduce the issue

  1. Current Silicon Labs Multi-protocol at 2.32
  2. Upgrade addon to 2.4.4

System Health information

System Information

version core-2024.2.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.1
os_name Linux
os_version 6.1.74-haos
arch x86_64
timezone Asia/Manila
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 5000
Installed Version 1.34.0
Stage running
Available Repositories 1403
Downloaded Repositories 28
Home Assistant Cloud
logged_in true
subscription_expiration March 7, 2024 at 8:00 AM
relayer_connected true
relayer_region ap-southeast-1
remote_enabled true
remote_connected true
alexa_enabled false
google_enabled true
remote_server ap-southeast-1-0.ui.nabu.casa
certificate_status ready
instance_id b5e57eb7ff2b4551918cc039e7daae9c
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 11.5
update_channel stable
supervisor_version supervisor-2024.02.0
agent_version 1.6.0
docker_version 24.0.7
disk_total 30.8 GB
disk_used 24.2 GB
healthy true
supported true
board ova
supervisor_api ok
version_api ok
installed_addons Samba share (12.3.0), Advanced SSH & Web Terminal (17.1.1), Mosquitto broker (6.4.0), ADB - Android Debug Bridge (0.8.0), motionEye (0.20.0), Z-Wave JS (0.4.4), MariaDB (2.6.1), Studio Code Server (5.15.0), Home Assistant Google Drive Backup (0.112.1), Silicon Labs Multiprotocol (2.3.2)
Dashboards
dashboards 1
resources 23
views 19
mode storage
Recorder
oldest_recorder_run February 16, 2024 at 5:01 AM
current_recorder_run February 26, 2024 at 10:01 AM
estimated_db_size 408.23 MiB
database_engine mysql
database_version 10.6.12

Anything in the Supervisor logs that might be useful for us?

No response

Anything in the add-on logs that might be useful for us?

[19:39:00] INFO: �[32mSuccessfully sent discovery information to Home Assistant.�[0m
s6-rc: info: service otbr-agent-rest-discovery successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
Listening on port 9999 for connection...
Accepting connection.
Accepted connection 7.
otbr-agent[301]: 00:00:27.255 [N] Mle-----------: RLOC16 e400 -> fffe
otbr-agent[301]: 00:00:27.280 [W] Platform------: [netif] Failed to process request#5: Unknown error -95
otbr-agent[301]: 00:00:27.687 [N] Mle-----------: Attach attempt 1, AnyPartition reattaching with Active Dataset
otbr-agent[301]: 00:00:34.202 [N] RouterTable---: Allocate router id 57
otbr-agent[301]: 00:00:34.203 [N] Mle-----------: RLOC16 fffe -> e400
otbr-agent[301]: 00:00:34.211 [N] Mle-----------: Role detached -> leader
otbr-agent[301]: 00:00:34.214 [N] Mle-----------: Partition ID 0x41fe8844
otbr-agent[301]: 00:00:34.284 [W] Platform------: [netif] Failed to process request#6: Unknown error -17
otbr-agent[301]: [NOTE]-BBA-----: BackboneAgent: Backbone Router becomes Primary!
otbr-agent[301]: 00:09:28.479 [W] Platform------: Handle transmit done failed: Parse
otbr-agent: ../../third_party/openthread/repo/src/core/mac/sub_mac.cpp:624: void ot::Mac::SubMac::HandleTransmitDone(ot::Mac::TxFrame&, ot::Mac::RxFrame*, ot::Error): Assertion `false' failed.
otbr-agent[301]: 00:09:28.479 [C] Platform------: ------------------ BEGINNING OF CRASH -------------
otbr-agent[301]: 00:09:28.480 [C] Platform------: *** FATAL ERROR: Caught signal: 6 (Aborted)
otbr-agent[301]: 00:09:28.487 [C] Platform------: # 0: /usr/sbin/otbr-agent(+0x2067e2) [0x55d35b5717e2]
otbr-agent[301]: 00:09:28.487 [C] Platform------: # 1: /usr/sbin/otbr-agent(+0x206909) [0x55d35b571909]
otbr-agent[301]: 00:09:28.488 [C] Platform------: # 2: /lib/x86_64-linux-gnu/libpthread.so.0(+0x13140) [0x7fc8e8b19140]
otbr-agent[301]: 00:09:28.488 [C] Platform------: # 3: /lib/x86_64-linux-gnu/libc.so.6 gsignal+0x141 [0xe8781ce1]
otbr-agent[301]: 00:09:28.488 [C] Platform------: # 4: /lib/x86_64-linux-gnu/libc.so.6 abort+0x123 [0xe876b537]
otbr-agent[301]: 00:09:28.488 [C] Platform------: # 5: /lib/x86_64-linux-gnu/libc.so.6(+0x2240f) [0x7fc8e876b40f]
otbr-agent[301]: 00:09:28.488 [C] Platform------: # 6: /lib/x86_64-linux-gnu/libc.so.6(+0x31662) [0x7fc8e877a662]
otbr-agent[301]: 00:09:28.489 [C] Platform------: # 7: /usr/sbin/otbr-agent ot::Mac::SubMac::HandleTransmitDone(ot::Mac::TxFrame&, ot::Mac::RxFrame*, otError)+0xa8 [0x5b5ce542]
otbr-agent[301]: 00:09:28.489 [C] Platform------: # 8: /usr/sbin/otbr-agent ot::Radio::Callbacks::HandleTransmitDone(ot::Mac::TxFrame&, ot::Mac::RxFrame*, otError)+0x39 [0x5b65ec35]
otbr-agent[301]: 00:09:28.489 [C] Platform------: # 9: /usr/sbin/otbr-agent otPlatRadioTxDone+0x6c [0x5b607e8c]
otbr-agent[301]: 00:09:28.489 [C] Platform------: #10: /usr/sbin/otbr-agent ot::Spinel::RadioSpinel<ot::Posix::VendorInterface>::TransmitDone(otRadioFrame*, otRadioFrame*, otError)+0x55 [0x5b56b8b3]
otbr-agent[301]: 00:09:28.489 [C] Platform------: #11: /usr/sbin/otbr-agent ot::Spinel::RadioSpinel<ot::Posix::VendorInterface>::ProcessRadioStateMachine()+0x7b [0x5b569ae9]
otbr-agent[301]: 00:09:28.489 [C] Platform------: #12: /usr/sbin/otbr-agent ot::Spinel::RadioSpinel<ot::Posix::VendorInterface>::Process(void const*)+0xa2 [0x5b567798]
otbr-agent[301]: 00:09:28.490 [C] Platform------: #13: /usr/sbin/otbr-agent platformRadioProcess+0x23 [0x5b564a02]
otbr-agent[301]: 00:09:28.490 [C] Platform------: #14: /usr/sbin/otbr-agent otSysMainloopProcess+0x3a [0x5b56f7a7]
otbr-agent[301]: 00:09:28.490 [C] Platform------: #15: /usr/sbin/otbr-agent otbr::Ncp::ControllerOpenThread::Process(otSysMainloopContext const&)+0x37 [0x5b668de9]
otbr-agent[301]: 00:09:28.491 [C] Platform------: #16: /usr/sbin/otbr-agent otbr::MainloopManager::Process(otSysMainloopContext const&)+0x83 [0x5b66d445]
otbr-agent[301]: 00:09:28.491 [C] Platform------: #17: /usr/sbin/otbr-agent otbr::Application::Run()+0x1e0 [0x5b5194a4]
otbr-agent[301]: 00:09:28.491 [C] Platform------: #18: /usr/sbin/otbr-agent(+0x1afa97) [0x55d35b51aa97]
otbr-agent[301]: 00:09:28.491 [C] Platform------: #19: /usr/sbin/otbr-agent main+0x8f [0x5b51ac84]
otbr-agent[301]: 00:09:28.492 [C] Platform------: #20: /lib/x86_64-linux-gnu/libc.so.6 __libc_start_main+0xea [0xe876cd0a]
otbr-agent[301]: 00:09:28.492 [C] Platform------: #21: /usr/sbin/otbr-agent _start+0x2a [0x5b518eba]
otbr-agent[301]: 00:09:28.492 [C] Platform------: ------------------ END OF CRASH ------------------
[19:48:28] INFO: �[32motbr-agent ended with exit code 256 (signal 6)...�[0m
OTBR_FORWARD_INGRESS  all opt    in * out wpan0  ::/0  -> ::/0  
Chain OTBR_FORWARD_INGRESS (0 references)
target     prot opt source               destination         
DROP       all      anywhere             anywhere             PKTTYPE = unicast
DROP       all      anywhere             anywhere             match-set otbr-ingress-deny-src src
ACCEPT     all      anywhere             anywhere             match-set otbr-ingress-allow-dst dst
DROP       all      anywhere             anywhere             PKTTYPE = unicast
ACCEPT     all      anywhere             anywhere            
otbr-ingress-deny-src
otbr-ingress-deny-src-swap
otbr-ingress-allow-dst
otbr-ingress-allow-dst-swap
OTBR_FORWARD_EGRESS  all opt    in wpan0 out *  ::/0  -> ::/0  
Chain OTBR_FORWARD_EGRESS (0 references)
target     prot opt source               destination         
ACCEPT     all      anywhere             anywhere            
[19:48:28] INFO: �[32mOTBR firewall teardown completed.�[0m
[19:48:28] WARNING: �[33motbr-agent exited with code 134 (by signal 6).�[0m
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service otbr-agent-rest-discovery: stopping
s6-rc: info: service zigbeed: stopping
s6-rc: info: service mdns: stopping
s6-rc: info: service otbr-agent-rest-discovery successfully stopped
Default: mDNSResponder (Engineering Build) (Jan 24 2024 17:55:09) stopping
s6-rc: info: service otbr-agent: stopping
[19:48:28] INFO: �[32mmDNS ended with exit code 4 (signal 0)...�[0m
s6-rc: info: service mdns successfully stopped
[19:48:28] INFO: �[32motbr-agent ended with exit code 256 (signal 15)...�[0m
[19:48:28] INFO: �[32mzigbeed ended with exit code 256 (signal 15)...�[0m
s6-rc: info: service zigbeed successfully stopped
[19:48:28] INFO: �[32mOTBR firewall teardown completed.�[0m
[19:48:28] WARNING: �[33motbr-agent exited with code 143 (by signal 15).�[0m
s6-rc: info: service otbr-agent successfully stopped
s6-rc: info: service cpcd: stopping
[19:48:28:333109] Info : Endpoint socket #12: Client disconnected. 1 connections
[19:48:28:333139] Info : Client disconnected
[19:48:28:539362] Info : Endpoint socket #12: Client disconnected. 0 connections
[19:48:28:539447] Info : Client disconnected
[19:48:28:602261] Info : Server core cleanup
[19:48:28:602373] Info : Daemon exiting with status EXIT_SUCCESS
Logger buffer size = 28672, highwater mark = 2706 : 9.44%. Lost logs : 0
[19:48:28] INFO: �[32mCPC ended with exit code 0 (signal 0)...�[0m
s6-rc: info: service cpcd successfully stopped
s6-rc: info: service cpcd-config: stopping
s6-rc: info: service cpcd-config successfully stopped
s6-rc: info: service universal-silabs-flasher: stopping
s6-rc: info: service universal-silabs-flasher successfully stopped
s6-rc: info: service banner: stopping
s6-rc: info: service banner successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

Additional information

No response

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Mar 27, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 3, 2024
@THope21
Copy link

THope21 commented Apr 3, 2024

I've got the same problems. Also with version 2.4.5, no changes. Only with 2.3.2 every zigbee device is working for all the time.

@egakupi
Copy link

egakupi commented Apr 4, 2024

I have same issues. I handle it with watchdog on Silicon Labs Multiprotocol and reboot system nightly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants