| Summary: | john is unusable in i586 because he asks for SSE2 even if the CPU has SSE2 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | José Jorge <lists.jjorge> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | Normal | CC: | lewyssmith, lists.jjorge, sysadmin-bugs, tarazed25 |
| Version: | 6 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Linux | ||
| Whiteboard: | MGA6-32-OK MGA6-64-OK | ||
| Source RPM: | john | CVE: | |
| Status comment: | |||
|
Description
José Jorge
2017-09-26 15:32:43 CEST
Rémi Verschelde
2017-09-26 15:36:15 CEST
Assignee:
bugsquad =>
matteo.pasotti I have rebuilt the package in this system, and it activates SSE2 support and works. So I am testing a rebuild of it in our bs to ensure it is not just a build problem. CC:
(none) =>
lists.jjorge This test build shows the AVX instructions are detected and activated in our build system. So the SSE2 message is probably about AVX instructions missing. I have not found a parameter to disable SSE, SSE2 and AVX in i586 builds of john. The workaround for now is to rebuild the package in the target hardware. Status:
NEW =>
ASSIGNED Thanks to Peter Semiletov, I've found a configure parameter to disable CPU detection. Pushed version 1.8.0-5.2 to testing. Assignee:
matteo.pasotti =>
qa-bugs Not enough info for the advisory. The bug RPMs link shows nothing. Is/are the package(s) in updates_testing ? This is a rare bug that looks 32-bit *only*; no 64-bit test required. Please say if this is assumption incorrect. (In reply to Lewis Smith from comment #4) > Not enough info for the advisory. The bug RPMs link shows nothing. Is/are > the package(s) in updates_testing ? Sorry, I will add the suggested advisory. > This is a rare bug that looks 32-bit *only*; no 64-bit test required. Please > say if this is assumption incorrect. Incorrect : you can try john on an old x86_64 system without SSE3 or AVX instructions. It will fail. So it must be tested in both arches. I have tested in my i586 system (Pentium M 740 - only SSE2) and the update fixed the bug. Suggested advisory: ======================== Updated john packages fix crash at startup with old CPUs: john was built with automatic cpu detection. So it enabled SSE3 and AVX instructions even for 32 bit packages. This update limits the autorised cpu instructions for both i586 and x86_64. ======================== Updated packages in core/updates_testing: ======================== john-1.8.0-5.2.mga6 Source RPMs: john-1.8.0-5.2.mga6
José Jorge
2017-11-08 14:22:52 CET
Whiteboard:
(none) =>
MGA6-32-OK Don't know if this hardware is any use for testing. 10 year old Dell XPS laptop. CPU: Dual core Intel Core2 Duo T9300 (-MCP-) Just resurrected it and installed Mageia 6. $ cat /proc/cpuinfo ................... flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf eagerfpu pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm tpr_shadow vnmi flexpriority dtherm ida Pre update john launches OK from the commandline. Likewise after the update. So, not much help. CC:
(none) =>
tarazed25 I have tested in a 8 years old AMD Athlon 5600+. It has no SSE3. Still the bug is not triggered before the update, so it seems it was really only in i586. The update does not hurt, so validating in 64 bit. Whiteboard:
MGA6-32-OK =>
MGA6-32-OK MGA6-64-OK
Lewis Smith
2017-11-18 22:29:27 CET
CC:
(none) =>
lewyssmith, sysadmin-bugs An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2017-0111.html Resolution:
(none) =>
FIXED |