From nobody@FreeBSD.org  Thu Jan 12 19:24:50 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0D00A16A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Jan 2006 19:24:50 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id BA22643D77
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Jan 2006 19:24:34 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k0CJNSBE060426
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Jan 2006 19:23:28 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k0CJNS9N060425;
	Thu, 12 Jan 2006 19:23:28 GMT
	(envelope-from nobody)
Message-Id: <200601121923.k0CJNS9N060425@www.freebsd.org>
Date: Thu, 12 Jan 2006 19:23:28 GMT
From: Ruben Kerkhof <ruben.kerkhof@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: pxeboot always tries to do an rpc call to an nfs-server
X-Send-Pr-Version: www-2.3

>Number:         91720
>Category:       kern
>Synopsis:       [pxe] pxeboot always tries to do an rpc call to an nfs-server
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 12 19:30:05 GMT 2006
>Closed-Date:    Fri Oct 12 22:09:08 UTC 2007
>Last-Modified:  Fri Oct 12 22:09:08 UTC 2007
>Originator:     Ruben Kerkhof
>Release:        6.0
>Organization:
>Environment:
FreeBSD 6.0 Release
>Description:
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.
>How-To-Repeat:
              
>Fix:
Can the option to do the rpc mount be made a compile time switch? This would be great for everyone who doesn't need the nfs mount option for diskless clients.
>Release-Note:
>Audit-Trail:

From: Ceri Davies <ceri@submonkey.net>
To: Ruben Kerkhof <ruben.kerkhof@gmail.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/91720: pxeboot always tries to do an rpc call to an nfs-server
Date: Sat, 14 Jan 2006 13:05:08 +0000

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --Apple-Mail-1-22918892
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
 
 
 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
 
 
 --Apple-Mail-1-22918892
 content-type: application/pgp-signature; x-mac-type=70674453;
 	name=PGP.sig
 content-description: This is a digitally signed message part
 content-disposition: inline; filename=PGP.sig
 content-transfer-encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.1 (Darwin)
 
 iD8DBQFDyPcEme8yCsQvJJ0RAtPpAJ9i04F+BXVvIo2462KR9FSJWxvk0QCgvR9H
 seNltIbNeDh99euEeLf10m4=
 =DYyc
 -----END PGP SIGNATURE-----
 
 --Apple-Mail-1-22918892--

From: Ruben Kerkhof <ruben.kerkhof@gmail.com>
To: Ceri Davies <ceri@submonkey.net>
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 <ceri@submonkey.net> 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
 
 <br><br>
 <div><span class=3D"gmail_quote">On 1/14/06, <b class=3D"gmail_sendername">=
 Ceri Davies</b> &lt;<a href=3D"mailto:ceri@submonkey.net">ceri@submonkey.ne=
 t</a>&gt; wrote:</span>
 <blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0=
 px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>On 12 Jan 2006, at 19:23, Ru=
 ben Kerkhof wrote:<br><br>&gt; I want to use the pxeboot loader to use an m=
 fsroot as root, not an
 <br>&gt; nfs mount.<br>&gt; In /usr/src/sys/boot/i386/libi386/pxe.c line 34=
 0, the function<br>&gt; pxe_setnfshandle always gets called. If you don't h=
 ave an nfs<br>&gt; server running, the loader gives the error &quot;NFS MOU=
 NT RPC Error&quot;.
 <br>&gt; It continues loading the mfsroot over tftp though.<br><br>Sorry, c=
 an you confirm whether it works or not.<br><br>&quot;It continues loading t=
 he mfsroot over tftp&quot; sounds like it's doing<br>what you want, but it =
 obviously is not.&nbsp;&nbsp;Could you clarify that a
 <br>little please?<br><br>Thanks,<br><br>Ceri<br></blockquote></div>
 <div>Hi Ceri,</div>
 <div>&nbsp;</div>
 <div>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.</div>
 <div>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.</div>
 <div>This slows down the booting process. Although the nfs mount error is h=
 armless, it makes people (like me) think there's something wrong.</div>
 <div>&nbsp;</div>
 <div>If my memory is right, it behaved ok before patch 1.21 (<a href=3D"htt=
 p://www.freebsd.org/cgi/cvsweb.cgi/src/sys/boot/i386/libi386/pxe.c.diff?r1=
 =3D1.20&amp;r2=3D1.21">http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/boot/i=
 386/libi386/pxe.c.diff?r1=3D1.20&amp;r2=3D1.21
 </a>)</div>
 <div>&nbsp;</div>
 <div>Cheers,</div>
 <div>&nbsp;</div>
 <div>Ruben<br>&nbsp;</div>
 
 ------=_Part_7636_17784620.1137344637091--

