Debian Codegraph @

CHANGELOG

raw
1 Version 4.7.1
2 16 December 2024
3 -fix compile error with stricter C23/gcc-15 due to incompatible type declaration.
4 Thanks: Rudi Heitbaum.
5
6 Version 4.7.0
7 28 November 2024
8 -fix alignment issue causing crash when specifying a memory amount to test
9 that is more than the minimum 1 page of memory, but less than 2 full pages.
10 Thanks: Erwan Szymanski. Also reported by Chenghan Lee and K R Pallavi.
11 -add `-u` option to allow uncached memory semantics on some systems when
12 using the -p option. Thanks: Florian Fainelli.
13 -fix manpage highlighting of args. Thanks: László Böszörményi.
14 -add missing option documentation to man page.
15
16 Version 4.6.0
17 19 December 2022
18 -fix warning on signedness of the ONE constant. Thanks: Marek Vasut.
19 -add note to conf-cc about how to silence gcc's incorrect warning
20 "suggest parentheses around assignment". Thanks: Marek Vasut.
21 -fix overflow in output for reported address. Thanks: Marek Vasut.
22 -add note about randomizing values used at runtime by seeding PRNG.
23 Disabled by default for reproducibility.
24
25 Version 4.5.1
26 30 May 2021
27 -documentation-only update.
28 -add note to README about build problem with Tru64, with workaround.
29 Thanks: Víctor Ostorga.
30
31 Version 4.5.0
32 20 September 2020
33 -add note to README about problems with HP/UX prior to v.11. Change code
34 so that buffer still gets aligned even if you comment out the use of mlock()
35 on such a platform. Thanks: Keith Monahan.
36 -fix clear-buffer using incorrect param, causing spurious test failures.
37 Thanks: Debin Dong.
38 -fix shell-ism in Makefile. Thanks: Fabrice Fontaine.
39
40 Version 4.3.0
41 9 June 2012
42 -add ability to mmap a device other than /dev/mem, enabling easier testing
43 of memory for hardware engineers et al if their system's kernel exports the
44 memory they're interested in via /dev/mydevice or similar. Thanks:
45 Jean-Noël Avila.
46 -add ability to run only specified tests by setting the environment
47 variable MEMTESTER_TEST_MASK to a bitmask of the indexes of the tests to be
48 run. Thanks: Ian Alexander.
49
50 Version 4.2.2
51 22 July 2011
52 -add progress message for one more errno value (EAGAIN) in response to failed
53 mlock; BSDs use this to indicate the lock failed due to being over a system
54 or process limit, much like ENOMEM.
55
56 Version 4.2.1
57 3 October 2010
58 -fix offsets/addresses were not being reported correctly in test failure
59 messages. Thanks: Anton Sergeev.
60
61 Version 4.2.0
62 30 July 2010
63 -define _FILE_OFFSET_BITS to 64 by default in conf-cc, which causes some
64 32-bit systems with larger-than-32-bit address spaces to have a 64-bit off_t,
65 allowing testing of larger chunks of memory. Thanks to Steven A. Falco for
66 the suggestion. Let me know if this definition causes problems for anyone.
67 -add tests of 8-bit-wide and 16-bit-wide random writes, to enable verifying
68 the correct operation of hardware. Thanks: Dick Hollenbeck. If these tests
69 trigger unaligned access problems on your platform, you can eliminate these
70 tests by removing the -DTEST_NARROW_WRITES definition from the conf-cc file.
71
72 Version 4.1.3
73 28 February 2010
74 -fix 64-bit data patterns with some versions of gcc. Thanks: Tony Battersby.
75 -clarify `make install` in readme. Thanks: Marc Lobelle.
76
77 Version 4.1.2
78 28 July 2009
79 -fix portability issue with MAP_LOCKED flag. Thanks: Scott Haneda.
80 -remove debugging output accidentally left in v.4.1.0.
81 -cleanups
82
83 Version 4.1.1
84 24 July 2009
85
86 -memtester.h was missing from the 4.1.0 tarball; release update to fix that.
87 Thanks: Owen Leonard.
88
89 Version 4.1.0
90 23 July 2009
91
92 -added the ability to test a specific physical region of memory (by mmap'ing
93 /dev/mem) with the new -p option, which takes a hex starting address as a
94 value. This is mostly of use to developers trying to verify memory or I/O
95 mapped devices (on an embedded system, for instance). Thanks: Allon Stern.
96 -re-add the ability to set a suffix on the memory to allocate: "3G", "128K", etc,
97 mostly for use with the above new feature, where the "memory" to be tested is
98 less than a megabyte, but also useful for users wanting to test many gigabytes;
99 you no longer have to do the conversion-to-megs in your head.
100 -documentation updates and clarifications.
101
102 Version 4.0.8
103 21 November 2007
104
105 -add a startup check for amount of memory being greater than the possible
106 address space; prevents user confusion on 32-bit systems that use addressing
107 tricks to have >4GB total system memory. Thanks: Michael Kelly.
108 -documentation updates
109
110 Version 4.0.7
111 13 May 2007
112
113 -fix a bug in the align-to-page logic which may have prevented memtester
114 from mlock()ing the memory it was trying to test on some systems.
115 Thanks: Baif Chen.
116
117 Version 4.0.6
118 15 November 2006
119
120 -test algorithm improvement: the walking 0 bits test was only walking
121 the 0 bit in one direction, instead of walking it up and back down
122 the line the way it was intended to. Thanks: Tim Rule.
123 -formatting cleanups.
124
125 Version 4.0.5
126 10 March 2005
127
128 -change to the method of allocating and locking memory; if we get EPERM
129 when trying to mlock(), reset the amount of memory desired to the original
130 amount and try again without mlock(). The reason for this is that on many
131 systems, mlock() won't return EPERM until after having returned ENOMEM for
132 a larger amount. The new behaviour allows processes without mlock privileges
133 to still test the fully-specified amount or as much memory as can be
134 allocated. Thanks for the suggestion and testing to Dan Bradley.
135
136 Version 4.0.4
137 26 August 2004
138
139 -make memtester's exit code meaningful. See the manpage for its meaning.
140 Thanks to Wurzel Parsons-Keir, who sent a patch for the code, so I only had
141 to document it.
142
143 Version 4.0.3
144 10 August 2004
145
146 -small changes to enable building with dietlibc and a few other environments
147 that don't even attempt to provide the various Posix definitions.
148 -cosmetic fixes to output.
149 -restore the reduce-and-retry loop of memory locking from version 2.
150
151 Version 4.0.2
152 9 August 2004
153
154 -add manpage
155
156 Version 4.0.1
157 8 August 2004
158
159 -fix cosmetic bugs in output
160
161 Version 4.0.0
162 7 August 2004
163
164 -rewrite to clean up the code (previously an ugly hack), for 64-bit
165 cleanliness
166 -change build system to build on (hopefully) any platform. Previous
167 versions required hackery on some systems.
168
169 Version 3 not publicly released.