27.12.2014 Views

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

I–Useful Programs and Files<br />

Summary and Descriptions of Useful Programs<br />

Table I-2. ipath_checkout Options (Continued)<br />

Command<br />

-k, --keep<br />

--workdir=DIR<br />

--run=LIST<br />

--skip=LIST<br />

-d, --debug<br />

Meaning<br />

This option keeps intermediate files that were created while<br />

performing tests and compiling reports. Results are saved in<br />

a directory created by mktemp and named<br />

infinipath_XXXXXX or in the directory name given to<br />

--workdir.<br />

Use DIR to hold intermediate files created while running<br />

tests. DIR must not already exist.<br />

This option runs only the tests in LIST. See the seven tests<br />

listed previously. For example, --run=123 will run only<br />

tests 1, 2, and 3.<br />

This option skips the tests in LIST. See the seven tests listed<br />

previously. For example, --skip=2457 will skip tests 2, 4,<br />

5, and 7.<br />

This option turns on the -x and -v flags in bash(1).<br />

ipath_control<br />

In most cases of failure, the script suggests recommended actions. Also refer to<br />

the ipath_checkout man page.<br />

The ipath_control tool is a shell script that manipulates various parameters<br />

for the InfiniPath driver. It is installed from the infinipath RPM. Many of the<br />

parameters are used only when diagnosing problems, and may require special<br />

system configurations. Using these options may require restarting the driver or<br />

utility programs to recover from incorrect parameters.<br />

Most of the functionality is accessed via the /sys filesystem. This shell script<br />

gathers the same information contained in these files:<br />

/sys/class/infiniband/qib0/device/boardversion<br />

/sys/class/infiniband/qib0/ports/1/linkcontrol/status_str<br />

/sys/class/infiniband/qib0/device/driver/version<br />

These files are also documented in Table I-4 and Table I-5.<br />

Other than the -i option, this script must be run with root permissions. See the<br />

man pages for ipath_control for more details.<br />

I-12 D000046-005 B

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!