[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Kernel and Subsystems Technical Reference, Volume 2

Error Conditions for Serial DASD Subroutines

In addition to those errors listed, ioctl, open, read, and write subroutines against this device are not successful in the following circumstances:

EACCES Indicates that an attempt was made to open a device currently opened in Diagnostic mode.
EACCES Indicates that an attempt was made to open a diagnostic session on a device already opened.
EACCES Indicates that an attempt was made to open a device whose parent device is currently opened in Diagnostic mode.
EACCES Indicates that an attempt was made to open a diagnostic session on a device whose child devices are already opened.
EACCES Indicates that a diagnostic ioctl operation was attempted when the device was not in Diagnostic mode.
EACCES Indicates that a daemon ioctl operation was attempted by a process other than the RAS configuration daemon, or the adapter has not been opened by the daemon.
EBUSY Indicates that the target device is reserved by another initiator.
EBUSY Indicates that the other initiator may have outstanding requests queued to the device.
EBUSY Indicates that a device cannot be unconfigured if it is still in use.
EFAULT Indicates that a severe I/O error occurred during an adapter download.
EINVAL Indicates that the read or write subroutine supplied an nbyte parameter that is not an even multiple of the block size.
EINVAL Indicates that an unsupported ioctl operation was attempted.
EMEDIA Indicates that the target device has indicated an unrecovered media error.
ESOFT Indicates that the target device has indicated a recovered media error.
ENXIO Indicates that the ioctl subroutine supplied an invalid parameter.
ENXIO Indicates that a read or write command was attempted beyond the end of the disk.
EIO Indicates that the target device cannot be located or is not responding.
EIO Indicates that the target device has indicated an unrecovered hardware error.
EPERM Indicates that the attempted subroutine requires appropriate authority.
ETIMEDOUT Indicates that an ioctl operation timed out.
ENOMEM Indicates that there is insufficient memory to perform the request.
ECHILD Indicates that there are no more asynchronous events needing processing by the RAS configuration daemon.

Related Information

Serial DASD Subsystem Device Driver.

Device-dependent Subroutines for Serial DASD Operations.

Device-Dependent Subroutines for Serial DASD Controller Operations.

Device-Dependent Subroutines for Serial DASD Adapter Operations.

Reliability, Availability, and Serviceability (RAS) Daemon for the Serial DASD Subsystem.

SD Error Identifiers for the Error Log in AIX Problem Solving Guide and Reference.

The ioctl subroutine, open subroutine, read subroutine, write subroutine.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]