All of lore.kernel.org
 help / color / mirror / Atom feed
* Mounting SMB2 fails with -EINVAL on 3.7-rc7
@ 2012-11-27  9:21 Suresh Jayaraman
       [not found] ` <50B48601.6070000-IBi9RG/b67k@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Suresh Jayaraman @ 2012-11-27  9:21 UTC (permalink / raw)
  To: linux-cifs, Steve French

When I try to mount a Samba (3.6.7) share via SMB2, the mount is failing.

   mount -t cifs -o vers=2.1,user=joe //server/share /mnt
   mount error (22): Invalid Argument

Looks like Negotiate Protocol is failing but not sure why.

Here's the cFYI snip:

[ 2895.256899] CIFS VFS: cifs_mount failed w/return code = -22
[ 2904.421947] fs/cifs/cifsfs.c: Devname: //164.99.140.187/local/ flags: 0 
[ 2904.421999] fs/cifs/connect.c: Username: cg
[ 2904.427252] fs/cifs/connect.c: file mode: 0x1ed  dir mode: 0x1ed
[ 2904.427434] fs/cifs/connect.c: CIFS VFS: in cifs_mount as Xid: 15 with uid: 0
[ 2904.427439] fs/cifs/connect.c: UNC: \\164.99.140.187\local ip: 164.99.140.187
[ 2904.427489] fs/cifs/connect.c: Socket created
[ 2904.427493] fs/cifs/connect.c: sndbuf 16384 rcvbuf 87380 rcvtimeo 0x1b58
[ 2904.428276] fs/cifs/connect.c: CIFS VFS: in cifs_get_smb_ses as Xid: 16 with uid: 0
[ 2904.428281] fs/cifs/connect.c: Existing smb sess not found
[ 2904.428288] fs/cifs/smb2pdu.c: Negotiate protocol
[ 2904.428295] fs/cifs/smb2pdu.c: sec_flags 0x87
[ 2904.428301] fs/cifs/transport.c: Sending smb: smb_len=102
[ 2904.428460] fs/cifs/connect.c: Demultiplex PID: 1899
[ 2904.429585] fs/cifs/connect.c: RFC1002 header 0x49
[ 2904.429593] fs/cifs/smb2misc.c: smb2_check_message length: 0x4d, smb_buf_length: 0x49
[ 2904.429596] fs/cifs/smb2misc.c: SMB2 data length 0 offset 0
[ 2904.429597] fs/cifs/smb2misc.c: SMB2 len 77
[ 2904.429648] fs/cifs/transport.c: cifs_sync_mid_result: cmd=0 mid=0 state=4
[ 2904.429654] Status code returned 0xc000000d STATUS_INVALID_PARAMETER
[ 2904.429661] fs/cifs/smb2maperror.c: Mapping SMB2 status code -1073741811 to POSIX err -22
[ 2904.429663] fs/cifs/misc.c: Null buffer passed to cifs_small_buf_release
[ 2904.429667] fs/cifs/connect.c: CIFS VFS: leaving cifs_get_smb_ses (xid = 16) rc = -22
[ 2904.429883] fs/cifs/connect.c: CIFS VFS: leaving cifs_mount (xid = 15) rc = -22
[ 2904.429885] CIFS VFS: cifs_mount failed w/return code = -22


Is this a known issue?


-- 
Suresh Jayaraman

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-11-29  5:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-27  9:21 Mounting SMB2 fails with -EINVAL on 3.7-rc7 Suresh Jayaraman
     [not found] ` <50B48601.6070000-IBi9RG/b67k@public.gmane.org>
2012-11-27 12:56   ` Pavel Shilovsky
     [not found]     ` <CAKywueT-Wi_gS8SNOQ+Ac-MNFNSuN_ni1BA8neQsy0836w6BvA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-11-27 13:00       ` Suresh Jayaraman
     [not found]         ` <50B4B972.8070604-IBi9RG/b67k@public.gmane.org>
2012-11-27 13:21           ` Pavel Shilovsky
     [not found]             ` <CAKywueSm5K_H870mvQED02fqKoY8FTR=T+RhAo6hk3VzN3Jd4g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-11-27 16:27               ` Steve French
     [not found]                 ` <CAH2r5msNJSdS5Pq3+PY0Lndg0C22GR-27HNA8vzBVfT50x3uQA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-11-28 13:49                   ` Pavel Shilovsky
     [not found]                     ` <CAKywueSRRuCDJxDgnHURSGY9qAvc_kb4BuKMoMaxCbjh4UPrNg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-11-28 16:08                       ` Suresh Jayaraman
     [not found]                         ` <50B6370F.2060402-IBi9RG/b67k@public.gmane.org>
2012-11-29  5:38                           ` Steve French

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.