Checking the OS and Environment
Table 1-3 and Table 1-4 list the OSs and kernels required by the software packages.
Hardware |
Host OS Version |
Default Host OS Kernel Version in a Software Package |
GCC Version |
---|---|---|---|
x86_64+Atlas 300T 9000 |
Debian 9.9 |
4.9.0-9-amd64 |
6.3.0 |
x86_64+Atlas 300T (model 9000) |
CentOS 7.6 |
3.10.0-957.el7 |
- |
x86_64+Atlas 300T (model 9000) |
Ubuntu 18.04 |
4.15.0-45-generic NOTE:
If the kernel version does not match the OS version, install Dynamic Kernel Module Support (DKMS) first. For details about how to install DKMS, see Driver Source Code Compilation. |
7.5.0 |
AArch_64+Atlas 300T (model 9000) |
CentOS 7.6 |
4.14.0 |
- |
AArch_64+Atlas 300T (model 9000) |
EulerOS 2.8 |
4.19 |
7.3.0 |
AArch_64+Atlas 300T (model 9000) |
Ubuntu 18.04 |
4.15.0-45-generic NOTE:
If the kernel version does not match the OS version, install DKMS first. For details about how to install DKMS, see Driver Source Code Compilation. |
7.4.0 |
Hardware |
Host OS Version |
Default Host OS Kernel Version in a Software Package |
GCC Version |
---|---|---|---|
x86_64+Atlas 300T 9000 |
CentOS 8.2 |
4.18.X NOTE:
Upgrading to 5.6.14 is supported. |
8.3.1 |
aarch_64+Atlas 300T 9000 |
CentOS 8.2 |
4.18.X NOTE:
Upgrading to 5.6.14 is supported. |
8.3.1 |
AArch_64+Atlas 300T (model 9000) |
Kylin V10 SP1 NOTE:
Kylin V10 SP1 is supported only by 21.0.rc1 or later. |
4.19.90-17.ky10.aarch64 |
8.3.1-4.5 |
Checking the Linux OS Version
Run the uname -m && cat /etc/*release command to query the OS version and architecture.
The OS version and architecture must comply with Table 1-3 or Table 1-4.
Checking Special Items Before Installing a General Driver Package
- Run the make -v command to check whether the Make tool has been installed. If the Make version is displayed, Make has been installed.
- Check whether one of the following conditions has been met.
- Installation dependencies such as DKMS have been installed in the system. For details, see Driver Source Code Compilation.
- Run the ls /lib/modules/`uname -r`/build command to check whether the default kernel source code path /lib/modules/`uname -r`/build exists.
- If it exists, the kernel is automatically used for driver compilation.
- If it does not exist, you can provide the source code path during installation. For details, see 5.
- For CentOS 8.2+x86, run the rpm -qa | grep elfutils-libelf-devel command to check whether elfutils-libelf-devel has been installed. If its information is displayed, elfutils-libelf-devel has been installed.
Checking the Linux OS Kernel Version
Run the uname -r command to query the kernel version of the host OS.
- If the binary driver package is used for installation, the kernel version of the current host OS must be the same as that required in Table 1-3. If the kernel versions are inconsistent, use either of the following methods:
- Recompile the source code. For details, see Driver Source Code Compilation.
- Check whether the software package has been installed by referring to Checking Whether the Software Packages Have Been Installed in the Operating Environment. If no, update the system kernel. If yes, uninstall the software package and then update the kernel.
- If the general driver package is used for installation, the kernel version of the current host OS must be the same as that required in Table 1-4. Otherwise, the driver package may fail to be installed or functions may be affected.
Checking Whether the Software Packages Have Been Installed in the Operating Environment
Before updating the system kernel, ensure that no software package is installed in the current system. Otherwise, the software packages fail to be started after the kernel is upgraded. If this problem occurs, resolve the problem. For details, see Software Package Unavailable. Run the lsmod|grep drv command to check whether the software packages have been installed.
- If no information is output, no software package has been installed. You can directly upgrade the kernel.
- If software information is output, software packages have been installed. In this case, uninstall the software packages and upgrade the system kernel version. For details, see Uninstalling the Driver and Firmware.