Re: SDHC card affected by preemption model in 2.6.35

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 Mathieu Poirier <mathieu.poirier@xxxxxxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux