[Bug 1876157] Re: Memtest86+ in Ubuntu 20.04 doesn't work, switch to Coreboot branch or package new release v5.31b is available since 12/04/2020
Mantas Kriaučiūnas
1876157 at bugs.launchpad.net
Thu Feb 10 09:00:40 UTC 2022
Lionel Debroux <lionel_debroux at yahoo.fr> told at http://bugs.debian.org/943752
Date: Tue, 18 Jan 2022 23:08:44 +0100
https://github.com/anphsw/memtest86 is another memtest86+ fork which contains some interesting changes. Unlike both upstream and coreboot's fork:
* in dmi.c, it's not affected by https://bugs.debian.org/1003906 , and it contains updated DMI struct definitions;
* in spd.c, struct pci_smbus_controller smbcontrollers[] contains ~30 additional entries for Intel hardware;
* in main.c and test.c, it has new latency analysis and Rowhammer tests;
* etc.
In config.h and lib.c , both forks have support for 4 serial ports, up
from 2.
On its side, the coreboot fork integrates multiboot changes, embeds a
much newer and larger JEDEC ID list than both upstream and anphsw's
fork, etc.
Lastly, unlike both forks, upstream 5.31b has DDR5 entries in dmi.c's
static char *memory_types[], a number of typo fixes, the beginning of a
user-space unit test program for memtest86+ (which could be used as a
starting point for fuzzing the DMI, SPD, ACPI, etc. parsing functions).
It's a mess :)
PS: I used the following mechanical changes to clean up a bit the large
diffs between memtest86+ 5.31b and the anphsw / coreboot forks:
perl -pi -e "s/v->/vv->/g" *
perl -pi -e "s/isdigit/mt86_isdigit/g" *
perl -pi -e "s/memcmp/mt86_memcmp/g" *
perl -pi -e "s/memmove/mt86_memmove/g" *
perl -pi -e "s/strncmp/mt86_strncmp/g" *
perl -pi -e "s/strstr/mt86_strstr/g" *
perl -pi -e "s/strlen/mt86_strlen/g" *
perl -pi -e "s/error\(/mt86_error(/g" *
perl -pi -e "s/print_mt86_error/print_error/g" *
+ 1 manual edition to test.h for renaming v to vv
Many whitespace changes still appear in those diffs, despite passing the
-b or -w flags to `diff`.
** Bug watch added: Debian Bug tracker #1003906
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003906
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to memtest86+ in Ubuntu.
https://bugs.launchpad.net/bugs/1876157
Title:
Memtest86+ in Ubuntu 20.04 doesn't work, switch to Coreboot branch or
package new release v5.31b is available since 12/04/2020
Status in memtest86+ package in Ubuntu:
Confirmed
Status in memtest86+ package in Baltix:
Triaged
Status in memtest86+ package in Debian:
Fix Released
Bug description:
Memtest in Ubuntu is very old, not updated since 2013, new Memtest86+
release v5.31b is available at http://memtest.org , dated 12/04/2020
*** Enhancements in v5.31b : ***
I've started compiling many codes branches to release public builds again! Here is Memtest86+ 5.31b, with many bug fixes in the core functions.
Also there is updated Memtest86+ branch at https://www.coreboot.org/Memtest86%2B - several people told, that this branch does work, where original Memtest 5.01 doesn't, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943752
---- Original bugreport ----
I ran it twice, and both times it hung at exactly 79% in the first test. Even fail safe mode hung exactly at that point.
Then I booted with the floppy image from memtest86+-4.10.floppy.zip
and it worked fine.
Today I installed memtest86+_5.01-3ubuntu2_amd64.deb from Ubuntu 19.10
and that worked fine too.
The failing version is 5.01-3.1ubuntu1.
Memory configuration is 2 * 2 GB (F2-6400CL5-2GBPQ) and 2 * 1 GB
(OCZ2G8001G) working in dual channel mode. CPU is Harpertown Xeon
X5470 running at stock speed (3.33 GHz).
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: memtest86+ 5.01-3.1ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-28.32-generic 5.4.30
Uname: Linux 5.4.0-28-generic x86_64
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Thu Apr 30 13:51:01 2020
SourcePackage: memtest86+
UpgradeStatus: Upgraded to focal on 2020-04-06 (24 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/memtest86+/+bug/1876157/+subscriptions
More information about the foundations-bugs
mailing list