Is it possible to install the Asus XG-C100C 10gbe PCIe adapter in Jetson AGX Orin?
Hello,
I am having a lot of trouble installing the Asus XG-C100C 10gbe PCIe drivers on my Jetson AGX Orin.
The driver in particular is this.
Specifically Version 5.0.3.5 which claims to work with kernels 3.10-5.11.
And the instructions it gives me are as follows:
Building and Installation
To manually build this driver:
- Make sure you have all the packages required to build a standalone kernel
module.
On a debian-based systems you should at least install the following packages:
sudo apt install linux-headers build-essential
- Move the base driver tar file to the directory of your choice.
For example, use /home/username/aquantia.
Untar/unzip archive:
cd ~/aquantia
tar zxf Aquantia-AQtion-x.y.z.tar.gz
- Change to the driver src directory:
cd Aquantia-AQtion-x.y.z/
NB! Make sure that pathname doesn’t contain whitespaces and special characters
(e.g. brackets), because kernel build system doesn’t support such paths
unfortunately and the build will fail.
Compile the driver module:
make
Unload the driver, if an older version is in use:
sudo rmmod atlantic
Load the dependencies and the module itself:
sudo make load
Install the driver
sudo make install
driver will be installed into the following location:
/lib/modules/
uname -r
/aquantia/atlantic.ko
NB! You might need to update initramfs image uponon install
(e.g. if atlantic.ko is a part of it, otherwise an old version will be
loaded from initramfs image on next reboot).
This is a potentially harmful operation, so ‘make install’ will check
if such an update is needed and will ask for your consent before actually
running update-initramfs / dracut.
Please make sure you understand the risks before choosing ‘Y’!
Alternatively build and install the driver with dkms
- Make sure you have all the packages required to build a standalone kernel
module.
On Debian-based systems the following command can be used:
sudo apt-get install linux-headers-
uname -r
build-essential gawk dkms
On redhat-based systems the following command can be used:
sudo yum install kernel-devel-
uname -r
gcc gcc-c++ make gawk dkms
- Move the base driver tar file to the directory of your choice.
For example, use /home/username/aquantia.
Untar/unzip archive:
cd ~/aquantia
tar zxf Aquantia-AQtion-x.y.z.tar.gz
- Change to the driver source directory:
cd Aquantia-AQtion-x.y.z/
- Build and install the driver:
sudo ./dkms.sh install
driver will be installed into the following location:
/lib/modules/
uname -r
/updates/dkms/atlantic.ko
Install the driver on Debian\Ubuntu using atlantic-x.y.z.deb
Make sure you have all the packages required to build a standalone kernel
module.
Execute the command:
sudo apt-get install linux-headers-uname -r
Move the atlantic-x.y.z.deb file to the directory of your choice.
For example, use /home/username/aquantia.
Execute the following commands:
cd /home/username/aquantia
sudo apt-get install ./atlantic-x.y.z.deb
You can use “dpkg -l | grep -i atlantic” to verify that the driver has been
installed.
The problem is that in every different alternative I need to install the linux headers for my kernel that is not available:
$ sudo apt-get install linux-headers-`uname -r`
[sudo] password for dummytool:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-5.10.120-tegra
E: Couldn't find any package by glob 'linux-headers-5.10.120-tegra'
E: Couldn't find any package by regex 'linux-headers-5.10.120-tegra'
Do I have any possible solution?
I have read that this card is in the compatibility list, so I guess that the driver is possible to be installed.
Many thanks!
— EDIT —
I am working with Jetpack version 5.1.2-b104