mount.cifs fails witch actual kernel

Bug #1373473 reported by Lars Behrens
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
High
Unassigned

Bug Description

Mounting a share with mount.cifs fails with
'mount error(5): Input/output error'

Mounting through gigolo (smbclient) works

Mounting the same share works with the last kernel 3.13.0-35-generic
I have tried adding sec=ntlm and sec=ntlmv2 to the options, but that does not help.

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
CurrentDesktop: XFCE
CurrentDmesg: Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
Date: Wed Sep 24 17:03:36 2014
InstallationDate: Installed on 2014-07-03 (83 days ago)
InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
IwConfig:
 eth1 no wireless extensions.

 lo no wireless extensions.
MachineType: System manufacturer System Product Name
ProcFB: 0 nouveaufb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-36-generic root=UUID=74c14f44-5b6f-4e0f-ac24-44eca6df3330 ro quiet splash nfs.nfs4_disable_idmapping=N vt.handoff=7
RfKill:

SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
WifiSyslog:

dmi.bios.date: 10/10/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0803
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: P8B75-M LX
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0803:bd10/10/2012:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnP8B75-MLX:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
---
ApportVersion: 2.14.1-0ubuntu3.4
Architecture: amd64
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=UUID=8988f2e1-dd7c-4088-baa1-5b0c309e6608
InstallationDate: Installed on 2014-07-03 (83 days ago)
InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
IwConfig:
 eth1 no wireless extensions.

 lo no wireless extensions.
MachineType: System manufacturer System Product Name
Package: linux (not installed)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcFB: 0 nouveaufb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-36-generic root=UUID=74c14f44-5b6f-4e0f-ac24-44eca6df3330 ro quiet splash nfs.nfs4_disable_idmapping=N vt.handoff=7
ProcVersionSignature: Ubuntu 3.13.0-36.63-generic 3.13.11.6
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: 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:

Tags: trusty
Uname: Linux 3.13.0-36-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 10/10/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0803
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: P8B75-M LX
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0803:bd10/10/2012:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnP8B75-MLX:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
Lars Behrens (lars-behrens-u) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1373473

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

This could be a duplicate of bug 1372482

Can you post the errors you seen in /var/log/syslog? Also, there is a test kernel in bug 1372482 you could try:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1372482/comments/12

Changed in linux (Ubuntu):
importance: Undecided → High
tags: added: kernel-da-key
Revision history for this message
Lars Behrens (lars-behrens-u) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Lars Behrens (lars-behrens-u) wrote : AudioDevicesInUse.txt

apport information

Revision history for this message
Lars Behrens (lars-behrens-u) wrote : BootDmesg.txt

apport information

Revision history for this message
Lars Behrens (lars-behrens-u) wrote : CRDA.txt

apport information

Revision history for this message
Lars Behrens (lars-behrens-u) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Lars Behrens (lars-behrens-u) wrote : Lspci.txt

apport information

Revision history for this message
Lars Behrens (lars-behrens-u) wrote : Lsusb.txt

apport information

Revision history for this message
Lars Behrens (lars-behrens-u) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Lars Behrens (lars-behrens-u) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Lars Behrens (lars-behrens-u) wrote : ProcModules.txt

apport information

Revision history for this message
Lars Behrens (lars-behrens-u) wrote : UdevDb.txt

apport information

Revision history for this message
Lars Behrens (lars-behrens-u) wrote : UdevLog.txt

apport information

Revision history for this message
Lars Behrens (lars-behrens-u) wrote : WifiSyslog.txt

apport information

Revision history for this message
Lars Behrens (lars-behrens-u) wrote : Re: [Bug 1373473] Missing required logs.

Am 24.09.2014 um 17:30 schrieb Brad Figg:
> apport-collect 1373473

Ok, but that doesn't seem to reveal new info, judging from the files
newly uploaded.

Revision history for this message
Lars Behrens (lars-behrens-u) wrote : Re: [Bug 1373473] Re: mount.cifs fails witch actual kernel
Download full text (4.2 KiB)

> This could be a duplicate of bug 1372482
>
> Can you post the errors you seen in /var/log/syslog?

Alright, there's a trace message:

