Re: LKFT: arm x15: mmc1: cache flush error -110

From: Ulf Hansson
Date: Wed Feb 19 2020 - 11:24:03 EST


On Thu, 13 Feb 2020 at 16:43, Naresh Kamboju <naresh.kamboju@xxxxxxxxxx> wrote:
>
> arm beagleboard x15 device failed to boot Linux mainline and
> linux-next kernel due
> to below error.
> This error occurred across all x15 device for these kernel version.
>
> This regression started happening on x15 from this commit onwards (27th Jan)
> git branch: master
> git repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> git commit: aae1464f46a2403565f75717438118691d31ccf1
> git describe: v5.5-489-gaae1464f46a2
>
>
> Test output log,
> [ 37.606241] mmc1: Card stuck being busy! mmc_poll_for_busy
> [ 37.611850] mmc1: cache flush error -110
> [ 37.615883] blk_update_request: I/O error, dev mmcblk1, sector
> 4302400 op 0x1:(WRITE) flags 0x20800 phys_seg 1 prio class 0
> [ 37.627387] Aborting journal on device mmcblk1p9-8.
> [ 37.635448] systemd[1]: Installed transient /etc/machine-id file.
> [ 37.659283] systemd[1]: Couldn't move remaining userspace
> processes, ignoring: Input/output error
> [ 37.744027] EXT4-fs error (device mmcblk1p9):
> ext4_journal_check_start:61: Detected aborted journal
> [ 37.753322] EXT4-fs (mmcblk1p9): Remounting filesystem read-only
> [ 37.917486] systemd-gpt-auto-generator[108]: Failed to dissect:
> Input/output error
> [ 37.927825] systemd[104]:
> /lib/systemd/system-generators/systemd-gpt-auto-generator failed with
> exit status 1.
> <>

Try to restore the value for the cache flush timeout, by updating the
define MMC_CACHE_FLUSH_TIMEOUT_MS to 10 * 60 * 1000".

The offending commit could perhaps be this one.

commit 24ed3bd01d6a844fd5e8a75f48d0a3d10ed71bf9
Author: Ulf Hansson <ulf.hansson@xxxxxxxxxx>
Date: Wed Jan 22 15:27:45 2020 +0100
mmc: core: Specify timeouts for BKOPS and CACHE_FLUSH for eMMC

[...]

Kind regards
Uffe