vAn attempt was made to open an SSAphysical device that has already
been opened by another process.
vThe target device is reserved by another initiator.
EFAULTIllegal user address.
EINVAL Oneof the following circumstances has occurred:
vThe read or write subroutine supplied an nbyte parameter that is not an
even multiple of the block size.
vThe data buffer length exceeded the maximum length that is defined in the
devinfo structure for an ioctl subroutine operation.
vThe openext subroutine supplied a combination of extension flags that has
no support.
vAn ioctl subroutine operation that has no support was attempted.
vAn attempt was made to configure a device that is still open.
vAn illegal configuration command has been given.
vThe data buffer length exceeded the maximum length that is defined for a
strategy operation.
EIO One of the following conditions has occurred:
vThe target device cannot be located or is not responding.
vThe target device has indicated an unrecovered hardware error.
ESOFT The target device has reported a recoverable media error.
EMEDIAThe target device has found an unrecovered media error.
ENODEV
One of the following conditions has occurred:
vAn attempt was made to access a device that is not defined.
vAn attempt was made to close a device that is not defined.
ENOTREADY
An attempt was made to open an SSAphysical device in Service mode while
an SSAlogical device that uses it was in use.
ENXIO One of the following conditions has occurred:
vThe ioctl subroutine supplied a parameter that is not valid.
vThe openext subroutine supplied extension flags that selected a
non-existent or nonfunctional adapter path.
vAread or write operation was attempted beyond the end of the fixed disk
drive.
EPERM The attempted subroutine requires appropriate authority.
ENOCONNECT
The using system has been fenced out from access to this device.
Chapter13. Using the Programming Interface 275