NetBSD Problem Report #10606

Received: (qmail 2641 invoked from network); 16 Jul 2000 07:42:20 -0000
Message-Id: <200007160738.e6G7crw01018@starfruit.itojun.org>
Date: Sun, 16 Jul 2000 16:38:53 +0900 (JST)
From: itojun@itojun.org
To: gnats-bugs@gnats.netbsd.org
Cc: ichiro@ichiro.org, sommerfeld@netbsd.org
Subject: IPv6 NFS over TCP does not work
X-Send-Pr-Version: 3.95

>Number:         10606
>Category:       kern
>Synopsis:       IPv6 NFS over TCP does not work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 16 07:43:00 +0000 2000
>Closed-Date:    Sun Jul 16 08:12:33 +0000 2000
>Last-Modified:  Thu Sep 25 11:00:03 +0000 2008
>Originator:     Jun-ichiro itojun Hagino
>Release:        latest
>Organization:
	itojun.org
>Environment:
System: NetBSD starfruit.itojun.org 1.5B NetBSD 1.5B (STARFRUIT) #54: Sat Jul 15 09:42:05 JST 2000 itojun@starfruit.itojun.org:/usr/home/itojun/NetBSD/src/sys/arch/i386/compile/STARFRUIT i386

>Description:
	TCP NFS over IPv6 does not work right.  I've tested it with:
	- NetBSD 1.5_ALPHA client, NetBSD-current server
	- Solaris8 client, NetBSD-current server
	- NetBSD-current client/server (loopback)
	and they all failed if we use TCP.

	UDP NFS over IPv6 works just fine for all cases.
>How-To-Repeat:
	1. delete 127.0.0.1 from /etc/hosts, to map "localhost" into ::1.
	2. export /usr.
	3. mount -T localhost:/usr /mnt.  see that the operation makes no
	   progress.
	4. if you try tcpdump on loopback interface, you will see that tthe
	   tcp stream does not get ACKed (is it a TCP issue, not nfs issue?)

	for comparison:
	a. if you use IPv4 (map "localhost" into 127.0.0.1), it works.
	b. if you use udp (no -T), it works.

	there seems to be some other issue in mountd(8), with -noprivport and
	-noprivmnt.
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: itojun 
State-Changed-When: Sun Jul 16 01:11:42 PDT 2000 
State-Changed-Why:  
usr.sbin/mountd/mountd.c, 1.72 -> 1.73 corrects this 
From: Gary Duzan <gary@duzan.org>
To: gnats-bugs@gnats.netbsd.org
Cc: 
Subject: Re: kern/10606: IPv6 NFS over TCP does not work
Date: Thu, 25 Sep 2008 06:56:35 -0400

    I've been seeing something like this with a 4.0.0_PATCH/i386
 server and a 4.99.72/amd64 client. Most of the time it starts up
 fine (though sometimes it hangs at mount time), and light load
 seems ok, but as soon as I do more with it (extracting a zip file
 will always do it), the client NFS hangs. There may be a locking
 problem since the system won't complete a shutdown while in this
 state. If I disable IPv6 on the client and use the IPv4 address it
 seems to work fine.

 					Gary Duzan


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.