You are not logged in.

#1 2024-01-28 06:48:22

trumee
Member
Registered: 2019-12-07
Posts: 7

nfsd: non-standard errno: -38

Hi,
My server is on kernel 6.6.13-1-lts and using ZFS. When i try to mount a nfs folder on the client desktop machine, the NFSv4 server crashes (dmesg listed below). Any idea what could be the issue?

[ 1403.864334] ------------[ cut here ]------------ 
[ 1403.864338] nfsd: non-standard errno: -38
[ 1403.864387] WARNING: CPU: 5 PID: 31157 at fs/nfsd/vfs.c:111 nfserrno+0x56/0x60 [nfsd]
[ 1403.864464] Modules linked in: sctp ip6_udp_tunnel udp_tunnel rpcrdma rdma_cm iw_cm ib_cm ib_core nf_conntrack_netlink xt_nat xt_addrtype nft_compat nft_fib_ipv6 nft_masq nft_nat nft_fib_ipv4 nft_fib nft_chain_nat veth xt_comment dummy nf_tables vhost_vsock vmw_vsock_virtio_transport_common vhost vhost_iotlb vsock xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp ip6table_mangle ip6table_nat ip6table_filter ip6_tables iptable_mangle iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_filter overlay squashfs 8021q garp mrp dm_crypt cbc encrypted_keys trusted asn1_encoder tee cfg80211 rfkill intel_rapl_msr intel_rapl_common sch_cake intel_uncore_frequency intel_uncore_frequency_common sb_edac x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul polyval_clmulni polyval_generic gf128mul ghash_clmulni_intel sha512_ssse3 snd_hda_codec_hdmi sha256_ssse3 vboxnetflt(OE) vboxnetadp(OE) sha1_ssse3 snd_hda_intel snd_intel_dspcfg
[ 1403.864522]  snd_intel_sdw_acpi aesni_intel snd_hda_codec crypto_simd vboxdrv(OE) cryptd snd_hda_core rapl ipmi_ssif iTCO_wdt ext4 snd_hwdep intel_pmc_bxt iTCO_vendor_support ixgbe mxm_wmi nvidia_uvm(POE) snd_pcm intel_cstate crc16 nvidia_drm(POE) mbcache btrfs mdio_devres jbd2 snd_timer nvidia_modeset(POE) blake2b_generic libphy mei_me ast acpi_ipmi xor ioatdma snd joydev i2c_i801 raid6_pq mdio intel_uncore ipmi_si pcspkr mei i2c_smbus i2c_algo_bit lpc_ich dca video mousedev libcrc32c soundcore ipmi_devintf crc32c_generic ipmi_msghandler wmi crc32c_intel mac_hid acpi_power_meter acpi_pad nvidia(POE) nfsd auth_rpcgss sg br_netfilter nfs_acl lockd bridge grace stp llc tcp_bbr sunrpc fuse dm_mod loop nfnetlink bpf_preload ip_tables x_tables zfs(POE) ses enclosure usbhid spl(OE) nvme mpt3sas xhci_pci nvme_core raid_class xhci_pci_renesas scsi_transport_sas nvme_common vfat fat
[ 1403.864589] CPU: 5 PID: 31157 Comm: nfsd Tainted: P        W  OE      6.6.13-1-lts #1 0f8ea76c956d9285fd111b649216322c94d4c517
[ 1403.864593] Hardware name: Supermicro X10DRi/X10DRi-T, BIOS 3.2 11/22/2019
[ 1403.864595] RIP: 0010:nfserrno+0x56/0x60 [nfsd]
[ 1403.864655] Code: cc cc 80 3d 53 fd 04 00 00 74 0a b8 00 00 00 05 c3 cc cc cc cc 89 fe 48 c7 c7 17 33 f6 c0 c6 05 37 fd 04 00 01 e8 1a 7c 9f ea <0f> 0b eb dd 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90
[ 1403.864657] RSP: 0018:ffffa5181bab7b78 EFLAGS: 00010286
[ 1403.864660] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000027
[ 1403.864662] RDX: ffff8f5d3fb616c8 RSI: 0000000000000001 RDI: ffff8f5d3fb616c0
[ 1403.864663] RBP: ffffa5181bab7d88 R08: 0000000000000000 R09: ffffa5181bab7a00
[ 1403.864665] R10: 0000000000000003 R11: ffffffffad6ca428 R12: 0000000000000010
[ 1403.864666] R13: 000000000010011a R14: ffff8f4681090238 R15: ffff8f4681090000
[ 1403.864668] FS:  0000000000000000(0000) GS:ffff8f5d3fb40000(0000) knlGS:0000000000000000
[ 1403.864670] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1403.864672] CR2: 0000753960044000 CR3: 000000010f020003 CR4: 00000000003726e0
[ 1403.864674] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1403.864675] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1403.864676] Call Trace:
[ 1403.864679]  <TASK>
[ 1403.864681]  ? nfserrno+0x56/0x60 [nfsd 30bcc02faf0aec3c06203162b7e6731edc839970]
[ 1403.864741]  ? __warn+0x81/0x130
[ 1403.864747]  ? nfserrno+0x56/0x60 [nfsd 30bcc02faf0aec3c06203162b7e6731edc839970]
[ 1403.864808]  ? report_bug+0x171/0x1a0
[ 1403.864813]  ? prb_read_valid+0x1b/0x30
[ 1403.864817]  ? handle_bug+0x3c/0x80
[ 1403.864821]  ? exc_invalid_op+0x17/0x70
[ 1403.864824]  ? asm_exc_invalid_op+0x1a/0x20
[ 1403.864831]  ? nfserrno+0x56/0x60 [nfsd 30bcc02faf0aec3c06203162b7e6731edc839970]
[ 1403.864890]  ? nfserrno+0x56/0x60 [nfsd 30bcc02faf0aec3c06203162b7e6731edc839970]
[ 1403.864949]  nfsd4_encode_fattr+0x6a0/0x19d0 [nfsd 30bcc02faf0aec3c06203162b7e6731edc839970]
[ 1403.865017]  nfsd4_encode_getattr+0x2f/0x40 [nfsd 30bcc02faf0aec3c06203162b7e6731edc839970]
[ 1403.865080]  nfsd4_encode_operation+0xaa/0x2b0 [nfsd 30bcc02faf0aec3c06203162b7e6731edc839970]
[ 1403.865143]  nfsd4_proc_compound+0x1ce/0x700 [nfsd 30bcc02faf0aec3c06203162b7e6731edc839970]
[ 1403.865207]  nfsd_dispatch+0xc5/0x200 [nfsd 30bcc02faf0aec3c06203162b7e6731edc839970]
[ 1403.865266]  ? __pfx_nfsd+0x10/0x10 [nfsd 30bcc02faf0aec3c06203162b7e6731edc839970]
[ 1403.865324]  svc_process_common+0x43c/0x6e0 [sunrpc d51d2bf0b8f682f0f5c2e841f051511d40307313]
[ 1403.865407]  ? __pfx_nfsd_dispatch+0x10/0x10 [nfsd 30bcc02faf0aec3c06203162b7e6731edc839970]
[ 1403.865465]  ? __pfx_nfsd+0x10/0x10 [nfsd 30bcc02faf0aec3c06203162b7e6731edc839970]
[ 1403.865515]  svc_process+0x131/0x180 [sunrpc d51d2bf0b8f682f0f5c2e841f051511d40307313]
[ 1403.865583]  nfsd+0x84/0xd0 [nfsd 30bcc02faf0aec3c06203162b7e6731edc839970]
[ 1403.865635]  kthread+0xe8/0x120
[ 1403.865640]  ? __pfx_kthread+0x10/0x10
[ 1403.865644]  ret_from_fork+0x34/0x50
[ 1403.865648]  ? __pfx_kthread+0x10/0x10
[ 1403.865651]  ret_from_fork_asm+0x1b/0x30
[ 1403.865658]  </TASK>
[ 1403.865659] ---[ end trace 0000000000000000 ]---

Last edited by trumee (2024-01-28 06:52:49)

Offline

#2 2024-01-28 11:34:51

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,395

Re: nfsd: non-standard errno: -38

errno 38 wrote:

ENOSYS 38 Function not implemented

[ 1403.864949]  nfsd4_encode_fattr+0x6a0/0x19d0 [nfsd 30bcc02faf0aec3c06203162b7e6731edc839970]
[ 1403.865017]  nfsd4_encode_getattr+0x2f/0x40 [nfsd 30bcc02faf0aec3c06203162b7e6731edc839970]
[ 1403.865080]  nfsd4_encode_operation+0xaa/0x2b0 [nfsd 30bcc02faf0aec3c06203162b7e6731edc839970]

Any idea what could be the issue?

Either of https://wiki.archlinux.org/title/NFS#Custom_export_root or https://wiki.archlinux.org/title/NFS#St … the_server ?

Offline

#3 2024-01-30 17:05:34

trumee
Member
Registered: 2019-12-07
Posts: 7

Re: nfsd: non-standard errno: -38

Thanks. I have now set ZFS based shares. Will keep an eye if there is a crash again.

Offline

Board footer

Powered by FluxBB