Re: Testing RAM from userspace / question about memmap= arguments

2007-12-26 Thread Maxim Levitsky
В сообщении от Wednesday 26 December 2007 12:17:56 Arjan van de Ven написал(а): > On Wed, 26 Dec 2007 00:09:57 +0100 > Pavel Machek <[EMAIL PROTECTED]> wrote: > > > On Sat 2007-12-22 12:09:59, Arjan van de Ven wrote: > > > On Tue, 18 Dec 2007 17:06:24 + > > > > memtest86+ does various magic t

Re: Testing RAM from userspace / question about memmap= arguments

2007-12-26 Thread Arjan van de Ven
On Wed, 26 Dec 2007 00:09:57 +0100 Pavel Machek <[EMAIL PROTECTED]> wrote: > On Sat 2007-12-22 12:09:59, Arjan van de Ven wrote: > > On Tue, 18 Dec 2007 17:06:24 + > > memtest86+ does various magic to basically bypass the caches (by > > disabling them ;-)... Doing that in a live kernel situat

Re: Testing RAM from userspace / question about memmap= arguments

2007-12-25 Thread Pavel Machek
On Sat 2007-12-22 12:09:59, Arjan van de Ven wrote: > On Tue, 18 Dec 2007 17:06:24 + > Matthew Bloch <[EMAIL PROTECTED]> wrote: > > > Hi - I'm trying to come up with a way of thoroughly testing every byte > > of RAM from within Linux on amd64 (so that it can be automated better > > than using

Re: Testing RAM from userspace / question about memmap= arguments

2007-12-23 Thread Pavel Machek
On Sun 2007-12-23 18:05:59, David Newall wrote: > Pavel Machek wrote: >> On Sun 2007-12-23 07:06:58, David Newall wrote: >> >>> It's kind of hard to run anything over SSH if it has to be run before >>> userspace is up. But the kernel can collect results from a modified >>> memtest, after it c

Re: Testing RAM from userspace / question about memmap= arguments

2007-12-22 Thread David Newall
Pavel Machek wrote: On Sun 2007-12-23 07:06:58, David Newall wrote: It's kind of hard to run anything over SSH if it has to be run before userspace is up. But the kernel can collect results from a modified memtest, after it chains back. memtest can be ran from userspace, that's the p

Re: Testing RAM from userspace / question about memmap= arguments

2007-12-22 Thread Pavel Machek
On Sun 2007-12-23 07:06:58, David Newall wrote: > Pavel Machek wrote: >> memtest has following problems: >> >> 0) it is kind of hard to run memtest over ssh >> > > It's kind of hard to run anything over SSH if it has to be run before > userspace is up. But the kernel can collect results f

Re: Testing RAM from userspace / question about memmap= arguments

2007-12-22 Thread Matthew Bloch
David Newall wrote: Pavel Machek wrote: On Sat 2007-12-22 13:42:47, Richard D wrote: Cant you, modify bootmem allocator to test with memtest patterns and then use kexec (as Pavel suggested) to test the one where kernel was sitting earlier? I do not think you need to modify anything i

Re: Testing RAM from userspace / question about memmap= arguments

2007-12-22 Thread David Newall
Pavel Machek wrote: memtest has following problems: 0) it is kind of hard to run memtest over ssh It's kind of hard to run anything over SSH if it has to be run before userspace is up. But the kernel can collect results from a modified memtest, after it chains back. 1)

Re: Testing RAM from userspace / question about memmap= arguments

2007-12-22 Thread Arjan van de Ven
On Tue, 18 Dec 2007 17:06:24 + Matthew Bloch <[EMAIL PROTECTED]> wrote: > Hi - I'm trying to come up with a way of thoroughly testing every byte > of RAM from within Linux on amd64 (so that it can be automated better > than using memtest86+), and came up with an idea which I'm not sure is > su

Re: Testing RAM from userspace / question about memmap= arguments

