Q-Logic IB6054601-00 D Switch User Manual


 
C – Troubleshooting
Useful Programs and Files for Debugging
C-34 IB6054601-00 D
Q
--workdir=DIR
Use DIR to hold intermediate files created while running tests. DIR must not already
exist.
-k, --keep
Keep intermediate files that were created while performing tests and compiling
reports. Results will be saved in a directory created by mktemp and named
infinipath_XXXXXX or in the directory name given to --workdir.
--skip=LIST
Skip the tests in LIST (e.g. --skip=2,4,5,7 will skip tests 2, 4, 5, and 7)
-d, --debug
Turn on -x and -v flags in bash.
In most cases of failure, the script suggests recommended actions. Please see the
ipath_checkout
man page for further information and updates.
C.9.9
ipath_control
This is a shell script that can be used to manipulate various parameters for the
InfiniPath driver. Many of them are intended to be used only when diagnosing
problems, and may require special system configurations. Use of the options may
require restarting the driver or utility programs in order to recover from incorrect
parameters.
Most of the functionality is accessed via the
/sys filesystem. This shell script gathers
the same information contained in these files:
/sys/bus/pci/drivers/ib_ipath/00/boardversion
/sys/bus/pci/drivers/ib_ipath/00/status_str
/sys/bus/pci/drivers/ib_ipath/version
These files are also documented in table C-2 and table C-3.
Other than the
-i option, this script will need to be run with root permissions. The
-i option is listed here, as it is the most commonly used. See the man pages for
ipath_control for more details.
Here is sample usage and output:
$ ipath_control -i
$Id: QLogic Release2.0 $ $Date: 2006-09-15-04:16 $
00: Version: Driver 2.0, InfiniPath_QHT7140, InfiniPath1 3.2, PCI
2, SW Compat 2
00: Status: 0xe1 Initted Present IB_link_up IB_configured