Re: Linux-next 20190218: am57xx-evm: mmc1: ADMA error

From: Faiz Abbas
Date: Tue Feb 19 2019 - 08:05:30 EST


Hi Naresh,

On 18/02/19 6:57 PM, Naresh Kamboju wrote:
> Do you see this error on am57xx-evm running Linux next 20190218 ?
> I have tested on multiple devices and found this error.
> Please find the full boot log [1].
> Am i missing any pre required configs [2] ?
>
> [ 5.620263] mmc1: ADMA error
> [ 5.623266] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
> [ 5.629740] mmc1: sdhci: Sys addr: 0x00000000 | Version: 0x00003302
> [ 5.636215] mmc1: sdhci: Blk size: 0x00000200 | Blk cnt: 0x0000ffff
> [ 5.642690] mmc1: sdhci: Argument: 0x002cec70 | Trn mode: 0x00000033
> [ 5.649162] mmc1: sdhci: Present: 0x01f00000 | Host ctl: 0x00000010
> [ 5.655634] mmc1: sdhci: Power: 0x0000000f | Blk gap: 0x00000000
> [ 5.662108] mmc1: sdhci: Wake-up: 0x00000000 | Clock: 0x00000107
> [ 5.668582] mmc1: sdhci: Timeout: 0x0000000c | Int stat: 0x00000000
> [ 5.675055] mmc1: sdhci: Int enab: 0x027f000b | Sig enab: 0x027f000b
> [ 5.681529] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
> [ 5.688002] mmc1: sdhci: Caps: 0x21e90080 | Caps_1: 0x00000f77
> [ 5.694474] mmc1: sdhci: Cmd: 0x0000123a | Max curr: 0x00000000
> [ 5.700949] mmc1: sdhci: Resp[0]: 0x00000900 | Resp[1]: 0xffffffef
> [ 5.707423] mmc1: sdhci: Resp[2]: 0x0f5903ff | Resp[3]: 0xd04f0132
> [ 5.713896] mmc1: sdhci: Host ctl2: 0x00000004
> [ 5.718364] mmc1: sdhci: ADMA Err: 0x00000007 | ADMA Ptr: 0xab868218
>

I see this as well on my setup. Trying to bisect now. Will keep you posted.

Thanks,
Faiz

> <>
> [ 42.425587] print_req_error: I/O error, dev mmcblk1, sector 4542872 flags 1
> [ 42.429013] mmc1: ADMA error
> [ 42.432606] EXT4-fs warning (device mmcblk1p9): ext4_end_bio:324:
> I/O error 10 writing to inode 35321 (offset 0 size 4096 starting block
> 567860)
> [ 42.435475] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
> [ 42.448543] Buffer I/O error on device mmcblk1p9, logical block 226675
> [ 42.454944] mmc1: sdhci: Sys addr: 0x00000000 | Version: 0x00003302
> [ 42.461528] EXT4-fs warning (device mmcblk1p9): ext4_end_bio:324:
> I/O error 10 writing to inode 35322 (offset 0 size 4096 starting block
> 567861)
> [ 42.467960] mmc1: sdhci: Blk size: 0x00000200 | Blk cnt: 0x0000ffff
> [ 42.480982] Buffer I/O error on device mmcblk1p9, logical block 226676
> [ 42.487427] mmc1: sdhci: Argument: 0x002cae20 | Trn mode: 0x00000033
> [ 42.494007] EXT4-fs warning (device mmcblk1p9): ext4_end_bio:324:
> I/O error 10 writing to inode 315 (offset 0 size 4096 starting block
> 567862)
>
> Full boot log,
> [1] https://lkft.validation.linaro.org/scheduler/job/610989#L4354
> config,
> [2] http://snapshots.linaro.org/openembedded/lkft/lkft/rocko/am57xx-evm/lkft/linux-next/467/config
>
> Best regards
> Naresh Kamboju
>