AGX Orin上JetPack 7.2系统,冷启动情况下偶发jtop服务无法启动问题

请使用下面的模版提问(创建话题后勾选相应的选项):
Jetson 模组
Jetson AGX Orin
Jetson Orin NX
Jetson Orin Nano
Jetson AGX Xavier
Jetson Xavier NX
Jetson TX 系列
Jetson Nano

Jetson 软件
JetPack 5.1.3
JetPack 5.1.4
JetPack 6.0
JetPack 6.1
JetPack 6.2
DeepStream SDK
NVIDIA Isaac

SDK Manager 管理工具版本
2.3.0
2.2.0
2.1.0
其他

系统信息:
ai@agx-133:~$ uname -a
Linux agx-133 6.8.12-1021-tegra #1 SMP PREEMPT Mon Jun 1 13:25:46 PDT 2026 aarch64 aarch64 aarch64 GNU/Linux
ai@agx-133:~$ cat /etc/nv_tegra_release

R39 (release), REVISION: 2.0, GCID: 45755727, BOARD: generic, EABI: aarch64, DATE: Mon Jun 1 09:28:48 PM UTC 2026

KERNEL_VARIANT: oot

TARGET_USERSPACE_LIB_DIR=nvidia
TARGET_USERSPACE_LIB_DIR_PATH=usr/lib/aarch64-linux-gnu/nvidia
ai@agx-133:~$ sudo nvpmodel -q
[sudo] password for ai:
NV Power Mode: MAXN
0

问题描述**

agx orin从jetpack6.2系统更换为jetpack7.2系统后:

  • 冷启动偶发 GPU devfreq 节点缺失:
    /sys/devices/platform/17000000.gpu/devfreq/17000000.gpu/ 不存在

  • 导致 nvpmodel、jetson_clocks、jtop 连锁失败

  • reboot 后必然恢复正常

**复现频率:**冷启动 8 次出现 1 次;reboot 10 次全部正常

出问题时操作过程如下:
ai@agx-133:~/32fpga$ uptime
11:29:24 up 13 min, 2 users, load average: 0.00, 0.06, 0.08
ai@agx-133:~/32fpga$ jtop
The jtop.service is not active. Please run:
sudo jtop --install-service
ai@agx-133:~/32fpga$ sudo systemctl restart jtop.service
ai@agx-133:~/32fpga$ jtop
The jtop.service is not active. Please run:
sudo jtop --install-service
ai@agx-133:~/32fpga$ sudo systemctl status jtop.service
○ jtop.service - jtop service
Loaded: loaded (/etc/systemd/system/jtop.service; enabled; preset: enabled)
Active: inactive (dead) since Wed 2026-09-23 11:29:54 CST; 13s ago
Duration: 2.317s
Process: 8908 ExecStart=/usr/local/bin/jtop --force (code=exited, status=0/SUCCESS)
Main PID: 8908 (code=exited, status=0/SUCCESS)
CPU: 925ms

Sep 23 11:29:54 agx-133 jtop[8946]: self._engines_list = self.show()
Sep 23 11:29:54 agx-133 jtop[8946]: ^^^^^^^^^^^
Sep 23 11:29:54 agx-133 jtop[8946]: File “/usr/local/lib/python3.12/dist-packages/jtop/core/jetson_clocks.py”, line 522, in show
Sep 23 11:29:54 agx-133 jtop[8946]: lines = cmd(timeout=COMMAND_TIMEOUT)
Sep 23 11:29:54 agx-133 jtop[8946]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sep 23 11:29:54 agx-133 jtop[8946]: File “/usr/local/lib/python3.12/dist-packages/jtop/core/command.py”, line 131, in _call_
Sep 23 11:29:54 agx-133 jtop[8946]: raise Command.CommandException(‘Error process:’, self.process.returncode)
Sep 23 11:29:54 agx-133 jtop[8946]: jtop.core.command.Command.CommandException: [errno:1] Error process:
Sep 23 11:29:54 agx-133 jtop[8908]: [INFO] jtop.service - Service closed
Sep 23 11:29:54 agx-133 systemd[1]: jtop.service: Deactivated successfully.
ai@agx-133:~/32fpga$ sudo jtop --install-service
[INFO] jtop.core.jetson_variables - Install jtop_env.sh variables
[INFO] jtop.core.jetson_variables - - Remove old /etc/profile.d/jtop_env.sh
[INFO] jtop.core.jetson_variables - - COPYING jtop_env.sh → /etc/profile.d/jtop_env.sh
[INFO] jtop.service - Install jtop.service
[INFO] jtop.service - - Remove old /etc/systemd/system/jtop.service
[INFO] jtop.service - - COPYING jtop.service → /etc/systemd/system/jtop.service
[INFO] jtop.service - - Reload all daemons
[INFO] jtop.service - - ENABLE jtop.service
[INFO] jtop.service - - START jtop.service
jtop.service installed and enabled
ai@agx-133:~/32fpga$ sudo systemctl status jtop.service
● jtop.service - jtop service
Loaded: loaded (/etc/systemd/system/jtop.service; enabled; preset: enabled)
Active: active (running) since Wed 2026-09-23 11:30:42 CST; 1s ago
Main PID: 9369 (jtop)
Tasks: 2 (limit: 74812)
Memory: 32.4M (peak: 49.4M)
CPU: 906ms
CGroup: /system.slice/jtop.service
└─9369 /usr/bin/python3 /usr/local/bin/jtop --force

