Public bug reported:

Upon attempting to use my SD card reader in my Thinkpad W541, I am no longer 
able to read cards.  Ubuntu 17.10 worked OK, but 18.04 does not.  I have since 
done a fresh install and it still does not work.  I have tried some workarounds 
including:
sudo rmmod sdhci sdhci_pci sdhci_acpi
sudo modprobe sdhci debug_quirks2="0x4"
sudo modprobe sdhci_pci

including: "0x10000", and "0x80000000", but none of these are working.
I still cannot get my SD card reader from O2 Micro to work.

The logs I am getting when inserting an SD card are the following:
 7:26:36 PM kernel: mmc0: sdhci: ============================================
 7:26:36 PM kernel: mmc0: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000000
 7:26:36 PM kernel: mmc0: sdhci: Host ctl2: 0x00000000
 7:26:36 PM kernel: mmc0: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
 7:26:36 PM kernel: mmc0: sdhci: Resp[0]:   0x00000000 | Resp[1]:  0x00000000
 7:26:36 PM kernel: mmc0: sdhci: Cmd:       0x0000341a | Max curr: 0x005800c8
 7:26:36 PM kernel: mmc0: sdhci: Caps:      0x25fec8bf | Caps_1:   0x10002078
 7:26:36 PM kernel: mmc0: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000000
 7:26:36 PM kernel: mmc0: sdhci: Int enab:  0x00ff0083 | Sig enab: 0x00ff0083
 7:26:36 PM kernel: mmc0: sdhci: Timeout:   0x00000000 | Int stat: 0x00000000
 7:26:36 PM kernel: mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x0000fa07
 7:26:36 PM kernel: mmc0: sdhci: Power:     0x0000000f | Blk gap:  0x00000000
 7:26:36 PM kernel: mmc0: sdhci: Present:   0x01ff0001 | Host ctl: 0x00000001
 7:26:36 PM kernel: mmc0: sdhci: Argument:  0x00000c00 | Trn mode: 0x00000000
 7:26:36 PM kernel: mmc0: sdhci: Blk size:  0x00000000 | Blk cnt:  0x00000000
 7:26:36 PM kernel: mmc0: sdhci: Sys addr:  0x00000000 | Version:  0x00000603
 7:26:36 PM kernel: mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
 7:26:36 PM kernel: mmc0: Timeout waiting for hardware cmd interrupt.
 7:26:23 PM kernel: mmc0: Unknown controller version (3). You may experience 
problems.


Any help is welcome, but I am submitting this as a bug, because it seems
to be affecting all of my laptops with O2 Micro's as well, not just my
Thinkpad W541 I am writing this on right now.

Output of lspci -v:
02:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 
01) (prog-if 01)
        Subsystem: Lenovo SD/MMC Card Reader Controller
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at b4901000 (32-bit, non-prefetchable) [size=4K]
        Memory at b4900000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [6c] Power Management version 3
        Capabilities: [48] MSI: Enable- Count=1/1 Maskable+ 64bit+
        Capabilities: [80] Express Endpoint, MSI 00
        Capabilities: [100] Virtual Channel
        Capabilities: [200] Advanced Error Reporting
        Capabilities: [230] Latency Tolerance Reporting
        Kernel driver in use: sdhci-pci
        Kernel modules: sdhci_pci

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-34-generic 4.15.0-34.37
ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18
Uname: Linux 4.15.0-34-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  michael    1449 F.... pulseaudio
 /dev/snd/pcmC1D0c:   michael    1449 F...m pulseaudio
 /dev/snd/pcmC1D0p:   michael    1449 F...m pulseaudio
 /dev/snd/controlC1:  michael    1449 F.... pulseaudio
CurrentDesktop: ubuntu-communitheme:ubuntu:GNOME
Date: Sun Sep 23 19:43:46 2018
InstallationDate: Installed on 2018-09-23 (0 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
MachineType: LENOVO 20EFCTO1WW
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-34-generic 
root=UUID=37e56de6-bb7b-4246-8524-093c50e55296 ro quiet splash nouveau.runpm=0 
sdhci.debug_quirks2=0x4 vt.handoff=1
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-34-generic N/A
 linux-backports-modules-4.15.0-34-generic  N/A
 linux-firmware                             1.173.1
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/30/2018
dmi.bios.vendor: LENOVO
dmi.bios.version: GNET88WW (2.36 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20EFCTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: SDK0E50510 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: 
dmi:bvnLENOVO:bvrGNET88WW(2.36):bd05/30/2018:svnLENOVO:pn20EFCTO1WW:pvrThinkPadW541:rvnLENOVO:rn20EFCTO1WW:rvrSDK0E50510WIN:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.family: ThinkPad W541
dmi.product.name: 20EFCTO1WW
dmi.product.version: ThinkPad W541
dmi.sys.vendor: LENOVO

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

** Attachment added: "lspci vnvn"
   
https://bugs.launchpad.net/bugs/1793998/+attachment/5192182/+files/lspci-vnvn.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1793998

Title:
  O2 Micro SD Controller Not Functional

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1793998/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to