您尚未登录。

楼主 #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函数里面添加的调试语句

离线

#2 2020-11-08 21:12:03

微凉VeiLiang
会员
所在地: 深圳
注册时间: 2018-10-28
已发帖子: 630
积分: 525
个人网站

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

重启大都是看门狗,除了像stm32这种有软重启指令的单片机

离线

#3 2021-10-15 23:25:31

电子垃圾专业改造
封禁
注册时间: 2021-07-21
已发帖子: 55
积分: 36

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

为啥SPI NAND flask ubi格式的rootfs系统reboot OK,换成TF卡ext4的rootfs就reboot ng?内核没改,看门狗在哪里输出复位pmu?machine_restart做了一些事,一直restarting the system。

最近编辑记录 电子垃圾专业改造 (2021-10-16 20:19:25)

离线

#4 2021-10-17 16:53:08

vigour1000
会员
注册时间: 2018-11-19
已发帖子: 101
积分: 2

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

哪个版本内核

离线

页脚

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

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