Using the workaround in the debian bug report works.
You don't even need to recompile the kernel.
Just add mount.nfs via initram hook from nfs-common
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
I just switched from raspberry pi os arm64 which supports netbooting
from nfs vers=4.2
With ubuntu console spams:
Begin: Retrying nfs mount ... 4.2: invalid value for vers
I tried rebuilding the kernel with:
CONFIG_NFS_V4 y
CONFIG_NFS_V4_1 y
CONFIG_NFS_V4_2 y
CONFIG_NFS_COMMON y
CONFIG_ROOT_NFS
Upstream Debian bug report: https://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=409272
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1954716
Title:
rpi nfsroot vers=4 not supported anymore?
To
More data points. The raspi OS kernel has ROOT_NFS enabled which
presumably handles the 'vers=' parameters. In our case that option
is disabled and initrd scripts try to parse the kernel parameters and
fall on their faces.
** Bug watch added: Debian Bug tracker #409272
Spoken too soon. There's a kernel config option that we might be missing
(CONFIG_ROOT_NFS), which seems to pull in code that parses nfsroot
kernel commandline options.
** Changed in: linux-raspi (Ubuntu Impish)
Status: Invalid => Triaged
--
You received this bug notification because you
** Changed in: linux-raspi (Ubuntu Impish)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1954716
Title:
rpi nfsroot vers=4 not supported anymore?
To manage
The title says 'rpi nfsroot vers=4 not supported anymore?' which implies
that it used to work in the past. Has it?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1954716
Title:
rpi nfsroot vers=4
NFS root mounts are handled by nfsmount which is part of the klibc-utils
package. nfsmount only accepts integers for the 'vers' argument. And
only values 2 and 3 are valid:
$ ./usr/bin/nfsmount -o vers=4.1
4.1: invalid value for vers
$ ./usr/bin/nfsmount -o vers=4
./usr/bin/nfsmount: bad NFS
Actually, I can't run this. These are headless isolated devices, and it
looks like this utility tries to launch a browser to authenticate to
launchpad. How do I get you the information you need?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
> apport-collect 1954716
I'll run this but in order to do this I have to boot into a working
system, which means that you won't see the error.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1954716
** Changed in: linux-raspi (Ubuntu)
Status: New => Triaged
** Changed in: linux-raspi (Ubuntu)
Assignee: (unassigned) => Juerg Haefliger (juergh)
** Also affects: linux-raspi (Ubuntu Impish)
Importance: Undecided
Status: New
--
You received this bug notification because
** Tags added: bar
** Tags removed: bar
** Tags added: foo
** Tags added: bar
** Tags removed: bar foo
** Tags added: kern-1692
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1954716
Title:
rpi
Thank you for taking the time to report this bug and helping to make
Ubuntu better. Please execute the following command only once, as it
will automatically gather debugging information, in a terminal:
apport-collect 1954716
When reporting bugs in the future please use apport by using 'ubuntu-
13 matches
Mail list logo