------------[ cut here ]------------
Sep 25 09:00:01 pi-behrens kernel: [ 835.395138] WARNING: CPU: 0 PID: 4226 at /build/buildd/linux-3.13.0/fs/cifs/transport.c:313 smb_send_rqst+0x215/0x270 [cifs]()
Sep 25 09:00:01 pi-behrens kernel: [ 835.395142] Send length mismatch(send_length=72 smb_buf_length=2164260932)
Sep 25 09:00:01 pi-behrens kernel: [ 835.395144] Modules linked in: cfg80211 pci_stub vboxpci(OX) vboxnetadp(OX) vboxnetflt(OX) vboxdrv(OX) nls_utf8 cifs usblp snd_hda_codec_hdmi uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core snd_usb_audio snd_usbmidi_lib videodev eeepc_wmi asus_wmi sparse_keymap snd_hda_codec_via nfsv4 rfcomm bnep snd_hda_intel snd_hda_codec bluetooth snd_hwdep snd_pcm intel_rapl snd_page_alloc x86_pkg_temp_thermal intel_powerclamp snd_seq_midi snd_seq_midi_event coretemp snd_rawmidi snd_seq kvm_intel kvm nfsd crct10dif_pclmul auth_rpcgss crc32_pclmul nfs_acl nfs ghash_clmulni_intel cryptd lockd sunrpc fscache serio_raw snd_seq_device snd_timer snd nouveau lpc_ich soundcore mxm_wmi ttm drm_kms_helper drm i2c_algo_bit ppdev parport_pc mei_me lp parport video wmi mac_hid mei hid_generic usbhid hid usb_storage ahci r8169 libahci mii
Sep 25 09:00:01 pi-behrens kernel: [ 835.395241] CPU: 0 PID: 4226 Comm: mount.cifs Tainted: G W OX 3.13.0-36-generic #63-Ubuntu
Sep 25 09:00:01 pi-behrens kernel: [ 835.395245] Hardware name: System manufacturer System Product Name/P8B75-M LX, BIOS 0803 10/10/2012
Sep 25 09:00:01 pi-behrens kernel: [ 835.395248] 0000000000000009 ffff88011626dbb0 ffffffff8171e569 ffff88011626dbf8
Sep 25 09:00:01 pi-behrens kernel: [ 835.395254] ffff88011626dbe8 ffffffff8106775d ffff88011626dd00 ffff8800b428d000
Sep 25 09:00:01 pi-behrens kernel: [ 835.395260] ffff88011626dcc8 0000000000000001 0000000000000000 ffff88011626dc48
Sep 25 09:00:01 pi-behrens kernel: [ 835.395265] Call Trace:
Sep 25 09:00:01 pi-behrens kernel: [ 835.395273] [<ffffffff8171e569>] dump_stack+0x45/0x56
Sep 25 09:00:01 pi-behrens kernel: [ 835.395279] [<ffffffff8106775d>] warn_slowpath_common+0x7d/0xa0
Sep 25 09:00:01 pi-behrens kernel: [ 835.395284] [<ffffffff810677cc>] warn_slowpath_fmt+0x4c/0x50
Sep 25 09:00:01 pi-behrens kernel: [ 835.395299] [<ffffffffa06e14c5>] smb_send_rqst+0x215/0x270 [cifs]
Sep 25 09:00:01 pi-behrens kernel: [ 835.395307] [<ffffffff81690218>] ? __inet_stream_connect+0x208/0x320
Sep 25 09:00:01 pi-behrens kernel: [ 835.395319] [<ffffffffa06e155d>] smb_sendv+0x3d/0x40 [cifs]
Sep 25 09:00:01 pi-behrens kernel: [ 835.395330] [<ffffffffa06e1588>] smb_send+0x28/0x30 [cifs]
Sep 25 09:00:01 pi-behrens kernel: [ 835.395341] [<ffffffffa06cb15d>] generic_ip_connect+0x30d/0x3e0 [cifs]
Sep 25 09:00:01 pi-behrens kernel: [ 835.395348] [<ffffffff811a1d65>] ? __kmalloc+0x55/0x230
Sep 25 09:00:01 pi-behrens kernel: [ 835.395359] [<ffffffffa06cf69c>] cifs_mount+0x85c/0xaf0 [cifs]
Sep 25 09:00:01 pi-behrens kernel: [ 835.395368] [<ffffffffa06be040>] cifs_do_mount+0xa0/0x4d0 [cifs]
Sep 25 09:00:01 pi-behrens kernel: [ 835.395376] [<ffffffff8...

Read more...

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Lars Behrens (lars-behrens-u) wrote :

> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1372482/comments/12

Yes, cifs mount works with that one (3.13.0-37-generic)

Revision history for this message
Jason Straight (jason-jeetkunedomaster) wrote :

Is this still current? I'm on 14.10 with 3.16.0 and have tried 3.18.6 as well with the same results.

Revision history for this message
Christian Marinelli (ducarpit) wrote :

This morning i have installed an Ubuntu 17.10 on my PC with 4.13.0 kernel and i had this problem. Then i tried to install the 4.10 version (i downloaded it from internet) and now the mount.cifs functions work also in the /etc/fstab file.
Unfortunatly i have to work with a previous kernel version...that's orrible in my opinion. I hope this bug will be solved soon!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.