On 16/09/2016 13:43, Rin Okuyama 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): > > In the kernel configuration file, NFS_BOOT_BOOTP option is specified > instead of NFS_BOOT_DHCP in the original configuration file. > > By reverting ip_output.c to rev 1.260, the system boots up normally. > And the root directory can be mounted from other (non-NetBSD) hosts.
Sounds like NFS boot needs to wait for IN_IFF_TENTATIVE to clear from the address. Roy