Date: Thu, 07 Feb 2008 23:33:22 +0000 From: Rek Jed <rekjed@gmail.com> To: Erik Norgaard <norgaard@locolomo.org> Cc: freebsd-questions@freebsd.org Subject: Re: pxeboot, TFTP only, NFS MOUNT RPC error: 60, timeout Message-ID: <47AB9542.70406@gmail.com> In-Reply-To: <47AB7DBF.8030302@locolomo.org> References: <47AB4F00.1080307@gmail.com> <47AB7DBF.8030302@locolomo.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47AB9542.70406>