From: Ceri Davies <ceri@submonkey.net>
To: Ruben Kerkhof <ruben.kerkhof@gmail.com>
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 23:55:34 +0000

 --pWJxWxNlJUNgDlXi
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 On Sun, Jan 15, 2006 at 06:03:57PM +0100, Ruben Kerkhof wrote:
 > 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=1.20&r2=1.21
 > )
 
 Hi Ruben,
 
 Thanks for the explanation.  I've attached a patch which sounds like it
 will fix this, but I don't have an environment to test either TFTP or
 NFS booting, so take it with a large pinch of salt.
 
 Ceri
 -- 
 That must be wonderful!  I don't understand it at all.
                                                   -- Alice
 
 --pWJxWxNlJUNgDlXi
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="91720.diff"
 
 Index: libi386/Makefile
 ===================================================================
 RCS file: /usr/home/ncvs/src/sys/boot/i386/libi386/Makefile,v
 retrieving revision 1.37
 diff -u -r1.37 Makefile
 --- libi386/Makefile	24 Oct 2004 15:32:49 -0000	1.37
 +++ libi386/Makefile	15 Jan 2006 23:54:07 -0000
 @@ -10,6 +10,10 @@
  	i386_copy.c i386_module.c nullconsole.c pxe.c pxetramp.s \
  	time.c vidconsole.c amd64_tramp.S
  
 +.if defined(LOADER_TFTP_SUPPORT)
 +CFLAGS+=	-DLOADER_TFTP_SUPPORT
 +.endif
 +
  BOOT_COMCONSOLE_PORT?= 0x3f8
  CFLAGS+=	-DCOMPORT=${BOOT_COMCONSOLE_PORT}
  
 Index: libi386/pxe.c
 ===================================================================
 RCS file: /usr/home/ncvs/src/sys/boot/i386/libi386/pxe.c,v
 retrieving revision 1.22
 diff -u -r1.22 pxe.c
 --- libi386/pxe.c	17 Apr 2005 21:38:22 -0000	1.22
 +++ libi386/pxe.c	15 Jan 2006 23:48:39 -0000
 @@ -335,8 +335,10 @@
      if (pxe_opens > 0)
  	return(0);
  
 +#ifdef LOADER_NFS_SUPPORT
      /* get an NFS filehandle for our root filesystem */
      pxe_setnfshandle(rootpath);
 +#endif
  
      if (pxe_sock >= 0) {
  
 
 --pWJxWxNlJUNgDlXi--

From: Ruben Kerkhof <ruben.kerkhof@gmail.com>
To: Ceri Davies <ceri@submonkey.net>, freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: kern/91720: pxeboot always tries to do an rpc call to an nfs-server
Date: Mon, 16 Jan 2006 08:40:11 +0100

 On 1/16/06, Ceri Davies <ceri@submonkey.net> wrote:
 > On Sun, Jan 15, 2006 at 06:03:57PM +0100, Ruben Kerkhof wrote:
 > > Hi Ceri,
 > >
 > > It does indeed do what I want, but the issue is that it takes a while f=
 or
 > > 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.d=
 iff?r1=3D1.20&r2=3D1.21
 > > )
 >
 > Hi Ruben,
 >
 > Thanks for the explanation.  I've attached a patch which sounds like it
 > will fix this, but I don't have an environment to test either TFTP or
 > NFS booting, so take it with a large pinch of salt.
 >
 > Ceri
 > --
 > That must be wonderful!  I don't understand it at all.
 >                                                   -- Alice
 >
 >
 >
 
 Hi Ceri, I did the same thing as you did with the patch, comment out
 the call to pxe_setnfshandle and that works ok. I will test the patch
 tonight however.
 
 Is LOADER_NFS_SUPPORT always defined by default? If not, the loader
 can't boot from either NFS or TFTP if it isn't explicitly compiled
 with one of the two options.
 
 In that case I would suggest something like:
 
 +#ifndef LOADER_TFTP_SUPPORT
      /* get an NFS filehandle for our root filesystem */
      pxe_setnfshandle(rootpath);
 +#endif
 
 Regards,
 
 Ruben

