On Fri, 16 Sep 2016 21:43:22 +0900, Rin Okuyama <rokuy...@rk.phys.keio.ac.jp> wrote:
> NFS boot fails with ip_output.c rev 1.261 with my ERLITE (evbmips64-eb): > > root on cnmac0 > nfs_boot: trying BOOTP > cnmac0: link state DOWN (was UNKNOWN) > cnmac0: link state UP (was DOWN) > nfs_boot: BOOTP next-server: 192.168.10.128 > nfs_boot: my_name=erlite > nfs_boot: my_addr=192.168.10.131 > nfs_boot: my_mask=255.255.255.0 > nfs_boot: gateway=192.168.10.1 > nfs_boot: sosend: 49 > nfs_boot: sosend: 49 > nfs_boot: sosend: 49 > nfs_boot: mountd error=49 > nfs_boot: mountd `cubietruck:/exports/erlite', error=49 > cannot mount root, error = 49 > root device (default cnmac0): I observed the same on amd64 (Dell PowerEdge 1950 (III) with "bnx" interfaces). On Sat, 17 Sep 2016 13:09:45 +0100, Roy Marples <r...@marples.name> wrote: > When I first proposed it offlist, we thought the current implementation > was the correct thing. > > Here is a patch to just do as you suggest. > http://www.netbsd.org/~roy/ip_output_tentative.patch > > Can the OP test it and see if NFS booting then works? I'm not the OP, but applying the patch restores NFS root mounting for me. I'll test evbmips-mip64el, sparc, macppc, and i386 soon-ish. -- |/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X |\ / jdbaker[snail]mylinuxisp[flyspeck]com OpenBSD FreeBSD | X No HTML/proprietary data in email. BSD just sits there and works! |/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645