Comment 9 for bug 1372482

Revision history for this message
Nathan England (r-nathan) wrote : Re: [Bug 1372482] Re: mount.cifs does not work with the 3.13.0.36-generic kernel

Throughout all of this I have multiple samba connections to several
CentOS 6.5 machines which all worked great. It was only the connections
to a CentOS 7 machine that have been unwilling to connect.

I will give this kernel a try also, but it might be later... I need to
get some work done while my system is still functioning!

On 2014-09-23 14:44, Joseph Salisbury wrote:

> Interesting, maybe a fix landed upstream that resolves this.
>
> I only see one new commit added for CIFS after the one I reverted:
> cb7e9ea CIFS: Use multicredits for SMB 2.1/3 writes
>
> Can you also give the latest 3.13 upstream stable kernel a test? It can be downloaded from:
> http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13.11.7-trusty/ [1]
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1372482 [2]
>
> Title:
> mount.cifs does not work with the 3.13.0.36-generic kernel
>
> Status in "linux" package in Ubuntu:
> Invalid
> Status in "linux" source package in Trusty:
> In Progress
> Status in "linux" source package in Utopic:
> Invalid
>
> Bug description:
> mount.cifs //server_ip/share_name mount_point -o user=user
> Password...
> mount error(5): Input/output error
> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> From syslog:
> Sep 22 15:41:04 ds1205 kernel: [ 11.778362] ------------[ cut here ]------------
> Sep 22 15:41:04 ds1205 kernel: [ 11.778370] WARNING: CPU: 3 PID: 2253 at /build/buildd/linux-3.13.0/fs/cifs/transport.c:313 smb_send_rqst+0x215/0x270 [cifs]()
> Sep 22 15:41:04 ds1205 kernel: [ 11.778371] Send length mismatch(send_length=72 smb_buf_length=2164260932)
> Sep 22 15:41:04 ds1205 kernel: [ 11.778372] Modules linked in: cuse rfcomm bnep bluetooth binfmt_misc snd_hda_codec_realtek nls_utf8 cifs fscache intel_rapl x86_pkg_temp_thermal intel_powerclamp snd_hda_intel coretemp snd_hda_codec kvm_intel kvm snd_hwdep snd_pcm crct10dif_pclmul crc32_pclmul snd_page_alloc ghash_clmulni_intel i915 snd_seq_midi aesni_intel snd_seq_midi_event aes_x86_64 lrw snd_rawmidi gf128mul snd_seq glue_helper ablk_helper snd_seq_device drm_kms_helper cryptd snd_timer drm keucr(C) parport_pc i2c_algo_bit hid_generic snd mei_me ppdev mei usb_storage lp soundcore serio_raw lpc_ich parport wmi mac_hid video usbhid hid psmouse ahci libahci r8169 mii
> Sep 22 15:41:04 ds1205 kernel: [ 11.778395] CPU: 3 PID: 2253 Comm: mount.cifs Tainted: G WC 3.13.0-36-generic #63-Ubuntu
> Sep 22 15:41:04 ds1205 kernel: [ 11.778396] Hardware name: Hewlett-Packard HP Pro 3500 Series/2ABF, BIOS 8.11 10/24/2012
> Sep 22 15:41:04 ds1205 kernel: [ 11.778397] 0000000000000009 ffff8800ccaf7bb0 ffffffff8171e569 ffff8800ccaf7bf8
> Sep 22 15:41:04 ds1205 kernel: [ 11.778399] ffff8800ccaf7be8 ffffffff8106775d ffff8800ccaf7d00 ffff88020fecb800
> Sep 22 15:41:04 ds1205 kernel: [ 11.778401] ffff8800ccaf7cc8 0000000000000001 0000000000000000 ffff8800ccaf7c48
> Sep 22 15:41:04 ds1205 kernel: [ 11.778403] Call Trace:
> Sep 22 15:41:04 ds1205 kernel: [ 11.778406] [<ffffffff8171e569>] dump_stack+0x45/0x56
> Sep 22 15:41:04 ds1205 kernel: [ 11.778408] [<ffffffff8106775d>] warn_slowpath_common+0x7d/0xa0
> Sep 22 15:41:04 ds1205 kernel: [ 11.778409] [<ffffffff810677cc>] warn_slowpath_fmt+0x4c/0x50
> Sep 22 15:41:04 ds1205 kernel: [ 11.778415] [<ffffffffa04904c5>] smb_send_rqst+0x215/0x270 [cifs]
> Sep 22 15:41:04 ds1205 kernel: [ 11.778417] [<ffffffff81690218>] ? __inet_stream_connect+0x208/0x320
> Sep 22 15:41:04 ds1205 kernel: [ 11.778422] [<ffffffffa049055d>] smb_sendv+0x3d/0x40 [cifs]
> Sep 22 15:41:04 ds1205 kernel: [ 11.778426] [<ffffffffa0490588>] smb_send+0x28/0x30 [cifs]
> Sep 22 15:41:04 ds1205 kernel: [ 11.778430] [<ffffffffa047a15d>] generic_ip_connect+0x30d/0x3e0 [cifs]
> Sep 22 15:41:04 ds1205 kernel: [ 11.778432] [<ffffffff811a1d65>] ? __kmalloc+0x55/0x230
> Sep 22 15:41:04 ds1205 kernel: [ 11.778437] [<ffffffffa047e69c>] cifs_mount+0x85c/0xaf0 [cifs]
> Sep 22 15:41:04 ds1205 kernel: [ 11.778440] [<ffffffffa046d040>] cifs_do_mount+0xa0/0x4d0 [cifs]
> Sep 22 15:41:04 ds1205 kernel: [ 11.778442] [<ffffffff811c10a9>] mount_fs+0x39/0x1b0
> Sep 22 15:41:04 ds1205 kernel: [ 11.778444] [<ffffffff811dc447>] vfs_kern_mount+0x67/0x110
> Sep 22 15:41:04 ds1205 kernel: [ 11.778446] [<ffffffff811deca4>] do_mount+0x244/0xb20
> Sep 22 15:41:04 ds1205 kernel: [ 11.778448] [<ffffffff811530be>] ? __get_free_pages+0xe/0x50
> Sep 22 15:41:04 ds1205 kernel: [ 11.778450] [<ffffffff811de8e6>] ? copy_mount_options+0x36/0x170
> Sep 22 15:41:04 ds1205 kernel: [ 11.778451] [<ffffffff811df873>] SyS_mount+0x83/0xc0
> Sep 22 15:41:04 ds1205 kernel: [ 11.778453] [<ffffffff8172efad>] system_call_fastpath+0x1a/0x1f
> Sep 22 15:41:04 ds1205 kernel: [ 11.778454] ---[ end trace 826c79e22eb80bab ]---
> Sep 22 15:41:04 ds1205 kernel: [ 11.779826] CIFS VFS: Error connecting to socket. Aborting operation.
> Sep 22 15:41:04 ds1205 kernel: [ 11.779890] CIFS VFS: cifs_mount failed w/return code = -5
>
> I cannot mount share from Samba 3.6.6, but I can mount a share from a Windows 2003 server.
> But it works with 3.13.0.35-generic.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 14.04
> Package: linux-image-3.13.0-36-generic 3.13.0-36.63
> ProcVersionSignature: Ubuntu 3.13.0-36.63-generic 3.13.11.6
> Uname: Linux 3.13.0-36-generic x86_64
> ApportVersion: 2.14.1-0ubuntu3.4
> Architecture: amd64
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: pt 2204 F.... pulseaudio
> /dev/snd/pcmC0D0p: pt 2204 F...m pulseaudio
> Date: Mon Sep 22 15:52:02 2014
> HibernationDevice: RESUME=UUID=0694bd92-c10f-4c5e-8c90-e1d2a388f84f
> InstallationDate: Installed on 2013-07-09 (440 days ago)
> InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
> IwConfig:
> eth0 no wireless extensions.
>
> lo no wireless extensions.
> MachineType: Hewlett-Packard HP Pro 3500 Series
> ProcEnviron:
> LANGUAGE=hu_HU
> TERM=xterm
> PATH=(custom, no user)
> LANG=hu_HU.UTF-8
> SHELL=/bin/bash
> ProcFB: 0 inteldrmfb
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-36-generic root=UUID=0a78b226-07e0-442b-8c2f-716388141053 ro quiet splash vt.handoff=7
> PulseList:
> Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
> No PulseAudio daemon running, or not running as session daemon.
> RelatedPackageVersions:
> linux-restricted-modules-3.13.0-36-generic N/A
> linux-backports-modules-3.13.0-36-generic N/A
> linux-firmware 1.127.6
> RfKill:
>
> SourcePackage: linux
> StagingDrivers: keucr
> UpgradeStatus: Upgraded to trusty on 2014-07-16 (68 days ago)
> dmi.bios.date: 10/24/2012
> dmi.bios.vendor: AMI
> dmi.bios.version: 8.11
> dmi.board.name: 2ABF
> dmi.board.vendor: Foxconn
> dmi.board.version: 3.10
> dmi.chassis.asset.tag: CZC24701JZ
> dmi.chassis.type: 3
> dmi.chassis.vendor: Hewlett-Packard
> dmi.modalias: dmi:bvnAMI:bvr8.11:bd10/24/2012:svnHewlett-Packard:pnHPPro3500Series:pvr:rvnFoxconn:rn2ABF:rvr3.10:cvnHewlett-Packard:ct3:cvr:
> dmi.product.name: HP Pro 3500 Series
> dmi.sys.vendor: Hewlett-Packard
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1372482/+subscriptions [3]

Links:
------
[1] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13.11.7-trusty/
[2] https://bugs.launchpad.net/bugs/1372482
[3]
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1372482/+subscriptions