Skip to content

Commit 0b39f91

Browse files
committed
import project in git
0 parents  commit 0b39f91

22 files changed

+2000
-0
lines changed

BUGS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
* On some platforms, a few of the initial output messages don't format
2+
correctly, due to %llu or %tx not being a supported printf format. This
3+
is harmless.
4+
5+
If you spot any other bugs in the software or documentation, please ensure
6+
you're using the latest version from http://pyropus.ca/software/memtester/ ,
7+
then email me at <[email protected]> so that I can correct it.

CHANGELOG

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
Version 4.2.2
2+
22 July 2011
3+
-add progress message for one more errno value (EAGAIN) in response to failed
4+
mlock; BSDs use this to indicate the lock failed due to being over a system
5+
or process limit, much like ENOMEM.
6+
7+
Version 4.2.1
8+
3 October 2010
9+
-fix offsets/addresses were not being reported correctly in test failure
10+
messages. Thanks: Anton Sergeev.
11+
12+
Version 4.2.0
13+
30 July 2010
14+
-define _FILE_OFFSET_BITS to 64 by default in conf-cc, which causes some
15+
32-bit systems with larger-than-32-bit address spaces to have a 64-bit off_t,
16+
allowing testing of larger chunks of memory. Thanks to Steven A. Falco for
17+
the suggestion. Let me know if this definition causes problems for anyone.
18+
-add tests of 8-bit-wide and 16-bit-wide random writes, to enable verifying
19+
the correct operation of hardware. Thanks: Dick Hollenbeck. If these tests
20+
trigger unaligned access problems on your platform, you can eliminate these
21+
tests by removing the -DTEST_NARROW_WRITES definition from the conf-cc file.
22+
23+
Version 4.1.3
24+
28 February 2010
25+
-fix 64-bit data patterns with some versions of gcc. Thanks: Tony Battersby.
26+
-clarify `make install` in readme. Thanks: Marc Lobelle.
27+
28+
Version 4.1.2
29+
28 July 2009
30+
-fix portability issue with MAP_LOCKED flag. Thanks: Scott Haneda.
31+
-remove debugging output accidentally left in v.4.1.0.
32+
-cleanups
33+
34+
Version 4.1.1
35+
24 July 2009
36+
37+
-memtester.h was missing from the 4.1.0 tarball; release update to fix that.
38+
Thanks: Owen Leonard.
39+
40+
Version 4.1.0
41+
23 July 2009
42+
43+
-added the ability to test a specific physical region of memory (by mmap'ing
44+
/dev/mem) with the new -p option, which takes a hex starting address as a
45+
value. This is mostly of use to developers trying to verify memory or I/O
46+
mapped devices (on an embedded system, for instance). Thanks: Allon Stern.
47+
-re-add the ability to set a suffix on the memory to allocate: "3G", "128K", etc,
48+
mostly for use with the above new feature, where the "memory" to be tested is
49+
less than a megabyte, but also useful for users wanting to test many gigabytes;
50+
you no longer have to do the conversion-to-megs in your head.
51+
-documentation updates and clarifications.
52+
53+
Version 4.0.8
54+
21 November 2007
55+
56+
-add a startup check for amount of memory being greater than the possible
57+
address space; prevents user confusion on 32-bit systems that use addressing
58+
tricks to have >4GB total system memory. Thanks: Michael Kelly.
59+
-documentation updates
60+
61+
Version 4.0.7
62+
13 May 2007
63+
64+
-fix a bug in the align-to-page logic which may have prevented memtester
65+
from mlock()ing the memory it was trying to test on some systems.
66+
Thanks: Baif Chen.
67+
68+
Version 4.0.6
69+
15 November 2006
70+
71+
-test algorithm improvement: the walking 0 bits test was only walking
72+
the 0 bit in one direction, instead of walking it up and back down
73+
the line the way it was intended to. Thanks: Tim Rule.
74+
-formatting cleanups.
75+
76+
Version 4.0.5
77+
10 March 2005
78+
79+
-change to the method of allocating and locking memory; if we get EPERM
80+
when trying to mlock(), reset the amount of memory desired to the original
81+
amount and try again without mlock(). The reason for this is that on many
82+
systems, mlock() won't return EPERM until after having returned ENOMEM for
83+
a larger amount. The new behaviour allows processes without mlock privileges
84+
to still test the fully-specified amount or as much memory as can be
85+
allocated. Thanks for the suggestion and testing to Dan Bradley.
86+
87+
Version 4.0.4
88+
26 August 2004
89+
90+
-make memtester's exit code meaningful. See the manpage for its meaning.
91+
Thanks to Wurzel Parsons-Keir, who sent a patch for the code, so I only had
92+
to document it.
93+
94+
Version 4.0.3
95+
10 August 2004
96+
97+
-small changes to enable building with dietlibc and a few other environments
98+
that don't even attempt to provide the various Posix definitions.
99+
-cosmetic fixes to output.
100+
-restore the reduce-and-retry loop of memory locking from version 2.
101+
102+
Version 4.0.2
103+
9 August 2004
104+
105+
-add manpage
106+
107+
Version 4.0.1
108+
8 August 2004
109+
110+
-fix cosmetic bugs in output
111+
112+
Version 4.0.0
113+
7 August 2004
114+
115+
-rewrite to clean up the code (previously an ugly hack), for 64-bit
116+
cleanliness
117+
-change build system to build on (hopefully) any platform. Previous
118+
versions required hackery on some systems.
119+
120+
Version 3 not publicly released.

0 commit comments

Comments
 (0)