Public bug reported: A Solaris NFS client mounts an NFS volume from an Ubuntu Server using NFS-4.1 and gets "NFS compound failed" on "ls -l" on a specific directory:
root@niers:/ # mount ufs2:/export/ufs2/support/vol/ufs-testing-snaps /mnt root@niers:/ # cd /mnt/ root@niers:/mnt # ls -l SemaSYCL NFS compound failed for server ufs2: error 2 (RPC: Can't decode result) ls: error reading directory SemaSYCL: I/O error total 0 If I try this again, everything is fine: root@niers:/mnt # ls -l SemaSYCL total 19 -rw-r--r-- 1 ro support 0 Apr 10 14:54 address-space-conversions.cpp -rw-r--r-- 1 ro support 0 Apr 10 14:54 bf16.cpp -rw-r--r-- 1 ro support 0 Apr 10 14:54 float128.cpp -rw-r--r-- 1 ro support 0 Apr 10 14:54 int128.cpp -rw-r--r-- 1 ro support 0 Apr 10 14:54 kernel-attribute-on-non-sycl.cpp -rw-r--r-- 1 ro support 0 Apr 10 14:54 kernel-attribute.cpp -rw-r--r-- 1 ro support 0 Apr 10 14:54 prohibit-thread-local.cpp -rw-r--r-- 1 ro support 0 Apr 10 14:54 special-class-attribute-on-non-sycl.cpp -rw-r--r-- 1 ro support 0 Apr 10 14:54 special-class-attribute.cpp -rw-r--r-- 1 ro support 0 Apr 10 14:54 sycl-kernel-entry-point-attr-appertainment.cpp -rw-r--r-- 1 ro support 0 Apr 10 14:54 sycl-kernel-entry-point-attr-grammar.cpp -rw-r--r-- 1 ro support 0 Apr 10 14:54 sycl-kernel-entry-point-attr-ignored.cpp -rw-r--r-- 1 ro support 0 Apr 10 14:54 sycl-kernel-entry-point-attr-kernel-name-module.cpp -rw-r--r-- 1 ro support 0 Apr 10 14:54 sycl-kernel-entry-point-attr-kernel-name-pch.cpp -rw-r--r-- 1 ro support 0 Apr 10 14:54 sycl-kernel-entry-point-attr-kernel-name.cpp -rw-r--r-- 1 ro support 0 Apr 10 14:54 sycl-kernel-entry-point-attr-sfinae.cpp -rw-r--r-- 1 ro support 0 Apr 10 14:54 unique-stable-name-multiple-target-crash.cpp -rw-r--r-- 1 ro support 0 Apr 10 14:54 unique_stable_name.cpp -rw-r--r-- 1 ro support 0 Apr 10 14:54 zero-length-arrays.cpp The problem occurs again, if I unmount and remount the NFS share. The problem disappears, if I add another (empty) file, or remove a file from the directory. The problem disappears, if I mount the NFS share with version 4.0. root@niers:/mnt # nfsstat -m /mnt /mnt from ufs2:/export/ufs2/support/vol/ufs-testing-snaps Flags: vers=4,mvers=1,proto=tcp,sec=sys,hard,intr,link,symlink,rsize=1048576,wsize=1048576,retrans=5,timeo=600 Attr cache: acregmin=3,acregmax=60,acdirmin=30,acdirmax=60 *** NFS server is Ubuntu 24.04: root[bf]@pruem:/export# uname -a Linux pruem 6.8.0-57-generic #59-Ubuntu SMP PREEMPT_DYNAMIC Sat Mar 15 17:40:59 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux root[bf]@pruem:/export# cat /etc/os-release PRETTY_NAME="Ubuntu 24.04.2 LTS" NAME="Ubuntu" VERSION_ID="24.04" VERSION="24.04.2 LTS (Noble Numbat)" VERSION_CODENAME=noble ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=noble LOGO=ubuntu-logo root[bf]@pruem:/export# apt list --installed | grep 57-generic WARNING: apt does not have a stable CLI interface. Use with caution in scripts. linux-headers-6.8.0-57-generic/noble-updates,noble-security,now 6.8.0-57.59 amd64 [installed,automatic] linux-image-6.8.0-57-generic/noble-updates,noble-security,now 6.8.0-57.59 amd64 [installed,automatic] linux-modules-6.8.0-57-generic/noble-updates,noble-security,now 6.8.0-57.59 amd64 [installed,automatic] linux-modules-extra-6.8.0-57-generic/noble-updates,noble-security,now 6.8.0-57.59 amd64 [installed,automatic] linux-tools-6.8.0-57-generic/noble-updates,noble-security,now 6.8.0-57.59 amd64 [installed,automatic] *** NFS client is Solaris 5.11: root@niers:/mnt # uname -a SunOS niers 5.11 11.4.81.193.0 i86pc i386 i86pc non-virtualized root@niers:/mnt # cat /etc/os-release NAME="Oracle Solaris" PRETTY_NAME="Oracle Solaris 11.4" CPE_NAME="cpe:/o:oracle:solaris:11:4" ID=solaris VERSION=11.4 VERSION_ID=11.4 BUILD_ID=11.4.81.0.0.193.0 HOME_URL="https://www.oracle.com/solaris/" SUPPORT_URL="https://support.oracle.com/" VARIANT_ID=cbe VARIANT="11.4.81 Common Build Environment" ** Affects: ubuntu Importance: Undecided Status: New ** Attachment added: "test directory and network traffic capture" https://bugs.launchpad.net/bugs/2106746/+attachment/5870854/+files/testdir_and_pcap.tar -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2106746 Title: Linux kernel NFS server generates undecodable RPC results on Solaris clients To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2106746/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
