From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrian Hunter Subject: Re: sdhci-pci: probe of 0000:11:00.0 failed with error -22 Date: Mon, 15 Feb 2016 23:16:50 +0200 Message-ID: <56C24042.7030404@intel.com> References: <20160201141944.GT13086@bla.fasel.org> <56B0746B.9050902@intel.com> <20160215073825.GK17591@bla.fasel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com ([134.134.136.20]:55477 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751153AbcBOVQy (ORCPT ); Mon, 15 Feb 2016 16:16:54 -0500 In-Reply-To: <20160215073825.GK17591@bla.fasel.org> Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: Wolfram Schlich Cc: linux-mmc@vger.kernel.org On 15/02/2016 9:38 a.m., Wolfram Schlich wrote: > * Adrian Hunter [2016-02-02 10:23]: >> + Peter Guo and Adam Lee > > Adrian, > > any news here? > Adam Lee has left Canonical and Peter Guo doesn't respond. > Is there something I can do to help? I am traveling for a couple of weeks so I can't do much now. First we need to determine where in the probe function the error occurs. Then maybe we can figure out a workaround. But I don't have the hardware. Can you build a kernel and put some prints into the probe function to try to find where the error occurs? > > Cheers, > Wolfram > >> On 01/02/16 16:19, Wolfram Schlich wrote: >>> [ Issue originally reported as https://bugzilla.kernel.org/show_bug.cgi?id=110411 ] >>> >>> Hi! >>> >>> I am working on a Dell Precision M4800 laptop with Gentoo Linux and Kernel 4.3.3: >>> >>> --8<-- >>> Linux zephyr 4.3.3-gentoo #2 SMP Wed Jan 6 00:33:28 CET 2016 x86_64 Intel(R) Core(TM) i7-4910MQ CPU @ 2.90GHz GenuineIntel GNU/Linux >>> --8<-- >>> >>> It has an O2 Micro SD/MMC card reader (1217:8520) which is supposed to be supported by sdhci-pci-o2micro: >>> >>> --8<-- >>> 11:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01) >>> 11:00.0 0805: 1217:8520 (rev 01) >>> --8<-- >>> >>> On bootup, the sdhci-pci driver fails to initialize the card reader with error -22: >>> --8<-- >>> [ 4.782054] sdhci: Secure Digital Host Controller Interface driver >>> [ 4.782057] sdhci: Copyright(c) Pierre Ossman >>> [ 4.782187] sdhci-pci 0000:11:00.0: SDHCI controller found [1217:8520] (rev 1) >>> [ 4.782328] sdhci-pci: probe of 0000:11:00.0 failed with error -22 >>> [ 4.782376] sdhci-pltfm: SDHCI platform and OF driver helper >>> --8<-- >>> >>> What's wrong? >>> >>> BIOS version is A15 from 09/29/2015. >>> >>> UPDATE: The issue remains unchanged with kernel 4.3.5-gentoo. >>> >>> Cheers, >>> Wolfram