您尚未登录。

楼主 #1 2020-11-07 16:40:39

九重天
会员
注册时间: 2020-10-06
已发帖子: 26
积分: 18.5

今天确定了一件事情, linux的reboot命令到最后会调用看门狗的restart函数重启

#
# reboot
# modprobe: module g_ffs not found in modules.dep
mount: mounting adb on /dev/usb-ffs/adb failed: No such device
install_listener('tcp:5037','*smartsocket*')
cannot bind 'tcp:5037'
/etc/init.d/S91mdev: line 5: can't create /proc/sys/kernel/hotplug: nonexistent directory
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Stopping dropbear sshd: OK
Stopping network: OK
modprobe: module r8723bs not found in modules.dep
modprobe: module esp8089.ko not found in modules.dep
modprobe: module brcmfmac not found in modules.dep
ifconfig: SIOCSIFADDR: No such device

dnsmasq: failed to bind DHCP server socket: Address already in use
Stopping system message bus: Configuration file: /etc/hostapd.conf
nl80211: 'nl80211' generic netlink not found
Failed to initialize driver 'nl80211'
wlan0: interface state UNINITIALIZED->DISABLED
wlan0: AP-DISABLED
wlan0: CTRL-EVENT-TERMINATING
hostapd_free_hapd_data: Interface wlan0 wasn't started
killall: dbus-daemon: no process killed
done
Saving random seed: OK
Stopping klogd: OK
[   18.436115] random: crng init done
Stopping syslogd: OK
umount: can't remount tmpfs read-only
umount: devtmpfs busy - remounted read-only
[   18.646151] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
The system is going down NOW!
Sent SIGTERM to all processes
Sent SIGKILL to all processes
[   20.666988] reboot: Restarting system
[   20.670694] nuc972 wdt restart ...

[   20.670694] nuc972 wdt restart ...

这是我在看门狗驱动restart函数里面添加的调试语句

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn