POWER7 information
iSCSI TOE protocol driver error log detail (ISCSI_ERR template)
Learn about the error log entries made by the iSCSI protocol driver.
- Table 1 shows the detail sense data layout.
- Table 2 shows the detail sense data descriptions.
- Table 3 shows the error number values.
AAAA AAAA is the general error field.
|
| Data | Description |
|---|---|
| X | Device type ID. X value of 0 indicates Qlogic iSCSI protocol driver. |
| V | Valid length of detail. |
| A | Determined by the adapter driver based on the error. |
| B | Return code from either the adapter driver output routine or control function. |
| C | Discovery policy. Possible
values:
|
| H | Type of data in the error
log. Possible values:
|
| Y | Status value of the control element returned by the adapter driver. |
| T | Time-out value of command. |
| L | Lun id to which this request was issued |
| I | This value is the 128-bit IP address of this adapter. |
| E | This value is the 128-bit IP address of the device to which this command was sent. |
| Q | The iSCSI CDB that failed. |
| Z | Additional CDB |
| R | These values are reserved for future use. |
| N | Target name |
| J | If the type of data is IOCB, then is the failed command IOCB |
| T | If the type of data is IOCB, this is the reply IOCB |
| D | DSD array for this command |
| G | This is used for the first 72 bytes of autosense |
| M | Bus real address of SCSI CDB |
| P | Bus real address of Auto sense buffer |
| K | Bus real address of DSD list |
| U | scsi_buf version |
| W | q_tag_msg |
| S | cmd_type |
| 1 | Variable CDB len |
| 2 | Port Number |
| 3 | num_start_LUNs for this target |
| F | This is used for the address of the failing scsi_info structure. |
| P | Port Number |
| G | Time out value |
| U | Number of remaining active commands for this device if it is LUN specific |
| S | Qstate if command is to a specific LUN |
| N | First 242 bytes of the the iSCSI name of the target. |
| M | Target State if applicable |
| P | Open count since device configured |
| 2 | Preempt count for fairness |
| 3 | Flags from target |
| 4 | Adapter specific stats from ndd_specstats: CRC |
| 5 | transmit data in megabytes since opened |
| 6 | received data in megabytes since opened |
| 7 | Number of writes since opened |
| 8 | Number of reads since opened |
| 9 | Number of nondata requests since opened |
| # | Number of times a request was not sent because no command elements |
| % | lbolt when last opened |
| * | lbolt of current request |
| Error Number | Error Template | Description of Error |
|---|---|---|
| 0x1 | ISCSI_ERR4 | Command Time-out in SCIOLINQU. dev_info information is included. |
| 0x2 | ISCSI_ERR4 | Command Time-out in SCIOLSTUNIT. dev_info information is included. |
| 0x3 | ISCSI_ERR4 | Command Time-out in Test Unit Ready IOCTL. dev_info information is included. |
| 0x4 | ISCSI_ERR4 | Command Time-out in Read Block Ioctl. dev_info information is included. |
| 0x5 | ISCSI_ERR6 | SCIOLNMSRV control request to the adapter driver failed |
| 0x6 | ISCSI_ERR6 | SCIOLSTART failed since target IP address or iSCSI name is the same as this adapter. |
| 0x7 | ISCSI_ERR6 | Trace table failed to allocate |
| 0x8 | ISCSI_ERR6 | size of SCIOLNMSRV is not multiple of word. |
| 0x10 | ISCSI_ERR13 | Only logged when debug is turned on . An LUN reset (SCIOLRESET) ioctl call failed with EINVAL, most likely because LUN reset is not supported for this device, so a target reset was issued instead. |
| 0x11 | ISCSI_ERR6 | Invalid kernext handle passed to strategy. |
| 0x12 | ISCSI_ERR6 | Version 0 scsi_buf or no kernext handle passed to strategy |
| 0x13 | ISCSI_ERR6 | SC_DEV_RESTART received but has a scsi command in it. |
| 0x14 | ISCSI_ERR6 | Only logged when debug is turned on. An unexpected SC_Q_CLR was received |
| 0x15 | ISCSI_ERR6 | Only logged when debug is turned on. A SC_DEV_RESTART command was received. |
| 0x16 | ISCSI_ERR6 | Only logged when debug is turned on . A SC_TARGET_RESET command was received |
| 0x17 | ISCSI_ERR6 | Only logged when debug is turned on . A SC_LUN_RESET command was received |
| 0x18 | ISCSI_ERR6 | An invalid scsi_buf was received in the strategy routine. |
| 0x19 | ISCSI_ERR6 | A SCSI Command with no command length is about to be issued. |
| 0x1A | ISCSI_ERR6 | Invalid control element received from adapter driver. |
| 0x1B | ISCSI_ERR6 | Invalid IOCB entry type for control element completion. |
| 0x1C | ISCSI_ERR6 | Unknown unsolicited IOCB received. |
| 0x1D | ISCSI_ERR6 | Control element received from adapter driver, but is not active. cmd included. |
| 0x1E | ISCSI_ERR6 | Unknown mailbox command completion received. |
| 0x1F | ISCSI_ERR6 | Processing completion of marker command but invalid IOCB or target. |
| 0x20 | ISCSI_ERR6 | Timeout for an unknown device. |
| 0x21 | ISCSI_ERR6 | Timeout for an unknown device. ID/Lun is not valid. target_info information is included. |
| 0x22 | ISCSI_ERR6 | A command completed before it was to be timed out (i.e. the command completed within milliseconds of timing-out). |
| 0x23 | ISCSI_ERR6 | Timeout for command that is not active. dev_info information is included. |
| 0x26 | ISCSI_ERR4 | A device cancel timed-out. There are still commands active at the adapter, which were not flushed back. dev_info information is included. |
| 0x27 | ISCSI_ERR6 | A device cancel timed-out and the retry of the cancel failed. dev_info information is included. |
| 0x28 | ISCSI_ERR4 | A target cancel timed-out. target_info information is included. |
| 0x29 | ISCSI_ERR4 | A login issued to the adapter driver's cmd entry point timed out. target_info information is included. |
| 0x2A | ISCSI_ERR4 | A Pass thru IOCB timed out. |
| 0x2B | ISCSI_ERR4 | Proc level task management function (SCIOLRESET) timed-out. command is included |
| 0x2C | ISCSI_ERR4 | Interrupt level task management function (Target Reset) timed-out. command is included |
| 0x2D | ISCSI_ERR6 | Wait for DDB time-out occurred. |
| 0x2E | ISCSI_ERR4 | Data underrun detected by adapter, the command is included. |
| 0x2F | ISCSI_ERR4 | An unknown time-out occured. |
| 0x30 | ISCSI_ERR2 | Async status received from adapter indicates a complete adapter failure |
| 0x31 | ISCSI_ERR2 | Only logged when debug is turned on . Async status received from adapter driver indicating link is dead |
| 0x32 | ISCSI_ERR4 | Only logged when debug is turned on. Async status received from adapter driver indicating link is down. |
| 0x33 | ISCSI_ERR4 | Only logged when debug is turned on. Async status received from adapter driver indicating link is up. |
| 0x34 | ISCSI_ERR4 | Only logged when debug is turned on. Async status received from adapter driver indicating a LOGO was received for a device. target_info information is included |
| 0x35 | ISCSI_ERR4 | Only logged when debug is turned on . Async status received from adapter driver indicating a State Change Notification was received. target_info information is included. |
| 0x36 | ISCSI_ERR2 | Only logged when debug is turned on . The adapter has been halted. |
| 0x37 | ISCSI_ERR2 | Only logged when debug is turned on . The adapter has been resumed after being halted. |
| 0x38 | ISCSI_ERR13 | Only logged when debug is turned on. Async status received from adapter driver indicating PDU was rejected. |
| 0x39 | ISCSI_ERR6 | Only logged when debug is turned on. Async status received from adapter driver indicating DDB change |
| 0x3A | ISCSI_ERR2 | Only logged when debug is turned on. Unknown async NDD status received from adapter driver |
| 0x3B | ISCSI_ERR6 | Unknown async status received from adapter driver |
| 0x3C | ISCSI_ERR13 | Async status for DDB change received indicating device is different. |
| 0x3D | ISCSI_ERR4 | Only logged when debug is turned on. Async status received from adapter indicating DHCP lease expired. |
| 0x40 | ISCSI_ERR2 | Adapter dd detected error that indicates HOST IO BUS ERROR. cmd element included |
| 0x41 | ISCSI_ERR2 | Adapter dd detected error that indicates adapter hardware failure. cmd element included. |
| 0x42 | ISCSI_ERR4 | Adapter dd detected error that indicates adapter software failure. cmd element included. |
| 0x43 | ISCSI_ERR4 | Adapter dd detected an unknown error status from the adapter driver.cmd element included. |
| 0x44 | ISCSI_ERR13 | Device returning busy status. |
| 0x45 | ISCSI_ERR4 | Adapter reporting an invalid IOCB. cmd element included |
| 0x46 | ISCSI_ERR2 | Adapter reporting DMA error on IOCB. cmd element included |
| 0x47 | ISCSI_ERR4 | Adapter reporting an entry state flag error. cmd element included |
| 0x48 | ISCSI_ERR6 | IOCB failed with invalid parameter. Cmd included |
| 0x49 | ISCSI_ERR2 | IOCB failed with DMA error. Cmd included. |
| 0x4A | ISCSI_ERR10 | IOCB failed with transport error. Cmd included. |
| 0x4B | ISCSI_ERR10 | OCB failed because data direction specified from device is different from IOCB. Cmd included. |
| 0x4C | ISCSI_ERR6 | IOCB failed because Queue full. Cmd included. |
| 0x4D | ISCSI_ERR13 | IOCB failed because device at DDB dev index changed. Cmd included. |
| 0x4E | ISCSI_ERR10 | IOCB failed because device indicated the device has a duplicate tag. Cmd included. |
| 0x4F | ISCSI_ERR6 | IOCB failed with unknown error status, cmd included. |
| 0x51 | ISCSI_ERR6 | Could not issue Cancel for above failing a command which has not received an interrupt. dev_info information is included. |
| 0x60 | ISCSI_ERR4 or ISCSI_ERR6 | Call to adapter driver's output entry point failed to accept a control element for SCSI command. The return code is included. cmd element included |
| 0x61 | ISCSI_ERR4 or ISCSI_ERR6 | Call to adapter driver's output entry point failed to accept a cancel control element. The return code is included. cmd element included |
| 0x62 | ISCSI_ERR4 or ISCSI_ERR6 | Output routine failed to accept target reset or a device. The return code is included. target_info information included. |
| 0x63 | ISCSI_ERR4 or ISCSI_ERR6 | Output routine failed to accept LUN reset for a device. The return code is included. dev_info information included. |
| 0x64 | ISCSI_ERR4 or ISCSI_ERR6 | Output routine failed to accept Abort Task Set for a device. The return code is included. dev_info information included. |
| 0x65 | ISCSI_ERR4 or ISCSI_ERR6 | Output routine failed to accept Clear ACA for a device. The return code is included. dev_info information included. |
| 0x66 | ISCSI_ERR4 or ISCSI_ERR6 | Output routine failed to accept Marker for a device. The return code is included dev_info information included. |
| 0x67 | ISCSI_ERR4 or ISCSI_ERR6 | Output routine failed to accept normal Passthru IOCB for a device. The return code is included. command is included |
| 0x70 | ISCSI_ERR2 | Timed out waiting for either link to come up or DHCP server to restablish our lease. The rc fields indicates which of these two is the case. |
| 0x71 | ISCSI_ERR2 | Timed out waiting for the adapter to resume. |
| 0x80 | ISCSI_ERR6 | Ioctl issue task management command failed from adapter driver returned error. cmd included. |
| 0x81 | ISCSI_ERR6 | Ioctl issue task management command failed. cmd included. |
| 0x82 | ISCSI_ERR6 | non-Ioctl issued task management command failed from adapter driver returned error. cmd included. |
| 0x83 | ISCSI_ERR6 | non-Ioctl issued task management command failed. cmd included. |
| 0x84 | ISCSI_ERR6 | Unknown task management command failed. cmd included. |
| 0x85 | ISCSI_ERR6 | Unknown task management command completed. cmd included. |
| 0x86 | ISCSI_ERR6 | Unable to cancel task management command. |
| 0x87 | ISCSI_ERR6 | Unknown task management command timed-out. |
| 0x90 | ISCSI_ERR6 | Unknown Passthru IOCB completion status returned. |
| 0x91 | ISCSI_ERR6 | Only displayed with debug driver . Passthru IOCB issued from ioctl failed. |
| 0x92 | ISCSI_ERR6 | Passthru IOCB not-issued from ioctl failed. |
| 0x93 | ISCSI_ERR2 | Cancel (Internal Lun Reset) failed. |
| 0x94 | ISCSI_ERR6 | Cancel completed but has no device associated |
| 0x95 | ISCSI_ERR10 | Adapter detected underrun/overrun |
| 0x96 | ISCSI_ERR13 | Async PDU with autosense data received. |
| 0x97 | ISCSI_ERR13 | Target is requesting logout. Target included. |
| 0x98 | ISCSI_ERR13 | Target will drop this connection or all connections. Target included |
| 0x99 | ISCSI_ERR13 | Target requesting renegotiation of iSCSI parameters. Target included |
| 0x9A | ISCSI_ERR13 | Unknown Async IOCB received. Control element included. |
| 0x9B | ISCSI_ERR10 | Only displayed with debug driver. Check condition with autosense data length returned from a SCSI command, but the key fields of the autosense data are all 0. |
| 0xA0 | ISCSI_ERR13 or ISCSI_ERR6 | A command entry point command was returned from the adapter with an error. This command was for a Login. target_info is included |
| 0xA1 | ISCSI_ERR13 | A command entry point relogin command returned succesfully, but the device at this N_Port ID is different (i.e a different iSCSI name) target_info is included |
| 0xA2 | ISCSI_ERR13 or ISCSI_ERR6 | A command entry point command was returned from the adapter with an error. This command was for a Logout. target_info is included |
| 0xA4 | ISCSI_ERR6 | Unknown cmd was sent from the adapter driver to protocol driver |
| 0xB1 | ISCSI_ERR4 or ISCSI_ERR6 | Adapter driver's cmd entry point rejected a login/logout operation. target_info is included |
| 0xC0 | ISCSI_ERR6 | Multiple matches for target_info found with same iSCSI name. |
| 0xC1 | ISCSI_ERR6 | Failed to issue cancel prior to Clear ACA. |
| 0xE0 | ISCSI_ERR6 | IP address not IPV4 nor IPV6 for ioctl iSCSI login |
| 0xE1 | ISCSI_ERR6 | IP address not IPV4 nor IPV6 for non-ioctl iSCSI login |
