beautypg.com

Chapter 10: debian driver installation, Chapter 10 – Avago Technologies MegaRAID SAS 9240-4i User Manual

Page 44

background image

LSI Corporation

- 44 -

MegaRAID SAS Device Driver Installation User Guide

December 2012

Chapter 10: Debian Driver Installation

Installing the MegaRAID 92xx Driver on Storage Managed by a MegaRAID Controller

Chapter 10: Debian Driver Installation

This chapter describes how to install the device driver in Debian® 6.0 x64 OS systems.

10.1

Installing the MegaRAID 92

xx Driver on Storage Managed by a MegaRAID

Controller

Perform the following steps to install the LSI MegaRAID 92xx driver while you install the Debian Squeeze 6.0 64-bit OS.

1.

Copy the drivers (megaraid-6.18-deb6-2.6.32.tgz) to a USB flash.

2.

Boot from the Debian installation CD1 and select Install.

3.

Press Ctrl+Alt+F2 to switch to console2 when the language screen appears.

4.

Type the following commands and then press Enter.

# mkdir /mnt2 /lsi

# mount -t vfat /dev/sda1 /mnt2

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

# cd /lsi ; tar zxvf megaraid*

# umount /mnt2

# insmod 2.6.32-5-amd64/x86_64/megaraid_sas.ko

5.

Press Ctrl+Alt+F1 to return to the installer, and continue the normal installation procedure.

Do not reboot after the installation is complete.

6.

Press Ctrl+Alt+F2 to switch to console 2 again.

7.

Type the following commands and then press Enter:

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

amd64/kernel/drivers/scsi/megaraid

# chroot /target

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

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

# exit

8.

Press Ctrl+Alt+F1 to return to the installer screen.

9.

Reboot to complete the installation.

NOTE The system should detect the USB flash as scsi device /dev/sda1. To check for SCSI devices,
type the following command and press Enter: dmesg | grep sd.

NOTE Make sure that you remove the USB flash drive before you execute the insmod command.