From: Ceri Davies <ceri@submonkey.net>
To: Ruben Kerkhof <ruben.kerkhof@gmail.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/91720: pxeboot always tries to do an rpc call to an nfs-server
Date: Mon, 16 Jan 2006 09:25:33 +0000

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --Apple-Mail-5-182543395
 Content-Type: multipart/mixed; boundary=Apple-Mail-4-182543296
 
 
 --Apple-Mail-4-182543296
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=US-ASCII;
 	delsp=yes;
 	format=flowed
 
 
 On 16 Jan 2006, at 07:50, Ruben Kerkhof wrote:
 
 >
 >  Is LOADER_NFS_SUPPORT always defined by default? If not, the loader
 >  can't boot from either NFS or TFTP if it isn't explicitly compiled
 >  with one of the two options.
 
 No, I messed up the patch a little.  In src/sys/boot/i386/loader/ 
 Makefile, we force one or the other of LOADER_NFS_SUPPORT or  
 LOADER_TFTP_SUPPORT so I figured we could do the same here.
 In that case, the patch becomes the attached.   The end effect is the  
 same, but it's better for being consistent.
 --Apple-Mail-4-182543296
 Content-Transfer-Encoding: 7bit
 Content-Type: application/octet-stream;
 	x-unix-mode=0644;
 	name="91720.diff"
 Content-Disposition: attachment;
 	filename=91720.diff
 
 Index: libi386/Makefile
 ===================================================================
 RCS file: /usr/home/ncvs/src/sys/boot/i386/libi386/Makefile,v
 retrieving revision 1.37
 diff -u -r1.37 Makefile
 --- libi386/Makefile	24 Oct 2004 15:32:49 -0000	1.37
 +++ libi386/Makefile	16 Jan 2006 09:23:00 -0000
 @@ -10,6 +10,13 @@
  	i386_copy.c i386_module.c nullconsole.c pxe.c pxetramp.s \
  	time.c vidconsole.c amd64_tramp.S
  
 +# Enable PXE TFTP or NFS support, not both.
 +.if defined(LOADER_TFTP_SUPPORT)
 +CFLAGS+=	-DLOADER_TFTP_SUPPORT
 +.else
 +CFLAGS+=	-DLOADER_NFS_SUPPORT
 +.endif
 +
  BOOT_COMCONSOLE_PORT?= 0x3f8
  CFLAGS+=	-DCOMPORT=${BOOT_COMCONSOLE_PORT}
  
 Index: libi386/pxe.c
 ===================================================================
 RCS file: /usr/home/ncvs/src/sys/boot/i386/libi386/pxe.c,v
 retrieving revision 1.22
 diff -u -r1.22 pxe.c
 --- libi386/pxe.c	17 Apr 2005 21:38:22 -0000	1.22
 +++ libi386/pxe.c	15 Jan 2006 23:48:39 -0000
 @@ -335,8 +335,10 @@
      if (pxe_opens > 0)
  	return(0);
  
 +#ifdef LOADER_NFS_SUPPORT
      /* get an NFS filehandle for our root filesystem */
      pxe_setnfshandle(rootpath);
 +#endif
  
      if (pxe_sock >= 0) {
  
 
 --Apple-Mail-4-182543296
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=US-ASCII;
 	format=flowed
 
 
 Cheers,
 
 Ceri
 -- 
 That must be wonderful!  I don't understand it at all.
                                                    -- Alice
 
 
 
 --Apple-Mail-4-182543296--
 
 --Apple-Mail-5-182543395
 content-type: application/pgp-signature; x-mac-type=70674453;
 	name=PGP.sig
 content-description: This is a digitally signed message part
 content-disposition: inline; filename=PGP.sig
 content-transfer-encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.1 (Darwin)
 
 iD8DBQFDy2aNme8yCsQvJJ0RAujmAJ9cl4bX+aYVak2npIViuNl9IygwpwCgg12m
 ZX/GExh34xAsswRekwr8pw0=
 =kluf
 -----END PGP SIGNATURE-----
 
 --Apple-Mail-5-182543395--

From: Ruben Kerkhof <ruben.kerkhof@gmail.com>
To: Ceri Davies <ceri@submonkey.net>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/91720: pxeboot always tries to do an rpc call to an nfs-server
Date: Mon, 16 Jan 2006 10:29:27 +0100

 1/16/06, Ceri Davies <ceri@submonkey.net> wrote:
 >
 > No, I messed up the patch a little.  In src/sys/boot/i386/loader/
 > Makefile, we force one or the other of LOADER_NFS_SUPPORT or
 > LOADER_TFTP_SUPPORT so I figured we could do the same here.
 > In that case, the patch becomes the attached.   The end effect is the
 > same, but it's better for being consistent.
 >
 >
 > Cheers,
 >
 > Ceri
 > --
 > That must be wonderful!  I don't understand it at all.
 >                                                    -- Alice
 >
 
 Ok, I'll test the patch tonight and let you know.
 
 Cheers,
 
 Ruben

From: Ruben Kerkhof <ruben.kerkhof@gmail.com>
To: Ceri Davies <ceri@submonkey.net>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/91720: pxeboot always tries to do an rpc call to an nfs-server
Date: Mon, 16 Jan 2006 18:29:33 +0100

 On 1/16/06, Ruben Kerkhof <ruben.kerkhof@gmail.com> wrote:
 > 1/16/06, Ceri Davies <ceri@submonkey.net> wrote:
 > >
 > > No, I messed up the patch a little.  In src/sys/boot/i386/loader/
 > > Makefile, we force one or the other of LOADER_NFS_SUPPORT or
 > > LOADER_TFTP_SUPPORT so I figured we could do the same here.
 > > In that case, the patch becomes the attached.   The end effect is the
 > > same, but it's better for being consistent.
 > >
 > >
 > > Cheers,
 > >
 > > Ceri
 > > --
 > > That must be wonderful!  I don't understand it at all.
 > >                                                    -- Alice
 > >
 >
 > Ok, I'll test the patch tonight and let you know.
 >
 > Cheers,
 >
 > Ruben
 >
 
 I've patched my pxeboot loader with your patch and my clients booted
 without errors. I think it can be committed.
 
 Thanks a lot for your efforts!
 
 Kind regards,
 
 Ruben

From: Ceri Davies <ceri@submonkey.net>
To: Ruben Kerkhof <ruben.kerkhof@gmail.com>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/91720: pxeboot always tries to do an rpc call to an nfs-server
Date: Thu, 19 Jan 2006 19:36:53 +0000

 --z+pzSjdB7cqptWpS
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Mon, Jan 16, 2006 at 06:29:33PM +0100, Ruben Kerkhof wrote:
 >=20
 > I've patched my pxeboot loader with your patch and my clients booted
 > without errors. I think it can be committed.
 
 Thanks for testing, Ruben.  I'm just trying to find someone using the
 NFS part of this before committing, just to be sure.
 
 Ceri
 --=20
 That must be wonderful!  I don't understand it at all.
                                                   -- Alice
 
 --z+pzSjdB7cqptWpS
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (FreeBSD)
 
 iD8DBQFDz+pVocfcwTS3JF8RAu8FAKCf2B9cLteP4Xs55lbyP/u5NqNtYACgsf2e
 u6KnjhsJw37gZz8aEI6DIas=
 =LtN9
 -----END PGP SIGNATURE-----
 
 --z+pzSjdB7cqptWpS--

From: Ruben Kerkhof <ruben.kerkhof@gmail.com>
To: Ceri Davies <ceri@submonkey.net>, Ruben Kerkhof <ruben.kerkhof@gmail.com>, 
	freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: kern/91720: pxeboot always tries to do an rpc call to an nfs-server
Date: Thu, 19 Jan 2006 23:29:08 +0100

 I tested the NFS path as well, nothing broke :-)
 
 On 1/19/06, Ceri Davies <ceri@submonkey.net> wrote:
 > On Mon, Jan 16, 2006 at 06:29:33PM +0100, Ruben Kerkhof wrote:
 > >
 > > I've patched my pxeboot loader with your patch and my clients booted
 > > without errors. I think it can be committed.
 >
 > Thanks for testing, Ruben.  I'm just trying to find someone using the
 > NFS part of this before committing, just to be sure.
 >
 > Ceri
 > --
 > That must be wonderful!  I don't understand it at all.
 >                                                  -- Alice
 >
 >
 >

