PXE boot using Grub bootloader fails at mountroot; no PXE devs.
John-Mark Gurney
jmg at funkthat.com
Wed Jul 2 11:41:12 UTC 2014
Rick Macklem wrote this message on Wed, Jul 02, 2014 at 06:44 -0400:
> Beeblebrox wrote:
> > Hi Rick,
> >
> > > Btw, there is BOOTP_DEBUG stuff in bootp_subr.c. If your debug
> > > kernel
> > > didn't include that option, trying it might tell you where it
> > > breaks?
> >
> > I got around to trying the BOOTP_DEBUG knob, it breaks the kernel
> > build
> > right from start. bootp_subr.c does have that code, but the
> > buildkernel
> > does not like it. I got:
> > unknown option "BOOTP_DEBUG" \ *** Error code 1 \ Stop.
> >
> As the other post noted, you can try adding the option.
> Or, you can just add a line like:
> #define BOOTP_DEBUG 1
> at the beginning of bootp_subr.c.
>
> I haven't tried it, so there might be other build issues.
I was going to suggest that, but decided against it so that we might
fix it for others to use...
> > Kernel Config has these debug options turned on:
> > options KDB
> > options DDB
> > options GDB
> > options INVARIANTS
> > options INVARIANT_SUPPORT
> > options WITNESS
> > options DEBUG_LOCKS
> > options DEBUG_VFS_LOCKS
> > options DIAGNOSTIC
> > options BOOTP_DEBUG
--
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
More information about the freebsd-net
mailing list