The system randomly fails to exit properly after a reboot

I am currently using Jetpack 7.1(r38.4) on a Thor custom board. I have observed that during repeated AB-partition switching tests, the system sometimes fails to exit properly when performing a reboot. Could you help analyze this issue? Additionally, I noticed that similar issues have been reported previously on other platforms such as NX and Orin. I would like to ask if there are any existing patches available to address this problem.

[2026-05-07 12:11:22]  Ubuntu 24.04.3 LTS tegra-ubuntu ttyUTC0
[2026-05-07 12:11:22]  
[2026-05-07 12:11:22]  tegra-ubuntu login: [   21.156370] tegra-i2c 810c630000.i2c: I2C transfer timed out
[2026-05-07 12:11:25]  INFO: END TASK:MB
[2026-05-07 12:11:28]  INFO: enter idle task.
[2026-05-07 12:11:28]  INFO: END TASK:MB
[2026-05-07 12:11:28]  INFO: enter idle task.
[2026-05-07 12:11:28]  INFO: END TASK:MB
[2026-05-07 12:11:34]  INFO: enter idle task.
[2026-05-07 12:11:34]  INFO: END TASK:MB
[2026-05-07 12:11:34]  INFO: enter idle task.
[2026-05-07 12:11:34]  [   60.368806] watchdog: watchdog0: watchdog did not stop!
[2026-05-07 12:12:04]  [   61.404299] nvsciipc nvsciipc: nvipc: Shutting down
[2026-05-07 12:12:05]  [   61.404530] nvsciipc: Unloaded module
[2026-05-07 12:12:05]  INFO: END TASK:MB
[2026-05-07 12:12:08]  INFO: enter idle task.
[2026-05-07 12:12:08]  INFO: END TASK:MB
[2026-05-07 12:12:08]  INFO: enter idle task.
[2026-05-07 12:12:08]  [  242.664184] INFO: task systemd-shutdow:1 blocked for more than 120 seconds.
[2026-05-07 12:15:06]  [  242.664239]       Tainted: G           OE      6.8.12-tegra #1
[2026-05-07 12:15:06]  [  242.664260] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[2026-05-07 12:15:06]  [  242.672873] INFO: task nvidia-modeset/:1799 blocked for more than 120 seconds.
[2026-05-07 12:15:06]  [  242.678297]       Tainted: G           OE      6.8.12-tegra #1
[2026-05-07 12:15:06]  [  242.684214] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[2026-05-07 12:15:06]  [  363.495380] INFO: task systemd-shutdow:1 blocked for more than 241 seconds.
[2026-05-07 12:17:07]  [  363.495441]       Tainted: G           OE      6.8.12-tegra #1
[2026-05-07 12:17:07]  [  363.495461] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[2026-05-07 12:17:07]  [  363.504079] INFO: task nvidia-modeset/:1799 blocked for more than 241 seconds.
[  363.509140]       Tainted: G           OE      6.8.12-tegra #1
[2026-05-07 12:17:07]  [  363.515072] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  484.327305] INFO: task systemd-shutdow:1 blocked for more than 362 seconds.
[2026-05-07 12:19:08]  [  484.327362]       Tainted: G           OE      6.8.12-tegra #1
[2026-05-07 12:19:08]  [  484.327382] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[2026-05-07 12:19:08]  [  484.335903] INFO: task nvidia-modeset/:1799 blocked for more than 362 seconds.
[  484.341075]       Tainted: G           OE      6.8.12-tegra #1
[2026-05-07 12:19:08]  [  484.346995] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  605.158631] INFO: task systemd-shutdow:1 blocked for more than 483 seconds.
[2026-05-07 12:21:09]  [  605.158690]       Tainted: G           OE      6.8.12-tegra #1
[2026-05-07 12:21:09]  [  605.158711] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[2026-05-07 12:21:09]  [  605.167198] INFO: task nvidia-modeset/:1799 blocked for more than 483 seconds.
[  605.172391]       Tainted: G           OE      6.8.12-tegra #1
[2026-05-07 12:21:09]  [  605.178318] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  725.990211] INFO: task systemd-shutdow:1 blocked for more than 604 seconds.
[2026-05-07 12:23:10]  [  725.990270]       Tainted: G           OE      6.8.12-tegra #1
[2026-05-07 12:23:10]  [  725.990291] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[2026-05-07 12:23:10]  [  725.998707] INFO: task nvidia-modeset/:1799 blocked for more than 604 seconds.
[  726.003972]       Tainted: G           OE      6.8.12-tegra #1
[2026-05-07 12:23:10]  [  726.009902] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

hello wpceswpces,

may I have your test steps for reference.

Hi,JerryChang

I switch the active boot slot using nvbootctrl set-active-boot-slot 0/1 and then reboot. I’m trying to perform tests by just repeatedly rebooting, and personally, it seems reproducible. I’ll update you with any news.

Hi,JerryChang

We are able to reproduce this issue during multiple power cycles and slot switch reboots.

Steps are as follows:

  1. Switch the slot to B

  2. Reboot

  3. Disconnect the power

  4. Reconnect the power

  5. Switch the slot

  6. Reboot

hello wpceswpces,

just wondering the timing of your step-3. when did you disconnect the power-supply?
for instance, is it around bootloader at MB1/MB2 or UEFI stage?

Hi,JerryChang

Once the system is up and reachable via SSH (pingable).