On 9/22/07, Kuang-Chun Cheng kcc1967@gmail.com wrote:
Hi
I think I hit the cifs bug described at http://wiki.centos.org/TipsAndTricks/WindowsShares and http://bugs.centos.org/view.php?id=1776
As CentOS Wiki said, CentOS 5.0 do have a bug fixed cifs.ko, so I thought it should be in CentOSPlus repository ... so I upgrade my kernel and using 2.6.18-8.1.10.el5.centos.plus. After I use this kernel release, I check the cifs.ko and see the following:
$ modinfo /lib/modules/2.6.18-8.1.10.el5.centos.plus/kernel/fs/cifs/cifs.ko filename: /lib/modules/2.6.18-8.1.10.el5.centos.plus/kernel/fs/cifs/cifs.ko version: 1.45 description: VFS to access servers complying with the SNIA CIFS Specification e.g. Samba and Windows license: GPL author: Steve French sfrench@us.ibm.com srcversion: 7C1A34565EA00CE993D56FA depends: vermagic: 2.6.18-8.1.10.el5.centos.plus SMP mod_unload 686 REGPARM 4KSTACKS gcc-4.1 parm: CIFSMaxBufSize:Network buffer size (not including header). Default: 16384 Range: 8192 to 130048 (int) parm: cifs_min_rcv:Network buffers in pool. Default: 4 Range: 1 to 64 (int) parm: cifs_min_small:Small network buffers in pool. Default: 30 Range: 2 to 256 (int) parm: cifs_max_pending:Simultaneous requests to server. Default: 50 Range: 2 to 256 (int)
The cifs.ko is version 1.45 .... I think this is still the buggy version, right ???
I have two CentOS 5.0 boxes, both running 2.6.18-8.1.10.el5.centos.plus and using automounter to mount WinXP's share. I use this as part of my daily backup ... and both boxes crash quite often ... specially when I have large files cross cifs mounted filesystem using rsync.
For small files, they are quite stable.
Could someone tell me ... did I use the bug fixed cifs.ko ? Or how can I fix this problem ? Thanks
Regards KC
You have to use the patched cifs.ko offered in the bug tracker. This bug will be fixed in CentOS 5.1 (and 4.6). But all 5.0 (and 4.5) kernels have the same buggy cifs.ko.
Akemi