DEBOUT
DEBOUT(("iSCSI daemon loaded"));
DEBOUT(("Receiving from socket: %s",strerror(errno)));
DEBOUT(("Exiting daemon"));
DEBOUT(("Out of memory in create_target!"));
DEBOUT(("Out of memory in create_portal!"));
DEBOUT(("Response not TargetName <%s>", tp));
DEBOUT(("Syntax error in returned target address <%s>", sp));
DEBOUT(("Out of memory in create_portal!"));
DEBOUT(("Auth number invalid: %d\n", par->auth_info.auth_number));
DEBOUT(("Auth number invalid: %d\n", par->auth_info.auth_number));
DEBOUT(("Auth type invalid: %d\n",
DEBOUT(("Auth type invalid: %d\n",
DEBOUT(("Password missing\n"));
DEBOUT(("Target name missing, login type %d\n", par->login_type));
DEBOUT(("MaxRecvDataSegmentLength invalid: %d\n",
DEBOUT(("No mem for event handler\n"));
DEBOUT(("No mem for session\n"));
DEBOUT(("Session %d not found\n", par->session_id));
DEBOUT(("Session %d not found\n", par->session_id));
DEBOUT(("Session %d not found\n", par->session_id));
DEBOUT(("Connection %d not found in session %d\n",
DEBOUT(("Session %d not found\n", par->session_id));
DEBOUT(("Connection %d not found in session %d\n",
DEBOUT(("Session %d not found\n", par->session_id));
DEBOUT(("Session %d not found\n", par->session_id));
DEBOUT(("*** set_node_name string too long!\n"));
DEBOUT(("Failed to kill all sessions\n"));
DEBOUT(("Wait Event ID %d not found\n", par->event_id));
DEBOUT(("Invalid IO-Control Code 0x%lx\n", cmd));
DEBOUT(("Wait Event ID %d already waiting\n", par->event_id));
DEBOUT(("Cannot allocate event\n"));
DEBOUT(("Found Dead Event Handler %d, removing\n", curr->evh_id));
DEBOUT(("Too many connections (max = %d, curr = %d)\n",
DEBOUT(("No mem for connection\n"));
DEBOUT(("Invalid socket %d\n", par->socket));
DEBOUT(("Can't create rcv thread (rc %d)\n", rc));
DEBOUT(("Can't create send thread (rc %d)\n", rc));
DEBOUT(("Too many connections (max = %d, curr = %d)\n",
DEBOUT(("Invalid socket %d\n", par->socket));
DEBOUT(("Run Xfer request with polling\n"));
DEBOUT(("Run Xfer with data in UIO\n"));
DEBOUT(("ISCSI: scsipi_request with invalid REQ code %d\n", req));
DEBOUT(("ISCSI: iscsi_done CCB %p without XS\n", ccb));
DEBOUT(("Header Digest Error: comp = %08x, rx = %08x\n",
DEBOUT(("Received more data than requested (len %d, offset %d)\n",
DEBOUT(("Received Invalid Opcode %x\n", pdu->pdu_hdr.pduh_Opcode));
DEBOUT(("ran out of mem on receive\n"));
DEBOUT(("Data Digest Error: comp = %08x, rx = %08x\n",
DEBOUT(("Collect Text Data: Out of Memory, ccb = %p\n", req_ccb));
DEBOUT(("Duplicate PDU, ExpSN %d, Recvd: %d\n",
DEBOUT(("Excessive outstanding Status PDUs, ExpSN %d, Recvd: %d\n",
DEBOUT(("Missing Status PDUs: First %d, num: %d\n",
DEBOUT(("StatSN killing connection (State = %d, "
DEBOUT(("Received duplicate login response (no associated CCB)\n"));
DEBOUT(("Received unsolicited text response\n"));
DEBOUT(("Received Data In, but req_ccb not waiting for it, ignored\n"));
DEBOUT(("Excessive outstanding Data PDUs\n"));
DEBOUT(("Missing Data PDUs: First %d, num: %d\n",
DEBOUT(("Killing connection (State=%d, ErrorRecoveryLevel=%d)\n",
DEBOUT(("Possibly duplicate command response (no associated CCB)\n"));
DEBOUT(("Possibly duplicate command response (tagged as COMPLETE)\n"));
DEBOUT(("Received Asynch PDU, Event %d\n", pdu->pdu_hdr.pduh_p.asynch.AsyncEvent));
DEBOUT(("Received Reject PDU, reason = %x, data_len = %d\n",
DEBOUT(("Can't get CCB in send_nop_out\n"));
DEBOUT(("Can't get PDU in send_nop_out\n"));
DEBOUT(("Invalid type %d in send_snack\n", type));
DEBOUT(("Invalid connection for send_command, ccb = %p\n",ccb));
DEBOUT(("No PDU for send_command, ccb = %p\n",ccb));
DEBOUT(("io_command on dead connection (state = %d)\n",
DEBOUT(("No CCB in io_command\n"));
DEBOUT(("Invalid phase %x in negotiate_login\n", c_phase));
DEBOUT(("set_key_s: num_pars (%d) >= MAX_NEG (%d)\n",
DEBOUT(("eval_par: AuthMethod nonzero (%d)\n", n));
DEBOUT(("eval_par: Authorization Key in Operational Phase\n"));
DEBOUT(("eval_par: Invalid parameter type %d\n", par->key));
DEBOUT(("*** Out of memory in assemble_login_params\n"));
DEBOUT(("No InitiatorName\n"));
DEBOUT(("Auth number too big in asm_login\n"));
DEBOUT(("No TargetName\n"));
DEBOUT(("No received parameters!\n"));
DEBOUT(("get_parameter returned error\n"));
DEBOUT(("AuthMethod received, auth_state = %d\n",
DEBOUT(("AuthMethod isn't CHAP (%d)\n", rxp.val.nval[0]));
DEBOUT(("Bad algorithm, auth_state = %d, alg %d\n",
DEBOUT(("Bad Challenge, auth_state = %d, len %d\n",
DEBOUT(("Bad ID, auth_state = %d, id %d\n",
DEBOUT(("Bad Name, auth_state = %d, name <%s>\n",
DEBOUT(("Bad Response, auth_state = %d, size %d\n",
DEBOUT(("CHAP Response, bad size %d\n",
DEBOUT(("Didn't receive Method\n"));
DEBOUT(("Didn't receive all parameters\n"));
DEBOUT(("No target password with mutual authentication!\n"));
DEBOUT(("Mutual authentication not requested\n"));
DEBOUT(("Mutual authentication mismatch\n"));
DEBOUT(("*** Out of memory in init_text_params\n"));
DEBOUT(("*** Out of memory in assemble_send_targets\n"));
DEBOUT(("trying to put zero sized buffer\n"));
DEBOUT(("Ill-formatted large number <%s>\n", buf));
DEBOUT(("get_parameter: Premature end of parameter\n"));
DEBOUT(("get_parameter: unrecognized key <%s>\n", buf));
DEBOUT(("get_parameter: key name > MAX_STRING\n"));
DEBOUT(("Invalid type %d in put_parameter!\n",
DEBOUT(("Incomplete range parameter\n"));
DEBOUT(("Invalid type %d in parameter_size!\n",
DEBOUT(("*** Out of memory in complete_pars\n"));
DEBOUT(("Bad parameter in complete_pars\n"));
DEBOUT(("set_key_n: num_pars (%d) >= MAX_NEG (%d)\n",
DEBOUT(("Freeing CCB with disp %d\n",ccb->ccb_disp));