2007-12-22 Thread Pavel Machek
On Sun 2007-12-23 02:36:14, David Newall wrote: > Pavel Machek wrote: >> On Sat 2007-12-22 13:42:47, Richard D wrote: >> >>> Cant you, modify bootmem allocator to test with memtest patterns and then >>> use kexec (as Pavel suggested) to test the one where kernel was sitting >>> earlier? >> >> I

Re: Testing RAM from userspace / question about memmap= arguments

2007-12-22 Thread Pavel Machek
On Sat 2007-12-22 21:00:11, Richard D wrote: > I was thinking that by the time userspace is ready, the memory that can be > tested will be less. Which does not matter when you can test the rest using second (kexec-ed) kernel, right?

Re: Testing RAM from userspace / question about memmap= arguments

2007-12-22 Thread David Newall
Pavel Machek wrote: On Sat 2007-12-22 13:42:47, Richard D wrote: Cant you, modify bootmem allocator to test with memtest patterns and then use kexec (as Pavel suggested) to test the one where kernel was sitting earlier? I do not think you need to modify anything in kernel. Just use /d

RE: Testing RAM from userspace / question about memmap= arguments

2007-12-22 Thread Richard D
e: Testing RAM from userspace / question about memmap= arguments On Sat 2007-12-22 13:42:47, Richard D wrote: > Cant you, modify bootmem allocator to test with memtest patterns and then > use kexec (as Pavel suggested) to test the one where kernel was sitting > earlier? I do not think

Re: Testing RAM from userspace / question about memmap= arguments

2007-12-22 Thread Pavel Machek
On Sat 2007-12-22 13:42:47, Richard D wrote: > Cant you, modify bootmem allocator to test with memtest patterns and then > use kexec (as Pavel suggested) to test the one where kernel was sitting > earlier? I do not think you need to modify anything in kernel. Just use /dev/mem to test areas that

RE: Testing RAM from userspace / question about memmap= arguments

2007-12-22 Thread Richard D
To: Matthew Bloch Cc: linux-kernel@vger.kernel.org Subject: Re: Testing RAM from userspace / question about memmap= arguments On Tue 2007-12-18 17:06:24, Matthew Bloch wrote: > Hi - I'm trying to come up with a way of thoroughly testing every byte > of RAM from within Linux on amd64

Re: Testing RAM from userspace / question about memmap= arguments

2007-12-21 Thread Pavel Machek
On Tue 2007-12-18 17:06:24, Matthew Bloch wrote: > Hi - I'm trying to come up with a way of thoroughly testing every byte > of RAM from within Linux on amd64 (so that it can be automated better > than using memtest86+), and came up with an idea which I'm not sure is > supported or practical. > > T

Testing RAM from userspace / question about memmap= arguments

2007-12-20 Thread Siva Prasad
e simple memory test in Linux kernel before it starts allocating memory, you get very good % of coverage. Good Luck. - Siva Date: Thu, 20 Dec 2007 14:17:10 + From: Matthew Bloch <[EMAIL PROTECTED]> Subject: Re: Testing RAM from userspace / question about memmap= argume

Re: Testing RAM from userspace / question about memmap= arguments

2007-12-20 Thread Matthew Bloch
Jon Masters wrote: > On Tue, 2007-12-18 at 17:06 +, Matthew Bloch wrote: > >> I can see a few potential problems, but since my understanding of the >> low-level memory mapping is muddy at best, I won't speculate; I'd just >> appreciate any more expert views on whether this does work, or could

Re: Testing RAM from userspace / question about memmap= arguments

2007-12-20 Thread Jon Masters
On Tue, 2007-12-18 at 17:06 +, Matthew Bloch wrote: > I can see a few potential problems, but since my understanding of the > low-level memory mapping is muddy at best, I won't speculate; I'd just > appreciate any more expert views on whether this does work, or could be > made to work. Yo, I

Testing RAM from userspace / question about memmap= arguments

2007-12-18 Thread Matthew Bloch
Hi - I'm trying to come up with a way of thoroughly testing every byte of RAM from within Linux on amd64 (so that it can be automated better than using memtest86+), and came up with an idea which I'm not sure is supported or practical. The obvious problem with testing memory from user space is tha