bisected pcmcia bug - unable to map card memory on old laptops

Yinghai Lu yinghai at kernel.org
Fri Aug 3 14:12:11 EDT 2012


On Fri, Aug 3, 2012 at 8:32 AM, Piotr Gluszenia Slawinski
<curious at bwv190.internetdsl.tpnet.pl> wrote:
> Hello. I've bisected bug which makes old laptops fail to detect (any) pcmcia
> cards with message 'unable to map card memory!' .
> commit in question is :
>
> 30919b0bf356a8ee0ef4f7d38ca8ad99b96820b2 is the first bad commit
> commit 30919b0bf356a8ee0ef4f7d38ca8ad99b96820b2
> Author: Bjorn Helgaas <bjorn.helgaas at hp.com>
> Date:   Thu Dec 16 10:38:51 2010 -0700
>
>     x86: avoid low BIOS area when allocating address space
>
>     This implements arch_remove_reservations() so allocate_resource() can
>     avoid any arch-specific reserved areas.  This currently just avoids the
>     BIOS area (the first 1MB), but could be used for E820 reserved areas if
>     that turns out to be necessary.
>
>     We previously avoided this area in pcibios_align_resource().  This patch
>     moves the test from that PCI-specific path to a generic path, so *all*
>     resource allocations will avoid this area.
>
>     Acked-by: H. Peter Anvin <hpa at zytor.com>
>     Signed-off-by: Bjorn Helgaas <bjorn.helgaas at hp.com>
>     Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
>
> :040000 040000 58cf7334131f8ad10bc814e56ef6538781b01add
> 2434a5e5da4eabf3e413ac694c0cdeef91e17680 M      arch
>
> bug is present in all kernels since late 2.6.36

can you send the boot log with working and not working kernel?
Please make sure you have PCI_DEBUG set in your config.

Thanks

Yinghai



More information about the linux-pcmcia mailing list