Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #62444

Bug#912300: linux-image-amd64: SD card reader on Dell E7250 doesn't work in Debian Stretch

From Adam Chancler <mmx018@sapo.pt>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#912300: linux-image-amd64: SD card reader on Dell E7250 doesn't work in Debian Stretch
Date 2018-10-30 00:10 +0100
Message-ID <wOoPv-8hr-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


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

Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread


Thread

Bug#912300: linux-image-amd64: SD card reader on Dell E7250 doesn't work in Debian Stretch Adam Chancler <mmx018@sapo.pt> - 2018-10-30 00:10 +0100

csiph-web