How can I install the driver of TX401 on Linux?

When You Set Up
Updated 08-12-2022 11:36:01 AM 28689
This Article Applies to: 

Linux* aQuantia AQtion Driver for the aQuantia Multi-Gigabit PCI Express Family of
Ethernet Adapters
=============================================================================

Contents
========

- Important Note
- In This Release
- Identifying Your Adapter
- Building and Installation
- Command Line Parameters
- Additional Configurations
- Support

IMPORTANT NOTE
==============

WARNING: The AQtion driver compiles by default with the LRO (Large Receive
Offload) feature enabled. This option offers the lowest CPU utilization for
receives, but is completely incompatible with *routing/ip forwarding* and
*bridging*. If enabling ip forwarding or bridging is a requirement, it is
necessary to disable LRO using compile time options as noted in the LRO
section later in this document. The result of not disabling LRO when combined
with ip forwarding or bridging can be low throughput or even a kernel panic.

In This Release
===============

This file describes the aQuantia AQtion Driver for the aQuantia Multi-Gigabit PCI Express Family of
Ethernet Adapters. This driver supports the linux kernels >= 3.10,
and includes support for x86_64 and ARM Linux system.

This release contains source tarball and (optional) src.rpm package.

Identifying Your Adapter
========================

The driver in this release is compatible with AQC-100, AQC-107, AQC-108 based ethernet adapters.


SFP+ Devices (for AQC-100 based adapters)
----------------------------------

This release tested with passive Direct Attach Cables (DAC) and SFP+/LC Optical Transceiver.

Building and Installation
=========================

To manually build this driver:
------------------------------------------------------------
1. Make sure you have all the environment to build standalone kernel module.
On debian based systems you may do the following:

sudo apt install linux-headers build-essential

2. 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

3. Change to the driver src directory:

cd Aquantia-AQtion-x.y.z/

4. Compile the driver module:
make

5. Load the dependencies and the module:
sudo modprobe ptp
sudo modprobe crc_itu_t
sudo insmod atlantic.ko

6. Unload the driver
sudo rmmod atlantic

7. Install the driver in the system
make && make install

driver will be in:

/lib/modules/`uname -r`/aquantia/atlantic.ko

8. Uninstall the driver:
make uninstall
or run the following commands:
sudo rm -f /lib/modules/`uname -r`/aquantia/atlantic.ko
depmod -a `uname -r`

Alternatively build and install driver with dkms
------------------------------------------------------------
1. Make sure you have all the environment to build standalone kernel module.
On debian based systems you may do the following:

sudo apt-get install linux-headers-`uname -r` build-essential gawk dkms

On redhat based systems you may do the following:

sudo yum install kernel-devel-`uname -r` gcc gcc-c++ make gawk dkms

2. 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

3. Change to the driver source directory:

cd Aquantia-AQtion-x.y.z/

4. Build and install driver:

sudo ./dkms.sh install

driver will be in:

/lib/modules/`uname -r`/updates/dkms/atlantic.ko

5. Uninstall the driver:

sudo ./dkms.sh uninstall

Install driver on Debian\Ubuntu using atlantic-x.y.z.deb
------------------------------------------------------------
1. Make sure you have all the environment to build standalone kernel module. Execute the commands:
sudo apt-get install linux-headers-`uname -r`

2. Move the atlantic-x.y.z.deb file to the directory of your choice. For example,
use /home/username/aquantia.

3. Execute the commands:
cd /home/username/aquantia
sudo apt-get install ./atlantic-x.y.z.deb

After this driver will be installed.
(You can check this via "dpkg -l | grep -i atlantic")

4. Uninstall the driver:
Run the following commands:
sudo dpkg -P atlantic


Alternatively you can use atlantic-x.y.z.noarch.rpm
------------------------------------------------------------
1. Make sure you have all the environment to build standalone kernel module. Execute the commands:
sudo yum install kernel-devel-`uname -r`

2. Move the atlantic-x.y.z.noarch.rpm file to the directory of your choice. For example,
use /home/username/aquantia.

3. Execute the commands:
cd /home/username/aquantia
sudo yum install ./atlantic-x.y.z.noarch.rpm

After this driver will be installed.
(You can check this via "rpm -qa | grep -i atlantic")

4. Uninstall the driver:
Run the following commands:
sudo rpm -e atlantic-x.y.z.noarch

Check that the driver is working
------------------------------------------------------------

1. Verify ethernet interface appears:
ifconfig
or
ip addr show

If no new interface appears, check dmesg output.
If you see "Bad firmware detected" please update firmware on your ethernet card.

2. Assign an IP address to the interface by entering the following, where
x is the interface number:

Is this faq useful?

Your feedback helps improve this site.

From United States?

Get products, events and services for your region.