From: Ceri Davies <ceri@submonkey.net>
To: Ruben Kerkhof <ruben.kerkhof@gmail.com>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/91720: pxeboot always tries to do an rpc call to an nfs-server
Date: Fri, 20 Jan 2006 12:00:43 +0000

 --z6Eq5LdranGa6ru8
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Thu, Jan 19, 2006 at 11:29:08PM +0100, Ruben Kerkhof wrote:
 > I tested the NFS path as well, nothing broke :-)
 
 Ah, good man!  Will pass it on to my mentor for review then.
 
 Thanks very much for your help!
 
 Ceri
 
 >=20
 > On 1/19/06, Ceri Davies <ceri@submonkey.net> wrote:
 > > On Mon, Jan 16, 2006 at 06:29:33PM +0100, Ruben Kerkhof wrote:
 > > >
 > > > I've patched my pxeboot loader with your patch and my clients booted
 > > > without errors. I think it can be committed.
 > >
 > > Thanks for testing, Ruben.  I'm just trying to find someone using the
 > > NFS part of this before committing, just to be sure.
 > >
 > > Ceri
 --=20
 That must be wonderful!  I don't understand it at all.
                                                   -- Alice
 
 --z6Eq5LdranGa6ru8
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (FreeBSD)
 
 iD8DBQFD0NDqocfcwTS3JF8RAuAmAKCIKExKHzYo7DWr7m0++znDl+J0DACeJIJA
 H7WyWV2VsuKIkJvrnIslz78=
 =yRlG
 -----END PGP SIGNATURE-----
 
 --z6Eq5LdranGa6ru8--

