Yeah thanks - just found it :-)


  ----- Original Message -----
>From: "Jeremy Jackson" <[EMAIL PROTECTED]>
>To: "Ian" <[EMAIL PROTECTED]>
>Subject:  Re: memtest
>Date: Wed, 20 Feb 2002 18:29:54 -0800
>
> http://memtest86.com
> 
> ----- Original Message -----
> From: "Ian" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Wednesday, February 20, 2002 6:05 PM
> Subject: memtest
> 
> 
> > Do you have memtest code?
> >
> >
> > Going thru the mail archive I found two messages on memtest;
> >
> >
> > 1) You to all RE: memtest86 ...
> >     http://www.mail-archive.com/linuxbios@lanl.gov/msg00252.html
> >     Link to http://reality.sgi.com/cbrady/memtest86/  is no longer valid
> .. there's a new
> >     SGI server, and cbrady doesn't have an account on it. (see;
> http://reality.exsgi.org/ )
> >
> >
> > 2) You to Andrew RE: 2.4.2 kernel weirdness
> >     http://www.mail-archive.com/linuxbios@lanl.gov/msg00237.html
> >     Which includes this;
> >
> >   Is this the one ?
> >
> > > #include <stdio.h>
> > > #include <unistd.h>
> > > #include <stdlib.h>
> > >
> > > file://#define SIZE 32*1024*1024
> > >
> > > unsigned int patt[] = {
> > >     0xaaaaaaaa,
> > >     0x55555555,
> > >     0xffffffff,
> > >     0xa5a5a5a5,
> > >     0x5a5a5a5a,
> > >     0x11111111,
> > >     0x22222222,
> > >     0x44444444,
> > >     0x88888888,
> > >     0x00000000
> > > };
> > >
> > >
> > > int main(int argc, char **argv){
> > >
> > >     int i, k;
> > >     unsigned int *mem, SIZE;
> > >
> > >     if(argc < 2){
> > >         printf("Format is: %s SIZEn", argv[0]);
> > >         exit(1);
> > >     }
> > >
> > >     SIZE = strtol(argv[1], 0x0, 0x0);
> > >
> > >     fprintf(stderr, "Doing Mallocn");
> > >     mem = (unsigned int *) malloc(SIZE);
> > >     for(k = 0; patt[k] != 0x0; k++){
> > >         fprintf(stderr, "Doing Write pattern: 0x%08xn", patt[k]);
> > >         for(i = SIZE>>2; i > 0; i--){
> > >             mem[i] = patt[k];
> > >         }
> > >         fprintf(stderr, "Doing Read  pattern: 0x%08xn", patt[k]);
> > >         for(i = SIZE>>2; i > 0; i--){
> > >             if(mem[i] != patt[k]){
> > >                 printf("Mem missmatch at: %d, with patt: 0x%08xn", i,
> patt[k]);
> > >
> > >             }
> > >         }
> > >         fprintf(stderr, "Done pattern: 0x%08xn", patt[k]);
> > >     }
> > >     printf("n");
> > >     return 0;
> > >  }
> >
> >
> >
> >
> >
> >
> >
> >   ----- Original Message -----
> > >From: <[EMAIL PROTECTED]>, <Eric W. Biederman>
> > >To: "Ian" <[EMAIL PROTECTED]>
> > >Subject:  Re: kernel
> > >Date: Wed, 20 Feb 2002 09:44:44 -0700
> > >
> > > "Ian" <[EMAIL PROTECTED]> writes:
> > >
> > > > > > ... can it only be in a "make vmlinux" format (and not a "make
> bzImage"
> > > > format)?
> > > >
> > > > >
> > > > > Yes.
> > > > >
> > > > > mkelfImage supports bzImage.
> > > > >
> > > > Ok, a quick grep through the howto's and the only "elf"s in there are
> how
> > > > I can hurt mysELF ;-)  So what's the routine for mkelfimage support in
> the
> > > > config/make file(s) .. ?
> > >
> > > roughly:
> > > USE_ELF_BOOT=1
> > > payload=blah.elf
> > >
> > > For more look in the mailling list archives.  If you can't find
> > > it there I'll answer some more questions...
> > >
> > > Eric
> > >
> > >
> >
> 
> 

Reply via email to