Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 2014 06:44:36 -0400 (EDT)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        Beeblebrox <zaphod@berentweb.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: PXE boot using Grub bootloader fails at mountroot; no PXE devs.
Message-ID:  <338810855.6193094.1404297876056.JavaMail.root@uoguelph.ca>
In-Reply-To: <20140702091413.7e27e798@rsbsd.rsb>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to
> "freebsd-net-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?338810855.6193094.1404297876056.JavaMail.root>