Thread (3 messages) 3 messages, 2 authors, 2012-08-03

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

From: Yinghai Lu <yinghai@kernel.org>
Date: 2012-08-03 18:12:15
Also in: lkml

On Fri, Aug 3, 2012 at 8:32 AM, Piotr Gluszenia Slawinski
[off-list ref] 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 [off-list ref]
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 [off-list ref]
    Signed-off-by: Bjorn Helgaas [off-list ref]
    Signed-off-by: Jesse Barnes [off-list ref]

: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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help