Re: kmem_cache_init failure (was Re: 2.6.21-mm1)

Andrew Morton
2007-05-08T19:36:37Z

On Tue, 8 May 2007 19:22:33 +0200
Frederik Deweerdt <deweerdt@free.fr> wrote:

> On Sat, May 05, 2007 at 01:49:55AM -0700, Andrew Morton wrote:
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21/2.6.21-mm1/
> >
> Hi all,
>
> My computer fails early at boot with a stack along the lines of:
>
> kmem_cache_zalloc
> kmem_cache_create
> kmem_cache_init
> start_kernel
>
> eip is at cache_calloc_refill+0x3e1 which is the
> slabp->colouroff = colouroff; in alloc_slabmgmt()
>
> I've bisected it down to the x86_64-mm-cpa-kerneltext.patch and the
>
> + if (!pte_present(*kpte))
> + return 0;
>
> part in particular. Dotconfig and cpuinfo are available at
> http://fdeweerdt.free.fr/kmem_prob/. Any ideas?

Thanks for working that out - it helps heaps.

x86_64-mm-cpa-kerneltext.patch seems to have been dropped from Andi's tree.
It might come back, so please let's keep an eye out for that.