Rpm drive package
1.Log in to the server system with administrator privileges and upload the driver files to the xxx directory of the system (using the home directory as an example below).
2.Open the command line terminal and enter the following command (using RHEL9.0 as an example);
Driver installation command: rpm -ivh /home/<name>.rpm (where<name>is the file name of the rpm installation package)
Driver update command: rpm -Uvh /home/<name>.rpm (where<name>is the rpm installation package file name)
3.After the command execution is completed, the system needs to be restarted to make the driver package effective.
4.After restarting and entering the system, open the command line terminal and execute the cat/sys/module/<name>/version (Here<name>see Driver submodule information table - Module name) command to confirm that the driver version of the array card is already the target driver version. If the version is the target version, it means that the new driver installation is successful.
(Note: Before installing the driver in Suse OS, check whether the third-party module support option is enabled: check the /etc/modprobe.d/unsupported-modules configuration file to ensure that allow_unsupported_modules option is set to 1.)
Deb drive package
1.Log in to the server system with administrator privileges and upload the driver files to the xxx directory of the system (using the home directory as an example below).
2.Ensure that the target server operating system has installed build essential and dkms software packages. You can query the installed software packages of the current operating system through dpkg -l. If there are no results from the query, you can try installing as follows (using Ubuntu 20.04 as an example):
a)Configure local or network apt sources;
b)Enter the following command to install:
# sudo apt-get update
# sudo apt-get install build-essential
# sudo apt-get install dkms
3.Execute the driver package installation command:
#sudo dpkg -i /root/<name>.deb (where<name>is the file name of the deb installation package).
4.After the command execution is completed, the system needs to be restarted to make the driver package effective.
5.After restarting and entering the system, open the command line terminal and execute the cat/sys/module/<name>/version (Here<name>see Driver submodule information table - Module name) command to confirm the driver version of the array card. If the version is the target version, it means that the new driver has been successfully installed.
Src driver source code package
1.Log in to the server system with administrator privileges and upload the driver files to the xxx directory of the system (using the home directory as an example below).
2.Open the command line terminal and upload the src.zip compressed package to the system;
3.Use the command to unzip: unzip src.zip.
4.Unzip and enter the kmod_srpm directory.
5.Grant executable permissions to the kmod xxx.src.rpm package, using the command:rpmbuild --rebuild kmod-xxx.src.rpm.
6.Enter /root/rpmbuild/RPMS/x86_64 directory.
7.Place the compiled kmod-mpt3sas-xxx.x86_64.rpm package in the system root directory.
(Note: Remember to drag the compiled driver package locally in a timely manner for saving and archiving)
8.Enter the root directory and use the following command to install the driver package: rpm -ivh kmod-mpt3sas-xxx.x86_64.rpm.
9.After the command execution is completed, the system needs to be restarted to make the driver package effective.
10.After restarting and entering the system, open the command line terminal and execute the cat/sys/module/<name>/version (Here<name>see Driver submodule information table - Module name) command to confirm the driver version of the array card. If the version is the target version, it means that the new driver has been successfully installed.
Dd driver package
1.The above update method is for regular OS, and if the array card cannot be recognized during installation, the driver shall be installed first following the steps below.
2.Provide the dd.iso corresponding to the OS in the current driver folder and mount it in KVM.
3.Start OS boot and when entering the selection menu, press e to enter grub.
Redhat, CenOS, ORCL Linux series systems: Add "Linux dd" at the end of the linuxefi... line and press Ctrl+x to start booting.
Suse series systems: Add "dud=1" at the end of the linuxefi... line, and press Ctrl+x to start booting.
4.After entering, you will first select the path where the driver is located, select the mount media menu option, press the space to select, press c to continue, and follow the prompts to continue the operation. After entering, you can install the OS.
5.After the OS installation is completed, there is no need to reinstall the driver. If you need to update the driver, follow the update method under the OS mentioned above.