From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,b858114b6e337ef3 X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!b75g2000hsg.googlegroups.com!not-for-mail From: JLPARSEC Newsgroups: comp.unix.tru64 Subject: Re: NFS-server on Tru64 5.1A b0rks! Date: 20 Apr 2007 13:17:39 -0700 Organization: http://groups.google.com Message-ID: <1177100259.128238.288450@b75g2000hsg.googlegroups.com> References: <46252E4D.7050306@spamcop.net> <1177031441.531682.237110@o5g2000hsb.googlegroups.com> NNTP-Posting-Host: 63.254.247.2 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1177100259 13427 127.0.0.1 (20 Apr 2007 20:17:39 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 20 Apr 2007 20:17:39 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: b75g2000hsg.googlegroups.com; posting-host=63.254.247.2; posting-account=Bo9Fnw0AAADWrnJsbc6zAgBj1D7kl9CN Xref: g2news1.google.com comp.unix.tru64:983 On Apr 20, 2:43 am, Wim Cossement wrote: > JLPARSEC wrote: > > On Apr 18, 4:54 am, Wim Cossement wrote: > >> Ole Holm Nielsen wrote: > >>> Wim Cossement wrote: > >>>> The solution is to turn of READDIRPLUS (what is it anyway?) > >>>> ladebug -k > >>>> assign doreaddirplus=3D0 > >>>> quit > >>> Here's further advice: You may not have "ladebug" installed, > >>> but probably you have /usr/bin/dbx. You may then modify > >>> the "doreaddirplus" variable until the next reboot by: > >>> # dbx -k /vmunix > >>> (dbx) assign doreaddirplus=3D0 > >>> (dbx) quit > >>> If you want the change to be persistent across reboots do: > >>> # dbx -k /vmunix > >>> (dbx) patch doreaddirplus=3D0 > >>> (dbx) quit > >>> If you upgrade the kernel, this will have to be repeated. > >>> We have verified that this workaround solves the NFS problem > >>> with a Tru64 NFS server and a RHEL5 Linux NFS client. > >>> /Ole > >> We've tried turning off readdirplus but in the end there were still > >> weird things happening, although I can't recall them. > > >> But then someone (Ahmon Dancy) gave us a patch that we applied to the > >> kernel sources, and when we rebooted with the patched kernel everything > >> has been working great since that! > > >> Wimmy- Hide quoted text - > > >> - Show quoted text - > > > Hello, > > > Was it an aggregate patch, customer-specific patch, or early-release > > patch that was given to you? I've checked the 5.1A PK#6 (Aggregate) > > Release Notes for relevant patches and came up with a couple that > > reference "readdirplus" issues, but I'm not sure if you applied PK#6 > > or not. > > >>From the 5.1A PK#6 (Aggregate) Release Notes: > > ------------------------------------------------------------------------ > > >http://h30097.www3.hp.com/docs/patch/51A/bl24/ReleaseNotes.pdf > > > .... > > > Addresses problems with the NFS server in which a crash can occur with > > a concurrent > > read and truncate on an AdvFS file or with malformed or malicious > > READDIR[PLUS] > > version 3 RPCs. > > Well, the files on the export are in fact on AdvFS volumes, but I don't > know if this is responsable for the bad behaviour or not. > Although it did not matter if we connected with an NFS V2 or V3 version > mount option on the clients. It just stopped working above a 2.6.17 kerne= l=2E > > > .... > > > Corrects a problem that causes an NFS client panic when it receives a > > null entry as a > > response to a readdirplus request from an NFS server. > > > .... > > But we never got a crash, the files and directories just could not be rea= d=2E > The clients either said: > > ls: cannot access /drive/people/username/: Not a directory > > du: fts_read failed: Permission denied > > mount:server does not provide support for any security mode, will use > default even if it violates RFC 2623 > > > > > Anyway, just curious really as to what the fix was. > > I've got a few source files that i could make into a patched > nfs_server.mod, then placed that module in the kernel source tree, > rebuilt the kernel so it included the patched module, rebooted with the > new kernel and voil=E0. > > HTH, > > Wimmy > > > OK, so someone just provided you the patched modules. Thanks for clarifying. --John Lanier