public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
From: Roland Stigge <stigge@antcom.de>
To: linux-mmc@vger.kernel.org
Cc: rmk+kernel@arm.linux.org.uk,
	Grant Likely <grant.likely@secretlab.ca>,
	cjb@laptop.org, Alexandre Pereira da Silva <aletes.xgr@gmail.com>
Subject: mmci.c regression
Date: Mon, 02 Jul 2012 14:14:26 +0200	[thread overview]
Message-ID: <4FF190A2.6@antcom.de> (raw)

Hi,

I'm getting a strange regression with mmci.c at v3.5-rc4 -> v3.5-rc5: Bootup:

v3.5-rc4:

mmci-pl18x 20098000.sd: mmc0: PL180 manf 41 rev0 at 0x20098000 irq 15,13 (pio)
mmci-pl18x 20098000.sd: no DMA platform data
mmc0: new SD card at address bd34
mmcblk0: mmc0:bd34 SD02G 1.83 GiB 
mmcblk0: error -5 transferring data, sector 0, nr 8, cmd response 0x900, card status 0xb00
mmcblk0: retrying using single block read
 mmcblk0: p1

v3.5-rc5:

mmci-pl18x 20098000.sd: mmc0: PL180 manf 41 rev0 at 0x20098000 irq 15,13 (pio)
mmci-pl18x 20098000.sd: no DMA platform data
mmc0: new SD card at address bd34
mmcblk0: mmc0:bd34 SD02G 1.83 GiB 
mmcblk0: error -5 transferring data, sector 0, nr 8, cmd response 0x0, card status 0x900
mmcblk0: retrying using single block read
mmcblk0: error -5 transferring data, sector 0, nr 8, cmd response 0x0, card status 0x0
end_request: I/O error, dev mmcblk0, sector 0
mmcblk0: error -5 transferring data, sector 1, nr 7, cmd response 0x0, card status 0x0
end_request: I/O error, dev mmcblk0, sector 1
mmcblk0: error -5 transferring data, sector 2, nr 6, cmd response 0x0, card status 0x0
end_request: I/O error, dev mmcblk0, sector 2
Buffer I/O error on device mmcblk0, logical block 0
 mmcblk0: unable to read partition table

This happens on bootup with _some_ cards that already have the "error -5" in v3.5-rc4. This
was ok where up to v3.5-rc4, it worked on a subsequent retry as above. Unfortunately, it
now fails with v3.5-rc5.

Unfortunately, I can't see a relevant change in the mmci driver or mmc host code.
An indirect timing issue on bootup?

Inserting cards _after_ bootup generally works. SoC is LPC32XX.

Thanks in advance.

Roland

             reply	other threads:[~2012-07-02 12:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-02 12:14 Roland Stigge [this message]
2012-07-02 13:07 ` mmci.c regression Russell King - ARM Linux
2012-07-02 14:08   ` Roland Stigge

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=4FF190A2.6@antcom.de \
    --to=stigge@antcom.de \
    --cc=aletes.xgr@gmail.com \
    --cc=cjb@laptop.org \
    --cc=grant.likely@secretlab.ca \
    --cc=linux-mmc@vger.kernel.org \
    --cc=rmk+kernel@arm.linux.org.uk \
    /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