From owner-freebsd-questions@FreeBSD.ORG Thu Feb 7 23:33:44 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 26EB416A417 for ; Thu, 7 Feb 2008 23:33:44 +0000 (UTC) (envelope-from rekjed@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id ABBA813C455 for ; Thu, 7 Feb 2008 23:33:43 +0000 (UTC) (envelope-from rekjed@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so2923066fgg.35 for ; Thu, 07 Feb 2008 15:33:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=xsOLKC9cHCh5D4GfITTRPaY/M7nKy4V9QlcGhNx52vs=; b=JUVd7sCd3NAqCTk+SR+hIdscgyNg853BuAx0p8X7KzPaiJmDHFklMk+VRaqgh9GPVGNNuSQ4HEi5MVlIbLg2pBXKpgJo46RUohM2sXUyrRytiztZb1h2MMQV1EPsnjuhlh4TgWqRZ6e+GXPwoFtjrVTxih2hOOtI6Cl+LR8ty1k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=QQIOs6fJmCAo+8AxPGVLHYHx0x3nKIoPpmaioa4LEWgSAvRoCa8EcIKDaBhiBQpkNpq3dLaud3YRyEb7rTm0M+aXTF3wn5ilM+SFMpcBN8Q3RukvPZQiNYrbeCoJkU4EPbtYNmXM5G9khwzD8SjhLVnSpYAakcbriWn/QYgUnVE= Received: by 10.86.80.5 with SMTP id d5mr11005922fgb.57.1202427221787; Thu, 07 Feb 2008 15:33:41 -0800 (PST) Received: from mig.darq.net ( [78.86.112.102]) by mx.google.com with ESMTPS id 12sm2340708fgg.6.2008.02.07.15.33.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 07 Feb 2008 15:33:40 -0800 (PST) Message-ID: <47AB9542.70406@gmail.com> Date: Thu, 07 Feb 2008 23:33:22 +0000 From: Rek Jed User-Agent: Thunderbird 2.0.0.9 (X11/20071231) MIME-Version: 1.0 To: Erik Norgaard References: <47AB4F00.1080307@gmail.com> <47AB7DBF.8030302@locolomo.org> In-Reply-To: <47AB7DBF.8030302@locolomo.org> 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: Thu, 07 Feb 2008 23:33:44 -0000 Hi Erik, > I wrote the howto refered to in other reply, it's a while ago I played > with this, but I have no reason to think that much has changed on the > 6.x branch, I have just tried 7.x and build of the loader this way fails. I tried building it on 7.0-PRERELEASE and it builds fine for me. Haven't tested if it works yet, but will do in a moment. > > When building the loader make sure that your source tree is clean and > /usr/obj is empty, or it won't work. I recall this puzzled me a long > time until I found the trick. I don't think it is enough to do make > clean. Yes, I made sure that /usr/obj was empty. > > # cd /usr/src/sys/boot > # make -DLOADER_TFTP_SUPPORT=YES Originally I was doing this on 6.2. I tried it again on a freshly installed 6.3-RELEASE just now. I made sure /usr/obj was empty and build pxeboot using the above method, then copied it over to my jumpstart server. Unfortunately this didn't work. It sat there for a bit, then trowed "NFS MOUNT RPC error: 60" as usual and then sat there forever (it never fetched the kernel). 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? I've been playing with thinbsd (http://www.thinbsd.org/) a while back. It also boots from tftp without nfs and their boot loader works fine (boots straight away). Latest thinbsd is based on 5.4 so maybe it broke in 6.x? For a workaround I used pxeboot from thinbsd with my 6.3 jumpstart setup and it seems to work fine. However this is quite dirty. Cheers, Jedrek P.S Thanks for the howto Erik, I found it really helpful.