lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 3 Aug 2012 16:51:20 -0700
From:	Yinghai Lu <yinghai@...nel.org>
To:	Piotr Gluszenia Slawinski <curious@...190.internetdsl.tpnet.pl>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Andrew Morton <akpm@...ux-foundation.org>
Cc:	"H. Peter Anvin" <hpa@...or.com>,
	Bjorn Helgaas <bhelgaas@...gle.com>,
	linux-kernel@...r.kernel.org, linux-pcmcia@...ts.infradead.org,
	linux-pci@...r.kernel.org
Subject: Re: bisected pcmcia bug - unable to map card memory on old laptops

On Fri, Aug 3, 2012 at 2:53 PM, Piotr Gluszenia Slawinski
<curious@...190.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