public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
From: "Sébastien Bourdeauducq" <sb@m-labs.hk>
To: linux-mmc@vger.kernel.org
Subject: "Timeout waiting for hardware interrupt" on Lenovo Thinkpad Tablet 10
Date: Mon, 02 Feb 2015 20:29:51 +0800	[thread overview]
Message-ID: <54CF6DBF.4080404@m-labs.hk> (raw)

Hi,

Under Linux, the most annoying problem that the Lenovo Thinkpad Tablet
10 has is the unreliable eMMC.

I intermittently get an error "mmc0: Timeout waiting for hardware
interrupt" followed by a crash of the machine (when the eMMC is used as
rootfs).

I have been able to work around this issue with kernel 3.13.0 by passing
the debug_quirks2=0xc0 option to the sdhci module, which disables the
HS200 and DDR50 transfer modes. The read data rate (as measured by
hdparm -t) drops from 119MB/s to 42MB/s, but at least the computer no
longer crashes every 20 minutes and my files are not corrupted anymore.

Unfortunately, with more recent kernels such as 3.18.4, the sdhci module
(still with debug_quirks2=0xc0) appears to select another problematic
transfer mode. The read data rate jumps to 65MB/s and the bug manifests
itself again.

What changes in sdhci between 3.13.0 and 3.18.4 could cause that? I'd
like to be able to use the eMMC reliably at least at 42MB/s using recent
kernels, which hopefully will introduce fixes for the gazillion other
problems that this crippled machine has under Linux (absolutely nothing
works correctly except the CPU, display and USB).

Thanks,
Sébastien

             reply	other threads:[~2015-02-02 12:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-02 12:29 Sébastien Bourdeauducq [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-02-02 13:38 "Timeout waiting for hardware interrupt" on Lenovo Thinkpad Tablet 10 Simon Raffeiner (SCC)
2015-02-02 14:06 ` Sébastien Bourdeauducq
2015-02-08 11:54   ` Simon Raffeiner (SCC)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54CF6DBF.4080404@m-labs.hk \
    --to=sb@m-labs.hk \
    --cc=linux-mmc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox