public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Re: SDHC card affected by preemption model in 2.6.35
@ 2011-02-21 11:53 Johannes Reif
  2011-02-22  1:43 ` Dave Hylands
  0 siblings, 1 reply; 13+ messages in thread
From: Johannes Reif @ 2011-02-21 11:53 UTC (permalink / raw)
  To: S, Venkatraman; +Cc: Mathieu Poirier, Madhusudhan Chikkature, linux-omap

Hello Venkat, Hello Mathieu,

>  No. I was working on some other things lately. What card are you using and
>  how often are you seeing this ?
>
>  Regards,
>  Venkat.

We get the timeout Problem every time:
[    1.888732] Waiting for root device /dev/mmcblk0p2...
[    4.193603] mmc0: error -110 whilst initialising SD card

Right now the issue occurs with following cards CONFIG_PREEMPT=y enabled:

- SanDisk 4GB micro SDHC Class 2
- SanDisk 2GB micro SD


These cards worked fine:

- Transcend 2GB micro SD
- Transcend 4GB micro SDHC Class 6
- SanDisk 4GB micro SDHC Class 6 (Mobile Ultra)


Thanks,
Johannes






^ permalink raw reply	[flat|nested] 13+ messages in thread
* SDHC card affected by preemption model in 2.6.35
@ 2010-06-15 14:52 Mathieu Poirier
  2010-06-15 15:28 ` Venkatraman S
  0 siblings, 1 reply; 13+ messages in thread
From: Mathieu Poirier @ 2010-06-15 14:52 UTC (permalink / raw)
  To: linux-omap

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.





^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-02-22 10:03 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-21 11:53 SDHC card affected by preemption model in 2.6.35 Johannes Reif
2011-02-22  1:43 ` Dave Hylands
2011-02-22 10:03   ` Johannes Reif
  -- strict thread matches above, loose matches on Subject: below --
2010-06-15 14:52 Mathieu Poirier
2010-06-15 15:28 ` Venkatraman S
2010-06-15 21:17   ` Mathieu Poirier
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox