Bug 1069411 - mount.cifs oops: Send length mismatch (pls see 1st comment instead of description, sorry)
Summary: mount.cifs oops: Send length mismatch (pls see 1st comment instead of descrip...
Keywords:
Status: CLOSED DUPLICATE of bug 1068862
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 19
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-25 00:18 UTC by Hans Ecke
Modified: 2014-02-25 00:39 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-02-25 00:39:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Hans Ecke 2014-02-25 00:18:28 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Hans Ecke 2014-02-25 00:24:50 UTC
A stray [Enter] released this bug, sorry. Here is the correct description:

I have a dedicated ethernet connection to a Win95 box running a laboratory device. To setup the connection:

ifconfig $IF inet 10.11.12.1 netmask 255.255.255.0 up

Indeed, it is up:

p4p1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.11.12.1  netmask 255.255.255.0  broadcast 10.11.12.255
        inet6 fe80::21b:21ff:fe43:9c88  prefixlen 64  scopeid 0x20<link>
        ether 00:1b:21:43:9c:88  txqueuelen 1000  (Ethernet)
        RX packets 21  bytes 1974 (1.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 29  bytes 2068 (2.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Now I try to mount a samba share from the Win95 box to offload our measurement data. This has worked on a REHL6 install:

mount -t cifs --verbose -o domain=mesoscopic,sec=lanman,servern=ABMM,password=,file_mode=0644,dir_mode=0755 //10.11.12.13/VNA_MS98_D /mnt/abmm_d

I get a kernel oops and nothing is mounted. Here is the dmesg:

[69836.553440] e1000: p4p1 NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
[69836.553654] IPv6: ADDRCONF(NETDEV_UP): p4p1: link is not ready
[69836.553667] IPv6: ADDRCONF(NETDEV_CHANGE): p4p1: link becomes ready
[69838.852897] FS-Cache: Netfs 'cifs' registered for caching
[69838.853116] Key type cifs.spnego registered
[69838.853134] Key type cifs.idmap registered
[69838.857549] ------------[ cut here ]------------
[69838.857573] WARNING: CPU: 1 PID: 7056 at fs/cifs/transport.c:313 smb_send_rqst+0x215/0x270 [cifs]()
[69838.857578] Send length mismatch(send_length=72 smb_buf_length=2164260932)
[69838.857580] Modules linked in: cifs ni_usb_gpib(OF) gpib_common(OF) nfsd nfs_acl ip6table_filter ip6_tables ebtable_nat ebtables xt_CHECKSUM tun xt_conntrack xt_limit bridge stp llc xt_LOG xt_multiport iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 iptable_mangle ipt_MASQUERADE nf_nat rpcsec_gss_krb5 nf_conntrack auth_rpcgss nfsv4 dns_resolver nfs lockd sunrpc fscache nls_utf8 vboxpci(OF) loop vboxnetadp(OF) vboxnetflt(OF) vboxdrv(OF) snd_hda_codec_idt e1000e snd_hda_intel snd_hda_codec iTCO_wdt ptp snd_hwdep e1000 pps_core iTCO_vendor_support snd_seq snd_seq_device gpio_ich snd_pcm dcdbas i2c_i801 serio_raw microcode snd_page_alloc snd_timer snd shpchp lpc_ich soundcore mfd_core uinput binfmt_misc i915 video i2c_algo_bit drm_kms_helper drm ata_generic pata_acpi i2c_core
[69838.857668] CPU: 1 PID: 7056 Comm: mount.cifs Tainted: GF          O 3.12.11-201.fc19.x86_64 #1
[69838.857672] Hardware name: Dell Inc.                 Dell DM061                   /0WG864, BIOS 2.2.1  03/23/2007
[69838.857675]  0000000000000009 ffff880133d89bb8 ffffffff816676a5 ffff880133d89c00
[69838.857682]  ffff880133d89bf0 ffffffff8106903d ffff880133d89d08 ffff8800b3b9d800
[69838.857688]  ffff880133d89cd0 0000000000000001 0000000000000000 ffff880133d89c50
[69838.857694] Call Trace:
[69838.857704]  [<ffffffff816676a5>] dump_stack+0x45/0x56
[69838.857711]  [<ffffffff8106903d>] warn_slowpath_common+0x7d/0xa0
[69838.857716]  [<ffffffff810690ac>] warn_slowpath_fmt+0x4c/0x50
[69838.857730]  [<ffffffffa0581835>] smb_send_rqst+0x215/0x270 [cifs]
[69838.857737]  [<ffffffff815d8f68>] ? __inet_stream_connect+0x208/0x320
[69838.857750]  [<ffffffffa05818cd>] smb_sendv+0x3d/0x40 [cifs]
[69838.857764]  [<ffffffffa05818f8>] smb_send+0x28/0x30 [cifs]
[69838.857774]  [<ffffffffa056bcbd>] generic_ip_connect+0x30d/0x3e0 [cifs]
[69838.857780]  [<ffffffff81195155>] ? __kmalloc+0x55/0x240
[69838.857791]  [<ffffffffa05701e9>] cifs_mount+0x849/0xad0 [cifs]
[69838.857799]  [<ffffffffa055ef70>] cifs_do_mount+0xa0/0x4d0 [cifs]
[69838.857806]  [<ffffffff811b2b19>] mount_fs+0x39/0x1b0
[69838.857814]  [<ffffffff811cc2af>] vfs_kern_mount+0x5f/0xf0
[69838.857819]  [<ffffffff811ce73e>] do_mount+0x23e/0xa90
[69838.857825]  [<ffffffff81146914>] ? __get_free_pages+0x14/0x50
[69838.857830]  [<ffffffff811ce386>] ? copy_mount_options+0x36/0x170
[69838.857834]  [<ffffffff811cf013>] SyS_mount+0x83/0xc0
[69838.857840]  [<ffffffff81676669>] system_call_fastpath+0x16/0x1b
[69838.857843] ---[ end trace 563327526c36253b ]---
[69838.859074] CIFS VFS: Error connecting to socket. Aborting operation.
[69838.859286] CIFS VFS: cifs_mount failed w/return code = -5

How can I help resolve this? Btw, abrt thinks this is a duplicate with bug#1066499 but the error message does not look the same to me, so I'm filing this separately.

Comment 2 Josh Boyer 2014-02-25 00:39:36 UTC

*** This bug has been marked as a duplicate of bug 1068862 ***


Note You need to log in before you can comment on or make changes to this bug.