Bug 2047295 - kTLS related failures in OpenSSL on armv7hl architecture
Summary: kTLS related failures in OpenSSL on armv7hl architecture
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARMTracker 2045118
TreeView+ depends on / blocked
 
Reported: 2022-01-27 14:35 UTC by Sahana Prasad
Modified: 2023-08-06 16:01 UTC (History)
25 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-06 16:01:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Sahana Prasad 2022-01-27 14:35:12 UTC
1. Please describe the problem:
OpenSSL build fails on armv7hl architecture only.
https://koji.fedoraproject.org/koji/taskinfo?taskID=82001929
It could be related to kTLS and the version of kernel used.

2. What is the Version-Release number of the kernel:
kernel version == 5.16.0-60.fc36.armv7hl+lpae

3. Did it work previously in Fedora? If so, what kernel version did the issue
   *first* appear?  Old kernels are available for download at
   https://koji.fedoraproject.org/koji/packageinfo?packageID=8 :
yes it worked previously in Fedora.
here are the working logs
https://koji.fedoraproject.org/koji/buildinfo?buildID=1830142
kernel version
 kernel version == 5.12.19-300.fc34.armv7hl+lpae

4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below:
clone this version of OpenSSL and apply the patch in the PR
https://src.fedoraproject.org/rpms/openssl/pull-request/19
and run 'fedpkg build'


5. Does this problem occur with the latest Rawhide kernel? To install the
   Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by
   ``sudo dnf update --enablerepo=rawhide kernel``:
I haven't checked this yet as I am relying on what the rawhide build system uses currently.


6. Are you running any modules that not shipped with directly Fedora's kernel?:
No

7. Please attach the kernel logs. You can get the complete kernel log
   for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the
   issue occurred on a previous boot, use the journalctl ``-b`` flag.

So far we have none:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/YUA2LE2E52UJPKSEZ5HPYI7SSYBUQJUC/

I will try to capture it again

Comment 1 Sahana Prasad 2022-01-28 13:12:58 UTC
@tm hi, would you have any pointers for me to check if these failures in arm could be related to OpenSSL, in case I missed anything?
https://kojipkgs.fedoraproject.org//work/tasks/1929/82001929/build.log
Works fine on all other arches. (https://src.fedoraproject.org/rpms/openssl/pull-request/19)
Thanks for your time in advance!

Comment 2 Tomáš Mráz 2022-01-28 14:16:14 UTC
Unfortunately I have no idea. The errors could be caused by multiple reasons. Certainly a bug in the OpenSSL KTLS implementation on 32bit ARM cannot be excluded. Of course an easy workaround would be to disable ktls on 32 bit ARM. I do not have any 32 bit ARM machine around to investigate this further unfortunately.

Comment 3 Peter Robinson 2022-03-16 10:21:57 UTC
Ard: would either of you know why kTLS would be different/cause issues with openssl of late? Was there a recent kernel change there that could have regressed this for openssl?

Comment 4 Peter Robinson 2023-08-06 16:01:03 UTC
ARMv7 is EOL with F-36 so this won't be fixed in Fedora.


Note You need to log in before you can comment on or make changes to this bug.