Date: Wed, 2 Jul 2014 04:41:10 -0700 From: John-Mark Gurney <jmg@funkthat.com> To: Rick Macklem <rmacklem@uoguelph.ca> Cc: freebsd-net@freebsd.org, Beeblebrox <zaphod@berentweb.com> Subject: Re: PXE boot using Grub bootloader fails at mountroot; no PXE devs. Message-ID: <20140702114110.GP45513@funkthat.com> In-Reply-To: <338810855.6193094.1404297876056.JavaMail.root@uoguelph.ca> References: <20140702091413.7e27e798@rsbsd.rsb> <338810855.6193094.1404297876056.JavaMail.root@uoguelph.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
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."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140702114110.GP45513>
