Using the init script – HP MSR Encryption Accelerators User Manual

Page 19

Advertising
background image

Software installation 19

NOTE:

The init script is part of the fio-sysvinit package, which must be installed before

you can enable the init script.

To disable this loading of the IO Accelerator driver, enter the following command:
$ chkconfig --del iomemory-vsl
To re-enable the driver loading in the init script, enter the following command:
$ chkconfig --add iomemory-vsl
For more details, see "Using the init script (on page

19

)".

Using udev
On systems that rely on udev to load drivers, if you want to prevent udev from auto-loading the IO

Accelerator at boot time, users must modify a drivers option file.
To modify the drivers option file:

1.

Locate and edit the /etc/modprobe.d/iomemory-vsl.conf file, which contains the following

line:
# blacklist iomemory-vsl

2.

To disable loading, remove the # from the line, and then save the file.

3.

Reboot Linux. The IO Accelerator will not load from udev.

4.

To restore the udev-loading of the IO Accelerator, replace the # to comment out the line.

CAUTION:

The version of udev on RHEL4u7/CentOS4u7 and earlier does not support the

blacklist directive. Even if the driver is blacklisted as documented, udev will load the driver. To

blacklist the driver in these versions, put the name of the driver on a separate line in the
/etc/hotplug/blacklist file.

For example: iomemory-vsl

Disabling the loading on either udev or init script systems
Users can disable the loading of the IO Accelerator driver at boot time on either udev or init script

systems. Disabling prevents the auto_attach process for diagnostic or troubleshooting purposes. To

disable or enable the auto_attach functionality, follow the steps in "Disabling auto_attach ("

Disabling

auto attach

" on page

38

)."

Alternatively, you can prevent the driver from loading by appending the following parameter at the kernel

command line of your boot loader:
iodrive=0
However, HP does not recommend this method, because it prevents the driver from functioning at all and limit
the amount of troubleshooting you can perform.

Using the init script

The installation process places an init script in the /etc/init.d/iomemory-vsl file. This script uses

the setting options found in the options file in /etc/sysconfig/iomemory-vsl. The options file must

have ENABLED set (non-zero) for the init script to be used:
ENABLED=1

Advertising