From owner-freebsd-net@FreeBSD.ORG Sun Jun 29 21:24:29 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 929F3C51 for ; Sun, 29 Jun 2014 21:24:29 +0000 (UTC) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id 5A1352ACF for ; Sun, 29 Jun 2014 21:24:28 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhgFAFB7sFODaFve/2dsb2JhbABag19agm6oHgEBAQEBAQaSdYZtUwGBHnWEAwEBAQMBAQEBICsgCwUWGAICDRkCKQEJJgYIBwQBHASIDQMJCA2pWJV1F4ZIF4ErhDmIUgEBGzQHgneBTAWXdIQwkjeDXiEvAQEEgQU5 X-IronPort-AV: E=Sophos;i="5.01,572,1400040000"; d="scan'208";a="136000462" Received: from muskoka.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.222]) by esa-jnhn.mail.uoguelph.ca with ESMTP; 29 Jun 2014 17:24:22 -0400 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 422FDB405A; Sun, 29 Jun 2014 17:24:22 -0400 (EDT) Date: Sun, 29 Jun 2014 17:24:22 -0400 (EDT) From: Rick Macklem To: Beeblebrox Message-ID: <1270654408.5439540.1404077062258.JavaMail.root@uoguelph.ca> In-Reply-To: <1404071407420-5924767.post@n5.nabble.com> Subject: Re: PXE boot using Grub bootloader fails at mountroot; no PXE devs. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.91.203] X-Mailer: Zimbra 7.2.6_GA_2926 (ZimbraWebClient - FF3.0 (Win)/7.2.6_GA_2926) Cc: freebsd-net@freebsd.org 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: Sun, 29 Jun 2014 21:24:29 -0000 Beeblebrox wrote: > >> when trying to use Grub the client now reboots at the end of > >> kernel > loading > > Sooo, I got curious and compiled a full debug kernel that included > {options > BOOTP, options BOOTP_NFSROOT} knobs. From the grub menu, without > changing > any grub.cfg lines (as previously posted) - hit go and ... YEAH BABY! > System > boots and mounts to the exported 11-current_amd64 NFS root. > > Two observations. > * The boot process is a little slow and shows a number of error > messages. > Hangs for a while before moving on to the final good result. Can > share if > anyone needs the output (advise how to capture for PXE-boot) > * My custom kernel config file obviously is missing something(s). How > can I > find what they may be? For example I normally have {NFSD, NFSLOCKD} > loaded > as modules for if/when I need them, and a part of MYKERNEL - could > this be a > cause? > Well NFSD is only used if you start the nfsd daemon/server. NFSLOCKD (rpc.lockd, rpc.statd) will get used if you start either of those daemons. For NFSv3 mounts, I'd suggest the nolockd option, unless you have multiple clients concurrently doing byte range locking on the same file. (With "nolockd" option on the mounts, you shouldn't need to run rpc.lockd, rpc.statd and that implies NFSLOCKD shouldn't be needed, too.) 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? rick > Thanks for the help & regards. > > > > ----- > FreeBSD-11-current_amd64_root-on-zfs_RadeonKMS > -- > View this message in context: > http://freebsd.1045724.n5.nabble.com/PXE-boot-using-Grub-bootloader-fails-at-mountroot-no-PXE-devs-tp5924518p5924767.html > Sent from the freebsd-net mailing list archive at Nabble.com. > _______________________________________________ > 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" >