beautypg.com

5 - uninstalling the driver – HighPoint RocketRAID 3510 User Manual

Page 61

background image

Linux Driver Support

6-8

First, obtain the new driver module “hptiop_00.ko”. Refer to the previous section “Ob-

tain the Driver Module”. In following steps, we assume it has been copied to “/tmp/

hptiop_00.ko”.

Replace hptiop_00.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/hptiop_00.ko /mnt/initrd/lib/hptiop_00.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 hptiop_00.ko in /lib/modules:

# cp /tmp/hptiop_00.ko /lib/modules/‘uname –r‘/kernel/drivers/scsi/hptiop_00.ko

Reboot your system to allow the new driver take effect.

5 - Uninstalling the Driver

To uninstall the RocketRAID 3xxx driver

Note: The driver cannot be uninstalled while the system is booted from a disk or array

attached to the RocketRAID host adapter.

To uninstall the driver, remove the lines added to /etc/fstab, and remove the files created

in the /etc/init.d directory.

This manual is related to the following products: