I use MT7621 soc and OpenWrt 22.03.4 linux kenrel 5.10.176, enabled internal HW watchdog, but at watchdog time out ,the system does not reboot and hangs. Why ?
# sysupgrade 1.bin
Wed Nov 22 10:17:13 CST 2023 upgrade: Commencing upgrade. Closing all shell sessions.
[ 106.675281] device wlan0 left promiscuous mode
[ 106.680030] br-lan: port 5(wlan0) entered disabled state
Watchdog handover: fd=3
- watchdog -
Watchdog does not have CARDRESET support
Wed Nov 22 10:17:15 CST 2023 upgrade: Sending TERM to remaining processes ...
Wed Nov 22 10:17:15 CST 2023 upgrade: Sending signal TERM to sleep (3946)
Wed Nov 22 10:17:19 CST 2023 upgrade: Sending KILL to remaining processes ...
[ 117.662335] stage2 (4011): drop_caches: 3
Wed Nov 22 10:17:26 CST 2023 upgrade: Switching to ramdisk...
mount: mounting /dev/mtdblock6 on /overlay failed: Resource busy
[ 122.098824] VFS: Busy inodes after unmount of jffs2. Self-destruct in 5 seconds. Have a nice day...
Wed Nov 22 02:17:30 UTC 2023 upgrade: Performing system upgrade...
[ 122.203143] do_stage2 (4011): drop_caches: 3
Unlocking firmware ...
Writing from <stdin> to firmware ... [w][ 131.413906] mt7530 mdio-bus:1f lan2: Link is Down
[ 131.418745] br-lan: port 2(lan2) entered disabled state
Wed Nov 22 02:19:24 UTC 2023 upgrade: Upgrade completed
Wed Nov 22 02:19:25 UTC 2023 upgrade: Rebooting system...
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource [ 237.310019] reboot: Restarting system
busy
After outputting reboot: Restarting system, the leds are off, but the board does not reboot/reset.
And run sysupgrade on older version of openwrt fireware output:
# sysupgrade -n /tmp/1.bin
killall: watchdog: no process killed
Sending TERM to remaining processes ... logd rpcd netifd odhcpd crond xl2tpd
[ 952.996639] mt753x gsw: Port 2 Link is Down
Sending KILL to remaining processes ...
Switching to ramdisk...
Performing system upgrade...
Unlocking firmware ...
Writing from <stdin> to firmware ...
Upgrade completed
Rebooting system...
umount: can't unmount /dev: Device or resource busy
[ 1126.028779] watchdog watchdog0: wating for WDT reset!
[ 1131.028481] watchdog watchdog0: Timer expired. System will reboot soon!
[ 1131.035568] reboot: Restarting system