rbonghi / jetson_stats

📊 Simple package for monitoring and control your NVIDIA Jetson [Orin, Xavier, Nano, TX] series
https://rnext.it/jetson_stats
GNU Affero General Public License v3.0
2.17k stars 264 forks source link

jtop connection error if secureboot is enabled on Jetson device? #178

Open SharpZKing opened 3 years ago

SharpZKing commented 3 years ago

Jtop connection error if secureboot is enabled on Jetson device?

Describe: I installed jetson_state with sudo -H pip install -U jetson-stats, but got error of "connection error" when run jtop.

Log shows jetson_clocks show infos error like No such file to:

/sys/kernel/debug/bpmp/debug/clk/emc/min_rate /sys/kernel/debug/bpmp/debug/clk/emc/max_rate /sys/kernel/debug/bpmp/debug/clk/emc/rate /sys/kernel/debug/bpmp/debug/clk/emc/mrq_rate

I can only see the /sys/kernel/debug/bpmp directory, but not the /sys/kernel/debug/bpmp/debug directory.

According to Jetson forums reply: if your board’s secure production fuse is blown, then bpmp debugfs will no more be available. Can see: Jetson_clocks –show failed if secureBoot + disk encryption is enabled

how to fix this problem?

rbonghi commented 3 years ago

Thank you @SharpZKing ! I will prioritize this management when the secure boot is active

oldgalileo commented 1 year ago

@rbonghi is there an update on this and/or a workaround?

rbonghi commented 10 months ago

Hi @oldgalileo and @SharpZKing

After a long time, I looked at the new Jetson-Stats and I think it's mostly fixed to work in a secure boot release. If jtop doesn't can you please share the output from these commands. I think if few iterations will be able to run

journalctl -u jtop.service -n 100 --no-pager
jtop --error-log