From: Wim Cossement <a@b.c>
Subject: Re: NFS-server on Tru64 5.1A b0rks!
Date: Fri, 20 Apr 2007 10:43:25 +0200 [thread overview]
Message-ID: <f09ufi$8je$1@snic.vub.ac.be> (raw)
In-Reply-To: <1177031441.531682.237110@o5g2000hsb.googlegroups.com>
JLPARSEC wrote:
> On Apr 18, 4:54 am, Wim Cossement <a...@b.c> wrote:
>> Ole Holm Nielsen wrote:
>>> Wim Cossement wrote:
>>>> The solution is to turn of READDIRPLUS (what is it anyway?)
>>>> ladebug -k
>>>> assign doreaddirplus=0
>>>> 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=0
>>> (dbx) quit
>>> If you want the change to be persistent across reboots do:
>>> # dbx -k /vmunix
>>> (dbx) patch doreaddirplus=0
>>> (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 kernel.
> ....
>
> 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 read.
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ᅵ.
HTH,
Wimmy
>
> Regards,
>
>
> John Lanier
> PARSEC Group
> Email: jlanier@parsec.com
> AIM ID: JLparsec
> WWW: http://www.parsec.com
next prev parent reply other threads:[~2007-04-20 8:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-09 11:08 NFS-server on Tru64 5.1A b0rks! Wim Cossement
2007-03-13 9:40 ` Wim Cossement
2007-04-17 20:30 ` Ole Holm Nielsen
2007-04-18 10:54 ` Wim Cossement
2007-04-20 1:10 ` JLPARSEC
2007-04-20 8:43 ` Wim Cossement [this message]
2007-04-20 20:17 ` JLPARSEC
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox