Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489084 - =sys-apps/memtest86-4.3.3-r1 : Application crashes when setting CPUs to run in parallel
Summary: =sys-apps/memtest86-4.3.3-r1 : Application crashes when setting CPUs to run i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-22 22:10 UTC by Jason Mours
Modified: 2017-03-23 01:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (memtest-4.3.3-r1-build.log,6.11 KB, text/plain)
2013-10-22 22:29 UTC, Jason Mours
Details
emerge-info (memtest-4.3.3-r1-emerge.info,17.57 KB, text/plain)
2013-10-22 22:29 UTC, Jason Mours
Details
memtest86-4.3.7-build.log (build.log,10.92 KB, text/plain)
2017-03-22 21:04 UTC, Jason Mours
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mours 2013-10-22 22:10:35 UTC
Setting up sys/apps/memtest86-4.3.3 & -r1. Setting the application to run the CPUs in parallel causes my machine to lock and reboot.

Let me know if you need anything else, I will confirm on another gentoo installation.

Reproducible: Always
Comment 1 Jason Mours 2013-10-22 22:28:59 UTC
These are in the build.log :

smp.c: In function 'smp_find_cpus':
smp.c:644:7: warning: passing argument 1 of 'scan_for_floating_ptr_struct' makes pointer from integer without a cast [enabled by default]
smp.c:375:1: note: expected 'unsigned int *' but argument is of type 'int'
smp.c:647:10: warning: passing argument 1 of 'scan_for_floating_ptr_struct' makes pointer from integer without a cast [enabled by default]
smp.c:375:1: note: expected 'unsigned int *' but argument is of type 'int'
smp.c:654:10: warning: passing argument 1 of 'scan_for_floating_ptr_struct' makes pointer from integer without a cast [enabled by default]
smp.c:375:1: note: expected 'unsigned int *' but argument is of type 'unsigned int'
smp.c:666:9: warning: assignment makes pointer from integer without a cast [enabled by default]
smp.c:751:6: warning: assignment makes pointer from integer without a cast [enabled by default]

: Posting info
Comment 2 Jason Mours 2013-10-22 22:29:23 UTC
Created attachment 361670 [details]
build.log
Comment 3 Jason Mours 2013-10-22 22:29:41 UTC
Created attachment 361672 [details]
emerge-info
Comment 4 SpanKY gentoo-dev 2017-03-20 07:07:54 UTC
give 4.3.7 a try
Comment 5 Jason Mours 2017-03-22 21:03:00 UTC
the system that the bug was filed on turned to mud. It has since been rebuilt with a 4.x kernel and a stage3 from late last fall. The new system is pure EFI with no boot loader. Kernel on boot. elilo didn't work. I read  EFI requires memtest86 v5.

If this still gets looked at, there was a QA bug in the sys-apps/memtest86-4.3.7 ebuild leading to collisions with :


!!! failed to properly create symlink:
!!! /boot/memtest86/memtest.bin -> memtest
!!! [Errno 1] Operation not permitted: b'memtest' -> b'/boot/memtest86/memtest.bin'
!!! Failed to move file.
!!! /boot/memtest86/memtest.bin -> memtest

&
Detected file collision(s)
  /boot/memtest86/memtest


'/boot/memtest86/memtest.bin' does not exist, only '/boot/memtest86/memtest'

Posting build.log
Comment 6 Jason Mours 2017-03-22 21:04:05 UTC
Created attachment 467986 [details]
memtest86-4.3.7-build.log
Comment 7 SpanKY gentoo-dev 2017-03-23 01:35:38 UTC
(In reply to Jason Mours from comment #5)

symlink behavior is tracked in another bug and has been fixed in the latest rev