From owner-freebsd-emulation@FreeBSD.ORG Sun Apr 25 11:39:35 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 21A941065673; Sun, 25 Apr 2010 11:39:35 +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 BBA128FC1E; Sun, 25 Apr 2010 11:39:34 +0000 (UTC) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1O60BQ-0004Ua-UJ; Sun, 25 Apr 2010 14:39:32 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Lawrence Stewart In-reply-to: <4BD3EBE1.8030701@freebsd.org> References: <4BD3EBE1.8030701@freebsd.org> Comments: In-reply-to Lawrence Stewart message dated "Sun, 25 Apr 2010 17:14:41 +1000." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 25 Apr 2010 14:39:32 +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 11:39:35 -0000 > Hi Danny and all, > > This does indeed work as advertised, thanks for pointing me at this > information. > > The new issue I'm dealing with is that the pxe boot loader now happily > runs, gets all the appropriate DHCP options and then stalls trying to > 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. > > When pxe booting, it gets to printing the "pxe_open:" lines with correct > server addr, path and gateway IP. It then stalls for a few mins where > you would normally see the spinning "|" character, and then prints "NFS > MOUNT RPC error: 60". It then appears to keep trying to load the kernel > without success for a substantial period of time (more than 10 mins). It > eventually gives up and dumps me at the loader prompt i.e. > > can't load 'kernel' > Type '?' for a list of commands, 'help' for more detailed help. > OK > > Looking at tcpdump on the NFS server, I see a number of UDP > request/replies between port 1023 on the VM and port 111 on the server. > After about 5 such exchanges, the Vm tries directing queries from port > 1023 to port 2304 on the server which triggers ICMP port unreachables to > go back. > > I also tested with pxeboot binaries from 7.3, 8-stable and head - all > have the same problem. > > Has anyone seen this behaviour before? What am I doing differently that > stops me from being able to do this whilst others seem to be able to? have you tried your pxe/diskless outside vmware? danny