NFS mount over UDP fails on kernel 6.6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Brief Description
-----------------
When installing an AIO-DX system using kernel 6.6, controller-1 install fails when attempting to execute nfs mounts due to "malformed" UDP response that are too short and contain checksum errors.
Severity
--------
Critical
Steps to Reproduce
------------------
Steps to reproduce:
(1)init repo
repo init -u https:/
repo sync --force-sync
(2) build-pkgs; build-image; start AIO-DX install.
Expected Behavior
------------------
Controller-1 installed and configured
Actual Behavior
----------------
Controller-1 is not installed
Reproducibility
---------------
100%
System Configuration
-------
Two node system
Last Pass
---------
Never on kernel 6.6
Timestamp/Logs
--------------
[ 202.496856] controller_
[ 202.505412] controller_
[ 202.515062] controller_
[ 202.525062] controller_
[ 202.533056] controller_
[ 202.543058] controller_
[ 202.553615] controller_
Test Activity
-------------
Developer Testing
Workaround
----------
Modify nfs_mount script to use TCP instead of UDP
description: | updated |
Changed in starlingx: | |
status: | New → In Progress |
Reviewed: https:/ /review. opendev. org/c/starlingx /kernel/ +/922145 /opendev. org/starlingx/ kernel/ commit/ 3c6402b23c7b87a 6d43a2c0a62fe17 20aa620011
Committed: https:/
Submitter: "Zuul (22348)"
Branch: f/kernel-6.6
commit 3c6402b23c7b87a 6d43a2c0a62fe17 20aa620011
Author: Matheus Guilhermino <email address hidden>
Date: Mon Jun 17 16:32:12 2024 -0300
SUNRPC: avoid zero-length UDP packets
Cherry-picks commit 1d9cabe2817e ("SUNRPC: use request size to
initialize bio_vec in svc_udp_sendto()") from linux-yocto in order
to use the proper size when setting up the bio_vec, as otherwise
only zero-length UDP packets will be sent.
* commit d9cabe2817e ("SUNRPC: use request size to initialize /git.yoctoproje ct.org/ linux-yocto/ commit/ ?id=1d9cabe2817 e
bio_vec in svc_udp_sendto()")
https:/
Test Plan:
PASS: Succesful NFS mount during C-1 install of an AIO-DX
Closes-bug: 2069643
Change-Id: Iac09d24ff5f3cc 4c64690e1c42356 d7f57f95d66
Signed-off-by: Matheus Guilhermino <email address hidden>