-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
total freeze of pi3 on starting #22881
Comments
From the logs, seems like it's starting properly when it starts. So I guess there must be something messing with it outside of Z2M. |
thx for your answer. |
The update could have change internal power settings. It could also be the power adapter of the PI showing signs of trouble. |
Ok, i will buy a powered USB and keep you informed. |
Hello I have the same problem with zwave2mqtt have update your raspberry firmware ? If you have update, downgrade your raspberry pi 3 b model and your problème solved. |
@nono20004 thx, yes i have the latest firmware on my pi. i can`t wait to test your hint (when i am back home in the night or tomorrow). |
Ok your are welcome |
Hello thank you for your response. |
@jonesMeUp how did you downgrade pi firmware? |
ok i did a rpi-update to the newst firmware and it's working ok, in the meantime i disabled bt to save energy (not sure if this is necessary |
For all that need an info how to update: @JacekKac all firmwares > 6.1.77 didn't work for me. make 1 or 2 reboot and look if it still works |
With my new active USB-Hub i have tested 2 of the newer firmwares and all worked well.
|
update: |
I am so happy I found this after trying to debug these crashes for weeks. So to sum it up: If I am on raspberry OS I do not have the option to go for a 6.7 kernel (yet), right? So I just downgrade to kernel 6.1 ( rpi-update 5fc4f643d2e9c5aa972828705a902d184527ae3f ) and that's it for now, correct? |
yep, z2m works for some time now with kernel 6.1.77 on my raspi3 |
What happened?
In 9/10 tries zigbee2mqtt freezes my pi3 right after ... "RTS/CTS config is off, enabling flow control."
If it starts (via npm start), then i can use it and can pair my 2 Ikea Waterleak sensors. Stopping and starting z2m again is no problem.
But when i reboot the raspi, npm start freeze it again.
I have used z2m about 2 month before i updated the raspi to the latest raspian with all updates.
The first reboots made no problems, but now its frustrating.
I updated the dongle after the first freezes, but it didn't change anything.
npm test shows no problems even before a freezing "npm start"
What can I do to squeeze an error message out of z2m instead of a freeze?
Thanks for your time
jones
What did you expect to happen?
An error message instead of a full crashed computer
How to reproduce it (minimal and precise)
Reboot raspi on a working config
Zigbee2MQTT version
1.37.0 - 1.38.0 (ember) 1.37.0 - 1.37.1 (ezsp)
Adapter firmware version
7.4.2 [GA] (for ember) and for ezsp the last version shown on https://darkxst.github.io/silabs-firmware-builder/
Adapter
ZBDongle-E
Setup
plain z2m on Raspi3b with fhem
Debug log
no log on freezed raspi, here is a log of a running z2m
[2024-05-31 21:51:07] info: z2m: Logging to console, file (filename: log.log)
[2024-05-31 21:51:07] info: z2m: Starting Zigbee2MQTT version 1.37.1 (commit #cda867a)
[2024-05-31 21:51:07] info: z2m: Starting zigbee-herdsman (0.46.6)
[2024-05-31 21:51:08] info: zh:ember: ======== Ember Adapter Starting ========
[2024-05-31 21:51:08] info: zh:ember:ezsp: ======== EZSP starting ========
[2024-05-31 21:51:08] info: zh:ember:uart:ash: ======== ASH NCP reset ========
[2024-05-31 21:51:08] info: zh:ember:uart:ash: RTS/CTS config is off, enabling software flow control.
[2024-05-31 21:51:08] info: zh:ember:uart:ash: Serial port opened
[2024-05-31 21:51:08] info: zh:ember:uart:ash: ======== ASH starting ========
[2024-05-31 21:51:09] info: zh:ember:uart:ash: ======== ASH connected ========
[2024-05-31 21:51:09] info: zh:ember:uart:ash: ======== ASH started ========
[2024-05-31 21:51:09] info: zh:ember:ezsp: ======== EZSP started ========
[2024-05-31 21:51:10] info: zh:ember: [STACK STATUS] Network up.
[2024-05-31 21:51:10] info: zh:ember: [INIT TC] NCP network matches config.
[2024-05-31 21:51:10] info: zh:ember: [CONCENTRATOR] Started source route discovery. 1248ms until next broadcast.
[2024-05-31 21:51:10] info: zh:controller: Wrote coordinator backup to '/opt/zigbee2mqtt/data/coordinator_backup.json'
[2024-05-31 21:51:10] info: z2m: zigbee-herdsman started (resumed)
[2024-05-31 21:51:10] info: z2m: Coordinator firmware version: '{"meta":{"build":0,"ezsp":13,"major":7,"minor":4,"patch":2,"revision":"7.4.2 [GA]","special":0,"type":170},"type":"EmberZNet"}'
[2024-05-31 21:51:10] info: z2m: Currently 0 devices are joined:
[2024-05-31 21:51:10] warning: z2m:
permit_join
set totrue
in configuration.yaml.[2024-05-31 21:51:10] warning: z2m: Allowing new devices to join.
[2024-05-31 21:51:10] warning: z2m: Set
permit_join
tofalse
once you joined all devices.[2024-05-31 21:51:10] info: z2m: Zigbee: allowing new devices to join.
[2024-05-31 21:51:10] info: zh:ember: [STACK STATUS] Network opened.
[2024-05-31 21:51:10] info: z2m: Connecting to MQTT server at mqtt://localhost
[2024-05-31 21:51:10] info: z2m: Connected to MQTT server
[2024-05-31 21:51:10] info: z2m: Zigbee2MQTT started!
[2024-05-31 21:53:21] info: z2m: Disconnecting from MQTT server
[2024-05-31 21:53:21] info: z2m: Stopping zigbee-herdsman...
[2024-05-31 21:53:21] info: zh:controller: Wrote coordinator backup to '/opt/zigbee2mqtt/data/coordinator_backup.json'
[2024-05-31 21:53:21] info: zh:ember:uart:ash: ASH COUNTERS since last clear:
[2024-05-31 21:53:21] info: zh:ember:uart:ash: Total frames: RX=76, TX=143
[2024-05-31 21:53:21] info: zh:ember:uart:ash: Cancelled : RX=0, TX=0
[2024-05-31 21:53:21] info: zh:ember:uart:ash: DATA frames : RX=75, TX=67
[2024-05-31 21:53:21] info: zh:ember:uart:ash: DATA bytes : RX=794, TX=731
[2024-05-31 21:53:21] info: zh:ember:uart:ash: Retry frames: RX=0, TX=0
[2024-05-31 21:53:21] info: zh:ember:uart:ash: ACK frames : RX=0, TX=75
[2024-05-31 21:53:21] info: zh:ember:uart:ash: NAK frames : RX=0, TX=0
[2024-05-31 21:53:21] info: zh:ember:uart:ash: nRdy frames : RX=0, TX=0
[2024-05-31 21:53:21] info: zh:ember:uart:ash: CRC errors : RX=0
[2024-05-31 21:53:21] info: zh:ember:uart:ash: Comm errors : RX=0
[2024-05-31 21:53:21] info: zh:ember:uart:ash: Length < minimum: RX=0
[2024-05-31 21:53:21] info: zh:ember:uart:ash: Length > maximum: RX=0
[2024-05-31 21:53:21] info: zh:ember:uart:ash: Bad controls : RX=0
[2024-05-31 21:53:21] info: zh:ember:uart:ash: Bad lengths : RX=0
[2024-05-31 21:53:21] info: zh:ember:uart:ash: Bad ACK numbers : RX=0
[2024-05-31 21:53:21] info: zh:ember:uart:ash: Out of buffers : RX=0
[2024-05-31 21:53:21] info: zh:ember:uart:ash: Retry dupes : RX=0
[2024-05-31 21:53:21] info: zh:ember:uart:ash: Out of sequence : RX=0
[2024-05-31 21:53:21] info: zh:ember:uart:ash: ACK timeouts : RX=0
[2024-05-31 21:53:21] info: zh:ember: [STACK STATUS] Network closed.
[2024-05-31 21:53:21] info: zh:ember:uart:ash: Port closed. Error? no
[2024-05-31 21:53:21] info: zh:ember:uart:ash: ======== ASH stopped ========
[2024-05-31 21:53:21] info: zh:ember:ezsp: ======== EZSP stopped ========
[2024-05-31 21:53:21] info: zh:ember: ======== Ember Adapter Stopped ========
[2024-05-31 21:53:21] info: z2m: Stopped zigbee-herdsman
[2024-05-31 21:53:21] info: z2m: Stopped Zigbee2MQTT
The text was updated successfully, but these errors were encountered: