My workaround (Kubuntu 8.10, kernel 2.6.27-9-generic):

I added to the begin of file "/usr/src/linux-
source-2.6.27/fs/cifs/cifspdu.h" lines:

#ifndef CONFIG_CIFS_XATTR
#define CONFIG_CIFS_XATTR
#endif

#ifndef CONFIG_CIFS_POSIX
#define CONFIG_CIFS_POSIX
#endif 

and recompiled driver "cifs.ko" separately, not recompiling kernel

so:

kipr...@kubuntu:~$ ls test
test
kipr...@kubuntu:~$ ls tEsT
ls: невозможно получить доступ к tEsT: No such file or directory

----

General solution:

In default kernel .config (CIFS part) we can found:

CONFIG_CIFS=m
# CONFIG_CIFS_DEBUG2 is not set
CONFIG_CIFS_DFS_UPCALL=y
CONFIG_CIFS_EXPERIMENTAL=y
# CONFIG_CIFS_STATS is not set
CONFIG_CIFS_UPCALL=y
CONFIG_CIFS_WEAK_PW_HASH=y
# CONFIG_CIFS_XATTR is not set

The problem will be solved if they change CIFS part of kernel .config
file to

CONFIG_CIFS=m
# CONFIG_CIFS_DEBUG2 is not set
CONFIG_CIFS_DFS_UPCALL=y
CONFIG_CIFS_EXPERIMENTAL=y
# CONFIG_CIFS_STATS is not set
CONFIG_CIFS_UPCALL=y
CONFIG_CIFS_WEAK_PW_HASH=y
CONFIG_CIFS_XATTR=y
CONFIG_CIFS_POSIX=y

If this is not a bug, it is very strange feature of Ubuntu kernel config

P.S. In Ubuntu 8.04 - all the same

-- 
stat broken for CIFS filesystem
https://bugs.launchpad.net/bugs/220658
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to