[linux-cifs-client] broken cifs support in Linux 2.6.19+?

Jason Haar Jason.Haar at trimble.co.nz
Mon Apr 16 23:42:59 GMT 2007


Hi there

I had a totally working Centos 4.4 system with a hand-built 2.6.18
kernel (don't ask). I used it to mount via cifs various Windows2K3
servers to share data, etc.

I just tried upgrading first to 2.6.19.2 and then 2.6.20.7 (built the
kernel using the 2.6.18 .config file), and have found that cifs is
broken. What happens now is that the mount works, and some dirs are
listable/etc, but there are some dirs where entire subdirectories no
longer show up, and if I do a "ls -l bogus_file", I get the current
directory listed instead of an error!

e.g.

Linux-2.6.18
mount -t cifs //server/share /mnt/smb -ousername=test,password=xxx
ls -la /mnt/smb/dir|wc
74     659    3956

-----
Linux 2.6.20.7
mount t cifs //server/share /mnt/smb -ousername=test,password=xxx
ls -la /mnt/smb/dir|wc
     29     285    1525


I just tried this on my FC5 workstation with it's Redhat supplied
2.6.20-1.2307.fc5smp kernel - same problem!

Has anyone else seen this? Any ideas what could be different that could
cause that? It can't be a permission problem - I obviously mounted the
same share as the same user on all three (four) kernels.

Thanks (back to 2.6.18 for the time being)

-- 
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1



More information about the linux-cifs-client mailing list