Re: lost memory on a 4GB amd64

From: Andi Kleen
Date: Sat Oct 23 2004 - 11:52:00 EST


On Sat, Oct 23, 2004 at 12:26:38PM +0200, Sergei Haller wrote:
> On Fri, 22 Oct 2004, Andi Kleen (AK) wrote:
>
> AK> > I've cc'ed Andi Kleen (x86_64 supremo) who might have some insights, but I'm
> AK> > guessing he'll say "Bios problem - tough luck". I might be wrong ;)
> AK>
> AK> Is there a full boot log of the system?
>
> yes. attached two files:
>
> dmesg-2.6.9-smp-NUMA (crashing one)
> dmesg-2.6.9-smp-noNUMA (working one)

I bet that if you fill all memory on the non NUMA setup
it will crash too.

e.g. run something like this

#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <stdio.h>

#define MEMSIZE
main()
{
unsigned long len = (sysconf(_SC_AVPHYS_PAGES) - 10)* getpagesize();
char *mem = malloc(len);
for (;;) {
memset(mem, 0xff, len);
printf(".");
}
}


-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/