Re: [stable] 2.6.23 boot failures on x86-64.

Greg KH
2007-10-29T18:05:41Z

On Mon, Oct 29, 2007 at 01:50:14PM -0400, Dave Jones wrote:
> We've had a number of people reporting that their x86-64s stopped booting
> when they moved to 2.6.23. It rebooted just after discovering the AGP bridge
> as a result of the IOMMU init.
>
> Martin tracked this down to the following commit.
>
>
> commit 2e1c49db4c640b35df13889b86b9d62215ade4b6
> Author: Zou Nan hai <nanhai.zou@intel.com>
> Date: Fri Jun 1 00:46:28 2007 -0700
>
> x86_64: allocate sparsemem memmap above 4G
>
> On systems with huge amount of physical memory, VFS cache and memory memmap
> may eat all available system memory under 4G, then the system may fail to
> allocate swiotlb bounce buffer.
>
> There was a fix for this issue in arch/x86_64/mm/numa.c, but that fix dose
> not cover sparsemem model.
>
> This patch add fix to sparsemem model by first try to allocate memmap above
> 4G.
>
> Signed-off-by: Zou Nan hai <nanhai.zou@intel.com>
> Acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
> Cc: Andi Kleen <ak@suse.de>
> Cc: <stable@kernel.org>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
>
>
> This should be probably be reverted for 2.6.23-stable, and either fixed
> properly in .24, or reverted there too.

I'll be glad to revert it in -stable, if it's also reverted in Linus's
tree first :)

thanks,

greg k-h