3 - updating the driver – HighPoint RocketRAID 2340 User Manual
Page 58
Linux Driver Support
5-8
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
3 - Updating the Driver
If you are not booting from disks attached to RocketRAID 2340 controller, you can
update the driver just by reinstalling it following the procedure outlined in the
previous section, “Installing the RocketRAID 2340 driver for an Existing System”.
If you are running the system installed to a disk or array attached to the RocketRAID
2340:
First, obtain the new driver module “rr2340.o”. Refer to the previous section
“Obtain the Driver Module”. In following steps, we assume it has been copied to
“/tmp/rr2340.o”.
Replace rr2340.o in the boot RAM disk image, /boot/initrd-xxx.img (where xxx is
the kernel version).
Example: (2.4.21-4.EL for Red Hat Enterprise Linux 3.0):
# gzip -dc /boot/initrd-xxx.img > /tmp/initrd.ext2
# mkdir /mnt/initrd # mount -o loop /tmp/initrd.ext2 /mnt/initrd
# cp /tmp/rr2340.o /mnt/initrd/lib/rr2340.o # 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 rr2340.o in /lib/modules:
# cp /tmp/rr2340.o /lib/modules/‘uname –r‘/kernel/drivers/scsi/rr2340.o
Reboot your system to allow the new driver take effect.