From: "Darrick J. Wong" <djwong@us.ibm.com>
To: mike.redan@bell.ca
Cc: James.Bottomley@SteelEye.com, alexisb@us.ibm.com,
linux-scsi <linux-scsi@vger.kernel.org>
Subject: Re: Aic94xx and Linux kernel 2.6.19
Date: Fri, 10 Nov 2006 15:53:20 -0800 [thread overview]
Message-ID: <455510F0.6010000@us.ibm.com> (raw)
In-Reply-To: <4D0A3E3121A0504EAEF0FBA7B9576C2608015A07@toroondc914.bell.corp.bce.ca>
[Hm, linux-scsi ought to be cc'd on this...]
mike.redan@bell.ca wrote:
>> Here they are:
>> Nov 10 02:08:08 192.168.207.10/192.168.207.10 kernel: sd 0:0:0:0: SCSI
>> error: return code = 0x00070000
>> Nov 10 02:08:08 192.168.207.10/192.168.207.10 kernel: end_request: I/O
>> error, dev sda, sector 77429847
>
> Yep, I've seen that now too. It looks to me like we're getting
> DID_ERROR for some reason. The only reason for that in the libata code
> seems to deal with bad SCSI commands and/or memory allocation problems,
> but I'll keep digging.
These errors are memory allocation problems in libata. When I plug a
whole lot of SAS and SATA disks into my x260 and run the pounder stress
test, the amount of buffers on my system increases over a period of
about twenty minutes until libata can no longer allocate ata_queued_cmd
structures. At this point we start seeing the errors above. Since we
can't allocate new commands, libsas/aic94xx never even get called, which
is why they are silent on the matter. However, if I kill pounder before
totally running out of memory, the amount of buffers will decrease very
rapidly and the system is ok.
So, a question to you, Mr. Redan: What does /proc/meminfo look like at
crash time? If you have a huge amount of buffers, then we're seeing the
same thing.
And a question for everyone else: Because the buffers drain out fairly
quickly after pounder dies, does this mean that the controller is being
subjected to too much I/O at once?
--D
next parent reply other threads:[~2006-11-10 23:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4D0A3E3121A0504EAEF0FBA7B9576C2608015A07@toroondc914.bell.corp.bce.ca>
2006-11-10 23:53 ` Darrick J. Wong [this message]
2006-11-11 1:21 ` Aic94xx and Linux kernel 2.6.19 Luben Tuikov
2006-11-12 19:05 ` Darrick J. Wong
2006-11-12 19:23 ` Jeff Garzik
2006-11-14 1:53 ` Darrick J. Wong
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=455510F0.6010000@us.ibm.com \
--to=djwong@us.ibm.com \
--cc=James.Bottomley@SteelEye.com \
--cc=alexisb@us.ibm.com \
--cc=linux-scsi@vger.kernel.org \
--cc=mike.redan@bell.ca \
/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