Im not able to flash jetson-orin because SDKM can’t find any sdk. I see error “The user has no permission to any SDK“ after login to my account. The issue occurs only in Linux, on Windows machine SDKM correctly loads SDK after login to the same nvidia account. What is the root cause of the error?
ii sdkmanager 2.4.0-13234 arm64 NVIDIA SDK Manager
Linux debian 6.1.0-13-arm64 #1 SMP Debian 6.1.55-1 (2023-09-29) aarch64 GNU/Linu
*** Please note that this reply is generated by LLM automatically ***
The issue you’re experiencing with SDK Manager (SDKM) not being able to find any SDKs and displaying a permission error on Linux on Windows (WSL) is likely due to a combination of factors related to the environment and permissions.
Here are some potential root causes of the error:
Permissions issue: The error message “The user has no permission to any SDK” suggests that there might be a permissions issue. On WSL, the file system permissions can be different from those on a native Linux system. It’s possible that the SDKM is not able to access the SDKs due to permission restrictions.
Environment variables: SDKM relies on environment variables to locate the SDKs. On WSL, the environment variables might not be set correctly, leading to SDKM not being able to find the SDKs.
WSL limitations: WSL has some limitations when it comes to running Linux applications, especially those that rely on specific file system permissions or environment variables. SDKM might be one of those applications that doesn’t work seamlessly on WSL.
NVIDIA account authentication: The fact that SDKM works correctly on a native Linux system with the same NVIDIA account suggests that the issue might be related to the authentication process on WSL.
To troubleshoot the issue, you can try the following:
Check permissions: Verify that the SDKM has the necessary permissions to access the SDKs. You can try running SDKM with elevated privileges using sudo to see if that resolves the issue.
Set environment variables: Ensure that the environment variables are set correctly on WSL. You can try setting the SDKM_HOME environment variable to the location of the SDKs.
Use a different SDKM version: Try using a different version of SDKM to see if the issue persists.
Run SDKM on a native Linux system: If possible, try running SDKM on a native Linux system to see if the issue is specific to WSL.
In your case, since SDKM works correctly on a native Linux system with the same NVIDIA account, it’s likely that the issue is related to the WSL environment. You can try troubleshooting the issue by checking permissions, setting environment variables, and using a different SDKM version.
Here’s a comparison of the two scenarios:
Native Linux System
WSL
SDKM version
Same
Same
NVIDIA account
Same
Same
Environment variables
Set correctly
Possibly not set correctly
Permissions
Not an issue
Possibly an issue
SDKM functionality
Works correctly
Doesn’t work correctly
By comparing the two scenarios, we can see that the issue is likely related to the WSL environment, specifically with permissions and environment variables.
*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***
SDKM doesn’t yet support arm64 architecture for Jetpack installation. Please see the “Host Operating System Compatibility Matrix“ from SDK Manager | NVIDIA Developer