[Bug 899633] New: sdcard reader not detected: sdhci-acpi 80860F16:00: failed to setup card detect gpio
http://bugzilla.opensuse.org/show_bug.cgi?id=899633 Bug ID: 899633 Summary: sdcard reader not detected: sdhci-acpi 80860F16:00: failed to setup card detect gpio Classification: openSUSE Product: openSUSE Factory Version: 13.2 Beta 1 Hardware: x86-64 OS: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-maintainers@forge.provo.novell.com Reporter: michaelof@rocketmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- New Zotac ZBOX nano CI320 with internal sdcard reader. Sdcard reader confirmed to work with Win7/Win8. dmesg excerpt, kernel 3.16.3-1.gd2bbe7f-default [ 7.899265] sdhci: Secure Digital Host Controller Interface driver [ 7.899271] sdhci: Copyright(c) Pierre Ossman [ 7.901095] mmc0: no vqmmc regulator found [ 7.901102] mmc0: no vmmc regulator found [ 7.910035] mmc0: SDHCI controller on ACPI [80860F14:01] using ADMA [ 7.911446] mmc1: no vqmmc regulator found [ 7.911453] mmc1: no vmmc regulator found [ 7.913653] mmc1: SDHCI controller on ACPI [INT33BB:00] using ADMA [ 7.914144] sdhci-acpi 80860F16:00: failed to setup card detect gpio [ 7.915151] mmc2: no vqmmc regulator found [ 7.915155] mmc2: no vmmc regulator found [ 7.918624] mmc2: SDHCI controller on ACPI [80860F16:00] using ADMA Result: sdcard reader not detected/listed via lsusb/lspci/lsscsi Remark: Problem detected running OpenSuse 13.1 (3.11 kernel-desktop). Less dmesg output. As this problem still exist with new kernel 3.16.3-1.gd2bbe7f-default and seems to be pure kernel-specific, not distribution release specific, I decided to open for 13.2 to give a potential bugfix a chance for 13.2. Please transfer to 13.1 if inappropriate. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=899633 --- Comment #1 from Michael from Offenbach Germany <michaelof@rocketmail.com> --- confirmed: Still exist in 13.2 Beta 1. Tested with Gnome Live image. dmesg excerpt, kernel 3.16.2-1.gdcee397-desktop [ 64.509229] sdhci: Secure Digital Host Controller Interface driver [ 64.512427] sdhci: Copyright(c) Pierre Ossman [ 64.551684] mei_txe 0000:00:1a.0: can't derive routing for PCI INT A [ 64.555283] mei_txe 0000:00:1a.0: PCI INT A: no GSI [ 64.558842] mei_txe 0000:00:1a.0: irq 108 for MSI/MSI-X [ 64.590227] sdhci-pci 0000:00:11.0: SDHCI controller found [8086:0f15] (rev e) [ 64.594675] mmc1: no vqmmc regulator found [ 64.598356] mmc1: no vmmc regulator found [ 64.605525] mmc1: SDHCI controller on PCI [0000:00:11.0] using ADMA [ 64.608749] sdhci-pci 0000:00:12.0: SDHCI controller found [8086:0f16] (rev e) [ 64.613166] mmc2: no vqmmc regulator found [ 64.616325] mmc2: no vmmc regulator found [ 64.621235] mmc2: SDHCI controller on PCI [0000:00:12.0] using ADMA [ 64.625769] sdhci-pci 0000:00:17.0: SDHCI controller found [8086:0f50] (rev e) [ 64.631538] mmc3: no vqmmc regulator found [ 64.636199] mmc3: no vmmc regulator found [ 64.640774] mmc3: SDHCI controller on PCI [0000:00:17.0] using ADMA [ 64.655522] ACPI Warning: SystemIO range 0x000000000000f000-0x000000000000f01f conflicts with OpRegion 0x000000000000f000-0x000000000000f00f (\_SB_.PCI0.SBUS.SMBI) (20140424/utaddress-258) [ 64.659060] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver [ 64.672440] mmc0: Reset 0x1 never completed. [ 64.675761] mmc0: Unknown controller version (255). You may experience problems. [ 64.679137] mmc0: no vqmmc regulator found [ 64.682476] mmc0: no vmmc regulator found [ 64.685797] mmc0: Invalid maximum block size, assuming 512 bytes [ 64.789296] mmc0: Reset 0x1 never completed. [ 64.794949] mmc0: SDHCI controller on ACPI [INT33BB:00] using ADMA -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=899633 --- Comment #2 from Michael from Offenbach Germany <michaelof@rocketmail.com> --- Created attachment 609017 --> http://bugzilla.opensuse.org/attachment.cgi?id=609017&action=edit DMESG output from OpenELEC -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=899633 --- Comment #3 from Michael from Offenbach Germany <michaelof@rocketmail.com> --- I've narrowed down and can confirm that this bug is Opensuse specific. When booting the same hardware via an USB stick into OpenELEC, the card reader is detected and working without errors. DMESG output from OpenELEC appended as attachment. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=899633 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michaelof@rocketmail.com, | |tiwai@suse.com Flags| |needinfo?(michaelof@rocketm | |ail.com) --- Comment #4 from Takashi Iwai <tiwai@suse.com> --- Could you give the dmesg output with openSUSE 3.16 kernel and hwinfo output? You may try to pass debug_quirks and debug_quirks2 options to sdhci module. The meaning of each quirk bit is found in include/linux/mmc/sdhci.h. For example, pass shdci.debug_quirks=0x40 in boot option. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=899633 --- Comment #5 from Michael from Offenbach Germany <michaelof@rocketmail.com> --- Created attachment 609246 --> http://bugzilla.opensuse.org/attachment.cgi?id=609246&action=edit DMESG output from OpenSuse 13.1 (3.16 kernel) with boot option "sdhci.debug_quirks=0x40" -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=899633 --- Comment #6 from Michael from Offenbach Germany <michaelof@rocketmail.com> --- Created attachment 609247 --> http://bugzilla.opensuse.org/attachment.cgi?id=609247&action=edit HWINFO output from OpenSuse 13.1 (3.16 kernel) with boot option "sdhci.debug_quirks=0x40" -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=899633 Michael from Offenbach Germany <michaelof@rocketmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(michaelof@rocketm | |ail.com) | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=899633 --- Comment #8 from Michael from Offenbach Germany <michaelof@rocketmail.com> --- "Could you get the working kernel config (e.g. of OpenELEC)?" Could you please specify what exactly you expect to get from me? The OpenELEC image was a downloaded binary, not compiled by myself. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=899633 --- Comment #9 from Takashi Iwai <tiwai@suse.com> --- We need the kernel configuration of the working case. (You must have a source code and configs available for any binary-distributed GPL programs, do you remember? :) Or, more simply: it may be read from /proc/config.gz on the running system. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=899633 --- Comment #10 from Michael from Offenbach Germany <michaelof@rocketmail.com> --- Created attachment 618315 --> http://bugzilla.opensuse.org/attachment.cgi?id=618315&action=edit OpenElec 4.X kernel config -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=899633 --- Comment #11 from Michael from Offenbach Germany <michaelof@rocketmail.com> --- Checked with kernel 3.18 from kernel/stable, does not work also. I've chatted with Stephan Raue, one of the OpenElec developers, as "config.gz" unfortunately does not exist on OpenElec. I've attached the OpenElec kernel options from Guthub. Stephan pointed me to kernel module rts5208 (Realtek PCIE storage driver). Which is loaded and used on OpenElec with option "y" for kernel 3.13. Which is not loaded into OpemSuse's 13.1 3.11 kernel, but for kernel 3.18, with option "m". But even when I load rts5208 with modprobe, the card reader does not work. Question: Why do I get the dmesg lines: [ 3.315834] sdhci-pci 0000:00:11.0: SDHCI controller found [8086:0f15] (rev e) [ 3.318091] mmc0: SDHCI controller on PCI [0000:00:11.0] using ADMA on OpenElec, where the sdcard later will be deteced as /dev/mmcblk0, /dev/mmcblk0p1 to /dev/mmcblk0p6, and why do I get line like [ 5.817986] sdhci-acpi 80860F14:01: No vmmc regulator found [ 5.817994] sdhci-acpi 80860F14:01: No vqmmc regulator found [ 5.821590] mmc0: SDHCI controller on ACPI [80860F14:01] using ADMA on OpenSuse, kernel 3.18? What is the difference between "PCI" and "ACPI" in the context of "SDHCI controller on PCI" and "SDHCI controller on ACPI"? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=899633 --- Comment #12 from Michael from Offenbach Germany <michaelof@rocketmail.com> --- Additionaly compared if PCI devives are missing on OpenSuse, available on OpenElec. lspci -vvk output from OpenElec shows them, PCI devices 00:11.0, 00:12.0 and 00:17.0. lspci output attached. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=899633 --- Comment #13 from Michael from Offenbach Germany <michaelof@rocketmail.com> --- Created attachment 618316 --> http://bugzilla.opensuse.org/attachment.cgi?id=618316&action=edit lspci -vvk output from OpenElec -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=899633 http://bugzilla.opensuse.org/show_bug.cgi?id=899633#c19 --- Comment #19 from Michael from Offenbach Germany <michaelof@rocketmail.com> --- (In reply to Joerg Roedel from comment #18)
... Can you try to blacklist the sdhci-acpi driver on your system and rebuild the initrd?
I surely will if you please could advice how to "blacklist the sdhci-acpi driver and rebuild the initrd" - no clue -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=899633 http://bugzilla.opensuse.org/show_bug.cgi?id=899633#c21 --- Comment #21 from Michael from Offenbach Germany <michaelof@rocketmail.com> --- Hi Joerg, as advised I've blacklisted sdhci-acpi and run "mkinitrd" after this. No change, sdcard reader still not detected. I additionally looked in my BIOS settings, as I didn't know that ACPI is doing anything more than controlling/managing energy saving levels: "ACPI autoconfiguration" is set to false. As this the only option to avoid hibernation, whch I don't want. There's another undocumented/unknown option "Lock ACPI-legacy resources", which was set to disabled. I've set it to "enabled", but also no change. dmesg-899633-16.08.12.txt attached, as requested. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=899633 http://bugzilla.opensuse.org/show_bug.cgi?id=899633#c22 --- Comment #22 from Michael from Offenbach Germany <michaelof@rocketmail.com> --- Created attachment 687876 --> http://bugzilla.opensuse.org/attachment.cgi?id=687876&action=edit DMESG output with blacklisted sdhci-acpi -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=899633 http://bugzilla.opensuse.org/show_bug.cgi?id=899633#c23 --- Comment #23 from Joerg Roedel <jroedel@suse.com> --- (In reply to Michael from Offenbach Germany from comment #21)
"ACPI autoconfiguration" is set to false. As this the only option to avoid hibernation, whch I don't want.
Okay, thanks for testing this. The sdhci-acpi error messages are gone, but since the PCI devices are still missing, the sdhci-pci driver can't bind to them. We need to find out now why these devices exist under openelec and not under opensuse. Can you, just for testing purposes, try to change the above mentioned BIOS option and see if it makes a difference? One difference between the dmesg files was that on SUSE there appeared S4 in the list of supported sleep states, while it is missing on the openelec dmesg. Also, can you boot openelec again and get the output of 'lspci -t' and attach it here? Thanks. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com