4 - updating the driver – HighPoint RocketRAID 2522 User Manual
Page 57
Linux Driver Support
For example, add the following line to tell the system to mount /dev/sda1 to location /
mnt/raid after startup:
/dev/sda1 /mnt/raid ext2 defaults 0 0
4 - Updating the Driver
If you are not booting from disks attached to RocketRAID host adapter, you can
update the driver just by reinstalling it following the procedure outlined in the
previous section, “Installing the RocketRAID driver for an Existing System”.
If you are running the system installed to a disk or array attached to the RocketRAID
host adapter:
First, obtain the new driver module “rr2522.ko”. Refer to the previous section
“Obtain the Driver Module”. In following steps, we assume it has been
copied to “/tmp/rr2522.ko”.
Replace rr2522.ko in the boot RAM disk image, /boot/initrd-xxx.img (where xxx is
the kernel version).
Example:
# gzip -dc /boot/initrd-xxx.img > /tmp/initrd.ext2
# mkdir /mnt/initrd
# mount -o loop /tmp/initrd.ext2 /mnt/initrd
# cp /tmp/rr2522.ko /mnt/initrd/lib/rr2522.ko
# umount /mnt/initrd
# gzip -c /tmp/initrd.ext2 > /boot/initrd-xxx.img
If you are using lilo to boot the system, use “lilo” to reinstall the RAM disk:
# lilo
Update rr2522.ko in /lib/modules:
# cp /tmp/rr2522.ko /lib/modules/‘uname –r‘/kernel/drivers/scsi/rr2522.ko
Reboot your system to allow the new driver take effect.
5-8