Здравствуйте, сегодня утром произошел ребут контроллера на ровном месте, в доме есть еще несколько устройств на которых uptime более недели, все устройства сидят на одной фазе, следовательно бросок по питанию можно исключить. лог прилагаю. загрузка устройства начиная с 1:53:40
messages.txt (2.5 МБ)
Добрый день. Да, из лога причина непонятна. Да еще ночью. А от чего питается сам контроллер?
Господа, добрый день! Присоединяюсь к проблеме. У себя также наблюдаю периодические перезагрузки контроллера. Сегодня в районе 1:30 ночи снова перезагрузился после 19 суток работы. До этого были перезагрузки через 3-7 дней, всегда по разному. Питание через Meanwell HDR 30-24. Рядом запитан роутер через свой БП от этой же линии - аптайм 30 суток. Поставил специально уже Zabbix на WB, но на графиках до момента рестарта все показатели в норме, без отклонений. Единственное - есть небольшой постепенный прирост CPU System Time
в логах также все чисто, есть некоторые ошибки чтения MSW 3, но ничего указывающего на предстоящий рестарт нет:
Nov 7 22:44:45 wirenboard-AOD7ZQ3J user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 121 of device modbus:67: Serial protocol error: request timed out
Nov 7 22:44:47 wirenboard-AOD7ZQ3J user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 2 input(s) @ 0 of device modbus:67: Serial protocol error: request timed out
Nov 7 22:45:01 wirenboard-AOD7ZQ3J authpriv.info CRON[24044]: pam_unix(cron:session): session opened for user root by (uid=0)
Nov 7 22:45:01 wirenboard-AOD7ZQ3J authpriv.info CRON[24043]: pam_unix(cron:session): session opened for user root by (uid=0)
Nov 7 22:45:01 wirenboard-AOD7ZQ3J cron.info CRON[24052]: (root) CMD (/usr/share/wb-daemon-watchdogs/check_confed.sh 2>&1 | logger -t wb-daemon-watchdogs)
Nov 7 22:45:01 wirenboard-AOD7ZQ3J cron.info CRON[24053]: (root) CMD (/usr/share/wb-daemon-watchdogs/check_wbrules.sh 2>&1 | logger -t wb-daemon-watchdogs)
Nov 7 22:45:02 wirenboard-AOD7ZQ3J user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 121 of device modbus:67: Serial protocol error: request timed out
Nov 7 22:45:02 wirenboard-AOD7ZQ3J authpriv.info CRON[24044]: pam_unix(cron:session): session closed for user root
Nov 7 22:45:05 wirenboard-AOD7ZQ3J authpriv.info CRON[24043]: pam_unix(cron:session): session closed for user root
Nov 7 22:45:08 wirenboard-AOD7ZQ3J user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 3 input(s) @ 9 of device modbus:67: Serial protocol error: request timed out
Nov 7 22:45:30 wirenboard-AOD7ZQ3J user.notice wb-mqtt-db[579]: 2020-11-07 22:45:30.064 NOTICE: Bulk processing took 68ms
Nov 7 22:45:38 wirenboard-AOD7ZQ3J user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 121 of device modbus:67: Serial protocol error: request timed out
Nov 7 22:46:01 wirenboard-AOD7ZQ3J authpriv.info CRON[24162]: pam_unix(cron:session): session opened for user root by (uid=0)
Nov 7 22:46:01 wirenboard-AOD7ZQ3J cron.info CRON[24166]: (root) CMD (/usr/share/wb-daemon-watchdogs/check_confed.sh 2>&1 | logger -t wb-daemon-watchdogs)
Nov 7 22:46:05 wirenboard-AOD7ZQ3J authpriv.info CRON[24162]: pam_unix(cron:session): session closed for user root
Nov 7 22:46:46 wirenboard-AOD7ZQ3J user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 121 of device modbus:67: Serial protocol error: request timed out
Nov 7 22:46:49 wirenboard-AOD7ZQ3J user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 3 input(s) @ 9 of device modbus:67: Serial protocol error: request timed out
Nov 7 22:47:01 wirenboard-AOD7ZQ3J authpriv.info CRON[24256]: pam_unix(cron:session): session opened for user root by (uid=0)
Nov 7 22:47:01 wirenboard-AOD7ZQ3J cron.info CRON[24260]: (root) CMD (/usr/share/wb-daemon-watchdogs/check_confed.sh 2>&1 | logger -t wb-daemon-watchdogs)
Nov 7 22:47:05 wirenboard-AOD7ZQ3J authpriv.info CRON[24256]: pam_unix(cron:session): session closed for user root
Nov 7 22:47:30 wirenboard-AOD7ZQ3J user.notice wb-mqtt-db[579]: 2020-11-07 22:47:30.052 NOTICE: Bulk processing took 55ms
Nov 7 22:47:51 wirenboard-AOD7ZQ3J user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 121 of device modbus:67: Serial protocol error: request timed out
Nov 7 22:48:01 wirenboard-AOD7ZQ3J authpriv.info CRON[24353]: pam_unix(cron:session): session opened for user root by (uid=0)
Nov 7 22:48:01 wirenboard-AOD7ZQ3J cron.info CRON[24357]: (root) CMD (/usr/share/wb-daemon-watchdogs/check_confed.sh 2>&1 | logger -t wb-daemon-watchdogs)
Nov 7 22:48:05 wirenboard-AOD7ZQ3J authpriv.info CRON[24353]: pam_unix(cron:session): session closed for user root
Nov 7 22:48:37 wirenboard-AOD7ZQ3J user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 121 of device modbus:67: Serial protocol error: request timed out
Nov 7 22:49:01 wirenboard-AOD7ZQ3J authpriv.info CRON[24453]: pam_unix(cron:session): session opened for user root by (uid=0)
Nov 7 22:49:01 wirenboard-AOD7ZQ3J cron.info CRON[24457]: (root) CMD (/usr/share/wb-daemon-watchdogs/check_confed.sh 2>&1 | logger -t wb-daemon-watchdogs)
Nov 7 22:49:06 wirenboard-AOD7ZQ3J authpriv.info CRON[24453]: pam_unix(cron:session): session closed for user root
Nov 7 22:49:12 wirenboard-AOD7ZQ3J user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 3 input(s) @ 9 of device modbus:67: Serial protocol error: request timed out
Nov 7 22:49:30 wirenboard-AOD7ZQ3J user.notice wb-mqtt-db[579]: 2020-11-07 22:49:30.084 NOTICE: Bulk processing took 87ms
Nov 7 22:49:44 wirenboard-AOD7ZQ3J user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 coil(s) @ 0 of device modbus:67: Serial protocol error: request timed out
Nov 7 22:50:01 wirenboard-AOD7ZQ3J authpriv.info CRON[24548]: pam_unix(cron:session): session opened for user root by (uid=0)
Nov 7 22:50:01 wirenboard-AOD7ZQ3J authpriv.info CRON[24547]: pam_unix(cron:session): session opened for user root by (uid=0)
Nov 7 22:50:01 wirenboard-AOD7ZQ3J cron.info CRON[24555]: (root) CMD (/usr/share/wb-daemon-watchdogs/check_confed.sh 2>&1 | logger -t wb-daemon-watchdogs)
Nov 7 22:50:01 wirenboard-AOD7ZQ3J cron.info CRON[24556]: (root) CMD (/usr/share/wb-daemon-watchdogs/check_wbrules.sh 2>&1 | logger -t wb-daemon-watchdogs)
Nov 7 22:50:02 wirenboard-AOD7ZQ3J authpriv.info CRON[24548]: pam_unix(cron:session): session closed for user root
Nov 7 22:50:05 wirenboard-AOD7ZQ3J authpriv.info CRON[24547]: pam_unix(cron:session): session closed for user root
......................................................................................................................................................................................Nov 7 22:52:31
Nov 7 22:52:32 wirenboard-AOD7ZQ3J user.notice kernel: klogd started: BusyBox v1.22.1 (Debian 1:1.22.0-19+b3)
Nov 7 22:52:32 wirenboard-AOD7ZQ3J user.info kernel: [ 0.000000] Booting Linux on physical CPU 0x0
Nov 7 22:52:32 wirenboard-AOD7ZQ3J user.notice kernel: [ 0.000000] Linux version 4.9.22-wb6 (root@wbdevenv) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #2 SMP Tue Sep 1 06:27:21 UTC 2020
Nov 7 22:52:32 wirenboard-AOD7ZQ3J user.info kernel: [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
Nov 7 22:52:32 wirenboard-AOD7ZQ3J user.info kernel: [ 0.000000] CPU: div instructions available: patching division code
Nov 7 22:52:32 wirenboard-AOD7ZQ3J user.info kernel: [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Nov 7 22:52:32 wirenboard-AOD7ZQ3J user.info kernel: [ 0.000000] OF: fdt:Machine model: Wiren Board rev. 6.7.0 (i.MX6UL/ULL)
Nov 7 22:52:32 wirenboard-AOD7ZQ3J user.info kernel: [ 0.000000] cma: Reserved 16 MiB at 0x9f000000
Nov 7 22:52:32 wirenboard-AOD7ZQ3J user.info kernel: [ 0.000000] Memory policy: Data cache writealloc
Nov 7 22:52:32 wirenboard-AOD7ZQ3J user.debug kernel: [ 0.000000] On node 0 totalpages: 131072
Nov 7 22:52:32 wirenboard-AOD7ZQ3J user.debug kernel: [ 0.000000] free_area_init_node: node 0, pgdat c0b4d880, node_mem_map deab2000
Добрый день! Установливали ли на контроллер какое-нибудь ПО?
В моем случае да, SprutHub
в моем случае нет, ничего дополнительно в фоне не крутится. Вообщем-то пока стендовые условия, разве что поднят mqtt-bridge до центрального узла. Но повторюсь, перед рестартом все основные параметры системы в норме, место есть, inode’ы есть, память есть, load avg не растет, сетевой трафик тоже обычный, без всплесков, контроль напряжений по линиям 5 и 24v из mqtt в zabbix ровные, без бросков (но и интервал сбора 1 минута)
ну вот… сегодня под утро снова
Nov 10 02:42:05 wirenboard-AOD7ZQ3J authpriv.info CRON[25501]: pam_unix(cron:session): session closed for user root
Nov 10 02:42:14 wirenboard-AOD7ZQ3J user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 121 of device modbus:67: Serial protocol error: requ
Nov 10 02:42:34 wirenboard-AOD7ZQ3J user.notice wb-mqtt-db[575]: 2020-11-10 02:42:34.031 NOTICE: Bulk processing took 119ms
Nov 10 02:43:01 wirenboard-AOD7ZQ3J authpriv.info CRON[25601]: pam_unix(cron:session): session opened for user root by (uid=0)
Nov 10 02:43:01 wirenboard-AOD7ZQ3J cron.info CRON[25605]: (root) CMD (/usr/share/wb-daemon-watchdogs/check_confed.sh 2>&1 | logger -t wb-daemon-watchdogs)
Nov 10 02:43:05 wirenboard-AOD7ZQ3J authpriv.info CRON[25601]: pam_unix(cron:session): session closed for user root
Nov 10 02:43:07 wirenboard-AOD7ZQ3J user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 3 input(s) @ 9 of device modbus:67: Serial protocol error: reques
Nov 10 02:43:18 wirenboard-AOD7ZQ3J user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 3 input(s) @ 9 of device modbus:67: Serial protocol error: reques
Nov 10 02:43:25 wirenboard-AOD7ZQ3J user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 121 of device modbus:67: Serial protocol error: requ
Nov 10 02:43:29 wirenboard-AOD7ZQ3J user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 3 input(s) @ 9 of device modbus:67: Serial protocol error: reques
Nov 10 02:43:31 wirenboard-AOD7ZQ3J user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 121 of device modbus:67: Serial protocol error: requ
Nov 10 02:43:43 wirenboard-AOD7ZQ3J user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 3 of device modbus:67: Serial protocol error: reques
Nov 10 02:43:52 wirenboard-AOD7ZQ3J user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 121 of device modbus:67: Serial protocol error: requ
Nov 10 02:44:01 wirenboard-AOD7ZQ3J authpriv.info CRON[25701]: pam_unix(cron:session): session opened for user root by (uid=0)
Nov 10 02:44:01 wirenboard-AOD7ZQ3J cron.info CRON[25705]: (root) CMD (/usr/share/wb-daemon-watchdogs/check_confed.sh 2>&1 | logger -t wb-daemon-watchdogs)
Nov 10 02:44:06 wirenboard-AOD7ZQ3J user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 121 of device modbus:67: Serial protocol error: requ
Nov 10 02:44:06 wirenboard-AOD7ZQ3J authpriv.info CRON[25701]: pam_unix(cron:session): session closed for user root
Nov 10 02:44:21 wirenboard-AOD7ZQ3J user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 coil(s) @ 0 of device modbus:67: Serial protocol error: request
Nov 10 02:44:24 wirenboard-AOD7ZQ3J user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 121 of device modbus:67: Serial protocol error: requ
Nov 10 02:44:34 wirenboard-AOD7ZQ3J user.notice wb-mqtt-db[575]: 2020-11-10 02:44:34.073 NOTICE: Bulk processing took 161ms
Nov 10 02:44:34 wirenboard-AOD7ZQ3J user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 1 input(s) @ 121 of device modbus:67: Serial protocol error: requ
Nov 10 02:44:53 wirenboard-AOD7ZQ3J user.notice serial: ModbusRTU::ReadRegisterRange(): failed to read 3 input(s) @ 9 of device modbus:67: Serial protocol error: reques
........................................................................................................................................................................
Nov 10 02:48:30 wirenboard-AOD7ZQ3J user.notice kernel: klogd started: BusyBox v1.22.1 (Debian 1:1.22.0-19+b3)
Nov 10 02:48:30 wirenboard-AOD7ZQ3J user.info kernel: [ 0.000000] Booting Linux on physical CPU 0x0
Nov 10 02:48:30 wirenboard-AOD7ZQ3J user.notice kernel: [ 0.000000] Linux version 4.9.22-wb6 (root@wbdevenv) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #2 SMP T
Nov 10 02:48:30 wirenboard-AOD7ZQ3J user.info kernel: [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
Nov 10 02:48:30 wirenboard-AOD7ZQ3J user.info kernel: [ 0.000000] CPU: div instructions available: patching division code
Nov 10 02:48:30 wirenboard-AOD7ZQ3J user.info kernel: [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Nov 10 02:48:30 wirenboard-AOD7ZQ3J user.info kernel: [ 0.000000] OF: fdt:Machine model: Wiren Board rev. 6.7.0 (i.MX6UL/ULL)
Nov 10 02:48:30 wirenboard-AOD7ZQ3J user.info kernel: [ 0.000000] cma: Reserved 16 MiB at 0x9f000000
Nov 10 02:48:30 wirenboard-AOD7ZQ3J user.info kernel: [ 0.000000] Memory policy: Data cache writealloc
Nov 10 02:48:30 wirenboard-AOD7ZQ3J user.debug kernel: [ 0.000000] On node 0 totalpages: 131072
Nov 10 02:48:30 wirenboard-AOD7ZQ3J user.debug kernel: [ 0.000000] free_area_init_node: node 0, pgdat c0b4d880, node_mem_map deab2000
Подскажите, есть ли смысл городить логгер для debug console? Успеет туда штатный watchdog что-нибудь сказать?
Если у вас есть возможность подключить куда-то отладочную консоль и следить за выводом - это будет очень здорово и может помочь с диагностикой.
завтра попробую. сегодня посреди ночи опять перезагрузился ((
Ну что хочется сказать… рестарты очень непредсказуемы. Были аптаймы и по 20,и по 60 дней. И вот удалось поймать момент рестарта на отладочной консоли. Но к сожалению там пустота(
Jan 17 16:16:01 wirenboard-AOD7ZQ3J authpriv.info CRON[27382]: pam_unix(cron:session): session opened for user root by (uid=0)
Jan 17 16:16:01 wirenboard-AOD7ZQ3J cron.info CRON[27387]: (root) CMD (/usr/share/wb-daemon-watchdogs/check_confed.sh 2>&1 | logger -t wb-daemon-watchdogs)
Jan 17 16:16:05 wirenboard-AOD7ZQ3J authpriv.info CRON[27382]: pam_unix(cron:session): session closed for user root
Jan 17 16:16:06 wirenboard-AOD7ZQ3J daemon.info wb-rules[3743]: INFO: [rule info] We're in slot 12, 2021-01-17 18:30:00.000+00:00 - 2021-01-17 19:30:00.000+00:00, type=free
Jan 17 16:18:02 wirenboard-AOD7ZQ3J syslog.info syslogd started: BusyBox v1.22.1
Jan 17 16:18:03 wirenboard-AOD7ZQ3J user.notice kernel: klogd started: BusyBox v1.22.1 (Debian 1:1.22.0-19+b3)
Jan 17 16:18:03 wirenboard-AOD7ZQ3J user.info kernel: [ 0.000000] Booting Linux on physical CPU 0x0
Jan 17 16:18:03 wirenboard-AOD7ZQ3J user.notice kernel: [ 0.000000] Linux version 4.9.22-wb6 (root@wbdevenv) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #2 SMP Fri Oct 30 09:00:46 UTC 2020
Jan 17 16:18:03 wirenboard-AOD7ZQ3J user.info kernel: [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
Jan 17 16:18:03 wirenboard-AOD7ZQ3J user.info kernel: [ 0.000000] CPU: div instructions available: patching division code
Jan 17 16:18:03 wirenboard-AOD7ZQ3J user.info kernel: [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Jan 17 16:18:03 wirenboard-AOD7ZQ3J user.info kernel: [ 0.000000] OF: fdt:Machine model: Wiren Board rev. 6.7.0 (i.MX6UL/ULL)
Jan 17 16:18:03 wirenboard-AOD7ZQ3J user.info kernel: [ 0.000000] cma: Reserved 16 MiB at 0x9f000000
Jan 17 16:18:03 wirenboard-AOD7ZQ3J user.info kernel: [ 0.000000] Memory policy: Data cache writealloc
Jan 17 16:18:03 wirenboard-AOD7ZQ3J user.debug kernel: [ 0.000000] On node 0 totalpages: 131072
Jan 17 16:18:03 wirenboard-AOD7ZQ3J user.debug kernel: [ 0.000000] free_area_init_node: node 0, pgdat c0b4d880, node_mem_map deab2000
Jan 17 16:18:03 wirenboard-AOD7ZQ3J user.debug kernel: [ 0.000000] Normal zone: 1152 pages used for memmap
Jan 17 16:18:03 wirenboard-AOD7ZQ3J user.debug kernel: [ 0.000000] Normal zone: 0 pages reserved
это сохранено с консоли:
[19:17:38.689980 0.000003]
[19:17:38.691007 0.001031]
[19:17:38.691497 0.000491] U-Boot 2017.03-1.1.0-gaa233c0fa3 (Jun 09 2020 - 19:28:23 +0000)
[19:17:38.713393 0.021896]
[19:17:38.713932 0.000539] CPU: Freescale i.MX6ULL rev1.1 792 MHz (running at 396 MHz)
[19:17:38.730997 0.017065] CPU: Industrial temperature grade (-40C to 105C) at 44C
[19:17:38.739514 0.008518] Reset cause: POR
[19:17:38.742097 0.002583] Model: Wiren Board rev. 6.1 (i.MX6UL)
[19:17:38.747725 0.005629] Board: Wiren Board MX6UL
[19:17:38.751450 0.003724] DRAM: 512 MiB
[19:17:38.778959 0.027509] MMC: FSL_SDHC: 0
[19:17:38.786937 0.007978] Using default environment
[19:17:38.791379 0.004443]
[19:17:38.798394 0.007015] In: serial
[19:17:38.801945 0.003550] Out: serial
[19:17:38.804255 0.002311] Err: serial
[19:17:38.963970 0.159715] Net: eth0: ethernet@02188000
[19:17:38.975503 0.011532] Hit any key to stop autoboot: 3 ... 2 ... 1 ... 0
[19:17:41.984081 3.008576] Checking if there is a USB storage with update file wb6_update.fit
[19:17:42.005004 0.020924] dev: usb1_vbus @ regulator@0
[19:17:42.012182 0.007178] starting USB...
[19:17:42.016293 0.004111] USB0: USB EHCI 1.00
[19:17:42.028597 0.012304] USB1: USB EHCI 1.00
[19:17:42.063971 0.035374] scanning bus 0 for devices... 1 USB Device(s) found
[19:17:43.204007 1.140036] scanning bus 1 for devices... EHCI timed out on TD - token=0x80008c80
[19:17:44.419161 1.215152] unable to get device descriptor (error=-1)
[19:17:44.426363 0.007204] 1 USB Device(s) found
[19:17:44.430027 0.003665] scanning usb for storage devices... 0 Storage Device(s) found
[19:17:44.443047 0.013019] No storage devices, perhaps not 'usb start'ed..?
[19:17:44.452761 0.009715] No USB update detected, continuing boot
[19:17:44.565533 0.112771] switch to partitions #0, OK
[19:17:44.570454 0.004922] mmc0(part 0) is current device
[19:17:44.700838 0.130384] SD/MMC found on device 0
[19:17:44.788110 0.087272] 324 bytes read in 73 ms (3.9 KiB/s)
[19:17:44.796961 0.008850] Importing environment from 0x82000000...
[19:17:44.805355 0.008395] Checking if uenvcmd is set ...
[19:17:44.810285 0.004930] Running default loadzimage ...
[19:17:45.157513 0.347228] 5127576 bytes read in 344 ms (14.2 MiB/s)
[19:17:45.165031 0.007517]
[19:17:45.165373 0.000343] MMC read: dev # 0, block # 2016, count 32 ... 32 blocks read: OK
[19:17:45.176449 0.011076] Reading overlays list from eMMC
[19:17:45.181927 0.005478] Reading factory fdt name from eMMC
[19:17:45.187655 0.005728] Loading factory fdt imx6ul-wirenboard670
[19:17:45.656529 0.468874] 46090 bytes read in 461 ms (96.7 KiB/s)
[19:17:45.876025 0.219495] 485 bytes read in 203 ms (2 KiB/s)
[19:17:45.883712 0.007687] Applying DT overlay wb6-nogsm
[19:17:46.132514 0.248802] 597 bytes read in 227 ms (2 KiB/s)
[19:17:46.140437 0.007923] Applying DT overlay wb6-wifi-rtl8723bu
[19:17:46.368317 0.227880] 509 bytes read in 208 ms (2 KiB/s)
[19:17:46.376366 0.008049] Applying DT overlay wb6-noradio
[19:17:46.563168 0.186802] 334 bytes read in 166 ms (2 KiB/s)
[19:17:46.570662 0.007494] Applying DT overlay wb6-eth1
[19:17:46.691742 0.121081] 254 bytes read in 103 ms (2 KiB/s)
[19:17:46.698081 0.006338] Applying DT overlay temp-industrial
[19:17:46.704189 0.006109] Applying extra overlay
[19:17:46.713300 0.009111] Booting from mmc ...
[19:17:46.716138 0.002838] Kernel image @ 0x82000000 [ 0x000000 - 0x4e3d98 ]
[19:17:46.722564 0.006426] ## Flattened Device Tree blob at 83000000
[19:17:46.728016 0.005452] Booting using the fdt blob at 0x83000000
[19:17:46.733724 0.005708] Loading Device Tree to 9ef32000, end 9ef54fff ... OK
[19:17:46.740903 0.007179]
[19:17:46.741124 0.000221] Starting kernel ...
[19:17:46.743882 0.002758]
[19:17:47.295934 0.552052] [ 0.000000] Booting Linux on physical CPU 0x0
[19:17:47.303940 0.008005] [ 0.000000] Linux version 4.9.22-wb6 (root@wbdevenv) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #2 SMP Fri Oct 30 09:00:46 UTC 2020
[19:17:47.326229 0.022289] [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[19:17:47.338853 0.012624] [ 0.000000] CPU: div instructions available: patching division code
[19:17:47.350256 0.011403] [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[19:17:47.364274 0.014018] [ 0.000000] OF: fdt:Machine model: Wiren Board rev. 6.7.0 (i.MX6UL/ULL)
[19:17:47.376241 0.011967] [ 0.000000] cma: Reserved 16 MiB at 0x9f000000
[19:17:47.384293 0.008052] [ 0.000000] Memory policy: Data cache writealloc
[19:17:47.392593 0.008300] [ 0.000000] percpu: Embedded 14 pages/cpu @defc7000 s25996 r8192 d23156 u57344
[19:17:47.400824 0.008233] [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129920
[19:17:47.406605 0.005781] [ 0.000000] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk0p2 rootwait ro
[19:17:47.412354 0.005749] [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[19:17:47.416628 0.004274] [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[19:17:47.421642 0.005014] [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[19:17:47.426591 0.004949] [ 0.000000] Memory: 491716K/524288K available (6144K kernel code, 312K rwdata, 2280K rodata, 1024K init, 342K bss, 16188K reserved, 16384K cma-reserved)
[19:17:47.436452 0.009861] [ 0.000000] Virtual kernel memory layout:
[19:17:47.439335 0.002884] [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[19:17:47.443455 0.004119] [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[19:17:47.447599 0.004144] [ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)
[19:17:47.451723 0.004125] [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[19:17:47.455866 0.004143] [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[19:17:47.459988 0.004121] [ 0.000000] .text : 0xc0008000 - 0xc0700000 (7136 kB)
[19:17:47.464128 0.004141] [ 0.000000] .init : 0xc0a00000 - 0xc0b00000 (1024 kB)
[19:17:47.468252 0.004123] [ 0.000000] .data : 0xc0b00000 - 0xc0b4e140 ( 313 kB)
[19:17:47.472372 0.004120] [ 0.000000] .bss : 0xc0b50000 - 0xc0ba5aec ( 343 kB)
[19:17:47.476505 0.004133] [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[19:17:47.481179 0.004675] [ 0.000000] Hierarchical RCU implementation.
[19:17:47.484265 0.003086] [ 0.000000] Build-time adjustment of leaf fanout to 32.
[19:17:47.488141 0.003875] [ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[19:17:47.492538 0.004397] [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[19:17:47.497395 0.004857] [ 0.000000] NR_IRQS:16 nr_irqs:16 16
[19:17:47.499986 0.002591] [ 0.000000] Switching to timer-based delay loop, resolution 41ns
т.е. в консоль ничего не отрапортовало о возможной проблеме. Что остается, питание?
А что там было выше? Вы выложили лог с отладочной консоли уже с момента новой загрузки, интереснее что происходило до выключения, а не после включения.
а там пустота. это самое начало файла. специально поставил несколько дней назад на запись через grabserial
выложите еще /var/log/messages пожалуйста.
Вообщем ребуты так и продолжаются с разной периодичностью, контроллер сейчас запитан через БП mean well 15вт и poe in 24v От свитча mikrotik 328. сегодня удалось увидеть ребут через консольный порт, лог в файлеtty_log_reboot.txt (25.3 КБ)
напряжение в сети за 6 часов предшествующие ребуту
https://snapshot.raintank.io/dashboard/snapshot/cQ0FZer23Mzd7odwr5j1U8utDyLDv59Q
вполне может быть и следствием срабатывания WD.
попробуйте его отключить.
systemctl disable watchdog && systemctl stop watchdog
выполнил, будем посмотреть
Единственное, я не нашел по тексту в логе данную строчку. Это просто предположение?
7 строчка.