One-time configuration, Persistent configuration, Controlling driver loading – HP PCIe IO Accelerators for ProLiant Servers User Manual

Page 25: Using the init scripts

Advertising
background image

Linux environments 25

Module parameter

Default (min/max)

Description

force_minimal_mode

False

Force minimal mode on the device.

parallel_attach

True

Enable parallel attach of multiple drivers.

preallocate_memory

False

For the selected device, pre-allocate all
memory necessary to have the drive usable as

swap space.

tintr_hw_wait

0 (0, 255)

Interval (microseconds) to wait between
hardware interrupts.

use_workqueue

3 (1 or 3)

Linux only: 3 = Uses standard OS interfaces
such as the page cache layer and I/O

elevators; 0 = Bypasses these standard OS

interfaces.

One-time configuration

The IO Accelerator driver options can be set when the driver is installed on the command line of either
insmod or modprobe. For example, to set the auto_attach driver option to 0, run the command:
$ modprobe iomemory_vsl auto-attach=0
This option takes effect only for this load of this driver. This option is not set for subsequent calls to
modprobe or insmod.

Persistent configuration

To maintain a persistent setting for an option, add the option to the
/etc/modprobe.d/iomemory_vsl.conf file or a similar file. To prevent the IO Accelerator from

auto-attaching, add the following line to the iomemory_vsl.conf file:
options iomemory_vsl auto_attach=0
The driver option then takes effect for every subsequent driver load, as well as on autoload of the driver

during boot time.

Controlling driver loading

You can control driver loading either through the init script or through udev.
In newer Linux distributions, users can rely on the udev device manager to automatically find and load

drivers for their installed hardware at boot time. For older Linux distributions without this functionality,

users must rely on a boot time init script to load needed drivers. HP provides an init script in
/etc/init.d/iomemory-vsl to load the IO Accelerator driver in RHEL4 and SLES10 distributions.

Using the init scripts

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

contains documentation for the various settings. For more information on the mounts setting, see

"Mounting filesystems (on page

26

)." For more information on the kill_procs_on_unmount setting,

see "Driver unloads (on page

26

)."

Advertising