> [ 1.366291] mmcblk1: error -84 transferring data, sector 0, nr 8, > cmd response 0x900, card status 0xb00 > [ 1.374409] mmcblk1: retrying using single block read > [ 1.378810] mmcblk1: error -84 transferring data, sector 0, nr 8, > cmd response 0x900, card status 0x0 At first, the kernel driver uses multiple read(cmd 18) to read data from sector 0 to sector 8, but fail. And then, retry by single read(cmd 17), but still fail... > [ 2.050460] mmcblk1boot0: unable to read partition table You are trying to read boot partition data, as I remember when we access boot partition, we need to sync the bus width, frequency and timing(SDR, DDR). Maybe you can turn on the MMC debug config. As a result, you can check what kind of commands the kernel driver send. 2014-08-07 16:54 GMT+08:00 Jean-Michel Hautbois <jean-michel.hautbois@xxxxxxxxxxx>: > 2014-08-07 9:54 GMT+02:00 Jean-Michel Hautbois > <jean-michel.hautbois@xxxxxxxxxxx>: >>>> OK, I juste tested to get back on part of the commit >>>> 79f7ae7c45a6ccf04e2908337461dee615f6afb0 : >>>> >>>> diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c >>>> index 1ab5f3a..e22d851 100644 >>>> --- a/drivers/mmc/core/mmc.c >>>> +++ b/drivers/mmc/core/mmc.c >>>> @@ -1264,7 +1264,7 @@ static int mmc_init_card(struct mmc_host *host, u32 ocr, >>>> goto err; >>>> } >>>> mmc_card_set_ddr_mode(card); >>>> - mmc_set_timing(card->host, MMC_TIMING_UHS_DDR50); >>>> + mmc_set_timing(card->host, MMC_TIMING_MMC_DDR52); >>>> mmc_set_bus_width(card->host, bus_width); >>>> } >>>> } >>>> >>>> >>>> I just did the inverse, that means using MMC_TIMING_UHS_DDR50 and not >>>> MMC_TIMING_MMC_DDR52 and I don't have any errors now. >>> >>> Is your card eMMC or SD(T-flash)? Which card do you use? >>> Did you check dt-file? >> >> The card is Sandisk SDIN5D1-2G which is a iNAND. >> What should I check in DT ? > > I have written too quickly, still have same problem from time to time... > I don't have a clue, so if anybody has, I am interested... > > JM -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html