From danny@cs.huji.ac.il  Mon Oct  5 08:05:19 2009
Return-Path: <danny@cs.huji.ac.il>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id F08C7106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  5 Oct 2009 08:05:19 +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 A036B8FC17
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  5 Oct 2009 08:05:19 +0000 (UTC)
Received: from kots-b.cs.huji.ac.il ([132.65.16.13])
	by kabab.cs.huji.ac.il with esmtp
	id 1MuiZK-000Mqw-EI
	for FreeBSD-gnats-submit@freebsd.org; Mon, 05 Oct 2009 10:05:18 +0200
Received: from danny by kots-b.cs.huji.ac.il with local (Exim 4.69 (FreeBSD))
	(envelope-from <danny@cs.huji.ac.il>)
	id 1MuiZK-0002nb-At
	for FreeBSD-gnats-submit@freebsd.org; Mon, 05 Oct 2009 10:05:18 +0200
Message-Id: <E1MuiZK-0002nb-At@kots-b.cs.huji.ac.il>
Date: Mon, 05 Oct 2009 10:05:18 +0200
From: Daniel Braniss <danny@cs.huji.ac.il>
Reply-To: Daniel Braniss <danny@cs.huji.ac.il>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: diskless root nfs mount from non FreeBSD server broken
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         139363
>Category:       kern
>Synopsis:       [nfs] diskless root nfs mount from non FreeBSD server broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-fs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 05 08:10:02 UTC 2009
>Closed-Date:    Wed Oct 27 21:33:46 UTC 2010
>Last-Modified:  Wed Oct 27 21:33:46 UTC 2010
>Originator:     Daniel Braniss
>Release:        FreeBSD 8.0-RC1 amd64
>Organization:
>Environment:
System: FreeBSD sf-02 8.0-RC1 FreeBSD 8.0-RC1 #8: Sat Oct 3 10:52:41 IST 2009 danny@sunfire:/r+d/obj/sunfire/r+d/stable/8/sys/HUJI amd64


	
>Description:
	the initial diskless boot is still via nfs/v2, and once
	the kernel remounts it, it now fails with error 1001 (NFSERR_BADHANDLE),
	after some hacking in nfs_vfsops.c - dropping NFSMNT_NFSV3,
	I get error 70, which the netapp reports as:
	Client 132.65.82.135 (xid 1501470721) is trying to access an unexported mount (fileid 12829350, snapid 0, generation 0 and flags 0x0 on volume 0x8b847e [No volume name available])

>How-To-Repeat:
	
>Fix:
	Fixed by the commit that modified pxeboot to use NFSv3 instead
	of NFSv2. (r212716 and r212717 to stable/8)

	


>Release-Note:
>Audit-Trail:

From: Daniel Braniss <danny@cs.huji.ac.il>
To: bug-followup@FreeBSD.org,
 danny@cs.huji.ac.il
Cc:  
Subject: Re: kern/139363: diskless root nfs mount from non FreeBSD server broken
Date: Mon, 5 Oct 2009 18:17:48 +0200

 the fix is to set boot.nfsroot.options="nfsv2" in /boot/loader.conf or  
 via dhcp.
 
 
Responsible-Changed-From-To: freebsd-bugs->freebsd-s 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Oct 6 01:50:27 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=139363 
Responsible-Changed-From-To: freebsd-s->freebsd-fs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Oct 6 04:30:06 UTC 2009 
Responsible-Changed-Why:  
gonna have to replace this keyboard soon ... 

http://www.freebsd.org/cgi/query-pr.cgi?pr=139363 
State-Changed-From-To: open->closed 
State-Changed-By: rmacklem 
State-Changed-When: Wed Oct 27 21:30:49 UTC 2010 
State-Changed-Why:  

Fixed by the commits r212716 and r212717 to stable/8, which made 
pxeboot use NFSv3 instead of NFSv2. 

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