From: Ruben Kerkhof <ruben.kerkhof@gmail.com>
To: Ceri Davies <ceri@submonkey.net>, Ruben Kerkhof <ruben.kerkhof@gmail.com>, 
	freebsd-gnats-submit@freebsd.org
Cc:  
Subject: Re: kern/91720: pxeboot always tries to do an rpc call to an nfs-server
Date: Fri, 20 Jan 2006 14:12:30 +0100

 On 1/20/06, Ceri Davies <ceri@submonkey.net> wrote:
 > On Thu, Jan 19, 2006 at 11:29:08PM +0100, Ruben Kerkhof wrote:
 > > I tested the NFS path as well, nothing broke :-)
 >
 > Ah, good man!  Will pass it on to my mentor for review then.
 >
 > Thanks very much for your help!
 >
 > Ceri
 >
 
 One thing I just thought about is that I tested NFS with
 -DLOADER_NFS_SUPPORT. I haven't tested it with -DTFTP_SUPPORT, so I
 don't know how diskless clients behave in that case.
 
 Ruben

From: Ceri Davies <ceri@submonkey.net>
To: Ruben Kerkhof <ruben.kerkhof@gmail.com>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/91720: pxeboot always tries to do an rpc call to an nfs-server
Date: Fri, 20 Jan 2006 15:13:26 +0000

 On Fri, Jan 20, 2006 at 02:12:30PM +0100, Ruben Kerkhof wrote:
 > On 1/20/06, Ceri Davies <ceri@submonkey.net> wrote:
 > > On Thu, Jan 19, 2006 at 11:29:08PM +0100, Ruben Kerkhof wrote:
 > > > I tested the NFS path as well, nothing broke :-)
 > >
 > > Ah, good man!  Will pass it on to my mentor for review then.
 > >
 > > Thanks very much for your help!
 > >
 > > Ceri
 > >
 > 
 > One thing I just thought about is that I tested NFS with
 > -DLOADER_NFS_SUPPORT. I haven't tested it with -DTFTP_SUPPORT, so I
 > don't know how diskless clients behave in that case.
 
 OK, no problem.  I suspect that they break, or at least
 boot.nfsroot.nfshandle won't get set and there is code in the client
 specifically for the diskless case that expects to find something in
 there.
 
 I'll try to set up a test environment and see.  Thanks for the warning.
 
 Ceri
 -- 
 That must be wonderful!  I don't understand it at all.
                                                   -- Moliere

