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
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
Hi Akemi,
I were expected that there may have a CentOS testing repository which will offer the bug fixed kernel. But ... this should be enough, I will try that. Thanks
Regards KC
On 9/23/07, Akemi Yagi amyagi@gmail.com wrote:
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 _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 9/23/07, Kuang-Chun Cheng kcc1967@gmail.com wrote:
Hi Akemi,
I were expected that there may have a CentOS testing repository which will offer the bug fixed kernel. But ... this should be enough, I will try that. Thanks
Regards KC
CentOS cannot provide the bug-fixed kernel because that would break the 100% compatibility policy. This means CentOS will inherit any bugs present in the upstream. But it was lucky that the patched module was offered by CentOS. You cannot really expect the same from upstream.
Just go to note 0004823 of the bug # 1776 and download the file containing the cifs.ko that matches your arch. Follow the instructions in there to install it.
When you run modinfo on that cifs.ko, you will find the same output as that of the original buggy version. So, to check to see if the installed cifs is indeed the patched version, issue this command:
cat /proc/fs/cifs/DebugData
*after* a Windows share has been mounted. With the cifs module carrying the bug, you will see garbled text. The patched version should show all normal text.
Akemi