beautypg.com

Avago Technologies MegaRAID SAS 9240-4i User Manual

Page 59

background image

LSI Corporation

- 59 -

MegaRAID SAS Device Driver Installation User Guide

June 2014

Debian Driver Installation

Installing the MegaRAID 92xx Driver on a Debian System that Boots from a System Drive

10.2

Installing the MegaRAID 92xx Driver on a Debian System that Boots from a
System Drive

Perform the following steps to install the MegaRAID 92xx driver on a Debian system that boots from a system drive.

1.

Open a terminal, and then type the following command and press Enter.

# cp /lib/modules/2.6.32-5-amd64/kernel/drivers/scsi/megaraid/megaraid_sas.ko

/tmp

2.

Insert the USB flash and mount your USB flash drive.

3.

Type the following commands and then press Enter.

NOTE

The system should detect the USB flash as:

scsi device /dev/sdb


To check for SCSI devices, type the following command:

dmesg | grep sd

.

# mkdir /mnt2 /lsi

# mount -t vfat /dev/sdb1 /mnt2

# cp /mnt2/megaraid-6.18-deb6-2.6.32.tgz /lsi

# cd /lsi ; tar zxvf megaraid*

# cp 2.6.32-5-amd64/x86_64/megaraid_sas.ko /lib/modules/2.6.32-5-amd64/kernel/

drivers/scsi/megaraid

# /sbin/depmod -a 2.6.32-5-amd64

# update-initramfs -u -v -k 2.6.32-5-amd64

4.

Reboot your system.

10.3

Installing the Driver in a Debian 6.0 or Debian 7.0 System

You can install the device driver in a new Debian 6.0 and Debian 7.0 system from the .deb package, which contains
the executables, configuration files, libraries, and documentation in a Debian archive file.

Perform the procedures in this section if the Debian OS boots from a device that is not managed by a MegaRAID
controller, but in which the MegaRAID controller is or will be present on the system and used for managing
secondary storage.

For secondary storage, the driver must be added to the system; the driver is not in-box. The Debian 6.0 OS uses the
Debian file format for OS components, and LSI provides the MegaRAID driver in this file format.

See

Section 5.1, Installing the Driver in a New Ubuntu Linux LTS OS

, and follow the instructions to install the device

driver in a new Debian 6.0 or Debian 7.0 OS.