Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

development of memtest86+ package

User discussion about Debian Development, Debian Project News and Announcements. Not for support questions.
Post Reply
Message
Author
Fantu
Posts: 46
Joined: 2012-02-27 09:38
Been thanked: 4 times

development of memtest86+ package

#1 Post by Fantu »

After saw memtest86+ package orphan and marked for autoremoval from testing on 27 dic I improved packaging and avoid autoremoval.

I also started to prepare a possible experimental upload with new version (5.31b) that fixes many bugs that make 5.01 unusable on major of recent computer where I tried to use it:
https://salsa.debian.org/debian/memtest ... perimental
build successfull but I updated only serial console fix patch, I'm unable to update multiboot patch (too little knowledge to fix it in a short time) and disabled also other patches seems not needed anymore
also added other improvements looking debian bugtracker, ubuntu launchpad and ubuntu change on the package
Note for users: 5.31b is marked upstream as not ready for production, keep attention! even if for what I see for now is better that 5.01 that is unusable or not correctly working on major of recent systems

if someone want help me to test and improve it are welcome, hoping to have a good and updated memtest86+ in debian 12

Fantu
Posts: 46
Joined: 2012-02-27 09:38
Been thanked: 4 times

Re: development of memtest86+ package

#2 Post by Fantu »

update:
found a sponsor and uploaded to Sid first changes to avoid autoremoval from testing
done othe works for future experimental build: https://salsa.debian.org/debian/memtest ... perimental
still searching for help as I have only little time

edit:
I also added useful grub2 parameters to add to /etc/default/grub working without change grub2 packages, from some fast tests seems ok but other tests may be useful
About patches I found that disable optimization in CFLAGS is still needed, avoid crash with ELF version on my tests. About multiboot patch I take a fast look but I don't have enough knowledge to try to adapt and fix it (was bugged also on old version)

Fantu
Posts: 46
Joined: 2012-02-27 09:38
Been thanked: 4 times

Re: development of memtest86+ package

#3 Post by Fantu »

10 days ago a new build to experimental was uploaded with latest upstream version and some other fixes and improvements:

