public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Mathieu Poirier <mathieu.poirier@canonical.com>
To: Venkatraman S <svenkatr@ti.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: SDHC card affected by preemption model in 2.6.35
Date: Tue, 15 Jun 2010 15:17:13 -0600	[thread overview]
Message-ID: <1276636633.2824.88.camel@black> (raw)
In-Reply-To: <AANLkTimOIzK4JsTBnOvRHTGj-dGduMRk8ZbZVqIL9shr@mail.gmail.com>

On Tue, 2010-06-15 at 20:58 +0530, Venkatraman S wrote:
> Mathieu Poirier <mathieu.poirier@canonical.com> wrote:
> > HW: Beagleboard rev. C2 and C4
> > Processor: OMAP3
> > Kernel: 2.6.35-rc2
> > Driver: mmci-omap-hs
> >
> > I am faced with an SDHC card problem on a beagleboard.  Some cards
> > cannot be initialized on startup while others work perfectly.  I tracked
> > the issue down to one single kernel config: PREEMPT_VOLUNTARY.
> >
> > When going from PREEMPT_VOLUNTARY to PREEMPT_NONE the problem goes away.
> >
> > When booting, a failing card (PREEMPT_VOLUNTARY) will output the
> > following:
> > [ 2.283355] mmc0: error -110 whilst initialising SD card
> >
> > I have also seen transfer errors such as this one:
> > [ 105.343780] mmcblk0: error -110 transferring data, sector 798431, nr
> > 26, card status 0xc00
> >
> > When working properly (PREEMPT_NONE), you get:
> > [   27.026519] mmc0: new high speed SDHC card at address 0007
> > [   27.075775] mmcblk0: mmc0:0007 SD08G 7.49 GiB
> >
> > We seem to have a little timing problem - has anyone seen the same
> > issue ?  Can driver "mmci-omap-hs" actually work under
> > PREEMPT_VOLUNTARY ?
> >
> > Thanks, Mathieu.
> >
> 
> I will check this out - not tested with PREEMPT_VOLUNTARY so far.
> If it's not too much trouble, can you provide a log with CONFIG_MMC_DEBUG ?
> Also, some details about the failing card would be helpful.
> 
> Thanks,
> Venkat.

Venkat,

Unfortunately enabling CONFIG_MMC_DEBUG doesn't yield more information -
the error message is the same and no additional output shows on the
console.

As for the cards, had failures with 3 different manufacturer:
- Patriot Memory, MicroSD card, 8GB, class 4, SDHC.  
- Kinston, 4GB, class 6, SDHC.
- Sandisk, 4GB, Class 2, SDHC.

I am more than willing to test kernels for you if need be.

Thanks, Mathieu.


  reply	other threads:[~2010-06-15 21:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-15 14:52 SDHC card affected by preemption model in 2.6.35 Mathieu Poirier
2010-06-15 15:28 ` Venkatraman S
2010-06-15 21:17   ` Mathieu Poirier [this message]
2010-06-15 21:55     ` David Brownell
2010-06-15 22:43       ` Mathieu Poirier
2010-06-16  8:43     ` Venkatraman S
2010-06-16 22:12       ` Mathieu Poirier
2010-06-17 14:33         ` Venkatraman S
2011-02-18 12:57           ` Thomas Weber
     [not found]             ` <AANLkTikXGhSfaXqzXWsgB=z8OKeRnUR85zAnspaALHxD@mail.gmail.com>
2011-02-20 17:14               ` S, Venkatraman
  -- strict thread matches above, loose matches on Subject: below --
2011-02-21 11:53 Johannes Reif
2011-02-22  1:43 ` Dave Hylands
2011-02-22 10:03   ` Johannes Reif

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=1276636633.2824.88.camel@black \
    --to=mathieu.poirier@canonical.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=svenkatr@ti.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox