[Bug 1954716] Re: rpi nfsroot vers=4 not supported anymore?

Juerg Haefliger 1954716 at bugs.launchpad.net
Mon Aug 8 13:51:45 UTC 2022


See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=409272#14 for a
work-around which replaces nfsmount in the initrd with /sbin/mount.nfs.
But that probably pulls in dependencies and blows up the size of the
initrd.

-- 
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