Re: Sandisk MMC I/O errors

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

 



2014-08-08 9:06 GMT+02:00 Jean-Michel Hautbois
<jean-michel.hautbois@xxxxxxxxxxx>:
> 2014-08-08 5:12 GMT+02:00 Jaehoon Chung <jh80.chung@xxxxxxxxxxx>:
>> On 08/08/2014 12:44 AM, Jean-Michel Hautbois wrote:
>>> 2014-08-07 17:02 GMT+02:00 Hsin-Hsiang Tseng <hsinhsiangtseng@xxxxxxxxx>:
>>>>> [    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).
>>
>> If you don't access at boot partition, use the MMC_CAP2_BOOTPART_NOACC.
>
> How can I do that properly ?

In modified include/linux/mmc/host.h in order to return 0 in the
function mmc_boot_partition_access().
I don't have boot partition access, but still I/O errors :


[    4.518031] mmcblk1: error -84 transferring data, sector 12, nr 4,
cmd response 0x900, card status 0x0
[    4.518063] mmc1: starting CMD17 arg 00001a00 flags 000000b5
[    4.518085] mmc1:     blksz 512 blocks 1 flags 00000200 tsac 100 ms nsac 0
[    4.518147] sdhci [sdhci_irq()]: *** mmc1 got interrupt: 0x00000001
[    4.518478] sdhci [sdhci_irq()]: *** mmc1 got interrupt: 0x00200002
[    4.518545] mmc1: req done (CMD17): 0: 00000900 00000000 00000000 00000000
[    4.518563] mmc1:     0 bytes transferred: -84
[    4.518646] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000002
[    4.518690] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001
[    4.518732] mmc0: req done (CMD18): 0: 00000900 00000000 00000000 00000000
[    4.518746] mmc0:     4096 bytes transferred: 0
[    4.518756] mmc0:     (CMD12): 0: 00000b00 00000000 00000000 00000000
[    4.518783] mmc1: starting CMD13 arg 00010000 flags 00000195
[    4.518826] sdhci [sdhci_irq()]: *** mmc1 got interrupt: 0x00000001
[    4.518849] mmc1: req done (CMD13): 0: 00000900 00000000 00000000 00000000
[    4.519005] mmc0: starting CMD18 arg 00062000 flags 000000b5
[    4.519022] mmc0:     blksz 512 blocks 8 flags 00000200 tsac 100 ms nsac 0
[    4.519042] mmc0:     CMD12 arg 00000000 flags 00000095
[    4.519106] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001
[    4.521216] mmcblk1: error -84 transferring data, sector 13, nr 3,
cmd response 0x900, card status 0x0
[    4.521247] mmc1: starting CMD17 arg 00001c00 flags 000000b5
[    4.521258] mmc1:     blksz 512 blocks 1 flags 00000200 tsac 100 ms nsac 0
[    4.521309] sdhci [sdhci_irq()]: *** mmc1 got interrupt: 0x00000001
[    4.521502] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000002
[    4.521539] sdhci [sdhci_irq()]: *** mmc0 got interrupt: 0x00000001
[    4.521566] mmc0: req done (CMD18): 0: 00000900 00000000 00000000 00000000
[    4.521575] mmc0:     4096 bytes transferred: 0
[    4.521585] mmc0:     (CMD12): 0: 00000b00 00000000 00000000 00000000
[    4.521646] sdhci [sdhci_irq()]: *** mmc1 got interrupt: 0x00200002
[    4.521678] mmc1: req done (CMD17): 0: 00000900 00000000 00000000 00000000
[    4.521688] mmc1:     0 bytes transferred: -84
[    4.521746] mmc1: starting CMD13 arg 00010000 flags 00000195
[    4.521790] sdhci [sdhci_irq()]: *** mmc1 got interrupt: 0x00000001
[    4.521813] mmc1: req done (CMD13): 0: 00000900 00000000 00000000 00000000
[    4.523600] mmcblk1: error -84 transferring data, sector 14, nr 2,
cmd response 0x900, card status 0x0


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




[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux