From owner-freebsd-questions@FreeBSD.ORG Fri Feb 8 09:01:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CEC9616A418 for ; Fri, 8 Feb 2008 09:01:22 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from bifrost.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id 889B513C44B for ; Fri, 8 Feb 2008 09:01:22 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from Home.local (32.Red-80-37-158.staticIP.rima-tde.net [80.37.158.32]) by bifrost.locolomo.org (Postfix) with ESMTP id 1063639822; Fri, 8 Feb 2008 10:01:20 +0100 (CET) Message-ID: <47AC1A5B.2010101@locolomo.org> Date: Fri, 08 Feb 2008 10:01:15 +0100 From: Erik Norgaard User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Rek Jed References: <47AB4F00.1080307@gmail.com> <47AB7DBF.8030302@locolomo.org> <47AB9542.70406@gmail.com> In-Reply-To: <47AB9542.70406@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: pxeboot, TFTP only, NFS MOUNT RPC error: 60, timeout X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2008 09:01:22 -0000 Rek Jed wrote: > I also tried building it like that: > > # cd /usr/src/sys/boot > # make LOADER_TFTP_SUPPORT=YES LOADER_NFS_SUPPORT=NO > > This builds fine. I copied it to my jumpstart server and it booted from > tftp after approx 2 min. pause and the "NFS MOUNT RPC error: 60". Can > anyone tell me whats the difference between -DLOADER_TFTP_SUPPORT=YES > and LOADER_TFTP_SUPPORT=YES? OK, two things remain: Are you sure that it doesn't correctly fetch the kernel with tftp and then the kernel tries to mount a root device with nfs? If the kernel is compiled with the slightest mention of nfs as root device it will use nfs, no matter that you have specified otherwise in loader.conf. The generic kernel has NFS_ROOT and NFS_CLIENT, since your root device is not NFS then you can leave out both. I recall having problems leaving in NFS_CLIENT although NFS_ROOT was not included. Second, the loader is ignorant of which version of FreeBSD you use, it will just load whichever kernel you throw at it. I have a loader I used for 6.1, http://www.locolomo.org/pub/pxeboot/jumpstart.tgz Hope this helps. If you find any errors or things that have changed since I worked with this, let me know and I will update the howto. Cheers, Erik