Форум » » Перезагрузка процессора » Ответить

Перезагрузка процессора

Вячеслав: Кто-нибудь знает как на процессорах работает Watchdog? Можно выполнить ON/OFF но что он контролирует непонятно. Нет никакого адреса хоста и т.п. Как то можно оценить время с последней перезагрузки и её причины (кроме времени отображаемого в SystemClock-Total Rinning Time)

Ответов - 3

Ale4ko: попробуйте команды в консоли, может поможет отловить проблему SHOWEXTRAerrors - Enables extended errors ERRlog - Prints the current error log. UPTIME - Display the time the system is running и еше кое что из https://www.crestron.com/downloads/pdf/product_misc/rg_2-series_control_systems.pdf Watchdog Protection Crestron 2-Series control systems are equipped with “Watchdog Protection” to monitor internal registers on the processor as well as software processes. The hardware watchdog monitors internal registers on a 2-Series control system that require periodic writing. If the registers are not being written to as required, the watchdog will send a message to the error log and reboot the control system. The software watchdog monitors the processor to ensure that no single process in the system monopolizes the central processing unit. A 2-Series control system requires certain low-level tasks to run on a regular basis. If the control system is so busy that one of the low-level tasks is held off for a period of time, the watchdog will send a message to the error log and reboot the control system. Capturing Watchdog Messages When either watchdog triggers a reboot, the processor will display information about what caused the reboot on the serial port and write the information to the error log. This information allows engineers at Crestron to track down the cause of the reboot. If a PC is connected to the control system’s serial port, the information can be received through a serial connection to the control system console. When a PC is not connected to a control system’s serial port, the NVRAMREBOOT function can be used to store error logs containing watchdog messages in NVRAM before the control system reboots. For information on the NVRAMREBOOT command, refer to “NVRAMREBOOT” on page 27. Unexpected reboots are not considered part of normal operation. If your control system reboots without apparent reason, please capture the watchdog messages in the error log to NVRAM using the NVRAMREBOOT feature. All messages contained in the error log should be forwarded to Crestron for further analysis, as workarounds may be available to prevent future reboots. Your assistance in providing this information is greatly appreciated. если не сложно сообщите пожалуйста об успехах мне тоже очень интересно как это работает

Вячеслав: Я так понял вочдог делает попытки записи в некие регистры памяти и если они не успешны в результате того, что процессор подвешен в некотором бесконечном процессе, то инициируется процедура перезагрузки с записью этой информации в лог. Не совсем понял будет ли эта информация в стандартном логе без телодвижений с NVRAMREBOOT.

Вячеслав: NVRAMREBOOT ничего не включает и не выключает, она лишь отображает лог перезагрузок вочдога, который по умолчанию энергонезависим. Эти же события дублируется и в основном логе ошибок. Но основной лог легко почистить. А этот лог отдельный,который можно отобразить набрав команду NVRAMREBOOT или зайдя на WEB интерфейс контроллера ip_addr/setup далее по кнопке информации о перезагрузках(только её и никакой другой). К сожалению UPTIME это тоже самое что отображается в разделе настроек часов. И это время с последней подачи питания на контроллер и никак не фиксирует перезагрузок. Для перезагрузок не вызванных вочдог таймаутами, остается только самостоятельно писать лог средствами simpl+




полная версия страницы