/srv/irclogs.ubuntu.com/2023/09/21/#ubuntu-kernel.txt

=== chris14_ is now known as chris14
=== ahasenack_ is now known as ahasenack
Rusty_AlmightyWas NFS kernel server v2 removed entirly from the kernel?15:45
juerghRusty_Almighty, no. which kernel?17:12
juerghc:~$ dpkg -S /lib/modules/6.5.0-5-generic/kernel/fs/nfs/nfsv3.ko.zst17:23
juerghlinux-modules-6.5.0-5-generic: /lib/modules/6.5.0-5-generic/kernel/fs/nfs/nfsv3.ko.zst17:23
juerghsame for v217:24
juergh$ dpkg -S /lib/modules/6.5.0-5-generic/kernel/fs/nfs/nfsv2.ko.zst17:24
juerghlinux-modules-6.5.0-5-generic: /lib/modules/6.5.0-5-generic/kernel/fs/nfs/nfsv2.ko.zst17:24
juerghoh hold on, those are the client moduels. doh.17:25
juerghYes. CONFIG_NFSD_V2 is disabled because it's deprecated.17:26
juergh       help17:27
juergh          NFSv2 (RFC 1094) was the first publicly-released version of NFS.17:27
juergh          Unless you are hosting ancient (1990's era) NFS clients, you don't17:27
juergh          need this.17:27
Rusty_AlmightyMost of the uboot stuff still uses NFSv2. They are upgrading, VERY SLOWLY, to NFS v3 and v4 but much of the hardware still uses UBOOT that was deployed in 2016. The Uboot firmware is always 4 years behind the times.17:53
Rusty_AlmightyThe kernel version that I'm using is: 5.15.0-1037-raspi17:54
Rusty_AlmightyAfter much research and looking through the source code, the NFS v2 support is there, but it is disabled by default and enabling support for it is a bit archaic and undocumented.17:55
Rusty_AlmightyLuckily, there was a bug reported in launchpad describing the issue in detail.  If you read the ticket to completion, down at the bottom it explains how to enable v2 support.17:58
Rusty_Almightyhttps://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/197310117:58
-ubottu:#ubuntu-kernel- Launchpad bug 1973101 in nfs-utils (Ubuntu) "After upgrade to 22.04 NFS exports for vers 2 and 3 no longer work" [Undecided, Opinion]17:58
Rusty_AlmightyI don't think it would be wise to deprecate CONFIG_NFSD_V2 just yet.18:05
Rusty_AlmightyLot's of IOT and embedded devices still use v2 because of how light weight it is.18:06
Rusty_AlmightyNot that I think they should.18:06
joseogandoWow 2016 UBoot? did they even had device trees, proper driver model, and so on back then?18:31
=== tyhicks_ is now known as tyhicks

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!