Package: linux-image-amd64
Version: 4.9+80+deb9u6
Severity: normal

There is a known issue on 4.x kernels for this device:

01:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 
01)
sdhci-pci 0000:01:00.0: SDHCI controller found [1217:8520] (rev 1)

Whenever we try to use this reader with any kind of SD card, it doesn't work
 and reports the following in dmesg:

[ 4357.435988] sdhci: Timeout waiting for Buffer Read Ready interrupt during 
tuning procedure, falling back to fixed sampling clock
[ 4357.443304] mmc0: tuning execution failed: -5
[ 4357.443315] mmc0: error -5 whilst initialising SD card

There is a same issue open on Ubuntu bug tracker: 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1514821

I have tried the solution from:
https://www.0xf8.org/2016/01/workaround-for-broken-o2-micro-sd-card-reader-support-since-linux-kernel-version-4-1-8/
which proposes loading the `sdhci` module with a debug_quirks2="0x4" flag, but 
it doesn't work and people report this error comes back after every kernel 
update.

This bug persisted since Debian Stretch appeared and never been fixed in any of 
kernel updates.

It seems someone already submitted a patch in linux.kernel.mmc but it was never 
included in Debian mainline:
http://comments.gmane.org/gmane.linux.kernel.mmc/34979


-- System Information:
Debian Release: 9.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages linux-image-amd64 depends on:
ii  linux-image-4.9.0-8-amd64  4.9.110-3+deb9u6

linux-image-amd64 recommends no packages.

linux-image-amd64 suggests no packages.

-- no debconf information

Reply via email to