What does the error code 82 mean?
fengyd
fengyd81 at gmail.com
Mon Mar 2 07:49:59 UTC 2015
Hi,
I found the related code in the function sym_int_sir:
/*
* The device wants us to tranfer more data than
* expected or in the wrong direction.
* The number of extra bytes is in scratcha.
* It is a data overrun condition.
*/
case *SIR_DATA_OVERRUN*:
if (cp) {
OUTONB (HF_PRT, HF_EXT_ERR);
* cp->xerr_status |= XE_EXTRA_DATA;*
cp->extra_bytes += INL (nc_scratcha);
}
goto out;
I'm not familiar with SCSI.
What does DATA_OVERRUN actually mean?
How can it be triggered?
Could you give more details about it?
Thanks for your help.
Br.
Yafeng
On Sat, Feb 28, 2015 at 4:50 PM, fengyd <fengyd81 at gmail.com> wrote:
> 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 <fengyd81 at gmail.com> 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
>>
>
>
More information about the freebsd-scsi
mailing list