General error codes

The following codes apply to all operations.
[EBUSY] An excessively busy state was encountered in the device.
[EFAULT] A memory failure occurred due to an invalid pointer or address.
[EIO] An error due to one of the following conditions:
  • An unrecoverable media error was detected by the device.
  • The device was not ready for operation or a tape was not in the drive.
  • The device did not respond to SCSI selection.
  • A bad file descriptor was passed to the device.
[ENOMEM] Insufficient memory was available for an internal memory operation.
[ENXIO] The device was not configured and is not receiving requests.
[EPERM] The process does not have permission to run the desired function.
[ETIMEDOUT] A command timed out in the device.