public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
From: Chris Ball <cjb@laptop.org>
To: Mark Hills <mark@pogo.org.uk>
Cc: linux-mmc@vger.kernel.org
Subject: Re: SD card on Dell D420 (Ricoh R5C822)
Date: Wed, 09 Jun 2010 20:36:43 -0400	[thread overview]
Message-ID: <m3r5kfg1us.fsf@pullcord.laptop.org> (raw)
In-Reply-To: <alpine.NEB.2.01.1006100007290.6369@jrf.vwaro.pbz> (Mark Hills's message of "Thu, 10 Jun 2010 00:52:10 +0100 (BST)")

Hi Mark,

   >   mmc0: error -84 whilst initialising SD card

Not sure how much this'll help, but:

errno -84 is defined in include/asm-generic/errno.h as EILSEQ, and
there are two occurences of EILSEQ in sdhci.c, one of which has a
printk next to it that you aren't seeing.  So, it's likely that you're
seeing:

    else if (intmask & (SDHCI_INT_CRC | SDHCI_INT_END_BIT | SDHCI_INT_INDEX))
        host->cmd->error = -EILSEQ;

So, it seems like your controller is returning a successful command
response, but with some sort of data error attached.  Have you tried
multiple SD cards, and are they known-working?

If you're sure it's not the card, try passing debug_quirks=1 to the
sdhci module.  (Let me know if you're not sure how to do that.)

Thanks,

- Chris.
-- 
Chris Ball   <cjb@laptop.org>
One Laptop Per Child

  reply	other threads:[~2010-06-10  0:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-09 23:52 SD card on Dell D420 (Ricoh R5C822) Mark Hills
2010-06-10  0:36 ` Chris Ball [this message]
2010-06-10  8:08   ` Mark Hills
2010-06-10  9:39     ` Maxim Levitsky
2010-06-10 21:54       ` Mark Hills
2010-06-10 22:16         ` Maxim Levitsky
2010-06-10 22:54           ` Mark Hills
2010-06-18 13:24             ` Anyone else seen this wierd sdhci problem? Maxim Levitsky

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=m3r5kfg1us.fsf@pullcord.laptop.org \
    --to=cjb@laptop.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=mark@pogo.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