
• SuSE Linux Enterprise Server 11 SP3, SP4 (64-bit only)
To install the SmartPQI driver from source for SuSE OS images:
1.
Build the driver from the source using the following command:
$ sudo su
Note:
You must have administrator privileges to perform the installation steps.
2.
Install the following driver dependency packages and reboot the system if necessary:
# zypper install kernel-devel gcc make
3.
Extract the driver source code from the
source tgz
file by using the following command:
# tar –jxvf smartpqi-1.1.2-125.tar.bz2
4.
Compile the
smartpqi.ko
file by using the following command:
# cd smartpqi-1.1.2
# make -f Makefile.alt
Note:
After the compilation you will get a smartpqi.ko driver file, which is the driver module.
5.
Backup the already existing inbox driver.
# mv /lib/modules/`uname -r`/kernel/drivers/scsi/smartpqi/smartpqi.ko \
/lib/modules/`uname -r`/kernel/drivers/scsi/smartpqi/smartpqi.ko.org
6.
Copy the kernel driver file to the destination by using the following command:
# cp ./smartpqi.ko /lib/modules/`uname -r`/kernel/drivers/scsi/smartpqi
7.
Use the following command to rebuild initramfs process with the newly installed smartpqi driver:
# mkinitrd -v –m smartpqi
Note:
SLES provides mkinitrd command to place the newly installed smartpqi.ko driver modules into the
initramfs file to include them in the Linux kernel.
8.
Reboot the system to load the new initramfs, which will contain the newly installed smartpqi.ko driver.
10.2
Using the Installation DVD as the Repository
Follow the instructions in this section to install the packages required to compile the driver modules using the OS
installation DVD as the repository. In these procedures, the DVD is used as the package repository.
Installing Packages on a RHEL-based OS
The following steps install the packages required to compile the driver modules from source on a RHEL-based OS.
1.
Execute the following command to become a super user to edit and make changes to various system files:
$ sudo -i
Note:
Super user rights are required to edit and make changes in various system files.
2.
Get the name of the installation DVD entry in
/dev
directory. The DVD is visible as
/dev/srX
. Use the
following command to list all the scsi devices on the system.
# lsscsi
3.
Once the DVD name is confirmed, create a location to mount the DVD, for example:
# mkdir /media/iso
4.
Mount the DVD to the
/media/iso
directory by using the following command:
/dev/srX /media/iso udf,iso9660 noauto,user,ro 0 0
5.
Use the following command to mount the DVD, once the entry is placed in
/etc/fstab
:
# mount /dev/srX
Installing the SmartPQI Drivers from Source
©
2022 Microchip Technology Inc.
and its subsidiaries
User Guide
DS00004281C-page 52