From owner-freebsd-bugs@FreeBSD.ORG Sun Jan 15 17:10:13 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6047E16A41F for ; Sun, 15 Jan 2006 17:10:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 083BA43D45 for ; Sun, 15 Jan 2006 17:10:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0FHACjg010334 for ; Sun, 15 Jan 2006 17:10:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0FHACpx010333; Sun, 15 Jan 2006 17:10:12 GMT (envelope-from gnats) Date: Sun, 15 Jan 2006 17:10:12 GMT Message-Id: <200601151710.k0FHACpx010333@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Ruben Kerkhof Cc: Subject: Re: kern/91720: pxeboot always tries to do an rpc call to an nfs-server X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ruben Kerkhof List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2006 17:10:13 -0000 The following reply was made to PR kern/91720; it has been noted by GNATS. From: Ruben Kerkhof To: Ceri Davies Cc: freebsd-gnats-submit@freebsd.org Subject: Re: kern/91720: pxeboot always tries to do an rpc call to an nfs-server Date: Sun, 15 Jan 2006 18:03:57 +0100 ------=_Part_7636_17784620.1137344637091 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 1/14/06, Ceri Davies wrote: > > > On 12 Jan 2006, at 19:23, Ruben Kerkhof wrote: > > > I want to use the pxeboot loader to use an mfsroot as root, not an > > nfs mount. > > In /usr/src/sys/boot/i386/libi386/pxe.c line 340, the function > > pxe_setnfshandle always gets called. If you don't have an nfs > > server running, the loader gives the error "NFS MOUNT RPC Error". > > It continues loading the mfsroot over tftp though. > > Sorry, can you confirm whether it works or not. > > "It continues loading the mfsroot over tftp" sounds like it's doing > what you want, but it obviously is not. Could you clarify that a > little please? > > Thanks, > > Ceri > Hi Ceri, It does indeed do what I want, but the issue is that it takes a while for pxeboot to notice that it can't mount nfs. Since I compiled the loader with LOADER_TFTP_SUPPORT, I don't think it should try to do an rpc call in the first place. This slows down the booting process. Although the nfs mount error is harmless, it makes people (like me) think there's something wrong. If my memory is right, it behaved ok before patch 1.21 ( http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/boot/i386/libi386/pxe.c.diff?= r1=3D1.20&r2=3D1.21 ) Cheers, Ruben ------=_Part_7636_17784620.1137344637091 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

On 1/14/06, = Ceri Davies <ceri@submonkey.ne= t> wrote:

On 12 Jan 2006, at 19:23, Ru= ben Kerkhof wrote:

> I want to use the pxeboot loader to use an m= fsroot as root, not an
> nfs mount.
> In /usr/src/sys/boot/i386/libi386/pxe.c line 34= 0, the function
> pxe_setnfshandle always gets called. If you don't h= ave an nfs
> server running, the loader gives the error "NFS MOU= NT RPC Error".
> It continues loading the mfsroot over tftp though.

Sorry, c= an you confirm whether it works or not.

"It continues loading t= he mfsroot over tftp" sounds like it's doing
what you want, but it = obviously is not.  Could you clarify that a
little please?

Thanks,

Ceri
Hi Ceri,
 
It does indeed do what I want, but the issue is that it takes a while = for pxeboot to notice that it can't mount nfs.
Since I compiled the loader with LOADER_TFTP_SUPPORT, I don't think it= should try to do an rpc call in the first place.
This slows down the booting process. Although the nfs mount error is h= armless, it makes people (like me) think there's something wrong.
 
 
Cheers,
 
Ruben
 
------=_Part_7636_17784620.1137344637091--