beautypg.com

Avago Technologies 3ware SAS 9750-16i4e User Manual

Page 328

background image

Appendix B. Driver and Software Installation

316

3ware SATA+SAS RAID Controller Card Software User Guide, Version 10.2

4

For 2.6 Kernels, add the following line to

/etc/modprobe.conf

alias scsi_hostadapter 3w-sas

5

Update the

modules.dep

file, by issuing the following command:

/sbin/depmod -a

6

Run mkinitrd by entering the following:

/sbin/mkinitrd -v -f /boot/initrd-

.img

where is the /lib/modules directory from which to copy
the 3w-sas driver.

Example:

/sbin/mkinitrd -v -f /boot/initrd-2.6.18-14.img 2.6.18-14

7

If you are using the GRUB boot loader, skip to Step 8.

If you are using the LILO boot loader, run LILO to update the boot record
on disk by typing the following:

/sbin/lilo

The output should be similar to:

Added linux *

8

Reboot.

The 3ware kernel driver module will be loaded from the ram disk
automatically at boot time.

To install the 3ware kernel driver module and load the module
manually instead of using a RAM disk

1

Log in as root and open a console window.

2

Mount the CD which contains the 3ware kernel driver module.

To mount the CD, type:

mount /dev/cdrom /mnt

and press Enter.

3

Copy the kernel driver module.

For Redhat Linux on Intel x86 and AMD x86, type:

cp /mnt/packages/drivers/linux/redhat/

/x86/

3w-sas. /lib/modules/

/kernel/

drivers/scsi/3w-sas.ko

For Fedora Core on Intel x86 and AMD x86, type:

cp /mnt/packages/drivers/linux/fedora/

/x86/

3w-sas. /lib/modules/

/

kernel/drivers/scsi/3w-sas.ko

If prompted to overwrite, type

y

.