Comment 14 for bug 220658

Revision history for this message
Konstantin Baev (kipruss) wrote :

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:

kipruss@kubuntu:~$ ls test
test
kipruss@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