Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!etlnews.etl.go.jp!etlinn.etl.go.jp!etl.go.jp!trc.rwcp!rwc-tyo!news.iij.ad.jp!tuucp1.space.ad.jp!nuucp1.space.ad.jp!ouucp1.space.ad.jp!news.momiji.or.jp!news.hek.co.jp!news.csi.ad.jp!wnoc-kyo-news!aist-nara!odins-suita!ns!picard.cs.osakafu-u.ac.jp!hatabu
From: hatabu@com.cs.osakafu-u.ac.jp (Kyoichi Hatabu)
Newsgroups: fj.os.linux,fj.sys.news
Subject: Re: NFS trouble
Date: 23 Aug 1996 02:57:17 GMT
Organization: Dept. of CSS, College of Eng., Osaka Prefecture Univ.
Lines: 63
Message-ID: <4vj6md$hev@picard.cs.osakafu-u.ac.jp>
References: <XKADOWAK.96Aug22174231@sc0.o.cc.titech.ac.jp>
NNTP-Posting-Host: tama.com.cs.osakafu-u.ac.jp
X-Newsreader: mnews [version 1.19PL2] 1996-01/26(Fri)
Xref: galaxy.trc.rwcp.or.jp fj.os.linux:6198 fj.sys.news:2531
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.sys.news&nb=2531&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

$B4z@8!wBg:eI\N)Bg$G$9!#(B

fj.os.linux,fj.sys.news$B$N(B
<XKADOWAK.96Aug22174231@sc0.o.cc.titech.ac.jp>$B$N5-;v$K$*$$$F(B
JST$B;~4V(B1996$BG/(B08$B7n(B22$BF|(B($BLZ(B)17$B;~(B42$BJ,(B31$BIC:"!"LgOF(B $B@5;K$5$s$O=q$-$^$7$?!#(B

|NEWS-OS Release 4.2.1R FCS#5 #0 $B$H(B Linux 1.3.24. $B$G(B
|NEWS $B>e$N%G%#%l%/%H%j$r(B Linux $B$K(B NFS $B$G%^%&%s%H$7$F;H$C$F$$$^$9!#(B
$B!JCfN,!K(B
|$BNc$($P!"(BLinux $B$G(B
|mkdir test
|cd test
|pwd
|$B$H$9$k$H(B
|pwd: cannot get current directory
|$B$HE\$i$l$F$7$^$$$^$9!#(B

NEWS-OS $B$N%P%0$N$h$&$G!"(Blinux-kernel ML $B$G%Q%C%A$,N.$l$F$*$j!"(Bpre6 $B0J(B
$B9_$G:NMQ$5$l$?$h$&$G$9!#(B

Olaf Flebbe wrote:
>From: Olaf Flebbe <O.Flebbe@science-computing.uni-tuebingen.de>
>Subject: NewsOS vs [pre6] NFS client workaround
>To: Linus.Torvalds@helsinki.fi
>Date: Mon, 27 May 1996 22:37:44 JST
>Cc: okir@monad.swb.de, linux-kernel@vger.rutgers.edu
>
>Hi,
>
>there is a horrible bug in the Sony NewsOS 4.1R NFS server which
>totaly confuses the Linux NFS client attribute cache.
>
>When creating directories it returns the inode of the parent dir
>rather the newly created one.
>
>This bug is related to the syslog message:
>  nfs_refresh_inode: inode number mismatch
>
>If you have a Sony: Simply type mkdir 1; mkdir 1/2 on a Sony exported
>FS and you are lost ;-) It took me 6 Hours to find this ;-(
>
>Cheers,
>  Olaf
>
>--- dir.c.orig  Fri Apr 26 17:40:22 1996
>+++ dir.c.new   Mon May 27 15:27:10 1996
>@@ -476,7 +476,7 @@
>        sattr.atime.seconds = sattr.mtime.seconds = (unsigned) -1;
>        error = nfs_proc_mkdir(NFS_SERVER(dir), NFS_FH(dir),
>                name, &sattr, &fhandle, &fattr);
>-       if (!error)
>+       if (!error  &&  /* NewsOS 4.1R Bug */ (fattr.fileid != dir->i_ino))
>                nfs_lookup_cache_add(dir, name, &fhandle, &fattr);
>        iput(dir);
>        return error;

$B;d$N8&5f<<$G$O(B kernel 2.0.* $B$N>e5-ItJ,$r;29M$K$7$F!"(BLinux $B$N(B NFS
client $B%^%7%s$N(B kernel $B$K%Q%C%A$r$"$F$F1?MQ$7$F$$$^$9!#(B
1.2.8, 1.2.13 $B$G$9$,!"LdBj$J$/F0:n$7$F$$$k$h$&$G$9!#:G=*E*$K$O(B
2.0.* $B$K(B version up $B$5$l$k$3$H$r$*?d$a$7$^$9$,!#(B

$BBg:eI\N)Bg3XBg3X1!(B $B9)3X8&5f2J(B $B>pJs9)3XJ,Ln(B $BCNG=>pJs9V:B(B
$B4z(B $B@8(B  $B63(B $B0l(B  ( HATABU Kyoichi ) e-mail:hatabu@com.cs.osakafu-u.ac.jp
