General Troubleshooting - Hitachi VSP F1500 User And Reference Manual

Command control interface guide
Hide thumbs Also See for VSP F1500:
Table of Contents

Advertisement

General troubleshooting

If you have a problem with the CCI software, first make sure that the
problem is not being caused by the UNIX/PC server hardware or software,
and try restarting the server.
Problem
Deprecated
SCSI ioctl
The following
message is
output to syslog
file(/var/log/
messages) with
every ioctl():
program
horcmgr is
using a
deprecated
SCSI ioctl,
please convert
it to SG_IO
CCI cannot be
started because
horcmstart
command fails
9-2
CCI currently uses the ioctl(SCSI_IOCTL_SEND_COMMAND) for
sending the control command to the command device. However, in
RHEL 4.0 using kernel 2.6.9.xx, the following message is output to
syslog file(/var/log/messages) with every ioctl():
program horcmgr is using a deprecated SCSI ioctl, please
convert it to SG_IO
This can originate from the following kernel code in drivers/scsi/
scsi_ioctl.c as way of warning that ioctl(SCSI_IOCTL_...) of kernel
2.6.9.xx does not properly handle an error of the HBA driver.
--------------------------------------------------------------
--------
/* Check for deprecated ioctls ... all the ioctls that do not
follow
the new unique numbering scheme are deprecated */
switch (cmd) {
case SCSI_IOCTL_SEND_COMMAND:
case SCSI_IOCTL_TEST_UNIT_READY:
case SCSI_IOCTL_BENCHMARK_COMMAND:
case SCSI_IOCTL_SYNC:
case SCSI_IOCTL_START_UNIT:
case SCSI_IOCTL_STOP_UNIT:
printk(KERN_WARNING "program %s is using a
deprecated SCSI "
current->comm);
--------------------------------------------------------------
-------
Thus, CCI supports a way to change to the ioctl(SG_IO)
automatically, if Linux kernel supports the ioctl(SG_IO) for horcmgr
and inqraid command. However, CCI might encounter Linux kernel
that does not support the ioctl(SG_IO) fully, so CCI also supports by
defining either following environment variable or "/HORCM/etc/
USE_OLD_IOCTL" file(size=0) that uses the
ioctl(SCSI_IOCTL_SEND_COMMAND) forcibly. For example:
export USE_OLD_IOCTL=1
horcmstart.sh 10
HORCM/etc:
-rw-r--r--
1 root root
-r--r--r--
1 root sys
-r-xr--r--
1 root sys
If you have changed the configuration definition file settings: make
sure that the configuration definition file you changed is correct.
If you have changed the settings of the storage system: make sure
that the settings you changed are correct, and if necessary, change
the configuration definition file settings.
Even if there are no problems in these files and settings, but if you
cannot run CCI, get all log files under the specified directory by
Troubleshooting
Command Control Interface User and Reference Guide
Recommended action
"ioctl, please convert it to SG_IO\n",
0 Nov 11 11:12 USE_OLD_IOCTL
32651 Nov 10 20:02 horcm.conf
282713 Nov 10 20:02 horcmgr

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents