From owner-freebsd-scsi@FreeBSD.ORG Sat Feb 28 08:50:52 2015 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 868C7B0F for ; Sat, 28 Feb 2015 08:50:52 +0000 (UTC) Received: from mail-ie0-x22d.google.com (mail-ie0-x22d.google.com [IPv6:2607:f8b0:4001:c03::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C6378B2 for ; Sat, 28 Feb 2015 08:50:52 +0000 (UTC) Received: by iecvy18 with SMTP id vy18so36631584iec.13 for ; Sat, 28 Feb 2015 00:50:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=u2XWUWIQIj6xdkVL1rVhamb9cRCpW7C0SylPDPz4a+Q=; b=rxC58pQYyPLhlnUi3aEIxuoo7vp+Nm9ZCmkJ68ZJ///Gy1P8lnWMi6Gxgu43Sx4AzV Cf8nvByIRZHbxfB3+v2Gpb+cwyHKPMKQFsj3QixUfv0uOUxKQ3ZZBdoGS7T6ktQZuVqs IFijzHRwUCwGJL3S3SSPyO/w/c+08mTIFKROqUgaM3jdyscY+9ijT70NpJz8ty6gnLof 2DvhKJ2LqxfiLAKPxgjD7dzMin8crPIrWciMoev+50pQM8rS+ZYr7Cwk/+p4hlaDfIvD GaYZoS6jOX5i6cNGqOU5vSeeolm+xprKyubeuROd+PO83yn4VSPB5PshErqA5Mujv/H8 pmSA== MIME-Version: 1.0 X-Received: by 10.50.43.130 with SMTP id w2mr9662496igl.30.1425113451678; Sat, 28 Feb 2015 00:50:51 -0800 (PST) Received: by 10.36.23.133 with HTTP; Sat, 28 Feb 2015 00:50:51 -0800 (PST) In-Reply-To: References: Date: Sat, 28 Feb 2015 16:50:51 +0800 Message-ID: Subject: Re: What does the error code 82 mean? From: fengyd To: freebsd-scsi@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2015 08:50:52 -0000 Hi, It seems the error code 82 & 3F is 0x12. And the definition of the error code in the file cam.h: CAM_AUTOSENSE_FAIL = 0x10,/* Autosense: request sense cmd fail */ CAM_NO_HBA, /* No HBA Detected error */ CAM_DATA_RUN_ERR, /* Data Overrun error */ So, it means data overrun error? Thanks. Br. Yafeng On Sat, Feb 28, 2015 at 4:32 PM, fengyd wrote: > Hi, > > INQUIRY command is sent to the target, but error code 82 is returned. > I added some log in the driver: > SIR_COMPLETE_ERROR > (pass0:sym0:0:0:0): sym_complete_error status = 18 > (pass0:sym0:0:0:0): status = 82 > > Do you know what does the error code 82 mean? > > Thanks in advance. > > Br. > Yafeng >