PXE boot using Grub bootloader fails at mountroot; no PXE devs.

Rick Macklem rmacklem at uoguelph.ca
Wed Jul 2 10:44:43 UTC 2014


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.

rick

> 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
> 
> Regards.
> 
> --
> FreeBSD_amd64_11-Current_RadeonKMS
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to
> "freebsd-net-unsubscribe at freebsd.org"
> 


More information about the freebsd-net mailing list