From: Henrik Brix Andersen <henrik@brixandersen.dk>
To: bug-followup@FreeBSD.org, ruben.kerkhof@gmail.com
Cc:  
Subject: Re: kern/91720: pxeboot always tries to do an rpc call to an nfs-server
Date: Sat, 16 Sep 2006 00:11:24 +0200

 I am being bitten by this issue as well.
 
 Any progress on getting it fixed? Anything I can do to help speed up
 the process?
 
 Regards,
 Brix
 -- 
 Henrik Brix Andersen <henrik@brixandersen.dk>

From: Jonas Nagel <fireball@zerouptime.ch>
To: bug-followup@FreeBSD.org,
 ruben.kerkhof@gmail.com,
 ceri@submonkey.net
Cc:  
Subject: Re: kern/91720: [pxe] pxeboot always tries to do an rpc call to an nfs-server
Date: Mon, 24 Sep 2007 01:27:48 +0200

 I just noticed that this bug is still not fixed, I don't see why this
 couldn't get committed...
 
 Also, I recognized that TFTP support is probably not getting us anywhere,
 because it still wants to mount the root or the distribution media from
 an NFS mount later, after the kernel had booted. Or maybe I just
 misunderstood what TFTP support is about.
 
 But apart from that there is another issue to that bug: if the NFS mount
 succeeds when it does that RPC call it fails to transfer the kernel
 through that since it seems the NFS calls are incomplete, if TFTP is
 enabled. Consequence of that is that you need to disable the NFS export
 (if root-path matches).
 
 If you need more details in something I have experimented a bit around
 with both features...NFS and TFTP compiled pxeloader.
 
 
 - Jonas Nagel

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/91720: commit references a PR
Date: Fri, 12 Oct 2007 17:09:54 +0000 (UTC)

 ps          2007-10-12 17:09:44 UTC
 
   FreeBSD src repository
 
   Modified files:
     sys/boot/i386/libi386 Makefile pxe.c 
   Log:
   Do not attempt to make an NFS rpc call if using tftp
   
   PR:             kern/91720
   Submitted by:   Ruben Kerkhof
   
   Revision  Changes    Path
   1.43      +7 -0      src/sys/boot/i386/libi386/Makefile
   1.23      +2 -0      src/sys/boot/i386/libi386/pxe.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: ps 
State-Changed-When: Fri Oct 12 22:08:53 UTC 2007 
State-Changed-Why:  
Committed! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=91720 
>Unformatted:
