Отвалились все модули, подключенные к Wiren Board

Добрый день!

Сегодня ночью контроллер перезагрузился без видимой причины (в messages ничего не было, просто тихо ушёл в ребут), а после перезагрузки перестали работать все модули, подключенные к wiren board напрямую - три штуки WBIO-DI-WD-14, один WBIO-DI-HVD-16, один WBIO-DO-R3A-8 и один WBIO-DO-R1G-16.
После ребута в messages было лишь множество записей типа

Oct 12 00:48:30 wirenboard-ACOIZEPD user.warn kernel: [   54.121381] unexport_store: invalid GPIO 256
Oct 12 00:48:30 wirenboard-ACOIZEPD user.warn kernel: [   54.217310] export_store: invalid GPIO 256
Oct 12 00:48:30 wirenboard-ACOIZEPD user.warn kernel: [   54.237268] unexport_store: invalid GPIO 257
Oct 12 00:48:30 wirenboard-ACOIZEPD user.warn kernel: [   54.269534] export_store: invalid GPIO 257
Oct 12 00:48:30 wirenboard-ACOIZEPD user.warn kernel: [   54.290270] unexport_store: invalid GPIO 258
Oct 12 00:48:31 wirenboard-ACOIZEPD user.warn kernel: [   54.324791] export_store: invalid GPIO 258

Попробовал удалить из интерфейса все модули и по одному создавать, но при создании вот такое в логах:

