[Solved] Kernel 5.10.11 and 5.10.12 nfs read errors

Discussion about U-Boot and the kernel.

[Solved] Kernel 5.10.11 and 5.10.12 nfs read errors

Postby kriztioan » Mon Feb 01, 2021 5:43 am

With my Iomega ix2-200 Storcenter running kirkwood-dt kernels 5.10.11 or 5.10.12 I have an issue where nfs connections to it show many read errors in the client, notably in Kodi. However, a direct mount on MacOs Catalina appears to work fine. I'm not seeing any issues with dmesg or journalctl, where the later shows proper authentication (rpc.mountd[461]: authenticated mount request). Reverting back to 5.10.10-1 resolves the issue.

Some web searching points me to https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg2460556.html and https://lwn.net/Articles/840129/, where there is some talk about nfs and https://lwn.net/Articles/842943/ shows quite a few bugfixes related to it.
Last edited by kriztioan on Tue Feb 02, 2021 3:39 am, edited 1 time in total.
kriztioan
 
Posts: 51
Joined: Sat Apr 29, 2017 1:32 am

Re: Kernel 5.10.11 and 5.10.12 nfs read errors

Postby graysky » Mon Feb 01, 2021 12:19 pm

Hit this bug myself over the weekend on my Arch x86_64 box. The fix is a revert. Details here. Good news is that upstream should take action soon, possibly in time for 5.10.13 (although nothing yet in the 5.10 stable queue).
graysky
Developer
 
Posts: 1723
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Kernel 5.10.11 and 5.10.12 nfs read errors

Postby kriztioan » Mon Feb 01, 2021 4:55 pm

Always good to know I'm not the only one experiencing an issue. You certainly took a deep-dive into pinning down the offending kernel commit. On their end, it would be interesting to know whether the bug is an error in svcsock.c or actual in the TLS sockets' kernel_sendpage implementation, albeit that I'm not sure the connection I'm establishing is even using TLS ... In any case, your insight are, as always, appreciated and I'll patiently await the upcoming fix.
kriztioan
 
Posts: 51
Joined: Sat Apr 29, 2017 1:32 am

Re: Kernel 5.10.11 and 5.10.12 nfs read errors

Postby graysky » Mon Feb 01, 2021 5:02 pm

You can patch and compile 5.10.12 yourself or just stay on 5.10.10 until upstream fixes or we patch our kernels.
graysky
Developer
 
Posts: 1723
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Kernel 5.10.11 and 5.10.12 nfs read errors

Postby graysky » Tue Feb 02, 2021 1:25 am

All the kernels got patched, enjoy. https://github.com/archlinuxarm/PKGBUIL ... 6ae5ce3e2c
graysky
Developer
 
Posts: 1723
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Kernel 5.10.11 and 5.10.12 nfs read errors

Postby kriztioan » Tue Feb 02, 2021 3:39 am

@graysky Awesome, thanks! nfs is working as expected.

Does this mean the patch 0007-Revert-SUNRPC-Handle-TCP-socket-sends-with-kernel_se.patch will need to be applied for all future ARM kernels. In other words, are the kernel developers doing something that ARM just can't do, or is it a bug on their end.

Again, much appreciated.

Take care.
kriztioan
 
Posts: 51
Joined: Sat Apr 29, 2017 1:32 am

Re: [Solved] Kernel 5.10.11 and 5.10.12 nfs read errors

Postby graysky » Tue Feb 02, 2021 11:45 am

Should be fixed upstream/that is temporary.
graysky
Developer
 
Posts: 1723
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000


Return to U-Boot/Kernel

Who is online

Users browsing this forum: No registered users and 2 guests