Обнаружил контроллер в состоянии бутлупа в момент когда я с ним не работал. Лог во вложении. Из последних действий было только написание правил и остановка node-red. До этого были предпосылки, когда контроллер не отрабатывал команды по MQTT от Home Assistant, но я не обратил на это внимания, потому что node-red занимал всю свободную память.
Обновлять с флешки не очень хочется, потому что бекапов шаблонов и правил естественно нет)
Здравствуйте!
Очень похоже, что причиной перезагрузок может быть срабатывание watchdog: Watchdog — Wiren Board
Попробуйте после загрузки сразу зайти в систему и отключить watchdog программным способом. Если это не получится, то отключите watchdog аппаратно, как описано в документации.
Добрый день.
Очень похоже, но нет.
После отправки systemctl stop watchdog система всё равно перезагружается. Замыкание контактов по мануалу вообще ничего не меняет в процессе загрузки
Debian GNU/Linux 9 wirenboard-ABED2XAP ttymxc0
wirenboard-ABED2XAP login: root
Password: [ 30.011629] mcp230xx 1-0021: error -ENXIO: can't write IOCON 33
[ 32.049026] mcp230xx 1-0025: error -ENXIO: can't write IOCON 37
[ 33.809617] 2018000.serial: ttymxc6 at MMIO 0x2018000 (irq = 223, base_baud = 5000000) is a IMX
Last login: Fri Apr 29 06:55:27 UTC 2022 on ttymxc0
systemctl stop watchdog[ 36.866882] 21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 224, base_baud = 5000000) is a IMX
systemctl stop watchdog
Deactivating swap /dev/disk/by-partuuid/b787325e-05...
[ OK ] Stopped Create Static Device Nodes in /dev.
[ OK ] Stopped target Timers.
[ OK ] Stopped Daily apt upgrade and clean activities.
Stopping Update UTMP about System Boot/Shutdown...
Советую обновление по USB. Ну и все ж перезапуск вызывается программным watchdog то есть замыкать тут бесполезно. Есть ли какие-то ошибки в Debug порт при запуске?
После обновления по USB ситуация не изменилась. Пробовал и самую свежую версию и 202002171718. Лог после обновления во вложении. log.txt (114.2 КБ)
Следующий шаг, накатить свежую прошивку с именем wb6_update_FACTORYRESET.fit?
UPD. В какой-то момент получилось запустить со старой прошивкой, но теперь ругается на
Error loading the file: Invalid config file
Теперь по крайней мере можно выкачать конфиги и сбросить на заводские)
Согласен, это было бы лучше, но я уже благополучно затёр файловую систему и теперь контроллер молчит даже в отладочный порт)
Теперь восстановление только в сервисном центре?
Последний лог ниже. Похоже при полном обновлении прошивки часть конфигов по прежнему не позволяла запуститься
[ OK ] Started Generates wb-mqtt-serial UI schema for wb-mqtt-confed.
[ OK ] Started watch config files.
[ 16.377986] new mount options do not match the existing superblock, will be ignored
Starting Initialize Wiren Board Device Tree overlays...
[FAILED] Failed to start Mosquitto MQTT v3.1/v3.1.1 Broker.
See 'systemctl status mosquitto.service' for details.
[DEPEND] Dependency failed for MQTT Rule engine for Wiren Board.
[ OK ] Started Restore /etc/resolv.conf if…before the ppp link was shut down.
[ OK ] Started System Logging Service.
[ OK ] Started initialize filesystems at first boot.
[ OK ] Started Login Service.
[ OK ] Reached target Network.
Starting OpenBSD Secure Shell server...
Starting dnsmasq - A lightweight DHCP and caching DNS server...
Starting A high performance web server and a reverse proxy server...
Starting KNX Daemon...
Starting Permit User Sessions...
Starting Avahi mDNS/DNS-SD Stack...
Starting Hostname Service...
[ OK ] Stopped Mosquitto MQTT v3.1/v3.1.1 Broker.
Starting Mosquitto MQTT v3.1/v3.1.1 Broker...
[FAILED] Failed to start OpenBSD Secure Shell server.
See 'systemctl status ssh.service' for details.
[FAILED] Failed to start KNX Daemon.
See 'systemctl status knxd.service' for details.
[ OK ] Started Permit User Sessions.
[FAILED] Failed to start Mosquitto MQTT v3.1/v3.1.1 Broker.
See 'systemctl status mosquitto.service' for details.
[ OK ] Started Avahi mDNS/DNS-SD Stack.
[FAILED] Failed to start A high performance …server and a reverse proxy server.
See 'systemctl status nginx.service' for details.
[ OK ] Started Hostname Service.
[ OK ] Stopped Mosquitto MQTT v3.1/v3.1.1 Broker.
Starting Mosquitto MQTT v3.1/v3.1.1 Broker...
[ OK ] Stopped OpenBSD Secure Shell server.
Starting OpenBSD Secure Shell server...
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttymxc0.
[ OK ] Reached target Login Prompts.
[ OK ] Reached target Network is Online.
Starting LSB: Start NTP daemon...
Starting LSB: Brings up/down network automatically...
Starting LSB: Advanced IEEE 802.11 management daemon...
[FAILED] Failed to start Mosquitto MQTT v3.1/v3.1.1 Broker.
See 'systemctl status mosquitto.service' for details.
[FAILED] Failed to start OpenBSD Secure Shell server.
See 'systemctl status ssh.service' for details.
[ OK ] Started Initialize Wiren Board Device Tree overlays.
[ 21.744465] process '/sbin/netplugd' started with executable stack
[ OK ] Started dnsmasq - A lightweight DHCP and caching DNS server.
[ OK ] Started LSB: Start NTP daemon.
Starting Compensation of systime in…evice-tree (with opposite sign)...
[ OK ] Reached target Host and Network Name Lookups.
[ OK ] Started metrics sender..
[ OK ] Started Kernel 1-Wire MQTT driver for WB-HomA.
Starting MQTT Driver for GPIO-controlled switches...
Starting MQTT Driver for ADC...
[ OK ] Started Wiren Board MQTT KNX bridge.
[ OK ] Started one-click diagnostic data c…ard, generating archive with data.
[ OK ] Started MQTT Driver for serial devices.
Starting KNXD Configurator for Wiren Board...
[ OK ] Stopped OpenBSD Secure Shell server.
Starting OpenBSD Secure Shell server...
[ OK ] Stopped Mosquitto MQTT v3.1/v3.1.1 Broker.
Starting Mosquitto MQTT v3.1/v3.1.1 Broker...
[FAILED] Failed to start OpenBSD Secure Shell server.
See 'systemctl status ssh.service' for details.
[FAILED] Failed to start Mosquitto MQTT v3.1/v3.1.1 Broker.
See 'systemctl status mosquitto.service' for details.
[ OK ] Stopped Mosquitto MQTT v3.1/v3.1.1 Broker.
Starting Mosquitto MQTT v3.1/v3.1.1 Broker...
[ OK ] Stopped OpenBSD Secure Shell server.
Starting OpenBSD Secure Shell server...
[ OK ] Started Compensation of systime in … device-tree (with opposite sign).
[ OK ] Stopped Wiren Board MQTT KNX bridge.
[ OK ] Started Wiren Board MQTT KNX bridge.
Да, dd трет разделы вместе с загрузчиком. Восстановим, проинициализируем. Информацию после такой операции к сожалению восстановить не удастся. Заодно протестируем флешку.
у меня похожая проблема, лог в вложении.
Готов учавствовать в выяснении проблемы ). Но к сожалению доступ есть только удаленный.
не могу попасть на web ui, по mqtt тоже не отвечает. но есть доступ к ssh wb-dmesg.log (19.1 КБ)