RE: LSISAS1068 ioerr_cnt 0x1 on clean boot up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I found the reason for the non zero err_cnt for SATA drives attached to mptsas.
It is due to the failure in sending mode sense request for page 0x19 from mptsas driver for SATA drives (which is not supported by MPTSAS controller).

In the slave_configure function of mptsas driver, the transport layer function sas_read_port_mode_page is called for all the devices attached with the MPTSAS controller. Since it is that particular mode page is not supported for SATA drives, Check condition with Skey=Invalid request and ASC=Invalid field in CDB is returned. Hence the error count is incremented by the scsi_done.

If it needs to be fixed, then we need to provide a patch in mptsas driver so that it will not call sas_read_port_mode_page for SATA devices.


Thanks
Sathya

-----Original Message-----
From: Abhijit Paithankar [mailto:apaithan@xxxxxxxxxx]
Sent: Thursday, October 09, 2008 6:21 AM
To: Douglas Gilbert
Cc: Prakash, Sathya; linux-scsi@xxxxxxxxxxxxxxx; Moore, Eric
Subject: Re: LSISAS1068 ioerr_cnt 0x1 on clean boot up

* Douglas Gilbert (dgilbert@xxxxxxxxxxxx) wrote:
>
> IMO it is not an error for the host to receive such UAs just after
> power up, and soon thereafter. It is potentially an error to have such
> UAs while a partition on a LU within a target is mounted. But the SCSI
> subsystem is not aware of mounts. Perhaps there should be a separate
> counter (i.e. other than ioerr_cnt) for UAs associated with hard
> resets.

If a hard reset is part of routine initialization at power-on, then it is not an error and the MPT driver should not tell the scsi mid-layer that an error happened.

Thanks!
Abhijit
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux