【发布时间】:2018-01-11 16:17:09
【问题描述】:
我已经尝试激活树莓派 3 的 bcm2835_wdt 看门狗模块 6 个小时,但我不能。
modprobe bcm2835_wdt 没有返回错误,但lsmod 命令没有返回列表中的 bcm2835_wdt 模块。
我已经加载了看门狗和 chkconfig 那么;
sudo chkconfig watchdog on
当我尝试启动服务时
sudo /etc/init.d/watchdog start
我遇到了一个错误
[....] Starting watchdog (via systemctl): watchdog.service Job for watchdog.service failed because the control process exited with error code.
See "systemctl status watchdog.service" and "journalctl -xe" for details.
failed!
journalctl -xe returns;
-- Kernel start-up required 2093448 microseconds.
--
-- Initial RAM disk start-up required INITRD_USEC microseconds.
--
-- Userspace start-up required 5579375635 microseconds.
Jan 11 16:03:45 al sudo[935]: root : TTY=pts/1 ; PWD=/ ; USER=root ; COMMAND=/etc/init.d/watchdog start
Jan 11 16:03:45 al sudo[935]: pam_unix(sudo:session): session opened for user root by root(uid=0)
Jan 11 16:03:46 al systemd[1]: Starting watchdog daemon...
-- Subject: Unit watchdog.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit watchdog.service has begun starting up.
Jan 11 16:03:46 al sh[949]: modprobe: **FATAL: Module dcm2835_wdt not found in directory /lib/modules/4.9.59-v7+**
Jan 11 16:03:46 al systemd[1]: watchdog.service: Control process exited, code=exited status=1
Jan 11 16:03:46 al systemd[1]: Failed to start watchdog daemon.
-- Subject: Unit watchdog.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit watchdog.service has failed.
我的问题是如何为树莓派 pi3 启用看门狗内核模块 bcm2835_wdt ?
提前谢谢你...
【问题讨论】:
标签: raspberry-pi kernel watchdog