Messages in this thread | | | Date | Fri, 3 Aug 2012 16:51:20 -0700 | Subject | Re: bisected pcmcia bug - unable to map card memory on old laptops | From | Yinghai Lu <> |
| |
On Fri, Aug 3, 2012 at 2:53 PM, Piotr Gluszenia Slawinski <curious@bwv190.internetdsl.tpnet.pl> wrote: >>> 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. > > > system is ISA based :) but i've enabled it for sake of clarity.
Good.
> > logs are attached both systems are 3.5 kernel, working is one where i've > simply commented out the code preventing low mem allocation in resource.c > > btw. note that if i would enable pci support in older kernels > bug would most likely resurface even there.
pcmcia :: nonstatic_find_mem_region do try to allocate mem under 1M.
should replace arch_remove_reservations()
with reserve resource in iomem resource tree if needed for some platform.
current arch_remove_reservations keep clip the with e820 table.
also there are two local resource_clip have different meaning. one is "include" and another one is "exclude"
Yinghai
| |