Code: Select all

 memtest86+ (5.31b+dfsg-1) experimental; urgency=medium
 .
   [ Fabio Fantoni ]
   * QA upload.
   * New upstream version 5.31b (Closes: #989030, #977217)
   * Merge from ubuntu:
     - Use elf version by default that should works on major of system.
     - Drop the multiboot image from the GRUB menu for now, since it's
       experimental and has known problems detecting all memory on some
       systems at the moment.
     - Support localization of GRUB menu entries.
     - Don't present in GRUB menu on EFI systems, since it won't work.
       (Closes: #695246)
     - Close FD 3 when invoking update-grub.
   * Warn that don't support EFI instead of exit silently (LP: 1863940)
   * Don't add grub2 entries if GRUB_DISABLE_MEMTEST=true is present
     in /etc/default/grub (LP: #420967)
   * Make possible disable serial with GRUB_MEMTEST_DISABLE_SERIAL,
     enable multiboot with GRUB_MEMTEST_ENABLE_MULTIBOOT and add
     custom serial parameters with GRUB_MEMTEST_SERIAL_PARAMS
     (Closes: #898636, #612371)
   * Specify on grub2 menu entries when elf and bin are used
   * d/control: Remove hwtools and kernel-patch-badram from suggests.
   * d/copyright: add Upstream-Name, Upstream-Contact and Source fields
   * Bumped Standards-Version to 4.6.0
   * d/patches:
     - update multiboot patch from coreboot patch based on the one of
       Vladimir Serbinenko and refreshed for 5.31b (Closes: #568176)
     - refresh memtest86+-5.01-O0.patch
     - disable memtest86+-5.01-array-size.patch and gcc-5 as seems not
       needed with newer upstream version
     - refresh serial-console-fix.patch
     - add test-random-cflags.patch: use CFLAGS with random.o for
       maintain flags like -fno-stack-protector
     - add fix-gcc8-freeze-crash.patch: runtime fix for gcc>=8
       freeze/crash
     - add discard-note_gnu_property.patch: discards the
       ".note.gnu.property" section that causes crash in some cases
 .
   [ Jérémy Bobbio ]
   * Make the package build reproducibly:
     - Add a patch to make ISO image reproducible.
     - Set the build date to the latest debian/changelog entry in
       debian/rules. (Closes: #783515)
Yesterday a new with other fix was uploaded:

Code: Select all

 memtest86+ (5.31b+dfsg-2) experimental; urgency=medium
 .
   * QA upload.
   * d/patches/dmi-more-ram-slots-and-buffer-overflow-fix.patch:
     prevent crash for buffer overflow in DMI memory and increase
     supported memory devices from 16 to 128 (Closes: #1003906)
     Thanks to Lionel Debroux
edit:
another new build was uploaded:

Code: Select all

 memtest86+ (5.31b+dfsg-3) experimental; urgency=medium
 .
   * QA upload.
   * d/control: replace genisoimage build-dep with xorriso
   * removed d/patches/make-iso-reproducible
   * d/patches/use-xorriso-instead-cdrkit.patch:
     cdrkit is not supported anymore, use xorriso instead
     also aded the modification of date part to make the build
     reproducible (Closes: #982240)
   * use SOURCE_DATE_EPOCH instead of add BUILD_DATE in d/rules
   * d/rules:
     - use dh_auto_build instead of make
     - restore a change for kfreebsd

From my tests experimental build is already better the old present in stable/testing/unstable but I prefer more testing before migrate to unstable, I hope to have better memtest86+ for debian 12 and next ubuntu lts.
Any help in testing and improving memtest86+ is appreciated.

Fantu
Posts: 46
Joined: 2012-02-27 09:38
Been thanked: 4 times

Re: development of memtest86+ package

#4 Post by Fantu »

another important update:
5.31b is in unstable/testing and Jammy (new ubuntu LTS)

upstream now have an official git, code was started from pcmemtest, a fork with uefi support and code improved for easy maintainance, have also included patches of other forks and there are 3 active developers who have done (and are doing) much more

about debian package there is a new comaintaner: Felix Zielcke
there is also a new build in experimental with a snapshot from git of future memtest86+ 6.00 (still in development)
any help in testing and suggestion for improvements are welcome and very appreciated

edit:
things not tested where I need help for testing:
- hurd and kfreebsd support, I tried to add support for build (is in git for now: https://salsa.debian.org/debian/memtest ... perimental) but need someone that use them for test if build and works
- serial console
- boot with pxe

lindi
Debian Developer
Debian Developer
Posts: 408
Joined: 2022-07-12 14:10
Has thanked: 1 time
Been thanked: 77 times

Re: development of memtest86+ package

#5 Post by lindi »

Just curious, have you planned to get this signed so that it can work with secure boot?

Fantu
Posts: 46
Joined: 2012-02-27 09:38
Been thanked: 4 times

Re: development of memtest86+ package

#6 Post by Fantu »

first need support of that part in memtest86+ after we'll look if possible have signed in debian packages
there is a work in progress in a PR upstream but no recent progress or ETA: https://github.com/memtest86plus/memtest86plus/pull/34

edit:
small update on v6 packages in debian:
v6.00 beta3 is in debian experimental if someone want test it, v6.00 is now in feature freeze and probably in one month will be released the final version and will upload it in debian unstable

lindi
Debian Developer
Debian Developer
Posts: 408
Joined: 2022-07-12 14:10
Has thanked: 1 time
Been thanked: 77 times

Re: development of memtest86+ package

#7 Post by lindi »

Ok, good to hear it is being worked on upstream! Have you considered writing autopkgtest tests somehow? I'd imagine you'd need some way for memtest86 to reboot back to Debian to report success which might be tricky?

Fantu
Posts: 46
Joined: 2012-02-27 09:38
Been thanked: 4 times

Re: development of memtest86+ package

#8 Post by Fantu »

I don't have enough experience for the autopkgtest part and I have no idea on how autotest the memtest86+ that boot "out of debian", I don't know if the other maintainer (Felix Zielcke) know how to do it. Anyway if someone want create an autopkgtest for memtest86+ and post a patch or do an MR I'll merge it. Or in future when I'll have more time I'll try, for now I have too few time, other packages to maintain and I do small contribute in other projects.

Post Reply