[Bug 1954716] Re: rpi nfsroot vers=4 not supported anymore?
Juerg Haefliger
1954716 at bugs.launchpad.net
Thu Jun 30 07:54:50 UTC 2022
As mentioned, NFS mounts are handled by nfsmount provided by the klibc-
utils package which currently doesn't support NFSv4:
$ /usr/lib/klibc/bin/nfsmount -o vers=4
/usr/lib/klibc/bin/nfsmount: bad NFS version '4'
Reassigning the bug to klibc-utils.
** No longer affects: linux-raspi (Ubuntu Impish)
** Changed in: linux-raspi (Ubuntu)
Status: Triaged => Invalid
** Also affects: klibc (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to klibc in Ubuntu.
https://bugs.launchpad.net/bugs/1954716
Title:
rpi nfsroot vers=4 not supported anymore?
Status in klibc package in Ubuntu:
New
Status in linux-raspi package in Ubuntu:
Invalid
Bug description:
I'm running `5.13.0-1011-raspi #13-Ubuntu SMP PREEMPT Fri Nov 19
18:40:23 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux` and have
successfully set up netbooting on my RPi 4B (4GB). When I do not
specify a `vers=` in cmdline.txt, NFS version 3 is used. I'd like to
move to version 4, but unlike the setup described in
https://forums.raspberrypi.com/viewtopic.php?p=1751741#p1751741, I
cannot get `vers=4` (or any sub-version to work): the console logs
`invalid value for vers.` for whatever I try.
Current working cmdline.txt:
```
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/nfs nfsroot=192.168.3.101:/srv/pinet/root,tcp ro ip=dhcp rootwait fixrtc splash
```
Nonworking cmdline.txt:
```
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/nfs nfsroot=192.168.3.101:/srv/pinet/root,tcp,vers=4 ro ip=dhcp rootwait fixrtc splash
```
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/klibc/+bug/1954716/+subscriptions
More information about the foundations-bugs
mailing list