# The rt kernel will restart

**URL:** <https://forums.developer.nvidia.com/t/the-rt-kernel-will-restart/270883>\
**Category:** Jetson AGX Orin\
**Tags:** preempt\_rt, kernel\
**Created:** [October 27, 2023, 7:08am UTC](https://forums.developer.nvidia.com/t/the-rt-kernel-will-restart/270883 "2023-10-27T07:08:43Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![zijie.wang2020](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@zijie.wang2020](https://forums.developer.nvidia.com/u/zijie.wang2020)\
**Post date:** [October 27, 2023, 7:08am UTC](https://forums.developer.nvidia.com/t/the-rt-kernel-will-restart/270883/1 "2023-10-27T07:08:43Z")

</div>

hi, nvidia team.

We are using Jetpack 5.1.2 RT patch:

```auto
./kernel-5.10/scripts/rt-patch.sh apply-patches

```

I noticed that the system will randomly restart,and there were no abnormalities in the debug log during the reboot.

```auto
orin-master login: nvidia^M^M^M
Password: ^M^M
Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.10.120-rt70-tegra aarch64)^M^M
^M^M
 * Documentation: https://help.ubuntu.com^M^M
 * Management: https://landscape.canonical.com^M^M
 * Support: https://ubuntu.com/advantage^M^M
^M^M
This system has been minimized by removing packages and content that are^M^M
not required on a system that users do not log into.^M^M
^M^M
To restore this content, you can run the 'unminimize' command.^M^M
^M^M
Expanded Security Maintenance for Applications is not enabled.^M^M
^M^M
18 updates can be applied immediately.^M^M
To see these additional updates run: apt list --upgradable^M^M
^M^M
60 additional security updates can be applied with ESM Apps.^M^M
Learn more about enabling ESM Apps service at https://ubuntu.com/esm^M^M
^M^M
^M^M
The list of available updates is more than a week old.^M^M
To check for new updates run: sudo apt update^M^M
Last login: ä¸<89> 10æ<9c><88> 25 11:54:13 CST 2023 from 10.27.87.242 on pts/0^M^M
nvidia@orin-master:~$ ^M^M
nvidia@orin-master:~$ ^M^M
nvidia@orin-master:~$ ^M^M
nvidia@orin-master:~$ start^M^M
-bash: start: command not found^M^M
nvidia@orin-master:~$ ^@ÿâ^M
[0000.062] I> MB1 (version: 1.2.0.0-t234-54845784-562369e5)^M
[0000.067] I> t234-A01-0-Silicon (0x12347) Prod^M
[0000.071] I> Boot-mode : Coldboot^M
[0000.075] I> Entry timestamp: 0x00000000^M
[0000.078] I> last_boot_error: 0x0^M
[0000.082] I> BR-BCT: preprod_dev_sign: 0^M
[0000.085] I> rst_source: 0x2, rst_level: 0x1^M
[0000.089] I> Task: SE error check^M
[0000.093] I> Task: Bootchain select WAR set^M
[0000.097] I> Task: Enable SLCG^M
[0000.099] I> Task: CRC check^M
[0000.102] I> Skip FUSE records CRC check as records_integrity fuse is not burned^M
[0000.109] I> Task: Initialize MB2 params^M
[0000.114] I> MB2-params @ 0x40060000^M
[0000.117] I> Task: Crypto init^M
[0000.120] I> Task: Perform MB1 KAT tests^M
[0000.124] I> Task: NVRNG health check^M
[0000.127] I> NVRNG: Health check success^M
[0000.131] I> Task: MSS Bandwidth limiter settings for iGPU clients^M
[0000.137] I> Task: Enabling and initialization of Bandwidth limiter^M
[0000.143] I> No request to configure MBWT settings for any PC!^M
[0000.149] I> Task: Secure debug controls^M
[0000.153] I> Task: strap war set^M
[0000.156] I> Task: Initialize SOC Therm^M
[0000.160] I> Task: Program NV master stream id^M
[0000.164] I> Task: Verify boot mode^M
[0000.170] I> Task: Alias fuses^M
[0000.173] W> FUSE_ALIAS: Fuse alias on production fused part is not supported.^M

```

And the ORIN power supply has not changed either.

BTW, no problem when not using RT patch.

Do you have any information that can help me?

Thanks！

---

<div class="post-metadata">

**Author:** ![DaveYYY](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/daveyyy/32/233244_2.png) [@DaveYYY](https://forums.developer.nvidia.com/u/DaveYYY)\
**Post date:** [October 27, 2023, 7:49am UTC](https://forums.developer.nvidia.com/t/the-rt-kernel-will-restart/270883/3 "2023-10-27T07:49:05Z")

</div>

Hi,

Can this be observed on DevKits, or only on custom boards?  
How often do you see this happen? Would it happen only when running specific apps or not?

---

<div class="post-metadata">

**Author:** ![zijie.wang2020](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@zijie.wang2020](https://forums.developer.nvidia.com/u/zijie.wang2020)\
**Post date:** [October 27, 2023, 8:03am UTC](https://forums.developer.nvidia.com/t/the-rt-kernel-will-restart/270883/4 "2023-10-27T08:03:48Z")

</div>

> [@DaveYYY](#):
>
> Can this be observed on DevKits, or only on custom boar

Not tested on theDevKits.Only issues have occurred on our on-site equipment.  
It has been running at our home for 8 days and no issues have been found

> [@DaveYYY](#):
>
> How often do you see this happen?

This happens randomly.  
Sometimes there are no issues in a day, and sometimes it restarts within 3 hours.

> [@DaveYYY](#):
>
> Would it happen only when running specific apps or not?

I don’t think so. Our apps are always running.

Do you have any information that can help me?

Thanks！

---

<div class="post-metadata">

**Author:** ![DaveYYY](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/daveyyy/32/233244_2.png) [@DaveYYY](https://forums.developer.nvidia.com/u/DaveYYY)\
**Post date:** [October 27, 2023, 8:10am UTC](https://forums.developer.nvidia.com/t/the-rt-kernel-will-restart/270883/5 "2023-10-27T08:10:11Z")

</div>

I’d suggest trying if this can be also observed on a DevKit.  
If it cannot be consistently re-produced, then there’s little we can do.  
Or see if you can observe something after reboot:

> <https://unix.stackexchange.com/questions/181067/how-to-read-dmesg-from-previous-session-dmesg-0>

---

<div class="post-metadata">

**Author:** ![zijie.wang2020](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@zijie.wang2020](https://forums.developer.nvidia.com/u/zijie.wang2020)\
**Post date:** [October 27, 2023, 8:29am UTC](https://forums.developer.nvidia.com/t/the-rt-kernel-will-restart/270883/6 "2023-10-27T08:29:52Z")

</div>

> [@zijie.wang2020](#):
>
> ```auto
> orin-master login: nvidia^M^M^M
> Password: ^M^M
> Welcome to Ubuntu 20.04.6 LTS (GNU/Linux 5.10.120-rt70-tegra aarch64)^M^M
> ^M^M
> * Documentation: https://help.ubuntu.com^M^M
> * Management: https://landscape.canonical.com^M^M
> * Support: https://ubuntu.com/advantage^M^M
> ^M^M
> This system has been minimized by removing packages and content that are^M^M
> not required on a system that users do not log into.^M^M
> ^M^M
> To restore this content, you can run the 'unminimize' command.^M^M
> ^M^M
> Expanded Security Maintenance for Applications is not enabled.^M^M
> ^M^M
> 18 updates can be applied immediately.^M^M
> To see these additional updates run: apt list --upgradable^M^M
> ^M^M
> 60 additional security updates can be applied with ESM Apps.^M^M
> Learn more about enabling ESM Apps service at https://ubuntu.com/esm^M^M
> ^M^M
> ^M^M
> The list of available updates is more than a week old.^M^M
> To check for new updates run: sudo apt update^M^M
> Last login: ä¸<89> 10æ<9c><88> 25 11:54:13 CST 2023 from 10.27.87.242 on pts/0^M^M
> nvidia@orin-master:~$ ^M^M
> nvidia@orin-master:~$ ^M^M
> nvidia@orin-master:~$ ^M^M
> nvidia@orin-master:~$ start^M^M
> -bash: start: command not found^M^M
> nvidia@orin-master:~$ ^@ÿâ^M
> [0000.062] I> MB1 (version: 1.2.0.0-t234-54845784-562369e5)^M
> [0000.067] I> t234-A01-0-Silicon (0x12347) Prod^M
> [0000.071] I> Boot-mode : Coldboot^M
> [0000.075] I> Entry timestamp: 0x00000000^M
> [0000.078] I> last_boot_error: 0x0^M
> [0000.082] I> BR-BCT: preprod_dev_sign: 0^M
> [0000.085] I> rst_source: 0x2, rst_level: 0x1^M
> [0000.089] I> Task: SE error check^M
> [0000.093] I> Task: Bootchain select WAR set^M
> [0000.097] I> Task: Enable SLCG^M
> [0000.099] I> Task: CRC check^M
> [0000.102] I> Skip FUSE records CRC check as records_integrity fuse is not burned^M
> [0000.109] I> Task: Initialize MB2 params^M
> [0000.114] I> MB2-params @ 0x40060000^M
> [0000.117] I> Task: Crypto init^M
> [0000.120] I> Task: Perform MB1 KAT tests^M
> [0000.124] I> Task: NVRNG health check^M
> [0000.127] I> NVRNG: Health check success^M
> [0000.131] I> Task: MSS Bandwidth limiter settings for iGPU clients^M
> [0000.137] I> Task: Enabling and initialization of Bandwidth limiter^M
> [0000.143] I> No request to configure MBWT settings for any PC!^M
> [0000.149] I> Task: Secure debug controls^M
> [0000.153] I> Task: strap war set^M
> [0000.156] I> Task: Initialize SOC Therm^M
> [0000.160] I> Task: Program NV master stream id^M
> [0000.164] I> Task: Verify boot mode^M
> [0000.170] I> Task: Alias fuses^M
> [0000.173] W> FUSE_ALIAS: Fuse alias on production fused part is not supported.^M
> 
> ```

This is the log printed by the debug serial port during reboot.It shows that there are no system abnormalities when restarting.

> [@DaveYYY](#):
>
> Or see if you can observe something after reboot:

No issues can be seen from the dmesg logs.

Do you have any methods you can provide me with to troubleshoot this problem.

Thanks！

---

<div class="post-metadata">

**Author:** ![DaveYYY](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/daveyyy/32/233244_2.png) [@DaveYYY](https://forums.developer.nvidia.com/u/DaveYYY)\
**Post date:** [October 27, 2023, 8:32am UTC](https://forums.developer.nvidia.com/t/the-rt-kernel-will-restart/270883/7 "2023-10-27T08:32:49Z")

</div>

> [@DaveYYY](#):
>
> I’d suggest trying if this can be also observed on a DevKit.  
> If it cannot be consistently re-produced, then there’s little we can do.

Then it’s all I can suggest for now.  
Or do you have multiple units of the same custom carrier boards for testing?

---

<div class="post-metadata">

**Author:** ![zijie.wang2020](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@zijie.wang2020](https://forums.developer.nvidia.com/u/zijie.wang2020)\
**Post date:** [October 27, 2023, 8:34am UTC](https://forums.developer.nvidia.com/t/the-rt-kernel-will-restart/270883/8 "2023-10-27T08:34:41Z")

</div>

> [@DaveYYY](#):
>
> Or do you have multiple units of the same custom carrier boards for testing?

yes,If RT is used, there will be problems

---

<div class="post-metadata">

**Author:** ![DaveYYY](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/daveyyy/32/233244_2.png) [@DaveYYY](https://forums.developer.nvidia.com/u/DaveYYY)\
**Post date:** [October 27, 2023, 8:41am UTC](https://forums.developer.nvidia.com/t/the-rt-kernel-will-restart/270883/9 "2023-10-27T08:41:06Z")

</div>

I mean try with different combinations with module/carrier boards to see if it only happens on specific devices.  
Or do something like this to enable more debug log in kernel:

> **[Linux Kernel Programming](https://subscription.packtpub.com/book/cloud-and-networking/9781789953435/6/ch06lvl1sec42/configuring-a-debug-kernel)**
>
> Linux Kernel Programming is a comprehensive introduction for those new to Linux kernel and module development. This easy-to-follow guide will have you up and running with writing kernel code in next-to-no time. This book uses the latest 5.4 Long-Term...

If it cannot be consistently re-produced, and also no abnormal log can be observed, then we can really do nothing.

---

<div class="post-metadata">

**Author:** ![zijie.wang2020](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@zijie.wang2020](https://forums.developer.nvidia.com/u/zijie.wang2020)\
**Post date:** [October 27, 2023, 8:52am UTC](https://forums.developer.nvidia.com/t/the-rt-kernel-will-restart/270883/10 "2023-10-27T08:52:43Z")

</div>

thinks,I will give it a try

> [@DaveYYY](#):
>
> I mean try with different combinations with module/carrier boards to see if it only

Sorry, perhaps I did not make that quite clear.  
Not a specific machine will have problems.  
On site, all 30 devices will experience issues,and can continuously re-produced, but cannot observe abnormal logs

Thank you for your help.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [November 10, 2023, 8:53am UTC](https://forums.developer.nvidia.com/t/the-rt-kernel-will-restart/270883/11 "2023-11-10T08:53:12Z")

</div>

Closed on November 10, 2023, 8:53am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
