[Bug 1374701] Re: mount.cifs gives input/output error when connecting to port 139

Launchpad Bug Tracker 1374701 at bugs.launchpad.net
Mon Sep 29 06:59:29 UTC 2014


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: cifs-utils (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cifs-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1374701

Title:
  mount.cifs gives input/output error when connecting to port 139

Status in “cifs-utils” package in Ubuntu:
  Confirmed

Bug description:
  Mounting a network share using mount.cifs through port 139 gives an
  input/output error. I'm using port 139 because the NAS I'm connecting
  to somehow needs a netbiosname. I'm using the following command:

  /sbin/mount.cifs //IP/SHARE  MOUNTPOINT -o
  rw,guest,dir_mode=0770,file_mode=0770,uid=1000,gid=1000,port=139,netbiosname=laptop

  This command used to work: I have not changed the software or settings
  of the NAS, only updated software on the client (laptop). Although I'm
  running Lubuntu I suspect this bug is related to Ubuntu.

  I have found an identical bug on Fedora/Red Hat, with a patch that is reported to work:
  https://bugzilla.redhat.com/show_bug.cgi?id=1068862

  dmesg gives the following error, that is similar to the output given
  on the above link

  [ 4874.026333] WARNING: CPU: 1 PID: 12553 at /build/buildd/linux-3.13.0/fs/cifs/transport.c:313 smb_send_rqst+0x201/0x260 [cifs]()
  [ 4874.026336] Send length mismatch(send_length=72 smb_buf_length=2164260932)
  [ 4874.026338] Modules linked in: nls_utf8 cifs fscache ctr ccm rfcomm bnep bluetooth binfmt_misc uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev arc4 snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_page_alloc pcmcia snd_seq_midi ath9k ath9k_common snd_seq_midi_event ath9k_hw joydev snd_rawmidi serio_raw ath mac80211 r592 yenta_socket lpc_ich memstick snd_seq snd_seq_device snd_timer snd pcmcia_rsrc pcmcia_core soundcore cfg80211 i915 asus_laptop video drm_kms_helper sparse_keymap drm mac_hid input_polldev parport_pc i2c_algo_bit ppdev coretemp lp parport ahci psmouse 8139too 8139cp sdhci_pci mii libahci sdhci
  [ 4874.026411] CPU: 1 PID: 12553 Comm: mount.cifs Tainted: G        W     3.13.0-36-generic #63-Ubuntu
  [ 4874.026414] Hardware name: ASUSTeK Computer Inc.         X58LE               /X58LE     , BIOS 201     12/09/2008
  [ 4874.026417]  00000000 00000000 eb3fbd5c c1653137 eb3fbd9c eb3fbd8c c105696e f93a8720
  [ 4874.026426]  eb3fbdb8 00003109 f93a8648 00000139 f9385301 f9385301 eb3fbe18 81000044
  [ 4874.026434]  eb3fbdf4 eb3fbda4 c10569c3 00000009 eb3fbd9c f93a8720 eb3fbdb8 eb3fbdec
  [ 4874.026443] Call Trace:
  [ 4874.026453]  [<c1653137>] dump_stack+0x41/0x52
  [ 4874.026459]  [<c105696e>] warn_slowpath_common+0x7e/0xa0
  [ 4874.026473]  [<f9385301>] ? smb_send_rqst+0x201/0x260 [cifs]
  [ 4874.026485]  [<f9385301>] ? smb_send_rqst+0x201/0x260 [cifs]
  [ 4874.026490]  [<c10569c3>] warn_slowpath_fmt+0x33/0x40
  [ 4874.026503]  [<f9385301>] smb_send_rqst+0x201/0x260 [cifs]
  [ 4874.026509]  [<c1659ec2>] ? _raw_spin_lock_bh+0x12/0x60
  [ 4874.026522]  [<f938538c>] smb_sendv+0x2c/0x40 [cifs]
  [ 4874.026535]  [<f93853c1>] smb_send+0x21/0x30 [cifs]
  [ 4874.026546]  [<f9370f64>] generic_ip_connect+0x2e4/0x3d0 [cifs]
  [ 4874.026557]  [<f9374de7>] cifs_mount+0x687/0x970 [cifs]
  [ 4874.026567]  [<f9364f36>] cifs_do_mount+0x86/0x480 [cifs]
  [ 4874.026573]  [<c11660d6>] ? __kmalloc_track_caller+0x46/0x1d0
  [ 4874.026579]  [<c112a1d5>] ? __get_free_pages+0x25/0x40
  [ 4874.026583]  [<c117ca01>] mount_fs+0x31/0x170
  [ 4874.026589]  [<c113dbcf>] ? __alloc_percpu+0xf/0x20
  [ 4874.026594]  [<c11949f9>] vfs_kern_mount+0x49/0xd0
  [ 4874.026599]  [<c1196b49>] do_mount+0x1e9/0x950
  [ 4874.026604]  [<c119684f>] ? copy_mount_options+0x2f/0x100
  [ 4874.026608]  [<c119754c>] SyS_mount+0x7c/0xb0
  [ 4874.026614]  [<c16614cd>] sysenter_do_call+0x12/0x12
  [ 4874.026617] ---[ end trace 511a18ed6bd3b4f6 ]---
  [ 4874.028292] CIFS VFS: Error connecting to socket. Aborting operation.
  [ 4874.028576] CIFS VFS: cifs_mount failed w/return code = -5

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: cifs-utils 2:6.0-1ubuntu2
  ProcVersionSignature: Ubuntu 3.13.0-36.63-generic 3.13.11.6
  Uname: Linux 3.13.0-36-generic i686
  ApportVersion: 2.14.1-0ubuntu3.4
  Architecture: i386
  CurrentDesktop: LXDE
  Date: Sat Sep 27 10:12:22 2014
  InstallationDate: Installed on 2014-04-20 (159 days ago)
  InstallationMedia: Lubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140416.2)
  SourcePackage: cifs-utils
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1374701/+subscriptions



More information about the foundations-bugs mailing list