Oct 12 12:47:16 wirenboard-ACOIZEPD user.info wb-hwconf-manager: Adding wb6-extio1:wbio-di-wd-14
Oct 12 12:47:15 wirenboard-ACOIZEPD user.info wb-hwconf-manager: Initializing wb6-extio1:wbio-di-wd-14.
Oct 12 12:47:18 wirenboard-ACOIZEPD user.info wb-hwconf-manager: Warning (reg_format): "reg" property in /fragment/__overlay__/extio1_wbio_di_wd_14@27 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
Oct 12 12:47:18 wirenboard-ACOIZEPD user.info wb-hwconf-manager: Warning (avoid_default_addr_size): Relying on default #address-cells value for /fragment/__overlay__/extio1_wbio_di_wd_14@27
Oct 12 12:47:18 wirenboard-ACOIZEPD user.info wb-hwconf-manager: Warning (avoid_default_addr_size): Relying on default #size-cells value for /fragment/__overlay__/extio1_wbio_di_wd_14@27
Oct 12 12:47:18 wirenboard-ACOIZEPD user.warn kernel: [ 1213.472362] mcp230xx: probe of 1-0027 failed with error -11
Oct 12 12:47:19 wirenboard-ACOIZEPD user.info wb-hwconf-manager: Running hook service_restart_delete_retained wb-homa-gpio /devices/wb-gpio/#
Oct 12 12:47:19 wirenboard-ACOIZEPD user.warn kernel: [ 1214.413811] RTL871X: RTW_ADAPTIVITY_EN_
Oct 12 12:47:19 wirenboard-ACOIZEPD user.warn kernel: [ 1214.417570] AUTO, chplan:0x20, Regulation:3,3
Oct 12 12:47:19 wirenboard-ACOIZEPD user.warn kernel: [ 1214.421954] RTL871X: RTW_ADAPTIVITY_MODE_
Oct 12 12:47:19 wirenboard-ACOIZEPD user.warn kernel: [ 1214.425916] NORMAL
Oct 12 12:47:20 wirenboard-ACOIZEPD user.warn kernel: [ 1214.961300] RTL871X: nolinked power save leave
Oct 12 12:47:22 wirenboard-ACOIZEPD user.warn kernel: [ 1217.263941] RTL871X: nolinked power save enter
Oct 12 12:47:23 wirenboard-ACOIZEPD daemon.info wb-rules[8287]: WARNING: [driver] Failed to accept '/meta/order' on control 'wb-gpio/A4_IN': strconv.Atoi: parsing "": invalid syntax, ignored
Oct 12 12:47:23 wirenboard-ACOIZEPD daemon.info wb-rules[8287]: WARNING: [driver] Failed to accept '/meta/order' on control 'wb-gpio/A1_IN': strconv.Atoi: parsing "": invalid syntax, ignored
Oct 12 12:47:23 wirenboard-ACOIZEPD daemon.info wb-rules[8287]: WARNING: [driver] Failed to accept '/meta/order' on control 'wb-gpio/MOD1_K2': strconv.Atoi: parsing "": invalid syntax, ignored
Oct 12 12:47:23 wirenboard-ACOIZEPD daemon.info wb-rules[8287]: WARNING: [driver] Failed to accept '/meta/order' on control 'wb-gpio/V_OUT': strconv.Atoi: parsing "": invalid syntax, ignored
Oct 12 12:47:23 wirenboard-ACOIZEPD daemon.info wb-rules[8287]: WARNING: [driver] Failed to accept '/meta/order' on control 'wb-gpio/V_OUT_OK': strconv.Atoi: parsing "": invalid syntax, ignored
Oct 12 12:47:23 wirenboard-ACOIZEPD daemon.info wb-rules[8287]: WARNING: [driver] Failed to accept '/meta/order' on control 'wb-gpio/A4_OUT': strconv.Atoi: parsing "": invalid syntax, ignored
Oct 12 12:47:23 wirenboard-ACOIZEPD user.info wb-hwconf-manager: ...  0% [                                                                ] 0 of 45^M  2% [#                                                               ] 1 of 45^M  4% [##                                                              ] 2 of 45^M  6% [####                                                            ] 3 of 45^M  8% [#####                                                           ] 4 of 45^M 11% [#######                                                         ] 5 of 45^M 13% [########                                                        ] 6 of 45^M 15% [#########                                                       ] 7 of 45^M 17% [###########                                                     ] 8 of 45^M 20% [############                                                    ] 9 of 45^M 22% [##############                                                 ] 10 of 45^M 24% [###############                                                ] 11 of 45^M 26% [###############
Oct 12 12:47:23 wirenboard-ACOIZEPD daemon.info wb-rules[8287]: WARNING: [driver] Failed to accept '/meta/order' on control 'wb-gpio/A3_IN': strconv.Atoi: parsing "": invalid syntax, ignored
Oct 12 12:47:23 wirenboard-ACOIZEPD daemon.info wb-rules[8287]: WARNING: [driver] Failed to accept '/meta/order' on control 'wb-gpio/MOD1_K1': strconv.Atoi: parsing "": invalid syntax, ignored
Oct 12 12:47:23 wirenboard-ACOIZEPD daemon.info wb-rules[8287]: WARNING: [driver] Failed to accept '/meta/order' on control 'wb-gpio/A1_OUT': strconv.Atoi: parsing "": invalid syntax, ignored
Oct 12 12:47:23 wirenboard-ACOIZEPD user.info wb-hwconf-manager:                                                ] 12 of 45^M 28% [##################                                             ] 13 of 45^M 31% [###################                                            ] 14 of 45^M 33% [#####################                                          ] 15 of 45^M 35% [######################                                         ] 16 of 45^M 37% [#######################                                        ] 17 of 45^M 40% [#########################                                      ] 18 of 45^M 42% [##########################                                     ] 19 of 45^M 44% [############################                                   ] 20 of 45^M 46% [#############################                                  ] 21 of 45^M 48% [##############################                                 ] 22 of 45^M 51% [################################                               ] 23 of 45^M 53% [#################################       
Oct 12 12:47:23 wirenboard-ACOIZEPD user.info wb-hwconf-manager:                       ] 24 of 45^M 55% [###################################                            ] 25 of 45^M 57% [####################################                           ] 26 of 45^M 60% [#####################################                          ] 27 of 45^M 62% [#######################################                        ] 28 of 45^M 64% [########################################                       ] 29 of 45^M 66% [##########################################                     ] 30 of 45^M 68% [###########################################                    ] 31 of 45^M 71% [############################################                   ] 32 of 45^M 73% [##############################################                 ] 33 of 45^M 75% [###############################################                ] 34 of 45^M 77% [#################################################              ] 35 of 45^M 80% [##################################################             ] 
Oct 12 12:47:24 wirenboard-ACOIZEPD user.info wb-hwconf-manager: 6 of 45^M 82% [###################################################            ] 37 of 45^M 84% [#####################################################          ] 38 of 45^M 86% [######################################################         ] 39 of 45^M 88% [########################################################       ] 40 of 45^M 91% [#########################################################      ] 41 of 45^M 93% [##########################################################     ] 42 of 45^M 95% [############################################################   ] 43 of 45^M 97% [#############################################################  ] 44 of 45^M100% [###############################################################] 45 of 45^M100% [###############################################################] 45 of 45^M
Oct 12 12:47:28 wirenboard-ACOIZEPD user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 121 of device modbus:105: Serial protocol error: request timed out
Oct 12 12:47:28 wirenboard-ACOIZEPD user.warn kernel: [ 1223.808205] RTL871X: RTW_ADAPTIVITY_EN_
Oct 12 12:47:28 wirenboard-ACOIZEPD user.warn kernel: [ 1223.812011] AUTO, chplan:0x20, Regulation:3,3
Oct 12 12:47:28 wirenboard-ACOIZEPD user.warn kernel: [ 1223.816421] RTL871X: RTW_ADAPTIVITY_MODE_
Oct 12 12:47:28 wirenboard-ACOIZEPD user.warn kernel: [ 1223.820308] NORMAL
Oct 12 12:47:29 wirenboard-ACOIZEPD user.warn kernel: [ 1224.469507] RTL871X: nolinked power save leave
Oct 12 12:47:31 wirenboard-ACOIZEPD user.warn kernel: [ 1226.777856] RTL871X: nolinked power save enter
Oct 12 12:47:32 wirenboard-ACOIZEPD user.warn kernel: [ 1227.201441] unexport_store: invalid GPIO 256
Oct 12 12:47:32 wirenboard-ACOIZEPD user.warn kernel: [ 1227.255210] export_store: invalid GPIO 256
Oct 12 12:47:32 wirenboard-ACOIZEPD user.warn kernel: [ 1227.270096] unexport_store: invalid GPIO 257
Oct 12 12:47:32 wirenboard-ACOIZEPD user.warn kernel: [ 1227.292506] export_store: invalid GPIO 257
Oct 12 12:47:32 wirenboard-ACOIZEPD user.warn kernel: [ 1227.312633] unexport_store: invalid GPIO 258
Oct 12 12:47:32 wirenboard-ACOIZEPD user.warn kernel: [ 1227.329076] export_store: invalid GPIO 258
Oct 12 12:47:32 wirenboard-ACOIZEPD user.warn kernel: [ 1227.347144] unexport_store: invalid GPIO 259
Oct 12 12:47:32 wirenboard-ACOIZEPD user.warn kernel: [ 1227.361077] export_store: invalid GPIO 259
Oct 12 12:47:32 wirenboard-ACOIZEPD user.warn kernel: [ 1227.369397] unexport_store: invalid GPIO 260
Oct 12 12:47:32 wirenboard-ACOIZEPD user.warn kernel: [ 1227.390944] export_store: invalid GPIO 260
Oct 12 12:47:32 wirenboard-ACOIZEPD user.warn kernel: [ 1227.406943] unexport_store: invalid GPIO 261
Oct 12 12:47:32 wirenboard-ACOIZEPD user.warn kernel: [ 1227.467754] export_store: invalid GPIO 261
Oct 12 12:47:32 wirenboard-ACOIZEPD user.warn kernel: [ 1227.487593] unexport_store: invalid GPIO 262
Oct 12 12:47:32 wirenboard-ACOIZEPD user.warn kernel: [ 1227.514323] export_store: invalid GPIO 262
Oct 12 12:47:32 wirenboard-ACOIZEPD user.warn kernel: [ 1227.536042] unexport_store: invalid GPIO 263
Oct 12 12:47:32 wirenboard-ACOIZEPD user.warn kernel: [ 1227.556813] export_store: invalid GPIO 263
Oct 12 12:47:32 wirenboard-ACOIZEPD user.warn kernel: [ 1227.573034] unexport_store: invalid GPIO 264
Oct 12 12:47:32 wirenboard-ACOIZEPD user.warn kernel: [ 1227.614535] export_store: invalid GPIO 264
Oct 12 12:47:32 wirenboard-ACOIZEPD user.warn kernel: [ 1227.632615] unexport_store: invalid GPIO 265
Oct 12 12:47:32 wirenboard-ACOIZEPD user.warn kernel: [ 1227.654458] export_store: invalid GPIO 265
Oct 12 12:47:32 wirenboard-ACOIZEPD user.warn kernel: [ 1227.728591] unexport_store: invalid GPIO 266
Oct 12 12:47:32 wirenboard-ACOIZEPD user.warn kernel: [ 1227.770259] export_store: invalid GPIO 266
Oct 12 12:47:32 wirenboard-ACOIZEPD user.warn kernel: [ 1227.802564] unexport_store: invalid GPIO 267
Oct 12 12:47:32 wirenboard-ACOIZEPD user.warn kernel: [ 1227.814973] export_store: invalid GPIO 267
Oct 12 12:47:32 wirenboard-ACOIZEPD user.warn kernel: [ 1227.826553] unexport_store: invalid GPIO 268
Oct 12 12:47:33 wirenboard-ACOIZEPD user.warn kernel: [ 1227.852846] export_store: invalid GPIO 268
Oct 12 12:47:33 wirenboard-ACOIZEPD user.warn kernel: [ 1227.860370] unexport_store: invalid GPIO 269
Oct 12 12:47:33 wirenboard-ACOIZEPD user.warn kernel: [ 1227.882249] export_store: invalid GPIO 269
Oct 12 12:47:39 wirenboard-ACOIZEPD user.notice wb-mqtt-db[591]: 2020-10-12 12:47:39.586 NOTICE: Bulk processing took 3219ms

Как быть? Что посмотреть? Физического доступа к контроллеру пока нет.

Добрый день.
Как понимаю - уже попробовали удаленно перезапустить контроллер и не помогло. Чтобы периферия процессора запустилась - нужно снять с контроллера питание, отключить на несколько секунд.

Да, удаленно перезапускал, не помогло. Кроме физического вмешательства с отключением питания и/или модулей ничего не предпринять пока?

Да, вам попался довольно редкий глюк.
До обновления - только физическое отключение питания.

Редкий, да встречается не у одного господина Nom.
Аналогичная история, физического доступа к контроллеру нет. Клиент остался без отопления.

Просьба в кратчайшие сроки устранить ошибку.
Когда ждать обновления?

Сегодня вышло обновление ядра, попробуйте пожалуйста его поставить и перезагрузить контроллер.

apt update && apt install linux-image-wb6

Это относится к WB6, если у вас более старый контроллер - напишите.

1 лайк

В-общем, выдернуть все модули на пару минут и вставить обратно, а потом добавить заново в конфиге - помогло, все вернулось на свои места. Контроллер обновил полностью, будем наблюдать.

1 лайк