Cannot use SDK Manager to create a linux image in WSL2

Please help me to investigate following strange issue… After several attempts, still getting the same error while trying to flash Jetson Orin Nano dev kit via USB C cable. I suspect it might be because I’m doing this from under the WSL2 (LinuxForWindows). I can see the Jetson Nano USB device from inside WSL2, though.

some of the (probably) relevant places from logs below
from file NV_L4T_FILE_SYSTEM_AND_OS_COMP.log:

Using rootfs directory of: /mnt/d/jetpack_image/JetPack_6.0_DP_Linux_DP_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra/rootfs
||||||||||||||||||||||| ERROR |||||||||||||||||||||||
-----------------------------------------------------
1. The root filesystem, provided with this package,
   has to be extracted to this directory:
   /mnt/d/jetpack_image/JetPack_6.0_DP_Linux_DP_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra/rootfs
-----------------------------------------------------
2. The root filesystem, provided with this package,
   has to be extracted with 'sudo' to this directory:
   /mnt/d/jetpack_image/JetPack_6.0_DP_Linux_DP_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra/rootfs
-----------------------------------------------------
Consult the Development Guide for instructions on
extracting and flashing your device.
|||||||||||||||||||||||||||||||||||||||||||||||||||||
12:43:29.264 - Error: [exec_command]: /bin/bash -c /tmp/tmp_NV_L4T_FILE_SYSTEM_AND_OS_COMP.igor.sh; [error]: 

12:43:29.264 - Info: [ Package Install Finished with Error ]
12:43:29.265 - Info: [host] [ 5.65 GB used. Disk Avail: 167.45 GB ]
12:43:29.265 - Info: [ NV_L4T_FILE_SYSTEM_AND_OS_COMP Install took 54m36s ]

and from the sdkm-2024-02-23-11-47-54.log

12:43:29.255 - info: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS: Using rootfs directory of: /mnt/d/jetpack_image/JetPack_6.0_DP_Linux_DP_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra/rootfs
12:43:29.263 - info: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS: ||||||||||||||||||||||| ERROR |||||||||||||||||||||||
12:43:29.264 - info: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS: -----------------------------------------------------
12:43:29.264 - info: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS: 1. The root filesystem, provided with this package,
12:43:29.264 - info: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS:    has to be extracted to this directory:
12:43:29.264 - info: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS:    /mnt/d/jetpack_image/JetPack_6.0_DP_Linux_DP_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra/rootfs
12:43:29.264 - info: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS: -----------------------------------------------------
12:43:29.264 - info: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS: 2. The root filesystem, provided with this package,
12:43:29.264 - info: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS:    has to be extracted with 'sudo' to this directory:
12:43:29.264 - info: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS:    /mnt/d/jetpack_image/JetPack_6.0_DP_Linux_DP_JETSON_ORIN_NANO_TARGETS/Linux_for_Tegra/rootfs
12:43:29.264 - info: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS: -----------------------------------------------------
12:43:29.264 - info: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS: Consult the Development Guide for instructions on
12:43:29.264 - info: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS: extracting and flashing your device.
12:43:29.264 - info: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS: |||||||||||||||||||||||||||||||||||||||||||||||||||||
12:43:29.266 - error: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS: [exec_command]: /bin/bash -c /tmp/tmp_NV_L4T_FILE_SYSTEM_AND_OS_COMP.igor.sh; [error]:
12:43:29.267 - info: Event: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS - error is: [exec_command]: /bin/bash -c /tmp/tmp_NV_L4T_FILE_SYSTEM_AND_OS_COMP.igor.sh; [error]:
12:43:29.267 - info: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS: 
12:43:29.267 - info: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS: [ Package Install Finished with Error ]
12:43:29.267 - info: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS: [host] [ 5.65 GB used. Disk Avail: 167.45 GB ]
12:43:29.267 - info: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS: [ NV_L4T_FILE_SYSTEM_AND_OS_COMP Install took 54m36s ]
12:43:29.267 - info: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS: 
12:43:29.267 - error: command error code: 11
12:43:29.267 - info: Event: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS - error code is: 1011
12:43:29.267 - error: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS: command terminated with error
12:43:29.267 - info: Event: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS - error is: command terminated with error
12:43:29.270 - info: Event: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS - install ended - failure
12:43:29.271 - error: Session first failure occurred while Installing. Root cause component: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS. Root cause error code: (1011: Failed to execute commands with GenericInstaller)
12:43:29.271 - info: Summary: NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_ORIN_NANO_TARGETS: Installation failed. 
12:43:29.272 - info: Event: NV_L4T_DOCKER_TARGET_POST_INSTALL_COMP@JETSON_ORIN_NANO_TARGETS - error is: NVIDIA Container Runtime with Docker integration (Beta) Skipped. Due to its dependencies fail to install: File System and OS
12:43:29.272 - info: Component install GA report:  Component Install: NV_L4T_DOCKER_TARGET_POST_INSTALL_COMP#2.1 - finished  failed Error Code: 500. Error: Depends on failed component. Component ID: . PrecheckStatus: None. TargetDeviceImageVersion: #. RetryNumber: 0
12:43:29.277 - info: Event: NV_L4T_DOCKER_TARGET_POST_INSTALL_COMP@JETSON_ORIN_NANO_TARGETS - install ended - failure
12:43:29.277 - info: Summary: NV_L4T_DOCKER_TARGET_POST_INSTALL_COMP@JETSON_ORIN_NANO_TARGETS: Depends on failed component
12:43:29.277 - info: Event: NV_L4T_MULTIMEDIA_API_TARGET_POST_INSTALL_COMP@JETSON_ORIN_NANO_TARGETS - error is: Multimedia API Skipped. Due to its dependencies fail to install: File System and OS
12:43:29.277 - info: Component install GA report:  Component Install: NV_L4T_MULTIMEDIA_API_TARGET_POST_INSTALL_COMP#36.2 - finished  failed Error Code: 500. Error: Depends on failed component. Component ID: . PrecheckStatus: None. TargetDeviceImageVersion: #. RetryNumber: 0

Take this as keyword to search the forum and you shall find out.

Thanks for your reply! Now I tried a bit different approach - I installed “real” Ubuntu 22.04 and installed Nvidia SDK manager. There are still errors, but quite different this time (have to make another question thread probably)

1 Like

Yes, if the issue is different, please file new thread.

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