Uninstalled orin driver and cuda.How to recover

My CUDA version was originally 11.4, but I wanted to upgrade to 12.4.
The nvcc -V command displays normally, but nvidia-smi displays that the command cannot be found.
Due to insufficient memory, I found a tutorial online and uninstalled CUDA through commands. Because I ran the script in the bin file in the CUDA directory, it showed a problem, so I used the following command:

sudo apt-get autoremove nvidia-*
sudo apt-get purge nvidia-*
sudo apt --purge remove nvidia*
sudo apt --purge remove “cublas” “cuda*”
sudo apt --purge remove “nvidia
sudo apt autoremove


After restarting, I found that many functions seemed to be missing. It should be that the driver was stolen by me.
What should I do to restore orin and then install the 12.4 version of CUDA

And now through the ifconfig command, it is found that only the network loop is left, Ethernet and WiFi cannot be used

If you can get your network back you can try 1. and 2.
If no network you may need to do 3. flash.

    1. sudo apt-get reinstall nvidia-jetpack
      to attempt returning to where you were.
    1. Then you could try upgrading to Jetpack 6.1 with apt That will get you cuda-12.6 among the other upgrades listed in the flash link below.
    1. If that fails perhaps you will need to Flash your Orin.

My device is a Jetson AGX Orin Developer Kit. Since I only have a network loopback and no other network functions, can I not use apt or SDK Manager? The SD card is for the Jetson Orin Nano Developer Kit. Can I use it for the Jetson AGX Orin Developer Kit?

If I want to use cuda-12.4, do I have to flash Jetpack 6? Is JetPack 5.1.4 ok? Is there a detailed tutorial suitable for my situation?

Hi,

The latest CUDA for JetPack 5 software is 12.2.
Please upgrade to JetPack 6 to get a newer version.

Thanks.

sdkmanager may be your best bet unless Nvidia has an idea to repair your networking. The “Flash” link above has a good tutorial on flashing the jetson agx orin developer kit.

sdkmanager uses usb0 as the network device.

I tried sdkmanager, but a new problem occurred


What should I do?


Do you have any idea, I don’t know what to do

Restarted the device and it worked!

Hi,

Do you get CUDA work after upgrading the environment?

Thanks.

Yes. Thanks.

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