AOC-USAS-L8i Add-on Card User’s Manual
9-2
WinPE – CFGGEN runs in Windows Pre-Installation Environment (WinPE) and is
statically compiled with the LSI MptLib Library (MptLib.lib). The WinPE environment
must have the appropriate LSI MPT Windows driver (Miniport or Storport) installed
and loaded in order to recognize and communicate with the I/O controller.
9-2 CFGGEN Interface Description
CFGGEN uses a command line interface. Commands are formatted as follows:
cfggen <controller #> <command> <parameters>
The program name, controller number, command, and parameters fields must be
separated by the ASCII space character. The parameter format is command specific, as
described in "CFGGEN Commands" below.
Information is passed between the user environment and CFGGEN via the command
line, the standard output and standard error interfaces, and the program return value.
The user can redirect the output streams. The return value is generated when the
program exits. A value of 0 is returned if the command is successful. Otherwise, a value
of 1 is returned.
9-3 CFGGEN Commands
CFGGEN has the following commands:
• CREATE
DEFAULTS (called DELETE in the EFI version)
• DISPLAY
•FORMAT
• HOTSPARE
•STATUS
SETOFFLINE (DOS, Linux, and WinPE versions only)
SETONLINE (DOS, Linux, and WinPE versions only)
AUTO (EFI version only)
DISABLEIR (EFI version only)
ENABLEIR (EFI version only)
LIST (EFI version only)
CFGGEN is not case sensitive. You can type CFGGEN commands and parameters in
uppercase, lowercase, or a mixture of the two.
The following conventions are used in the command descriptions:
•Text in italics must be entered exactly as shown on the command line.
WARNING: The modules mptbase.o, mptscsih.o and mptctl.o must be loaded
into the Linux kernel before CFGGEN will function correctly. They can be loaded
using the Linux modprobe command.