public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Ravi Shankar <ravi.v.shankar@oracle.com>
Cc: "linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>
Subject: Re: mpt2sas driver behaving strange with a failed SATA disk behind SAS expander.
Date: Wed, 17 Aug 2011 11:35:00 -0700	[thread overview]
Message-ID: <4E4C09D4.3020702@oracle.com> (raw)
In-Reply-To: <4E4BCF54.8090408@swip.net>

On 08/17/11 07:25, Fredrik Lindgren wrote:
> Hello,
>
> I'm seeing something strange on a Supermicro 847E16-R1400. It has SAS 
> expanders
> with SATA disks behind them (Seagate Barracuda XT). The SAS card is a 
> LSI SAS9211-8i.
>
> When doing disk IO on the disks (they are all configured in MD raids) 
> suddenly IO will
> stop and these messages are printed on the console about once every 
> second:
>
> mpt2sas0: log_info(0x31110610): originator(PL), code(0x11), 
> sub_code(0x0610)
>
> From what I understand this means:
>
> PL_LOGINFO_CODE_RESET (0x00110000)
> PL_LOGINFO_SUB_CODE_SATA_NON_NCQ_RW_ERR_BIT_SET (0x00000600)
>
> So a disk is acting up, generating errors? What does the last "10" 
> mean in the sub_code,
> is that an identifier for which disk it is?
>
> After some time, the message changed:
>
> mpt2sas0: log info(0x31111000): originator(PL), code(0x11), sub 
> code(0x1000)
>
> Now the disk seems to have died completely?
>
> PL_LOGINFO_CODE_RESET (0x00110000)
> PL_LOGINFO_SUB_CODE_DSCVRY_SATA_INIT_TIMEOUT (0x00001000)
>
I think sub code (0x610) indicates "Error in SATA ReadLogExt SATA 
command" and subsequently the disk drive failed
to initialize (SATA initialization timeout). Since you've connected 
through Expander, the link between Disk and Expander
should be actively transmitting FIS frames. You can verify whether Disk 
link is up by checking Expander Routing Tables.

Reduce the link speed (from 6 to 3 Gb/s) between HBA-Exp-Disk and try 
disabling Native Cmd Queuing and see whether it helps.

      parent reply	other threads:[~2011-08-17 18:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-17 14:25 mpt2sas driver behaving strange with a failed SATA disk behind SAS expander Fredrik Lindgren
2011-08-17 17:08 ` Peter Chang
2011-08-17 18:49   ` Peter Chang
2011-08-17 18:35 ` Ravi Shankar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E4C09D4.3020702@oracle.com \
    --to=ravi.v.shankar@oracle.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox