From owner-freebsd-emulation@FreeBSD.ORG Sun Apr 25 07:14:44 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 F087F1065672 for ; Sun, 25 Apr 2010 07:14:44 +0000 (UTC) (envelope-from lstewart@freebsd.org) Received: from lauren.room52.net (lauren.room52.net [210.50.193.198]) by mx1.freebsd.org (Postfix) with ESMTP id B390B8FC1D for ; Sun, 25 Apr 2010 07:14:44 +0000 (UTC) Received: from lawrence1.loshell.room52.net (unknown [59.167.184.191]) by lauren.room52.net (Postfix) with ESMTPSA id 7253D7E84A; Sun, 25 Apr 2010 17:14:42 +1000 (EST) Message-ID: <4BD3EBE1.8030701@freebsd.org> Date: Sun, 25 Apr 2010 17:14:41 +1000 From: Lawrence Stewart User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-AU; rv:1.9.1.9) Gecko/20100405 Thunderbird/3.0.4 MIME-Version: 1.0 To: Daniel Braniss References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: 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 07:14:45 -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? Cheers, Lawrence