Messages in this thread | | | From | "Enrique Bernal" <> | Subject | RE: Record locking through NFS. | Date | Thu, 2 Sep 1999 17:23:37 +0200 |
| |
I've tried what you propouse me but when I make: patch -p1 < linux-2.2.7-sunrpc.patch
the system ask me: *.c ... Reversed (or previously applied) patch detected ! Assume -R? [n]
It's possible that my kernel 2.2.10 is newer (although I think I have installed knfsd 1.4.6) and then "patch" tells me that warning ?
Please, could you give me a little help on this: I'm newbie and never made kernel updates or applying patches. Please could you give more detailed instructions ?
I want to thank you very much your help.
Enrique
> -----Mensaje original----- > De: Steven N. Hirsch [mailto:shirsch@adelphia.net] > Enviado el: jueves, 02 de septiembre de 1999 12:46 > Para: Enrique Bernal > Cc: linux-kernel@vger.rutgers.edu; linux-net@vger.rutgers.edu > Asunto: Re: Record locking through NFS. > > > > On Thu, 2 Sep 1999, Enrique Bernal wrote: > > > > Hello, all. > > > > I have a program that uses record locking - fcntl(filedes, > F_SETLK, ...) - > > in a file from a NFS server. That worked well in SuSE Linux 6.1 (Kernel > > 2.2.5) > > > > Recently I have installed SuSE Linux 6.2 (Kernel 2.2.10) in > both boxes (NFS > > server and NFS > > client), and I think I have configured them correctly, but my program > > doesn´t manage to lock records in the server´s file, as did in 6.1. > > > > > Another victim of the knfsd morass.. For reliable operation, you really > should: > > > - Download, build and install HJ Lu's latest utilities package: > > ftp://ftp.varesearch.com/pub/support/hjl/knfsd/knfsd-1.4.7.tar.gz
- Apply the following patches included with that package to the kernel:
linux-2.2.7-sunrpc.patch nfsd-2.2.7-3.patch nfsd-2.2.7-nfsfh.patch nfsd-2.2.7-2.lockd.patch
Life should then improve considerably. I've given up trying to understand why these are not in the base kernel, so don't ask...
Steve
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |