[Bug 1954716] Re: rpi nfsroot vers=4 not supported anymore?
Stephen Winnall
1954716 at bugs.launchpad.net
Tue Feb 28 03:11:28 UTC 2023
Sorry to come back to this, but I'm now trying to netboot Ubuntu
22.04.2, having found the above mentioned work-around for 20.04.
Something has changed: I can no longer netboot from NFSv4 by replacing
/usr/lib/klibc/bin/nfsmount with an NFSv4-friendly hack.
I am now getting the same error messages that nfsmount used to generate,
but I have discovered that /usr/lib/klibc/bin/kinit also generates them.
So I am guessing that in 22.04 kinit has taken over part of the work the
nfsmount performed in 20.04.
Any thoughts?
I'll try to take a look at kinit tomorrow and see if I can find another
work-around.
--
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:
Confirmed
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