Why does CIFS mount fail after upgrading to the latest kernel?
Issue
- After upgrading to the latest kernel,
CIFS
mounts using port 139 fail with the following error messages:
Apr 7 14:10:02 cifs-client kernel: WARNING: at fs/cifs/transport.c:312 smb_send_rqst+0x243/0x290 [cifs]() (Tainted: G W --------------- )
Apr 7 14:10:02 cifs-client kernel: Hardware name: VMware Virtual Platform
Apr 7 14:10:02 cifs-client kernel: Send length mismatch(send_length=72 smb_buf_length=2164260932)
Apr 7 14:10:02 cifs-client kernel: Modules linked in: bridge stp llc nls_utf8 cifs ipt_REJECT nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack iptable_filter ip_tables ip6_tables ipv6 ppdev microcode vmware_balloon parport_pc parport sg vmxnet3 i2c_piix4 i2c_core ext4 jbd2 mbcache sd_mod crc_t10dif sr_mod cdrom vmw_pvscsi pata_acpi ata_generic ata_piix dm_mirror dm_region_hash dm_log dm_mod [last unloaded: mperf]
Apr 7 14:10:02 cifs-client kernel: Pid: 22402, comm: mount.cifs Tainted: G W --------------- 2.6.32-431.11.2.el6.i686 #1
Apr 7 14:10:02 cifs-client kernel: Call Trace:
Apr 7 14:10:02 cifs-client kernel: [<c045b0d1>] ? warn_slowpath_common+0x81/0xc0
Apr 7 14:10:02 cifs-client kernel: [<f8332323>] ? smb_send_rqst+0x243/0x290 [cifs]
Apr 7 14:10:02 cifs-client kernel: [<f8332323>] ? smb_send_rqst+0x243/0x290 [cifs]
Apr 7 14:10:02 cifs-client kernel: [<c045b1a3>] ? warn_slowpath_fmt+0x33/0x40
Apr 7 14:10:02 cifs-client kernel: [<f8332323>] ? smb_send_rqst+0x243/0x290 [cifs]
Apr 7 14:10:02 cifs-client kernel: [<c07a0233>] ? release_sock+0x83/0xc0
Apr 7 14:10:02 cifs-client kernel: [<f83323a7>] ? smb_send+0x37/0x40 [cifs]
Apr 7 14:10:02 cifs-client kernel: [<f831f1fd>] ? generic_ip_connect+0x31d/0x470 [cifs]
Apr 7 14:10:02 cifs-client kernel: [<f8335182>] ? cifs_crypto_shash_allocate+0x92/0x180 [cifs]
Apr 7 14:10:02 cifs-client kernel: [<f831f74a>] ? cifs_get_tcp_session+0x3fa/0x7d0 [cifs]
Apr 7 14:10:02 cifs-client kernel: [<f831f9e4>] ? cifs_get_tcp_session+0x694/0x7d0 [cifs]
Apr 7 14:10:02 cifs-client kernel: [<f8322a0d>] ? cifs_mount+0x3d/0x630 [cifs]
Apr 7 14:10:02 cifs-client kernel: [<c05057dd>] ? kstrndup+0x2d/0x60
Apr 7 14:10:02 cifs-client kernel: [<f831ecac>] ? cifs_setup_cifs_sb+0x2c/0x260 [cifs]
Apr 7 14:10:02 cifs-client kernel: [<f831132a>] ? cifs_get_sb+0x8a/0x270 [cifs]
Apr 7 14:10:02 cifs-client kernel: [<c050584c>] ? kstrdup+0x3c/0x60
Apr 7 14:10:02 cifs-client kernel: [<c0539349>] ? vfs_kern_mount+0x69/0x180
Apr 7 14:10:02 cifs-client kernel: [<c0551882>] ? get_fs_type+0x32/0xb0
Apr 7 14:10:02 cifs-client kernel: [<c05394bf>] ? do_kern_mount+0x3f/0xe0
Apr 7 14:10:02 cifs-client kernel: [<c0554b1a>] ? do_mount+0x29a/0x7c0
Apr 7 14:10:02 cifs-client kernel: [<c0552ec1>] ? copy_mount_options+0x41/0x120
Apr 7 14:10:02 cifs-client kernel: [<c05550ae>] ? sys_mount+0x6e/0xa0
Apr 7 14:10:02 cifs-client kernel: [<c04099bf>] ? sysenter_do_call+0x12/0x28
Apr 7 14:10:02 cifs-client kernel: ---[ end trace 7a50e2fa32944280 ]---
Apr 7 14:10:02 cifs-client kernel: CIFS VFS: Error connecting to socket. Aborting operation
Apr 7 14:10:02 cifs-client kernel: CIFS VFS: cifs_mount failed w/return code = -5
Environment
- Red Hat Enterprise Linux 6
- kernel-2.6.32-431.11.2.el6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.