lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 23 Dec 2007 02:36:14 +1030
From:	David Newall <david@...idnewall.com>
To:	Pavel Machek <pavel@....cz>
CC:	Richard D <richard@...unus.com>,
	'Matthew Bloch' <matthew@...emark.co.uk>,
	linux-kernel@...r.kernel.org
Subject: Re: Testing RAM from userspace / question about memmap= arguments

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
> /dev/mem to test areas that kernel doesn't see, then kexec into place
> you already tested, and test the rest.
>   

That's still an insufficient test.  One failure mode is writes at one 
location corrupting cells at another.

The idea of wanting to do comprehensive and robust memory testing from 
within the operating system seems dubious at best, to me.  If there is 
something wrong with memtest86, doing the tests from within Linux is not 
the answer.  The answer is to fix memtest86.  If the problem is that you 
automation, e.g. switching a server from production to memory test mode 
at midnight and back again at 6am, the answer is still to "fix" 
memtest86.  Writing something that grabs some physical RAM from Linux's 
control, tests it, and then moves the kernel itself so that it can test 
the rest, is adding a whole extra layer of complexity to an already 
challenging (I assume, based on errors that dedicated software-based 
testers miss) problem.

Give up on this misguided idea and build on the best tools that are 
already available.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