From owner-freebsd-emulation@FreeBSD.ORG Sun Apr 25 19:37:06 2010 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FB35106566B; Sun, 25 Apr 2010 19:37:06 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id B1B438FC1D; Sun, 25 Apr 2010 19:37:05 +0000 (UTC) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1O67dY-0008lm-7d; Sun, 25 Apr 2010 22:37:04 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Lawrence Stewart In-reply-to: <4BD45CAD.1050102@freebsd.org> References: <4BD3EBE1.8030701@freebsd.org> <4BD437AB.8060103@freebsd.org> <4BD45CAD.1050102@freebsd.org> Comments: In-reply-to Lawrence Stewart message dated "Mon, 26 Apr 2010 01:15:57 +1000." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 25 Apr 2010 22:37:04 +0300 From: Daniel Braniss Message-ID: Cc: freebsd-emulation@freebsd.org Subject: Re: NFS mount RPC error when loading kernel after PXE boot(was "Re: Vbox/PXE booting works (fwd)") X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2010 19:37:06 -0000 > On 04/25/10 23:28, Daniel Braniss wrote: > >> Hi Danny, > >> > >> On 04/25/10 21:39, Daniel Braniss wrote: > >>>> Hi Danny and all, > >> > >> [snip] > >> > >>>> mount the NFS share to pull the kernel from. I've verified that the NFS > >>>> configuration works, both using a separate physical machine and by > >>>> firing up the VM I'm trying to PXE boot with the fixit CD and mounting > >>>> the share from the fixit shell i.e. the problem seems to be localised to > >>>> the boot loader. > >> > >> [snip] > >> > >>> have you tried your pxe/diskless outside vmware? > >> > >> Yes, see above. The NFS configuration works perfectly when used inside a > >> vm running FreeBSD or from a physical machine. It only fails when I try > >> to PXE boot the vm. > > > > i'll refrase question: > > can you pxe boot a diskless client via nfs? > > > > the 'above' just says that you can nfs access, which was not my question. > > Sorry, I didn't explain myself very well. By "using a separate physical > machine", I meant that I can successfully PXE boot the machine on my LAN > which pulls the kernel over NFS and happily mounts root over NFS i.e. > answer to your question is yes. The second part of my testing was using > the mount_nfs command manually on the command line of a vbox vm which > was booted into the fixit cd's fixit shell. > > Everything points to my config being good and a weird loader related > issue. Assuming you are able to successfully pxe boot FreeBSD could I > ask you to please: > > - Tell me which version of FreeBSD your pxeboot sources are built from > > - Make your FreeBSD pxeboot binary available for me to download from > somewhere so I can try it in case it makes any difference > > Thanks for your continued input, I'm really at a loss. I'll try to send yu a working pxeboot, after I test it under vbox (haven't tried for some time), in the mean time make sure that your /etc/exports is realy ok should be at least: -maproot=root and does not harm: -alldirs also, check if you are nating, or bridging, can't remember what I used. and one last thing, vbox/ethernet does not behave nicely after reboot and also make sure you choose PCnet-FAST II, the III does not work hth, danny