From owner-freebsd-net@FreeBSD.ORG Wed Jul 2 11:41:12 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 675F3A36 for ; Wed, 2 Jul 2014 11:41:12 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "funkthat.com", Issuer "funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2BA892B00 for ; Wed, 2 Jul 2014 11:41:12 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id s62BfACu069067 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Jul 2014 04:41:10 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id s62BfAW2069066; Wed, 2 Jul 2014 04:41:10 -0700 (PDT) (envelope-from jmg) Date: Wed, 2 Jul 2014 04:41:10 -0700 From: John-Mark Gurney To: Rick Macklem Subject: Re: PXE boot using Grub bootloader fails at mountroot; no PXE devs. Message-ID: <20140702114110.GP45513@funkthat.com> Mail-Followup-To: Rick Macklem , Beeblebrox , freebsd-net@freebsd.org References: <20140702091413.7e27e798@rsbsd.rsb> <338810855.6193094.1404297876056.JavaMail.root@uoguelph.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <338810855.6193094.1404297876056.JavaMail.root@uoguelph.ca> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Wed, 02 Jul 2014 04:41:10 -0700 (PDT) Cc: freebsd-net@freebsd.org, Beeblebrox X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2014 11:41:12 -0000 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."