Re: nfs client problem in kernel 2.4.0

2001-01-18 Thread Mogens Kjaer
Trond Myklebust wrote: > It comes from the SGI. The NFS client just considers it all a cookie, > and passes it on to glibc. We probably shouldn't do that, as indeed > the cookie is not guaranteed to be 32-bit signed, but it's what we > always did for 2.2.x. So what do I do to get it to work? I

Re: nfs client problem in kernel 2.4.0

2001-01-18 Thread Trond Myklebust
> " " == Mogens Kjaer <[EMAIL PROTECTED]> writes: > This turned out to be more difficult than I thought... > I suspect glibc-2.2-12 being the reason, but I'm not quite sure > yet: > The problem is, that the 64-bit dirent's are converted to > 32-bit dirent's and a sa

Re: nfs client problem in kernel 2.4.0

2001-01-18 Thread Mogens Kjaer
Trond Myklebust wrote: > > > " " == Mogens Kjaer <[EMAIL PROTECTED]> writes: > >> getdents64(3, /* 6 entries */, 65536) = 160 lseek(3, > >> 1547825467, SEEK_SET) = 1547825467 ... getdents64(3, /* 1 > >> entries */, 65536) = 32 > > BTW: there does in any case seem to be a bug in

Re: nfs client problem in kernel 2.4.0

2001-01-16 Thread Mogens Kjaer
Trond Myklebust wrote: > I'll bet it's the lseek that's screwing things up again. IIRC IRIX has > an export option to cause it to generate 32-bit readdir cookies. Could > you please try enabling it? Sorry, I forgot to mention this: This option was already enabled. Mogens -- Mogens Kjaer, Carls

Re: nfs client problem in kernel 2.4.0

2001-01-16 Thread Trond Myklebust
> " " == Mogens Kjaer <[EMAIL PROTECTED]> writes: >> getdents64(3, /* 6 entries */, 65536) = 160 lseek(3, >> 1547825467, SEEK_SET) = 1547825467 ... getdents64(3, /* 1 >> entries */, 65536) = 32 BTW: there does in any case seem to be a bug in your version of glibc. getdents64() i

Re: nfs client problem in kernel 2.4.0

2001-01-16 Thread Trond Myklebust
> " " == Mogens Kjaer <[EMAIL PROTECTED]> writes: > getdents64(3, /* 6 entries */, 65536) = 160 > lseek(3, 1547825467, SEEK_SET) = 1547825467 > ... > getdents64(3, /* 1 entries */, 65536) = 32 I'll bet it's the lseek that's screwing things up again. IIRC IRIX has an ex