All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Ball <cjb@laptop.org>
To: dgilbert@interlog.com
Cc: linux-mmc@vger.kernel.org,
	Nicolas Ferre <nicolas.ferre@atmel.com>,
	Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>,
	ludovic.desroches@atmel.com, akpm@linux-foundation.org
Subject: Re: [Bug 39822] SDHC cards no longer recognized on AT91 based board
Date: Thu, 28 Jul 2011 19:48:27 -0400	[thread overview]
Message-ID: <m28vridl10.fsf@bob.laptop.org> (raw)
In-Reply-To: <201107282323.p6SNN9Jk026454@demeter1.kernel.org> (bugzilla-daemon@bugzilla.kernel.org's message of "Thu, 28 Jul 2011 23:23:09 GMT")

Hi, thanks for the bug report.  Adding linux-mmc@ and some atmel driver
folks to CC.

On Thu, Jul 28 2011, bugzilla-daemon@bugzilla.kernel.org wrote:
> Prior to 3.0.0 the FoxG20 board (Atmel AT91SAM9G20) could boot and use
> both micro SD and SDHC card to contain its root file system. With the
> advent of the 3.0.0 kernel the micro SDHC card is unable to mount the
> root file system.
> 
> Comparing the relevant part of dmesg for 2.6.38.6 (and it worked on
> 2.6.39):
> ...
> Waiting for root device /dev/mmcblk0p2...
> mmc0: host does not support reading read-only switch. assuming write-enable.
> at91_mci at91_mci: Timeout waiting end of packet
> mmc0: new SDHC card at address 1234
> mmcblk0: mmc0:1234 SA04G 3.67 GiB
>  mmcblk0: p1 p2 p3
> ...
>
> to the same dmesg section for 3.0.0 :
> ...
> Waiting for root device /dev/mmcblk0p2...
> mmc0: error -110 whilst initialising SD card
> at91_mci at91_mci: Timeout waiting end of packet
> mmc0: error -110 whilst initialising SD card
> [no further progress]
>
> Non "HC" SD cards work as expected in 3.0.0

If no-one on the CC list has any ideas, would you be interested in
trying to bisect this change?

Another possibility would be adding printks before all of the -ETIMEDOUT
lines in core/* and host/at*, in order to see which one you're hitting
(and therefore which operation is causing the initialization to fail).
But a full bisection would be more conclusive.

Thanks,

- Chris.
-- 
Chris Ball   <cjb@laptop.org>   <http://printf.net/>
One Laptop Per Child

       reply	other threads:[~2011-07-28 23:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-39822-26132@https.bugzilla.kernel.org/>
     [not found] ` <201107282323.p6SNN9Jk026454@demeter1.kernel.org>
2011-07-28 23:48   ` Chris Ball [this message]
2011-07-29  4:03     ` [Bug 39822] SDHC cards no longer recognized on AT91 based board Douglas Gilbert
2011-10-25  1:54     ` Douglas Gilbert
2012-01-29  0:37       ` Douglas Gilbert
2012-01-29 17:22         ` Jean-Christophe PLAGNIOL-VILLARD
2012-01-29 19:40           ` Douglas Gilbert

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=m28vridl10.fsf@bob.laptop.org \
    --to=cjb@laptop.org \
    --cc=akpm@linux-foundation.org \
    --cc=dgilbert@interlog.com \
    --cc=linux-mmc@vger.kernel.org \
    --cc=ludovic.desroches@atmel.com \
    --cc=nicolas.ferre@atmel.com \
    --cc=plagnioj@jcrosoft.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.