[PLUG] Netbooting device needs NFSv2
Russell Senior
russell at personaltelco.net
Wed Dec 18 21:28:04 UTC 2024
I found /proc/fs/nfsd/versions contains:
-2 +3 +4 +4.1 +4.2
That looks relevant. I wonder where the hell that is set? Or whether I
can just echo something at it. Permissions say rw.
On Wed, Dec 18, 2024 at 6:30 AM Jason Bergstrom <bergie at bergie.net> wrote:
>
> It will be UDP, possibly check the portmapper, too.
>
> I haven't used v2 since SunOS, but you could try compiling the old
> nfs-user-server, or run an old OS in a VM... since you are looking for
> something to do.
>
> Jason,
> bergie at bergie.net
>
> On Wed, Dec 18, 2024 at 06:03:23AM -0800, Russell Senior wrote:
> > My kernel config in /boot/config-5.10.0-33-amd64 has
> > "CONFIG_NFSD_V2=y" ... which makes me think there is a configuration
> > that has disabled v2 support despite it being available.
> >
> > --
> > Russell Senior
> > russell at personaltelco.net
> >
> > On Wed, Dec 18, 2024 at 5:48 AM Russell Senior
> > <russell at personaltelco.net> wrote:
> > >
> > > ... but my debian 11 server seems (according to my packet capture) to
> > > only support NFSv3 and NFSv4. Does anyone happen to know how to enable
> > > NFSv2 on nfs-kernel-server for this device? Or have any other
> > > suggested solutions to this problem?
> > >
> > > The device is an ancient Soekris net4826 from the mid-aughts. It has
> > > soldered on flash storage, so the only way to recover from crashing
> > > firmware is to netboot. My setup *used to* work. It's getting DHCP
> > > information for PXE booting, TFTP's a kernel, but when the kernel
> > > attempts to mount an nfs rootfs, the mount fails and it kernel panics.
> > > We have one of them still in service in the field (and I have another
> > > one sitting in my test bed, crashing).
> > >
> > > The right solution is probably just to retire the one in the field and
> > > put the whole lot of them into a "museum box", but hey, it's the
> > > holidays. What better period to waste a bunch of time keeping creaking
> > > hardware alive. And anyway, the museum curators will be more thrilled
> > > to create an exhibit if they have working firmware.
> > >
> > > Thanks for any clues, meanwhile I'll keep searching the interwebs.
> > >
> > > --
> > > Russell Senior
> > > russell at personaltelco.net
> >
More information about the PLUG
mailing list