Skip to contentSkip to conversation

Bug: 2.5.47 NFS reports giant filename in readdir

DISCUSSION Felipe Alfaro Solana 2 participants 2 messages Nov 18, 2002

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello,

I'm currently testing kernel 2.5.47 on a RedHat 8.0 server machine, serving files through NFS among many other things. Since I'm using 2.5.47, there are several directories I'm unable to browse using NFS from my laptop running 2.4.20-rc1.

This is "/etc/exports" on the 2.5.47 machine:

/ 192.168.0.0/255.255.255.0(rw,async,no_root_squash)
/data 192.168.0.0/255.255.255.0(rw,async,no_root_squash)

And these are the commands I use on the 2.4.20-rc1 machine to mount and browse the directory using NFS:

# mount glass:/data /net/glass/data
# cd /net/glass/data/Jpgs/Jpgs11
# ls

The last command produces an empty listing, even when the directory contains 16694 files on it. When I do a "dmesg" on my 2.4.20-rc1 machine, I see the following errors:

NFS: giant filename in readdir (len 14000000)!
NFS: giant filename in readdir (len 40404000)!
NFS: giant filename in readdir (len f000000)!

I haven't been able to find any debugging information or message on the server side. dmesg reports nothing, and all log files contain no clue about this error.

I think this must be a bug on 2.5.47 as this works great when using the latest RedHat 8.0 kernel on the server side.

I can't supply more information as I don't know exactly where to start looking. Please, do not hesitate to contact me for further information or assistance.

Thank you very much!

Sincerely,

Felipe Alfaro Solana

Signature · 14 lines
______________________________________________
http://www.linuxmail.org/
Now with POP3/IMAP access for only US$19.95/yr

Powered by Outblaze


-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
NFS maillist  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

" " == Felipe Alfaro Solana <[email protected]> writes:

> The last command produces an empty listing, even when the > directory contains 16694 files on it. When I do a "dmesg" on my > 2.4.20-rc1 machine, I see the following errors:

Sigh. Yep. It's a known issue with 2.4.20-rc1 and rc2. Fix is

http://www.fys.uio.no/~trondmy/src/2.4.20-pre9/linux-2.4.20-00-fix_overflow.dif

Cheers,
Trond

-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs