Avago Technologies MegaRAID SAS 9341-4i User Manual

Page 29

Advertising
background image

Avago Technologies

- 29 -

MegaRAID SAS Device Driver Installation User Guide
June 2015

SuSE Linux Enterprise Server (SLES) Driver Installation

Uninstalling the SuSE Linux Enterprise Server Driver

# cd sles11/rpms-1

# rpm -ivh
lsi-megaraid_sas-kmp-default-06.602.03.00_sles11sp2-1.x86_64.rpm

NOTE

You must select the correct RPM from the available bundled RPMs.
Otherwise, you will see an RPM installed, but it will be for a different
kernel version.

e.

For SLES12, architecture = x86_64 flavor = default, type the following commands and press Enter:

# cd sles12/rpms-1

# rpm -ivh lsi-megaraid_sas-kmp-default-06.602.03.00_sles12-1.x86_64.rpm

4.

Reboot the system to load the driver.

4.2.2

Installing or Updating the Driver by Using the DKMS RPMs

Perform the following steps to install or update to the latest version of the SLES system driver by using the DKMS RPMs.
In this example, the driver version is 06.602.03.00-1.

NOTE

This DKMS packaging is provided only for SLES10(x86_64) and
SLES11(x86_64) pre-compiled binaries.

1.

Extract the packaging from the Linux system by typing the following commands and pressing Enter:

# tar -zxvf megaraid_sas-release.tar.gz
# cd dkms-1
# tar -zxvf megaraid_sas-06.602.03.00-1.dkms.tar.gz

2.

Install the DKMS framework by typing the following commands and pressing Enter:

# rpm -ivh dkms-2.0.2.21.1-1.noarch.rpminstall DKMS rpm
# rpm -ivh megaraid_sas-06.602.03.00-1dkms.noarch.rpm

3.

Reboot to load the driver with the newer version by typing the following command and pressing Enter:

# reboot

4.3

Uninstalling the SuSE Linux Enterprise Server Driver

NOTE

When you uninstall the existing version of the driver, the driver rolls
back to previous version of the driver.

Perform the following steps to uninstall the <kmod> RPM. In this example, the driver version is 06.602.03.00.

1.

Type the following command and press Enter:

# rpm -qa | grep megaraid_sas

2.

Find the string that contains the text megaraid_sas, and copy the string.

3.

Type the following commands and press Enter:

# rpm -e megaraid_sas-06.602.03.00-1-sles10

# reboot

Advertising