linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: ben-linux@fluff.org (Ben Dooks)
To: linux-arm-kernel@lists.infradead.org
Subject: S3C6410 SDHCI driver crash
Date: Thu, 24 Sep 2009 20:00:02 +0100	[thread overview]
Message-ID: <20090924190002.GG31920@trinity.fluff.org> (raw)
In-Reply-To: <4ABB9115.4030609@gmail.com>

On Thu, Sep 24, 2009 at 05:32:37PM +0200, Maurus Cuelenaere wrote:
> Hi,
> 
> I'm currently experiencing an SDHCI bug in 2.6.31 and linux-next, which 
> didn't
> seem to appear in 2.6.31-rc8.
> 
> This is on a new S3C6410 platform (SmartQ 7, see [1]) and it seems to be
> consistently happening right after displaying "Loading hardware drivers" (in
> user-space; Ubuntu-based).
> 
> The relevant kernel log lines are:
> 
> blk: request botched
> kernel BUG at drivers/mmc/host/sdhci.c:298!

Having a look at the code in mainline, this is being triggered in 
sdhci_write_block_pio(), by the following code:

296     while (blksize) {
297             if (!sg_miter_next(&host->sg_miter))
298                     BUG();

Which suggests that the size of the transfer was bigger than the sg list
passed to the transfer, which is worrying as this seems to suggest there
is a problem with the PIO code writing insufficient data to the card.

-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.

  reply	other threads:[~2009-09-24 19:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-24 15:32 S3C6410 SDHCI driver crash Maurus Cuelenaere
2009-09-24 19:00 ` Ben Dooks [this message]
2009-09-28 18:06   ` Maurus Cuelenaere

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=20090924190002.GG31920@trinity.fluff.org \
    --to=ben-linux@fluff.org \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).