> 
> 
> On Mon, 28 Jun 2010, Daniel Braniss wrote:
> 
> >>
> >>
> >> On Mon, 28 Jun 2010, al...@ulgsm.ru wrote:
> >>
> >>>
> >>>
> >>> kernel built with:
> >>> options     BOOTP          # Use BOOTP to obtain IP address/hostname
> >>> options     BOOTP_NFSROOT  # NFS mount root file system using BOOTP info
> >>> options     BOOTP_NFSV3
> >>>
> >> Try building a kernel without the above options, but with
> >> options NFS_ROOT
> >> specified. I think that's what most pxeboot users do and it was what
> >> I had assumed when I looked at the code.
> >>
> >> If that doesn't fix the problem...I haven't got a solution for you, rick
> >
> > I use:
> > options         BOOTP_NFSV3             # Use NFS v3 to NFS mount root
> >
> 
> Here's the critical snippet of code:
> #if defined(BOOTP_NFSROOT) && defined(BOOTP)
>       bootpc_init();          /* use bootp to get nfs_diskless filled in */
> #elif defined(NFS_ROOT)
>       nfs_setup_diskless();
> #endif
> 
> Just fyi, as you can see, unless you have BOOTP_NFSROOT and BOOTP options, 
> it does things the NFS_ROOT way and basically ignores BOOTP_NFSV3.
> (At least thats the way it looks to me. I've been tricked by convoluted
> code before:-)

you are correct, I missed the NFS_ROOT which is defined in GENERIC, and yes,
convoluted is an understatement :-)

danny



_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to