Sep 23 11:30:44 agx-133 jtop[9428]: self.jetson_clocks.initialization(self.nvpmodel, data)
Sep 23 11:30:44 agx-133 jtop[9428]: File “/usr/local/lib/python3.12/dist-packages/jtop/core/jetson_clocks.py”, line 370, in initialization
Sep 23 11:30:44 agx-133 jtop[9428]: self._engines_list = self.show()
Sep 23 11:30:44 agx-133 jtop[9428]: ^^^^^^^^^^^
Sep 23 11:30:44 agx-133 jtop[9428]: File “/usr/local/lib/python3.12/dist-packages/jtop/core/jetson_clocks.py”, line 522, in show
Sep 23 11:30:44 agx-133 jtop[9428]: lines = cmd(timeout=COMMAND_TIMEOUT)
Sep 23 11:30:44 agx-133 jtop[9428]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sep 23 11:30:44 agx-133 jtop[9428]: File “/usr/local/lib/python3.12/dist-packages/jtop/core/command.py”, line 131, in _call_
Sep 23 11:30:44 agx-133 jtop[9428]: raise Command.CommandException(‘Error process:’, self.process.returncode)
Sep 23 11:30:44 agx-133 jtop[9428]: jtop.core.command.Command.CommandException: [errno:1] Error process:
ai@agx-133:~/32fpga$ jtop
The jtop.service is not active. Please run:
sudo jtop --install-service

后*查询是因为设备启动时没有创建:*ls /sys/devices/platform/17000000.gpu/devfreq/17000000.gpu/这个目录。

ai@agx-133:~/32fpga$ ls /sys/devices/platform/17000000.gpu/devfreq/17000000.gpu/
ls: cannot access ‘/sys/devices/platform/17000000.gpu/devfreq/17000000.gpu/’: No such file or directory
ai@agx-133:~/32fpga$ sudo nvpmodel -q
NV Power Mode: MAXN
0
NVPM ERROR: Error opening /sys/devices/platform/17000000.gpu/devfreq_dev/min_freq: 2
NVPM ERROR: failed to read PARAM GPU: ARG MIN_FREQ: PATH /sys/devices/platform/17000000.gpu/devfreq_dev/min_freq
NVPM ERROR: Error opening /sys/devices/platform/17000000.gpu/devfreq_dev/max_freq: 2
NVPM ERROR: failed to read PARAM GPU: ARG MAX_FREQ: PATH /sys/devices/platform/17000000.gpu/devfreq_dev/max_freq
ai@agx-133:~/32fpga$ sudo nvpmodel -q
NV Power Mode: MAXN
0
NVPM ERROR: Error opening /sys/devices/platform/17000000.gpu/devfreq_dev/min_freq: 2
NVPM ERROR: failed to read PARAM GPU: ARG MIN_FREQ: PATH /sys/devices/platform/17000000.gpu/devfreq_dev/min_freq
NVPM ERROR: Error opening /sys/devices/platform/17000000.gpu/devfreq_dev/max_freq: 2
NVPM ERROR: failed to read PARAM GPU: ARG MAX_FREQ: PATH /sys/devices/platform/17000000.gpu/devfreq_dev/max_freq

其他日志:
ai@agx-133:~/32fpga$ sudo jetson_clocks --show
SOC family:tegra234 Machine:NVIDIA Jetson AGX Orin Developer Kit
Online CPUs: 0-11, Offline CPUs:
cpu0: Governor=schedutil MinFreq=2201600 MaxFreq=2201600 CurrentFreq=2201600 IdleStates: WFI=0 c7=0
cpu1: Governor=schedutil MinFreq=2201600 MaxFreq=2201600 CurrentFreq=2201600 IdleStates: WFI=0 c7=0
cpu2: Governor=schedutil MinFreq=2201600 MaxFreq=2201600 CurrentFreq=2201600 IdleStates: WFI=0 c7=0
cpu3: Governor=schedutil MinFreq=2201600 MaxFreq=2201600 CurrentFreq=2201600 IdleStates: WFI=0 c7=0
cpu4: Governor=schedutil MinFreq=2201600 MaxFreq=2201600 CurrentFreq=2201600 IdleStates: WFI=0 c7=0
cpu5: Governor=schedutil MinFreq=2201600 MaxFreq=2201600 CurrentFreq=2201600 IdleStates: WFI=0 c7=0
cpu6: Governor=schedutil MinFreq=2201600 MaxFreq=2201600 CurrentFreq=2201600 IdleStates: WFI=0 c7=0
cpu7: Governor=schedutil MinFreq=2201600 MaxFreq=2201600 CurrentFreq=2201600 IdleStates: WFI=0 c7=0
cpu8: Governor=schedutil MinFreq=2201600 MaxFreq=2201600 CurrentFreq=2201600 IdleStates: WFI=0 c7=0
cpu9: Governor=schedutil MinFreq=2201600 MaxFreq=2201600 CurrentFreq=2201600 IdleStates: WFI=0 c7=0
cpu10: Governor=schedutil MinFreq=2201600 MaxFreq=2201600 CurrentFreq=2201600 IdleStates: WFI=0 c7=0
cpu11: Governor=schedutil MinFreq=2201600 MaxFreq=2201600 CurrentFreq=2201600 IdleStates: WFI=0 c7=0
/usr/bin/jetson_clocks: line 552: echo: write error: Invalid argument
/usr/bin/jetson_clocks: line 558: echo: write error: Invalid argument
Error! GPU frequency scaling not supported!

该问题是否为 JetPack 7.2 已知问题,7.2.1 是否修复,或是否有 workaround么?