From dima@MATPOCKuH.Ru  Fri Feb 27 07:18:03 2004
Return-Path: <dima@MATPOCKuH.Ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 98AC416A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 27 Feb 2004 07:18:03 -0800 (PST)
Received: from orion.ifmo.ru (kot.spb.ru [194.85.164.6])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A07D343D1F
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 27 Feb 2004 07:18:02 -0800 (PST)
	(envelope-from dima@MATPOCKuH.Ru)
Received: from orion.ifmo.ru (dima@localhost [127.0.0.1])
	by orion.ifmo.ru (8.12.10/8.12.10) with ESMTP id i1RFI1c4072502
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 27 Feb 2004 18:18:01 +0300 (MSK)
	(envelope-from dima@orion.ifmo.ru)
Received: (from dima@localhost)
	by orion.ifmo.ru (8.12.10/8.12.10/Submit) id i1RFI1q3072501;
	Fri, 27 Feb 2004 18:18:01 +0300 (MSK)
	(envelope-from dima)
Message-Id: <200402271518.i1RFI1q3072501@orion.ifmo.ru>
Date: Fri, 27 Feb 2004 18:18:01 +0300 (MSK)
From: Dmitry Afanasiev <KOT@MATPOCKuH.Ru>
Reply-To: Dmitry Afanasiev <KOT@MATPOCKuH.Ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: problems with sharing over nfs cd9660 file systems
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         63446
>Category:       kern
>Synopsis:       [nfs] problems with sharing over nfs cd9660 file systems
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 27 07:20:07 PST 2004
>Closed-Date:    Sun Sep 05 11:21:45 GMT 2004
>Last-Modified:  Sun Sep 05 11:22:15 GMT 2004
>Originator:     Dmitry Afanasiev
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD kot 5.2-CURRENT FreeBSD 5.2-CURRENT #23: Wed Feb 25 16:39:57 MSK 2004     root@kot:/usr/obj/usr/src/sys/kot  i386



>Description:
	cd9660 file systems, shared over nfs and mounted to solaris systems
	have problems - all files and directories on solaris visible as files
	with zero lenght and wrong time modified.
	(ufs shared over nfs works correctly)

>How-To-Repeat:
	On FreeBSD:
	# mount -t cd9660 /dev/acd0 /cdrom
	# echo "/cdrom -ro" >> /etc/exports
	# killall -1 mountd

	Then check:
	# ls -la /cdrom
drwxr-xr-x   4 root  10     2048 21  12:22 .
drwxr-xr-x  23 root  wheel   512 27  09:59 ..
-r--r--r--   1 root  10       63 11  19:01 .cdtoc
drwxr-xr-x   5 root  10     2048 21  12:26 .install
-r--r--r--   1 root  10       23 11  19:01 .volume.inf
-r--r--r--   1 root  10     7063 11  19:01 Copyright
drwxr-xr-x   5 root  10     2048 21  12:26 Solaris_9
-rwxr-xr-x   1 root  10      257 12  13:15 installer

	On Solaris:
	# cd /net/freebsd.mashine.name/cdrom
	(or mount freebsd.mashine.name:/cdrom /mnt)
	# ls -la
drwxr-xr-x   4 root     staff       2048  21 12:22 .
dr-xr-xr-x   3 root     root           3  27 18:03 ..
-r-xr-xr-x   1 root     root           0   1  1970 .cdtoc
-r-xr-xr-x   1 root     root           0   1  1970 .install
-r-xr-xr-x   1 root     root           0   1  1970 .volume.inf
-r-xr-xr-x   1 root     root           0   1  1970 Copyright
-r-xr-xr-x   1 root     root           0   1  1970 Solaris_9
-r-xr-xr-x   1 root     root           0   1  1970 installer

>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: tjr 
State-Changed-When: Fri Feb 27 17:17:05 PST 2004 
State-Changed-Why:  
Caused by cd9660_vnops.c rev. 1.77. VOP_READDIR returns bogus 
d_fileno, VFS_VGET on this value returns bogus vnode with zeroed 
attributes. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63446 

From: Tim Robbins <tjr@freebsd.org>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: kern/63446: problems with sharing over nfs cd9660 file systems
Date: Tue, 31 Aug 2004 00:07:49 +1000

 Following up to note that kern/71141 was closed as a duplicate of this,
 and contains additional information.

From: Tim Robbins <tjr@freebsd.org>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: kern/63446: [nfs] problems with sharing over nfs cd9660 file systems
Date: Sun, 5 Sep 2004 17:26:30 +1000

 Following up to note that kern/63649 was closed as a duplicate of this PR.

From: Tim Robbins <tjr@freebsd.org>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: kern/63446: [nfs] problems with sharing over nfs cd9660 file systems[nfs] problems with sharing over nfs cd9660 file systems
Date: Sun, 5 Sep 2004 17:37:04 +1000

 Following up to note that kern/70248 was closed as a duplicate of this PR.
State-Changed-From-To: analyzed->closed 
State-Changed-By: tjr 
State-Changed-When: Sun Sep 5 11:19:52 GMT 2004 
State-Changed-Why:  
This has been fixed in -current (finally!). 

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