Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1962050
Summary: | fio crashes when running crc32c hash tests on Raspberry Pi 3/4 (aarch64) devices | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Peter Robinson <pbrobinson> |
Component: | fio | Assignee: | Eric Sandeen <esandeen> |
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 34 | CC: | esandeen, jeremy.linton, ngompa13, pportant, ykorman |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-06-07 20:50:09 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 245418 |
Description
Peter Robinson
2021-05-19 09:03:46 UTC
Its not the crc causing the problem, its the pmull which is part of the cryptographic instruction extensions, which is also optional and missing on the pi4 (one of the only SoC's publically available missing them). 0x0000aaaaaaabbba0 <+1020>: crc32cx w7, w7, x9 0x0000aaaaaaabbba4 <+1024>: ldr x10, [x2, #336] 0x0000aaaaaaabbba8 <+1028>: add x2, x2, #0x400 => 0x0000aaaaaaabbbac <+1032>: pmull v2.1q, v2.1d, v3.1d 0x0000aaaaaaabbbb0 <+1036>: crc32cx w6, w7, x8 0x0000aaaaaaabbbb4 <+1040>: ldur x9, [x2, #-24] 0x0000aaaaaaabbbb8 <+1044>: crc32cx w0, w0, x10 0x0000aaaaaaabbbbc <+1048>: ldur x8, [x2, #-16] crc32c-arm64.c 59 60 /* Merge crc0 and crc1 into crc2 61 crc1 multiply by K2 62 crc0 multiply by K1 */ 63 64 t1 = (uint64_t)vmull_p64(crc1, k2); 65 t0 = (uint64_t)vmull_p64(crc0, k1); <----- here. 66 crc = __crc32cd(crc2, *(const uint64_t *)data); 67 crc1 = __crc32cd(0, t1); 68 crc ^= crc1; Oh, of course someone beat me to it, its already upstream. commit 3721c7fe276dbbc93e584359f87913e58f96626e Author: Sitsofe Wheeler <sitsofe> Date: Mon Dec 6 20:02:53 2021 +0000 os: detect PMULL support before enabling accelerated crc32c on ARM This message is a reminder that Fedora Linux 34 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '34'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 34 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed. Fedora Linux 34 entered end-of-life (EOL) status on 2022-06-07. Fedora Linux 34 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. Thank you for reporting this bug and we are sorry it could not be fixed. |