2012-02-14 18:17:25

by Bastien Roucariès

[permalink] [raw]
Subject: Re: Need pci rescan in order to get my mmc reader

ping **2

On Thu, Jan 26, 2012 at 10:54 AM, Bastien ROUCARIES
<[email protected]> wrote:
> On Mon, Jan 23, 2012 at 2:51 PM, Chris Ball <[email protected]> wrote:
>> Hi,
>>
>> On Mon, Jan 23 2012, Bastien ROUCARIES wrote:
>>> On Sun, Jan 15, 2012 at 12:55 PM, bastien ROUCARIES
>>> <[email protected]> wrote:
>>>> I am hit by the same bug than here
>>>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/703180
>>>>
>>>> I order to get my mmc reader functionnal I need to put a mmc card
>>>> and do a pci rescan manualy.
>>>>
>>>> What could be done  ?
>>>>
>>>> What do you need in order to help ?
>>>>
>>>> Thanks
>>
>> I'm not sure there's anything I (at the MMC layer) can do to help;
>> having a visible PCI device is a prerequisite for working MMC.
>>
>> Have you tried a recent upstream kernel, and looked for any available
>> BIOS updates for your laptop?
>
> BIOS is lasted and kernel is 3.1.
>
> I know that  PCI device is a prerequisite  but I believe it is
> possible to run some quirk on this laptop, in order to get the mmc
> reader up earlier.
>
> See also https://bugzilla.kernel.org/show_bug.cgi?id=40802
>
> perhap loading by default pci hotplug and do a rescan every second ?
>
> Bastien
>>
>> Thanks,
>>
>> - Chris.
>> --
>> Chris Ball   <[email protected]>   <http://printf.net/>
>> One Laptop Per Child


2012-02-14 19:18:33

by Yinghai Lu

[permalink] [raw]
Subject: Re: Need pci rescan in order to get my mmc reader

On Tue, Feb 14, 2012 at 10:17 AM, Bastien ROUCARIES
<[email protected]> wrote:
> ping **2
>
> On Thu, Jan 26, 2012 at 10:54 AM, Bastien ROUCARIES
> <[email protected]> wrote:
>> On Mon, Jan 23, 2012 at 2:51 PM, Chris Ball <[email protected]> wrote:
>>> Hi,
>>>
>>> On Mon, Jan 23 2012, Bastien ROUCARIES wrote:
>>>> On Sun, Jan 15, 2012 at 12:55 PM, bastien ROUCARIES
>>>> <[email protected]> wrote:
>>>>> I am hit by the same bug than here
>>>>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/703180
>>>>>
>>>>> I order to get my mmc reader functionnal I need to put a mmc card
>>>>> and do a pci rescan manualy.
>>>>>
>>>>> What could be done ??
>>>>>
>>>>> What do you need in order to help ?
>>>>>
>>>>> Thanks
>>>
>>> I'm not sure there's anything I (at the MMC layer) can do to help;
>>> having a visible PCI device is a prerequisite for working MMC.
>>>
>>> Have you tried a recent upstream kernel, and looked for any available
>>> BIOS updates for your laptop?
>>
>> BIOS is lasted and kernel is 3.1.
>>
>> I know that ?PCI device is a prerequisite ?but I believe it is
>> possible to run some quirk on this laptop, in order to get the mmc
>> reader up earlier.
>>
>> See also https://bugzilla.kernel.org/show_bug.cgi?id=40802

can you post full boot log with pci debug enabled?

CONFIG_PCI_DEBUG=y

and "debug ignore_loglevel" in boot command line.

also post:
lspci -tv
lspci -vvxxx
lspci

should have one booted with card inserted and one booted without card inserted.

Yinghai