Discussion:
Tr:Re: Tr:Re: CIFS VFS: Unexpected SMB signature ...NULL inode in lookup
sergio.conrad-QFKgK+
2013-11-20 14:21:12 UTC
Permalink
Thanks for your response .

I did my tests with a Centos =C2=A02.6.32-358.23.2.el6.i686 up to date,=
it don't seems to=20
backport the update.

Could the latest kernel from a Fedora incorporate the update ? it seems=
to be=C2=A03.11.x
I will check either if =C2=A0Scientific Linux do this. How could I know=
before installing ?
=C2=A0
Thanks
Serge
=C2=A0
Message du 20/11/13 15:17
A : "Jeff Layton"
Objet : Re: Tr:Re: CIFS VFS: Unexpected SMB signature ...NULL inode i=
n lookup
=C2=A0
Message du 20/11/13 12:33
De : "Jeff Layton"
Copie =C3=A0 : "linux-cifs vger kernel org"
Objet : Re: Tr:Re: CIFS VFS: Unexpected SMB signature ...NULL inode i=
n lookup
On Wed, 20 Nov 2013 12:22:08 +0100
=C2=A0
for num in $(seq 1 200)
do=C2=A0
dd if=3D/dev/zero of=3Dcifsmount/file${num} bs=3D1024 count=3D1000
done
=C2=A0
Execute the script, and send control-C several time when running
50 % chance i got unexpected SMB signature
=C2=A0any idea ?
You need a more recent kernel, or a backport of commit
ad313cb86dfba27f8f2306da304974ef17c91c56.
=C2=A0
Message du 20/11/13 08:48
Objet : Re: CIFS VFS: Unexpected SMB signature ...NULL inode in l=
ookup
Hello
I have open a bug quite a while ago https://bugzilla.samba.org/sh=
ow_bug.cgi?id=3D9477=20
and
don't have any news.
I am using sec=3Dkrb5i, but have the same problem with ntlmv2...
The problem is the same with a centos 6 computer.
Perhaps the problem is in the Windows Server ...
Do I have to change AllowLegacySrvCall as described in
http://support.microsoft.com/kb/957441 ?
Perhaps I have to put a more recent driver in my server: It is a =
Dell T610 server
with a NetExtreme II gigabitE (version 5.2.14 17/12/2009) ?
Please help , as the problems continue ...
Thanks
Serge Conrad
Hello ...
in the messages, you could see an SMB unexpected signature (21 Ja=
n 16:13:16)
In the dump file , the trame no 470 is at the same time (16:13:16=
)
The environnement is the same as described in=20
https://bugzilla.samba.org/show_bug.cgi?
id=3D9477
Regards,
Serge
Message du 25/01/13 16:15
De : "Steve French"
A : "sergio. conrad"
Objet : Re: CIFS VFS: Unexpected SMB signature ...NULL inode in=
lookup
You could send the trace to me directly
Hello
I do have a network trace for
https://bugzilla.samba.org/show_bug.cgi?id=3D9477
But there is the public adress ip of the server in the trace.=
I don't know
how to hide
this. Could I send the trace to you, or must I find a way to =
hide the
trace ?
Thanks
Serge
Message du 05/12/12 16:18
De : "Steve French"
A : "sergio.conrad"
Objet : Re: CIFS VFS: Unexpected SMB signature ...NULL inod=
e in lookup
Could you open a bugzilla bug at bugzilla.samba.org and if =
possible
attach a network trace around the time that this is trigger=
ed (if it
is trivial to reproduce)
https://wiki.samba.org/index.php/Capture_Packets
Hello,
The log are from 2.6.43.8-1.fc15.x86_64.
I see also the error CIFS VFS: Unexpected SMB signature w=
ith the same
environnement
on a 3.6.6-1.fc16.x86_64
Thanks,
Serge
Message du 04/12/12 20:06
De : "Steve French"
A : "sergio.conrad"
Objet : Re: CIFS VFS: Unexpected SMB signature ...NULL i=
node in lookup
What kernel version?
I would not expect the "noserverino" mount option to be =
a factor.
Jeff did fix one warning relating to unexpected signatur=
es in this
patch, see below (which I don't think is your issue (if =
the signature
is coming on a transact2 request).
commit 9c4843ea576107a3c1fb94f2f758f198e9fe9e54
Author: Jeff Layton
Date: Mon Jun 6 15:40:23 2011 -0400
cifs: silence printk when establishing first session on =
socket
When signing is enabled, the first session that's establ=
ished on a
CIFS VFS: Unexpected SMB signature
This is because the key exchange hasn't happened yet, so=
the signature
field is bogus. Don't try to check the signature on the =
socket until
the
first session has been established. Also, eliminate the =
specific check
for SMB_COM_NEGOTIATE since this check covers that case =
too.
Hi,
I have a problem with users losing their connections f=
rom linux
clients with cifs
share. (Windows 2008) :CIFS VFS: Unexpected SMB signature
I am using two methods for mounting: pam_mount and aut=
ofs, both
with same results.
I am using mount options nounix,noserverino
I am lauching cifs module on boot (rc.local) with
modprobe cifs
echo 0 > /proc/fs/cifs/OplockEnabled
echo 1 > /proc/fs/cifs/MultiuserMount
echo 7 > /proc/fs/cifs/cifsFYI
in /var/log/messages
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
Dec 3 17:31:01 u1205-08l kernel: [ 3732.140040] CIFS V=
Unexpected lookup error
-512
Dec 3 17:31:01 u1205-08l kernel: [ 3732.334939] CIFS V=
Unexpected SMB signature
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
cifs.spnego;0;0;3f000000
=20
;ver=3D0x2;host=3Dfigue;ip4=3D130.xxx.xxx.xxx;sec=3Dkrb5;uid=3D0x100000=
5;creduid=3D0x1000005;us
er=3D21206xxx;pid=3D0x65f
Dec 3 16:29:35 u1205-08l cifs.upcall: ver=3D2
Dec 3 16:29:35 u1205-08l cifs.upcall: host=3Dfigue
Dec 3 16:29:35 u1205-08l cifs.upcall: ip=3D130.120.8.1=
1
Dec 3 16:29:35 u1205-08l cifs.upcall: sec=3D1
Dec 3 16:29:35 u1205-08l cifs.upcall: uid=3D16777221
Dec 3 16:29:35 u1205-08l cifs.upcall: creduid=3D167772=
21
Dec 3 16:29:35 u1205-08l cifs.upcall: user=3D21206xxx
Dec 3 16:29:35 u1205-08l cifs.upcall: pid=3D1631
Dec 3 16:29:35 u1205-08l cifs.upcall: find_krb5_cc: co=
nsidering
/tmp/krb5cc_167
77221
FILE:/tmp/krb5cc_16777221 i
s valid ccache
in dmesg
=3D=3D=3D=3D=3D=3D=3D=3D=3D
fs/cifs/inode.c: Getting info on \21206xxx\TP9
[ 3735.419612] fs/cifs/transport.c: For smb_command 50
[ 3735.419615] fs/cifs/transport.c: Sending smb: total=
_len 104
[ 3735.420257] fs/cifs/connect.c: RFC1002 header 0x23
[ 3735.420261] fs/cifs/connect.c: invalid transact2 wo=
rd count
[ 3735.422403] fs/cifs/transport.c: cifs_sync_mid_resu=
lt: cmd=3D50
mid=3D37012 state=3D4
[ 3735.422406] CIFS VFS: Unexpected SMB signature
[ 3735.422408] Status code returned 0xc0000022
NT_STATUS_ACCESS_DENIED
[ 3735.422411] fs/cifs/netmisc.c: Mapping smb error co=
de 0xc0000022
to POSIX err
-13
[ 3735.422413] fs/cifs/cifssmb.c: Send error in QPathI=
nfo =3D -13
[ 3735.422415] fs/cifs/dir.c: CIFS VFS: leaving cifs_l=
ookup (xid =3D
76854) rc =3D -13
[ 3735.422424] fs/cifs/dir.c: CIFS VFS: in cifs_lookup=
16777221
[ 3735.422427] fs/cifs/dir.c: parent inode =3D 0xf1448=
TP9 and dentry =3D
0xf074e300
[ 3735.422429] fs/cifs/dir.c: NULL inode in lookup
[ 3735.422430] fs/cifs/dir.c: Full path: \21206xxx\TP9=
inode =3D 0x
(null)
I don't understand what happens...
NULL inode in lookup ... What about noserverino option=
?
Perhaps an unresponsive server... The network infrastr=
ucture is
old. Last year I
got this working very well, but the server was in a better pl=
ace (switch
and network
infrastructure speaking)
Regards,
Thanks in advance
Serge Conrad
Une messagerie gratuite, garantie =C3=A0 vie et des se=
rvices en plus, =C3=A7a
vous tente ?
Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net
--
To unsubscribe from this list: send the line "unsubscr=
ibe
linux-cifs" in
More majordomo info at http://vger.kernel.org/majordom=
o-info.html
--
Thanks,
Steve
--
To unsubscribe from this list: send the line "unsubscrib=
e linux-cifs"
in
More majordomo info at http://vger.kernel.org/majordomo-=
info.html
Une messagerie gratuite, garantie =C3=A0 vie et des servi=
ces en plus, =C3=A7a
vous tente ?
Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net
--
Thanks,
Steve
--
To unsubscribe from this list: send the line "unsubscribe l=
inux-cifs" in
More majordomo info at http://vger.kernel.org/majordomo-inf=
o.html
Une messagerie gratuite, garantie =C3=A0 vie et des services =
en plus, =C3=A7a vous
tente ?
Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net
Une messagerie gratuite, garantie =C3=A0 vie et des services en p=
lus, =C3=A7a vous tente ?
Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net
--
To unsubscribe from this list: send the line "unsubscribe linux-c=
ifs" in
More majordomo info at http://vger.kernel.org/majordomo-info.html
=C2=A0
--
To unsubscribe from this list: send the line "unsubscribe linux-cif=
s" in
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Jeff Layton
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"=
in
More majordomo info at http://vger.kernel.org/majordomo-info.html
=C2=A0

=C2=A0

=C2=A0
Jeff Layton
2013-11-20 15:43:20 UTC
Permalink
On Wed, 20 Nov 2013 15:21:12 +0100
Post by sergio.conrad-QFKgK+
=20
Thanks for your response .
=20
I did my tests with a Centos =C2=A02.6.32-358.23.2.el6.i686 up to dat=
e, it don't seems to=20
Post by sergio.conrad-QFKgK+
backport the update.
=20
Yeah, I think those patches are going into RHEL6.5.
Post by sergio.conrad-QFKgK+
Could the latest kernel from a Fedora incorporate the update ? it see=
ms to be=C2=A03.11.x
Post by sergio.conrad-QFKgK+
I will check either if =C2=A0Scientific Linux do this. How could I kn=
ow before installing ?
Post by sergio.conrad-QFKgK+
=C2=A0
SL is basically a clone of RHEL, not Fedora. Fedora has had these
patches for a long time now.
Post by sergio.conrad-QFKgK+
Message du 20/11/13 15:17
A : "Jeff Layton"
Objet : Re: Tr:Re: CIFS VFS: Unexpected SMB signature ...NULL inode=
in lookup
Post by sergio.conrad-QFKgK+
=20
=C2=A0
Message du 20/11/13 12:33
De : "Jeff Layton"
Copie =C3=A0 : "linux-cifs vger kernel org"
Objet : Re: Tr:Re: CIFS VFS: Unexpected SMB signature ...NULL inode=
in lookup
Post by sergio.conrad-QFKgK+
On Wed, 20 Nov 2013 12:22:08 +0100
Post by sergio.conrad-QFKgK+
=C2=A0
for num in $(seq 1 200)
do=C2=A0
dd if=3D/dev/zero of=3Dcifsmount/file${num} bs=3D1024 count=3D100=
0
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
done
=C2=A0
Execute the script, and send control-C several time when running
50 % chance i got unexpected SMB signature
=C2=A0any idea ?
You need a more recent kernel, or a backport of commit
ad313cb86dfba27f8f2306da304974ef17c91c56.
Post by sergio.conrad-QFKgK+
=C2=A0
Message du 20/11/13 08:48
Objet : Re: CIFS VFS: Unexpected SMB signature ...NULL inode in=
lookup
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
Hello
I have open a bug quite a while ago https://bugzilla.samba.org/=
show_bug.cgi?id=3D9477=20
Post by sergio.conrad-QFKgK+
and
Post by sergio.conrad-QFKgK+
don't have any news.
I am using sec=3Dkrb5i, but have the same problem with ntlmv2..=
=2E
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
The problem is the same with a centos 6 computer.
Perhaps the problem is in the Windows Server ...
Do I have to change AllowLegacySrvCall as described in
http://support.microsoft.com/kb/957441 ?
Perhaps I have to put a more recent driver in my server: It is =
a Dell T610 server
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
with a NetExtreme II gigabitE (version 5.2.14 17/12/2009) ?
Please help , as the problems continue ...
Thanks
Serge Conrad
Hello ...
in the messages, you could see an SMB unexpected signature (21 =
Jan 16:13:16)
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
In the dump file , the trame no 470 is at the same time (16:13:=
16)
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
The environnement is the same as described in=20
https://bugzilla.samba.org/show_bug.cgi?
Post by sergio.conrad-QFKgK+
id=3D9477
Regards,
Serge
Message du 25/01/13 16:15
De : "Steve French"
A : "sergio. conrad"
Objet : Re: CIFS VFS: Unexpected SMB signature ...NULL inode =
in lookup
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
You could send the trace to me directly
Hello
I do have a network trace for
https://bugzilla.samba.org/show_bug.cgi?id=3D9477
But there is the public adress ip of the server in the trac=
e. I don't know
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
how to hide
this. Could I send the trace to you, or must I find a way t=
o hide the
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
trace ?
Thanks
Serge
Message du 05/12/12 16:18
De : "Steve French"
A : "sergio.conrad"
Objet : Re: CIFS VFS: Unexpected SMB signature ...NULL in=
ode in lookup
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
Could you open a bugzilla bug at bugzilla.samba.org and i=
f possible
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
attach a network trace around the time that this is trigg=
ered (if it
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
is trivial to reproduce)
https://wiki.samba.org/index.php/Capture_Packets
Hello,
The log are from 2.6.43.8-1.fc15.x86_64.
I see also the error CIFS VFS: Unexpected SMB signature=
with the same
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
environnement
on a 3.6.6-1.fc16.x86_64
Thanks,
Serge
Message du 04/12/12 20:06
De : "Steve French"
A : "sergio.conrad"
Objet : Re: CIFS VFS: Unexpected SMB signature ...NULL=
inode in lookup
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
What kernel version?
I would not expect the "noserverino" mount option to b=
e a factor.
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
Jeff did fix one warning relating to unexpected signat=
ures in this
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
patch, see below (which I don't think is your issue (i=
f the signature
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
is coming on a transact2 request).
commit 9c4843ea576107a3c1fb94f2f758f198e9fe9e54
Author: Jeff Layton
Date: Mon Jun 6 15:40:23 2011 -0400
cifs: silence printk when establishing first session o=
n socket
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
When signing is enabled, the first session that's esta=
blished on a
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
CIFS VFS: Unexpected SMB signature
This is because the key exchange hasn't happened yet, =
so the signature
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
field is bogus. Don't try to check the signature on th=
e socket until
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
the
first session has been established. Also, eliminate th=
e specific check
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
for SMB_COM_NEGOTIATE since this check covers that cas=
e too.
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
Hi,
I have a problem with users losing their connections=
from linux
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
clients with cifs
share. (Windows 2008) :CIFS VFS: Unexpected SMB signature
I am using two methods for mounting: pam_mount and a=
utofs, both
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
with same results.
I am using mount options nounix,noserverino
I am lauching cifs module on boot (rc.local) with
modprobe cifs
echo 0 > /proc/fs/cifs/OplockEnabled
echo 1 > /proc/fs/cifs/MultiuserMount
echo 7 > /proc/fs/cifs/cifsFYI
in /var/log/messages
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
Dec 3 17:31:01 u1205-08l kernel: [ 3732.140040] CIFS=
Unexpected lookup error
-512
Dec 3 17:31:01 u1205-08l kernel: [ 3732.334939] CIFS=
Unexpected SMB signature
This user was working since one hour with no problem=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Dec 3 16:29:35 u1205-08l cifs.upcall: key descriptio=
cifs.spnego;0;0;3f000000
=20
;ver=3D0x2;host=3Dfigue;ip4=3D130.xxx.xxx.xxx;sec=3Dkrb5;uid=3D0x1000=
005;creduid=3D0x1000005;us
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
er=3D21206xxx;pid=3D0x65f
Dec 3 16:29:35 u1205-08l cifs.upcall: ver=3D2
Dec 3 16:29:35 u1205-08l cifs.upcall: host=3Dfigue
Dec 3 16:29:35 u1205-08l cifs.upcall: ip=3D130.120.8=
=2E11
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
Dec 3 16:29:35 u1205-08l cifs.upcall: sec=3D1
Dec 3 16:29:35 u1205-08l cifs.upcall: uid=3D16777221
Dec 3 16:29:35 u1205-08l cifs.upcall: creduid=3D1677=
7221
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
Dec 3 16:29:35 u1205-08l cifs.upcall: user=3D21206xx=
x
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
Dec 3 16:29:35 u1205-08l cifs.upcall: pid=3D1631
Dec 3 16:29:35 u1205-08l cifs.upcall: find_krb5_cc: =
considering
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
/tmp/krb5cc_167
77221
FILE:/tmp/krb5cc_16777221 i
s valid ccache
in dmesg
=3D=3D=3D=3D=3D=3D=3D=3D=3D
fs/cifs/inode.c: Getting info on \21206xxx\TP9
[ 3735.419612] fs/cifs/transport.c: For smb_command =
50
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
[ 3735.419615] fs/cifs/transport.c: Sending smb: tot=
al_len 104
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
[ 3735.420257] fs/cifs/connect.c: RFC1002 header 0x2=
3
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
[ 3735.420261] fs/cifs/connect.c: invalid transact2 =
word count
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
[ 3735.422403] fs/cifs/transport.c: cifs_sync_mid_re=
sult: cmd=3D50
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
mid=3D37012 state=3D4
[ 3735.422406] CIFS VFS: Unexpected SMB signature
[ 3735.422408] Status code returned 0xc0000022
NT_STATUS_ACCESS_DENIED
[ 3735.422411] fs/cifs/netmisc.c: Mapping smb error =
code 0xc0000022
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
to POSIX err
-13
[ 3735.422413] fs/cifs/cifssmb.c: Send error in QPat=
hInfo =3D -13
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
[ 3735.422415] fs/cifs/dir.c: CIFS VFS: leaving cifs=
_lookup (xid =3D
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
76854) rc =3D -13
[ 3735.422424] fs/cifs/dir.c: CIFS VFS: in cifs_look=
16777221
[ 3735.422427] fs/cifs/dir.c: parent inode =3D 0xf14=
TP9 and dentry =3D
0xf074e300
[ 3735.422429] fs/cifs/dir.c: NULL inode in lookup
[ 3735.422430] fs/cifs/dir.c: Full path: \21206xxx\T=
P9 inode =3D 0x
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
(null)
I don't understand what happens...
NULL inode in lookup ... What about noserverino opti=
on ?
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
Perhaps an unresponsive server... The network infras=
tructure is
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
old. Last year I
got this working very well, but the server was in a better =
place (switch
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
and network
infrastructure speaking)
Regards,
Thanks in advance
Serge Conrad
Une messagerie gratuite, garantie =C3=A0 vie et des =
services en plus, =C3=A7a
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
vous tente ?
Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net
--
To unsubscribe from this list: send the line "unsubs=
cribe
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
linux-cifs" in
More majordomo info at http://vger.kernel.org/majord=
omo-info.html
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
--
Thanks,
Steve
--
To unsubscribe from this list: send the line "unsubscr=
ibe linux-cifs"
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
in
More majordomo info at http://vger.kernel.org/majordom=
o-info.html
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
Une messagerie gratuite, garantie =C3=A0 vie et des ser=
vices en plus, =C3=A7a
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
vous tente ?
Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net
--
Thanks,
Steve
--
To unsubscribe from this list: send the line "unsubscribe=
linux-cifs" in
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
More majordomo info at http://vger.kernel.org/majordomo-i=
nfo.html
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
Une messagerie gratuite, garantie =C3=A0 vie et des service=
s en plus, =C3=A7a vous
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
tente ?
Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net
Une messagerie gratuite, garantie =C3=A0 vie et des services en=
plus, =C3=A7a vous tente ?
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net
--
To unsubscribe from this list: send the line "unsubscribe linux=
-cifs" in
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
More majordomo info at http://vger.kernel.org/majordomo-info.ht=
ml
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
=C2=A0
--
To unsubscribe from this list: send the line "unsubscribe linux-c=
ifs" in
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Jeff Layton
--
To unsubscribe from this list: send the line "unsubscribe linux-cif=
s" in
Post by sergio.conrad-QFKgK+
More majordomo info at http://vger.kernel.org/majordomo-info.html
=C2=A0
=20
=C2=A0
=20
=C2=A0
=20
=20
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"=
in
Post by sergio.conrad-QFKgK+
More majordomo info at http://vger.kernel.org/majordomo-info.html
--=20
Jeff Layton <jlayton-vpEMnDpepFuMZCB2o+***@public.gmane.org>
sergio.conrad-QFKgK+
2013-11-22 17:37:28 UTC
Permalink
Hello,
How could I be sure these patches are into RHEL6.5 ?
They say that the kernel version is 2.6.32-431

Thanks
Message du 20/11/13 16:41
De : "Jeff Layton"
Copie =C3=A0 : "linux-cifs vger kernel org"
Objet : Re: Tr:Re: Tr:Re: CIFS VFS: Unexpected SMB signature ...NULL =
inode in lookup
On Wed, 20 Nov 2013 15:21:12 +0100
Post by sergio.conrad-QFKgK+
Thanks for your response .
I did my tests with a Centos =C2=A02.6.32-358.23.2.el6.i686 up to d=
ate, it don't seems to
Post by sergio.conrad-QFKgK+
backport the update.
Yeah, I think those patches are going into RHEL6.5.
Post by sergio.conrad-QFKgK+
Could the latest kernel from a Fedora incorporate the update ? it s=
eems to be=C2=A03.11.x
Post by sergio.conrad-QFKgK+
I will check either if =C2=A0Scientific Linux do this. How could I =
know before installing=20
?
Post by sergio.conrad-QFKgK+
=C2=A0
SL is basically a clone of RHEL, not Fedora. Fedora has had these
patches for a long time now.
Post by sergio.conrad-QFKgK+
Message du 20/11/13 15:17
A : "Jeff Layton"
Objet : Re: Tr:Re: CIFS VFS: Unexpected SMB signature ...NULL ino=
de in lookup
Post by sergio.conrad-QFKgK+
=C2=A0
Message du 20/11/13 12:33
De : "Jeff Layton"
Copie =C3=A0 : "linux-cifs vger kernel org"
Objet : Re: Tr:Re: CIFS VFS: Unexpected SMB signature ...NULL ino=
de in lookup
Post by sergio.conrad-QFKgK+
On Wed, 20 Nov 2013 12:22:08 +0100
Post by sergio.conrad-QFKgK+
=C2=A0
for num in $(seq 1 200)
do=C2=A0
dd if=3D/dev/zero of=3Dcifsmount/file${num} bs=3D1024 count=3D1=
000
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
done
=C2=A0
Execute the script, and send control-C several time when runnin=
g
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
50 % chance i got unexpected SMB signature
=C2=A0any idea ?
You need a more recent kernel, or a backport of commit
ad313cb86dfba27f8f2306da304974ef17c91c56.
Post by sergio.conrad-QFKgK+
=C2=A0
Message du 20/11/13 08:48
Objet : Re: CIFS VFS: Unexpected SMB signature ...NULL inode =
in lookup
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
Hello
I have open a bug quite a while ago https://bugzilla.samba.or=
g/show_bug.cgi?
id=3D9477
Post by sergio.conrad-QFKgK+
and
Post by sergio.conrad-QFKgK+
don't have any news.
I am using sec=3Dkrb5i, but have the same problem with ntlmv2=
=2E..
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
The problem is the same with a centos 6 computer.
Perhaps the problem is in the Windows Server ...
Do I have to change AllowLegacySrvCall as described in
http://support.microsoft.com/kb/957441 ?
Perhaps I have to put a more recent driver in my server: It i=
s a Dell T610=20
server
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
with a NetExtreme II gigabitE (version 5.2.14 17/12/2009) ?
Please help , as the problems continue ...
Thanks
Serge Conrad
Hello ...
in the messages, you could see an SMB unexpected signature (2=
1 Jan 16:13:16)
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
In the dump file , the trame no 470 is at the same time (16:1=
3:16)
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
The environnement is the same as described in
https://bugzilla.samba.org/show_bug.cgi?
Post by sergio.conrad-QFKgK+
id=3D9477
Regards,
Serge
Message du 25/01/13 16:15
De : "Steve French"
A : "sergio. conrad"
Objet : Re: CIFS VFS: Unexpected SMB signature ...NULL inod=
e in lookup
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
You could send the trace to me directly
Hello
I do have a network trace for
https://bugzilla.samba.org/show_bug.cgi?id=3D9477
But there is the public adress ip of the server in the tr=
ace. I don't know
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
how to hide
this. Could I send the trace to you, or must I find a way=
to hide the
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
trace ?
Thanks
Serge
Message du 05/12/12 16:18
De : "Steve French"
A : "sergio.conrad"
Objet : Re: CIFS VFS: Unexpected SMB signature ...NULL =
inode in lookup
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
Could you open a bugzilla bug at bugzilla.samba.org and=
if possible
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
attach a network trace around the time that this is tri=
ggered (if it
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
is trivial to reproduce)
https://wiki.samba.org/index.php/Capture_Packets
Hello,
The log are from 2.6.43.8-1.fc15.x86_64.
I see also the error CIFS VFS: Unexpected SMB signatu=
re with the same
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
environnement
on a 3.6.6-1.fc16.x86_64
Thanks,
Serge
Message du 04/12/12 20:06
De : "Steve French"
A : "sergio.conrad"
Objet : Re: CIFS VFS: Unexpected SMB signature ...NU=
LL inode in lookup
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
What kernel version?
I would not expect the "noserverino" mount option to=
be a factor.
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
Jeff did fix one warning relating to unexpected sign=
atures in this
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
patch, see below (which I don't think is your issue =
(if the signature
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
is coming on a transact2 request).
commit 9c4843ea576107a3c1fb94f2f758f198e9fe9e54
Author: Jeff Layton
Date: Mon Jun 6 15:40:23 2011 -0400
cifs: silence printk when establishing first session=
on socket
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
When signing is enabled, the first session that's es=
tablished on a
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
CIFS VFS: Unexpected SMB signature
This is because the key exchange hasn't happened yet=
, so the signature
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
field is bogus. Don't try to check the signature on =
the socket until
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
the
first session has been established. Also, eliminate =
the specific check
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
for SMB_COM_NEGOTIATE since this check covers that c=
ase too.
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
Hi,
I have a problem with users losing their connectio=
ns from linux
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
clients with cifs
share. (Windows 2008) :CIFS VFS: Unexpected SMB signature
I am using two methods for mounting: pam_mount and=
autofs, both
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
with same results.
I am using mount options nounix,noserverino
I am lauching cifs module on boot (rc.local) with
modprobe cifs
echo 0 > /proc/fs/cifs/OplockEnabled
echo 1 > /proc/fs/cifs/MultiuserMount
echo 7 > /proc/fs/cifs/cifsFYI
in /var/log/messages
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
Dec 3 17:31:01 u1205-08l kernel: [ 3732.140040] CI=
Unexpected lookup error
-512
Dec 3 17:31:01 u1205-08l kernel: [ 3732.334939] CI=
Unexpected SMB signature
This user was working since one hour with no probl=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Dec 3 16:29:35 u1205-08l cifs.upcall: key descript=
cifs.spnego;0;0;3f000000
;ver=3D0x2;host=3Dfigue;ip4=3D130.xxx.xxx.xxx;sec=3Dkrb5;uid=3D0x10=
00005;creduid=3D0x1000005;us
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
er=3D21206xxx;pid=3D0x65f
Dec 3 16:29:35 u1205-08l cifs.upcall: ver=3D2
Dec 3 16:29:35 u1205-08l cifs.upcall: host=3Dfigue
Dec 3 16:29:35 u1205-08l cifs.upcall: ip=3D130.120=
=2E8.11
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
Dec 3 16:29:35 u1205-08l cifs.upcall: sec=3D1
Dec 3 16:29:35 u1205-08l cifs.upcall: uid=3D167772=
21
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
Dec 3 16:29:35 u1205-08l cifs.upcall: creduid=3D16=
777221
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
Dec 3 16:29:35 u1205-08l cifs.upcall: user=3D21206=
xxx
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
Dec 3 16:29:35 u1205-08l cifs.upcall: pid=3D1631
Dec 3 16:29:35 u1205-08l cifs.upcall: find_krb5_cc=
: considering
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
/tmp/krb5cc_167
77221
Dec 3 16:29:35 u1205-08l cifs.upcall: find_krb5_cc=
FILE:/tmp/krb5cc_16777221 i
s valid ccache
in dmesg
=3D=3D=3D=3D=3D=3D=3D=3D=3D
fs/cifs/inode.c: Getting info on \21206xxx\TP9
[ 3735.419612] fs/cifs/transport.c: For smb_comman=
d 50
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
[ 3735.419615] fs/cifs/transport.c: Sending smb: t=
otal_len 104
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
[ 3735.420257] fs/cifs/connect.c: RFC1002 header 0=
x23
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
[ 3735.420261] fs/cifs/connect.c: invalid transact=
2 word count
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
[ 3735.422403] fs/cifs/transport.c: cifs_sync_mid_=
result: cmd=3D50
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
mid=3D37012 state=3D4
[ 3735.422406] CIFS VFS: Unexpected SMB signature
[ 3735.422408] Status code returned 0xc0000022
NT_STATUS_ACCESS_DENIED
[ 3735.422411] fs/cifs/netmisc.c: Mapping smb erro=
r code 0xc0000022
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
to POSIX err
-13
[ 3735.422413] fs/cifs/cifssmb.c: Send error in QP=
athInfo =3D -13
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
[ 3735.422415] fs/cifs/dir.c: CIFS VFS: leaving ci=
fs_lookup (xid =3D
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
76854) rc =3D -13
[ 3735.422424] fs/cifs/dir.c: CIFS VFS: in cifs_lo=
16777221
[ 3735.422427] fs/cifs/dir.c: parent inode =3D 0xf=
TP9 and dentry =3D
0xf074e300
[ 3735.422429] fs/cifs/dir.c: NULL inode in lookup
[ 3735.422430] fs/cifs/dir.c: Full path: \21206xxx=
\TP9 inode =3D 0x
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
(null)
I don't understand what happens...
NULL inode in lookup ... What about noserverino op=
tion ?
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
Perhaps an unresponsive server... The network infr=
astructure is
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
old. Last year I
got this working very well, but the server was in a bette=
r place (switch
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
and network
infrastructure speaking)
Regards,
Thanks in advance
Serge Conrad
Une messagerie gratuite, garantie =C3=A0 vie et de=
s services en plus, =C3=A7a
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
vous tente ?
Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net
--
To unsubscribe from this list: send the line "unsu=
bscribe
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
linux-cifs" in
More majordomo info at http://vger.kernel.org/majo=
rdomo-info.html
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
--
Thanks,
Steve
--
To unsubscribe from this list: send the line "unsubs=
cribe linux-cifs"
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
in
More majordomo info at http://vger.kernel.org/majord=
omo-info.html
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
Une messagerie gratuite, garantie =C3=A0 vie et des s=
ervices en plus, =C3=A7a
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
vous tente ?
Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net
--
Thanks,
Steve
--
To unsubscribe from this list: send the line "unsubscri=
be linux-cifs" in
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
More majordomo info at http://vger.kernel.org/majordomo=
-info.html
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
Une messagerie gratuite, garantie =C3=A0 vie et des servi=
ces en plus, =C3=A7a vous
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
tente ?
Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net
Une messagerie gratuite, garantie =C3=A0 vie et des services =
en plus, =C3=A7a vous tente=20
?
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net
--
To unsubscribe from this list: send the line "unsubscribe lin=
ux-cifs" in
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
More majordomo info at http://vger.kernel.org/majordomo-info.=
html
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
=C2=A0
--
To unsubscribe from this list: send the line "unsubscribe linux=
-cifs" in
Post by sergio.conrad-QFKgK+
Post by sergio.conrad-QFKgK+
More majordomo info at http://vger.kernel.org/majordomo-info.ht=
ml
Post by sergio.conrad-QFKgK+
--
Jeff Layton
--
To unsubscribe from this list: send the line "unsubscribe linux-c=
ifs" in
Post by sergio.conrad-QFKgK+
More majordomo info at http://vger.kernel.org/majordomo-info.html
=C2=A0
=C2=A0
=C2=A0
--
To unsubscribe from this list: send the line "unsubscribe linux-cif=
s" in
Post by sergio.conrad-QFKgK+
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Jeff Layton
Steve French
2013-11-20 15:42:19 UTC
Permalink
---------- Forwarded message ----------
=46rom: Steve French <smfrench-***@public.gmane.org>
Date: Wed, Nov 20, 2013 at 9:01 AM
Subject: Re: Re: Tr:Re: CIFS VFS: Unexpected SMB signature ...NULL
inode in lookup
To: "sergio.conrad" <sergio.conrad-QFKgK+***@public.gmane.org>


Looks like 3.10 kernels and later have this. Not sure if others have
backported it earlier.
Post by sergio.conrad-QFKgK+
Thanks for your response .
I did my tests with a Centos 2.6.32-358.23.2.el6.i686 up to date, it=
don't seems to
Post by sergio.conrad-QFKgK+
backport the update.
Could the latest kernel from a Fedora incorporate the update ? it see=
ms to be 3.11.x
Post by sergio.conrad-QFKgK+
I will check either if Scientific Linux do this. How could I know be=
fore installing ?
Post by sergio.conrad-QFKgK+
Thanks
Serge
Message du 20/11/13 15:17
A : "Jeff Layton"
Objet : Re: Tr:Re: CIFS VFS: Unexpected SMB signature ...NULL inode =
in lookup
Post by sergio.conrad-QFKgK+
Message du 20/11/13 12:33
De : "Jeff Layton"
Copie =E0 : "linux-cifs vger kernel org"
Objet : Re: Tr:Re: CIFS VFS: Unexpected SMB signature ...NULL inode =
in lookup
Post by sergio.conrad-QFKgK+
On Wed, 20 Nov 2013 12:22:08 +0100
for num in $(seq 1 200)
do
dd if=3D/dev/zero of=3Dcifsmount/file${num} bs=3D1024 count=3D1000
done
Execute the script, and send control-C several time when running
50 % chance i got unexpected SMB signature
any idea ?
You need a more recent kernel, or a backport of commit
ad313cb86dfba27f8f2306da304974ef17c91c56.
Message du 20/11/13 08:48
Objet : Re: CIFS VFS: Unexpected SMB signature ...NULL inode in =
lookup
Post by sergio.conrad-QFKgK+
Hello
I have open a bug quite a while ago https://bugzilla.samba.org/s=
how_bug.cgi?id=3D9477
Post by sergio.conrad-QFKgK+
and
don't have any news.
I am using sec=3Dkrb5i, but have the same problem with ntlmv2...
The problem is the same with a centos 6 computer.
Perhaps the problem is in the Windows Server ...
Do I have to change AllowLegacySrvCall as described in
http://support.microsoft.com/kb/957441 ?
Perhaps I have to put a more recent driver in my server: It is a=
Dell T610 server
Post by sergio.conrad-QFKgK+
with a NetExtreme II gigabitE (version 5.2.14 17/12/2009) ?
Please help , as the problems continue ...
Thanks
Serge Conrad
Hello ...
in the messages, you could see an SMB unexpected signature (21 J=
an 16:13:16)
Post by sergio.conrad-QFKgK+
In the dump file , the trame no 470 is at the same time (16:13:1=
6)
Post by sergio.conrad-QFKgK+
The environnement is the same as described in
https://bugzilla.samba.org/show_bug.cgi?
id=3D9477
Regards,
Serge
Message du 25/01/13 16:15
De : "Steve French"
A : "sergio. conrad"
Objet : Re: CIFS VFS: Unexpected SMB signature ...NULL inode i=
n lookup
Post by sergio.conrad-QFKgK+
You could send the trace to me directly
Hello
I do have a network trace for
https://bugzilla.samba.org/show_bug.cgi?id=3D9477
But there is the public adress ip of the server in the trace=
=2E I don't know
Post by sergio.conrad-QFKgK+
how to hide
this. Could I send the trace to you, or must I find a way to=
hide the
Post by sergio.conrad-QFKgK+
trace ?
Thanks
Serge
Message du 05/12/12 16:18
De : "Steve French"
A : "sergio.conrad"
Objet : Re: CIFS VFS: Unexpected SMB signature ...NULL ino=
de in lookup
Post by sergio.conrad-QFKgK+
Could you open a bugzilla bug at bugzilla.samba.org and if=
possible
Post by sergio.conrad-QFKgK+
attach a network trace around the time that this is trigge=
red (if it
Post by sergio.conrad-QFKgK+
is trivial to reproduce)
https://wiki.samba.org/index.php/Capture_Packets
Hello,
The log are from 2.6.43.8-1.fc15.x86_64.
I see also the error CIFS VFS: Unexpected SMB signature =
with the same
Post by sergio.conrad-QFKgK+
environnement
on a 3.6.6-1.fc16.x86_64
Thanks,
Serge
Message du 04/12/12 20:06
De : "Steve French"
A : "sergio.conrad"
Objet : Re: CIFS VFS: Unexpected SMB signature ...NULL =
inode in lookup
Post by sergio.conrad-QFKgK+
What kernel version?
I would not expect the "noserverino" mount option to be=
a factor.
Post by sergio.conrad-QFKgK+
Jeff did fix one warning relating to unexpected signatu=
res in this
Post by sergio.conrad-QFKgK+
patch, see below (which I don't think is your issue (if=
the signature
Post by sergio.conrad-QFKgK+
is coming on a transact2 request).
commit 9c4843ea576107a3c1fb94f2f758f198e9fe9e54
Author: Jeff Layton
Date: Mon Jun 6 15:40:23 2011 -0400
cifs: silence printk when establishing first session on=
socket
Post by sergio.conrad-QFKgK+
When signing is enabled, the first session that's estab=
lished on a
Post by sergio.conrad-QFKgK+
CIFS VFS: Unexpected SMB signature
This is because the key exchange hasn't happened yet, s=
o the signature
Post by sergio.conrad-QFKgK+
field is bogus. Don't try to check the signature on the=
socket until
Post by sergio.conrad-QFKgK+
the
first session has been established. Also, eliminate the=
specific check
Post by sergio.conrad-QFKgK+
for SMB_COM_NEGOTIATE since this check covers that case=
too.
Post by sergio.conrad-QFKgK+
Hi,
I have a problem with users losing their connections =
from linux
Post by sergio.conrad-QFKgK+
clients with cifs
share. (Windows 2008) :CIFS VFS: Unexpected SMB signature
I am using two methods for mounting: pam_mount and au=
tofs, both
Post by sergio.conrad-QFKgK+
with same results.
I am using mount options nounix,noserverino
I am lauching cifs module on boot (rc.local) with
modprobe cifs
echo 0 > /proc/fs/cifs/OplockEnabled
echo 1 > /proc/fs/cifs/MultiuserMount
echo 7 > /proc/fs/cifs/cifsFYI
in /var/log/messages
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
Post by sergio.conrad-QFKgK+
Dec 3 17:31:01 u1205-08l kernel: [ 3732.140040] CIFS =
Unexpected lookup error
-512
Dec 3 17:31:01 u1205-08l kernel: [ 3732.334939] CIFS =
Unexpected SMB signature
This user was working since one hour with no problem =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Dec 3 16:29:35 u1205-08l cifs.upcall: key description=
cifs.spnego;0;0;3f000000
;ver=3D0x2;host=3Dfigue;ip4=3D130.xxx.xxx.xxx;sec=3Dkrb5;uid=3D0x1000=
005;creduid=3D0x1000005;us
Post by sergio.conrad-QFKgK+
er=3D21206xxx;pid=3D0x65f
Dec 3 16:29:35 u1205-08l cifs.upcall: ver=3D2
Dec 3 16:29:35 u1205-08l cifs.upcall: host=3Dfigue
Dec 3 16:29:35 u1205-08l cifs.upcall: ip=3D130.120.8.=
11
Post by sergio.conrad-QFKgK+
Dec 3 16:29:35 u1205-08l cifs.upcall: sec=3D1
Dec 3 16:29:35 u1205-08l cifs.upcall: uid=3D16777221
Dec 3 16:29:35 u1205-08l cifs.upcall: creduid=3D16777=
221
Post by sergio.conrad-QFKgK+
Dec 3 16:29:35 u1205-08l cifs.upcall: user=3D21206xxx
Dec 3 16:29:35 u1205-08l cifs.upcall: pid=3D1631
Dec 3 16:29:35 u1205-08l cifs.upcall: find_krb5_cc: c=
onsidering
Post by sergio.conrad-QFKgK+
/tmp/krb5cc_167
77221
FILE:/tmp/krb5cc_16777221 i
s valid ccache
in dmesg
=3D=3D=3D=3D=3D=3D=3D=3D=3D
fs/cifs/inode.c: Getting info on \21206xxx\TP9
[ 3735.419612] fs/cifs/transport.c: For smb_command 5=
0
Post by sergio.conrad-QFKgK+
[ 3735.419615] fs/cifs/transport.c: Sending smb: tota=
l_len 104
Post by sergio.conrad-QFKgK+
[ 3735.420257] fs/cifs/connect.c: RFC1002 header 0x23
[ 3735.420261] fs/cifs/connect.c: invalid transact2 w=
ord count
Post by sergio.conrad-QFKgK+
[ 3735.422403] fs/cifs/transport.c: cifs_sync_mid_res=
ult: cmd=3D50
Post by sergio.conrad-QFKgK+
mid=3D37012 state=3D4
[ 3735.422406] CIFS VFS: Unexpected SMB signature
[ 3735.422408] Status code returned 0xc0000022
NT_STATUS_ACCESS_DENIED
[ 3735.422411] fs/cifs/netmisc.c: Mapping smb error c=
ode 0xc0000022
Post by sergio.conrad-QFKgK+
to POSIX err
-13
[ 3735.422413] fs/cifs/cifssmb.c: Send error in QPath=
Info =3D -13
Post by sergio.conrad-QFKgK+
[ 3735.422415] fs/cifs/dir.c: CIFS VFS: leaving cifs_=
lookup (xid =3D
Post by sergio.conrad-QFKgK+
76854) rc =3D -13
[ 3735.422424] fs/cifs/dir.c: CIFS VFS: in cifs_looku=
16777221
[ 3735.422427] fs/cifs/dir.c: parent inode =3D 0xf144=
TP9 and dentry =3D
0xf074e300
[ 3735.422429] fs/cifs/dir.c: NULL inode in lookup
[ 3735.422430] fs/cifs/dir.c: Full path: \21206xxx\TP=
9 inode =3D 0x
Post by sergio.conrad-QFKgK+
(null)
I don't understand what happens...
NULL inode in lookup ... What about noserverino optio=
n ?
Post by sergio.conrad-QFKgK+
Perhaps an unresponsive server... The network infrast=
ructure is
Post by sergio.conrad-QFKgK+
old. Last year I
got this working very well, but the server was in a better p=
lace (switch
Post by sergio.conrad-QFKgK+
and network
infrastructure speaking)
Regards,
Thanks in advance
Serge Conrad
Une messagerie gratuite, garantie =E0 vie et des serv=
ices en plus, =E7a
Post by sergio.conrad-QFKgK+
vous tente ?
Je cr=E9e ma bo=EEte mail www.laposte.net
--
To unsubscribe from this list: send the line "unsubsc=
ribe
Post by sergio.conrad-QFKgK+
linux-cifs" in
More majordomo info at http://vger.kernel.org/majordo=
mo-info.html
Post by sergio.conrad-QFKgK+
--
Thanks,
Steve
--
To unsubscribe from this list: send the line "unsubscri=
be linux-cifs"
Post by sergio.conrad-QFKgK+
in
More majordomo info at http://vger.kernel.org/majordomo=
-info.html
Post by sergio.conrad-QFKgK+
Une messagerie gratuite, garantie =E0 vie et des service=
s en plus, =E7a
Post by sergio.conrad-QFKgK+
vous tente ?
Je cr=E9e ma bo=EEte mail www.laposte.net
--
Thanks,
Steve
--
To unsubscribe from this list: send the line "unsubscribe =
linux-cifs" in
Post by sergio.conrad-QFKgK+
More majordomo info at http://vger.kernel.org/majordomo-in=
fo.html
Post by sergio.conrad-QFKgK+
Une messagerie gratuite, garantie =E0 vie et des services en=
plus, =E7a vous
Post by sergio.conrad-QFKgK+
tente ?
Je cr=E9e ma bo=EEte mail www.laposte.net
Une messagerie gratuite, garantie =E0 vie et des services en plu=
s, =E7a vous tente ?
Post by sergio.conrad-QFKgK+
Je cr=E9e ma bo=EEte mail www.laposte.net
--
To unsubscribe from this list: send the line "unsubscribe linux-=
cifs" in
Post by sergio.conrad-QFKgK+
More majordomo info at http://vger.kernel.org/majordomo-info.htm=
l
Post by sergio.conrad-QFKgK+
--
To unsubscribe from this list: send the line "unsubscribe linux-ci=
fs" in
Post by sergio.conrad-QFKgK+
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Jeff Layton
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs=
" in
Post by sergio.conrad-QFKgK+
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"=
in
Post by sergio.conrad-QFKgK+
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Thanks,

Steve


--=20
Thanks,

Steve
sergio.conrad-QFKgK+
2013-11-21 21:11:01 UTC
Permalink
Thanks, I have upgraded some workstations to Fedora 16 kernel 3.11. I w=
ill check if it=20
solve the issue.
Message du 20/11/13 16:42
De : "Steve French"
Objet : Fwd: Re: Tr:Re: CIFS VFS: Unexpected SMB signature ...NULL in=
ode in lookup
---------- Forwarded message ----------
From: Steve French
Date: Wed, Nov 20, 2013 at 9:01 AM
Subject: Re: Re: Tr:Re: CIFS VFS: Unexpected SMB signature ...NULL
inode in lookup
To: "sergio.conrad"
Looks like 3.10 kernels and later have this. Not sure if others have
backported it earlier.
Post by sergio.conrad-QFKgK+
Thanks for your response .
I did my tests with a Centos 2.6.32-358.23.2.el6.i686 up to date, i=
t don't seems to
Post by sergio.conrad-QFKgK+
backport the update.
Could the latest kernel from a Fedora incorporate the update ? it s=
eems to be 3.11.x
Post by sergio.conrad-QFKgK+
I will check either if Scientific Linux do this. How could I know b=
efore installing ?
Post by sergio.conrad-QFKgK+
Thanks
Serge
Message du 20/11/13 15:17
A : "Jeff Layton"
Objet : Re: Tr:Re: CIFS VFS: Unexpected SMB signature ...NULL inod=
e in lookup
Post by sergio.conrad-QFKgK+
Message du 20/11/13 12:33
De : "Jeff Layton"
Copie =C3=A0 : "linux-cifs vger kernel org"
Objet : Re: Tr:Re: CIFS VFS: Unexpected SMB signature ...NULL inod=
e in lookup
Post by sergio.conrad-QFKgK+
On Wed, 20 Nov 2013 12:22:08 +0100
for num in $(seq 1 200)
do
dd if=3D/dev/zero of=3Dcifsmount/file${num} bs=3D1024 count=3D10=
00
Post by sergio.conrad-QFKgK+
done
Execute the script, and send control-C several time when running
50 % chance i got unexpected SMB signature
any idea ?
You need a more recent kernel, or a backport of commit
ad313cb86dfba27f8f2306da304974ef17c91c56.
Message du 20/11/13 08:48
Objet : Re: CIFS VFS: Unexpected SMB signature ...NULL inode i=
n lookup
Post by sergio.conrad-QFKgK+
Hello
I have open a bug quite a while ago https://bugzilla.samba.org=
/show_bug.cgi?
id=3D9477
Post by sergio.conrad-QFKgK+
and
don't have any news.
I am using sec=3Dkrb5i, but have the same problem with ntlmv2.=
=2E.
Post by sergio.conrad-QFKgK+
The problem is the same with a centos 6 computer.
Perhaps the problem is in the Windows Server ...
Do I have to change AllowLegacySrvCall as described in
http://support.microsoft.com/kb/957441 ?
Perhaps I have to put a more recent driver in my server: It is=
a Dell T610=20
server
Post by sergio.conrad-QFKgK+
with a NetExtreme II gigabitE (version 5.2.14 17/12/2009) ?
Please help , as the problems continue ...
Thanks
Serge Conrad
Hello ...
in the messages, you could see an SMB unexpected signature (21=
Jan 16:13:16)
Post by sergio.conrad-QFKgK+
In the dump file , the trame no 470 is at the same time (16:13=
:16)
Post by sergio.conrad-QFKgK+
The environnement is the same as described in
https://bugzilla.samba.org/show_bug.cgi?
id=3D9477
Regards,
Serge
Message du 25/01/13 16:15
De : "Steve French"
A : "sergio. conrad"
Objet : Re: CIFS VFS: Unexpected SMB signature ...NULL inode=
in lookup
Post by sergio.conrad-QFKgK+
You could send the trace to me directly
Hello
I do have a network trace for
https://bugzilla.samba.org/show_bug.cgi?id=3D9477
But there is the public adress ip of the server in the tra=
ce. I don't know
Post by sergio.conrad-QFKgK+
how to hide
this. Could I send the trace to you, or must I find a way =
to hide the
Post by sergio.conrad-QFKgK+
trace ?
Thanks
Serge
Message du 05/12/12 16:18
De : "Steve French"
A : "sergio.conrad"
Objet : Re: CIFS VFS: Unexpected SMB signature ...NULL i=
node in lookup
Post by sergio.conrad-QFKgK+
Could you open a bugzilla bug at bugzilla.samba.org and =
if possible
Post by sergio.conrad-QFKgK+
attach a network trace around the time that this is trig=
gered (if it
Post by sergio.conrad-QFKgK+
is trivial to reproduce)
https://wiki.samba.org/index.php/Capture_Packets
Hello,
The log are from 2.6.43.8-1.fc15.x86_64.
I see also the error CIFS VFS: Unexpected SMB signatur=
e with the same
Post by sergio.conrad-QFKgK+
environnement
on a 3.6.6-1.fc16.x86_64
Thanks,
Serge
Message du 04/12/12 20:06
De : "Steve French"
A : "sergio.conrad"
Objet : Re: CIFS VFS: Unexpected SMB signature ...NUL=
L inode in lookup
Post by sergio.conrad-QFKgK+
What kernel version?
I would not expect the "noserverino" mount option to =
be a factor.
Post by sergio.conrad-QFKgK+
Jeff did fix one warning relating to unexpected signa=
tures in this
Post by sergio.conrad-QFKgK+
patch, see below (which I don't think is your issue (=
if the signature
Post by sergio.conrad-QFKgK+
is coming on a transact2 request).
commit 9c4843ea576107a3c1fb94f2f758f198e9fe9e54
Author: Jeff Layton
Date: Mon Jun 6 15:40:23 2011 -0400
cifs: silence printk when establishing first session =
on socket
Post by sergio.conrad-QFKgK+
When signing is enabled, the first session that's est=
ablished on a
Post by sergio.conrad-QFKgK+
CIFS VFS: Unexpected SMB signature
This is because the key exchange hasn't happened yet,=
so the signature
Post by sergio.conrad-QFKgK+
field is bogus. Don't try to check the signature on t=
he socket until
Post by sergio.conrad-QFKgK+
the
first session has been established. Also, eliminate t=
he specific check
Post by sergio.conrad-QFKgK+
for SMB_COM_NEGOTIATE since this check covers that ca=
se too.
Post by sergio.conrad-QFKgK+
Hi,
I have a problem with users losing their connection=
s from linux
Post by sergio.conrad-QFKgK+
clients with cifs
share. (Windows 2008) :CIFS VFS: Unexpected SMB signature
I am using two methods for mounting: pam_mount and =
autofs, both
Post by sergio.conrad-QFKgK+
with same results.
I am using mount options nounix,noserverino
I am lauching cifs module on boot (rc.local) with
modprobe cifs
echo 0 > /proc/fs/cifs/OplockEnabled
echo 1 > /proc/fs/cifs/MultiuserMount
echo 7 > /proc/fs/cifs/cifsFYI
in /var/log/messages
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
Post by sergio.conrad-QFKgK+
Dec 3 17:31:01 u1205-08l kernel: [ 3732.140040] CIF=
Unexpected lookup error
-512
Dec 3 17:31:01 u1205-08l kernel: [ 3732.334939] CIF=
Unexpected SMB signature
This user was working since one hour with no proble=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Dec 3 16:29:35 u1205-08l cifs.upcall: key descripti=
cifs.spnego;0;0;3f000000
;ver=3D0x2;host=3Dfigue;ip4=3D130.xxx.xxx.xxx;sec=3Dkrb5;uid=3D0x10=
00005;creduid=3D0x1000005;us
Post by sergio.conrad-QFKgK+
er=3D21206xxx;pid=3D0x65f
Dec 3 16:29:35 u1205-08l cifs.upcall: ver=3D2
Dec 3 16:29:35 u1205-08l cifs.upcall: host=3Dfigue
Dec 3 16:29:35 u1205-08l cifs.upcall: ip=3D130.120.=
8.11
Post by sergio.conrad-QFKgK+
Dec 3 16:29:35 u1205-08l cifs.upcall: sec=3D1
Dec 3 16:29:35 u1205-08l cifs.upcall: uid=3D1677722=
1
Post by sergio.conrad-QFKgK+
Dec 3 16:29:35 u1205-08l cifs.upcall: creduid=3D167=
77221
Post by sergio.conrad-QFKgK+
Dec 3 16:29:35 u1205-08l cifs.upcall: user=3D21206x=
xx
Post by sergio.conrad-QFKgK+
Dec 3 16:29:35 u1205-08l cifs.upcall: pid=3D1631
Dec 3 16:29:35 u1205-08l cifs.upcall: find_krb5_cc:=
considering
Post by sergio.conrad-QFKgK+
/tmp/krb5cc_167
77221
FILE:/tmp/krb5cc_16777221 i
s valid ccache
in dmesg
=3D=3D=3D=3D=3D=3D=3D=3D=3D
fs/cifs/inode.c: Getting info on \21206xxx\TP9
[ 3735.419612] fs/cifs/transport.c: For smb_command=
50
Post by sergio.conrad-QFKgK+
[ 3735.419615] fs/cifs/transport.c: Sending smb: to=
tal_len 104
Post by sergio.conrad-QFKgK+
[ 3735.420257] fs/cifs/connect.c: RFC1002 header 0x=
23
Post by sergio.conrad-QFKgK+
[ 3735.420261] fs/cifs/connect.c: invalid transact2=
word count
Post by sergio.conrad-QFKgK+
[ 3735.422403] fs/cifs/transport.c: cifs_sync_mid_r=
esult: cmd=3D50
Post by sergio.conrad-QFKgK+
mid=3D37012 state=3D4
[ 3735.422406] CIFS VFS: Unexpected SMB signature
[ 3735.422408] Status code returned 0xc0000022
NT_STATUS_ACCESS_DENIED
[ 3735.422411] fs/cifs/netmisc.c: Mapping smb error=
code 0xc0000022
Post by sergio.conrad-QFKgK+
to POSIX err
-13
[ 3735.422413] fs/cifs/cifssmb.c: Send error in QPa=
thInfo =3D -13
Post by sergio.conrad-QFKgK+
[ 3735.422415] fs/cifs/dir.c: CIFS VFS: leaving cif=
s_lookup (xid =3D
Post by sergio.conrad-QFKgK+
76854) rc =3D -13
[ 3735.422424] fs/cifs/dir.c: CIFS VFS: in cifs_loo=
16777221
[ 3735.422427] fs/cifs/dir.c: parent inode =3D 0xf1=
TP9 and dentry =3D
0xf074e300
[ 3735.422429] fs/cifs/dir.c: NULL inode in lookup
[ 3735.422430] fs/cifs/dir.c: Full path: \21206xxx\=
TP9 inode =3D 0x
Post by sergio.conrad-QFKgK+
(null)
I don't understand what happens...
NULL inode in lookup ... What about noserverino opt=
ion ?
Post by sergio.conrad-QFKgK+
Perhaps an unresponsive server... The network infra=
structure is
Post by sergio.conrad-QFKgK+
old. Last year I
got this working very well, but the server was in a better=
place (switch
Post by sergio.conrad-QFKgK+
and network
infrastructure speaking)
Regards,
Thanks in advance
Serge Conrad
Une messagerie gratuite, garantie =C3=A0 vie et des=
services en plus, =C3=A7a
Post by sergio.conrad-QFKgK+
vous tente ?
Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net
--
To unsubscribe from this list: send the line "unsub=
scribe
Post by sergio.conrad-QFKgK+
linux-cifs" in
More majordomo info at http://vger.kernel.org/major=
domo-info.html
Post by sergio.conrad-QFKgK+
--
Thanks,
Steve
--
To unsubscribe from this list: send the line "unsubsc=
ribe linux-cifs"
Post by sergio.conrad-QFKgK+
in
More majordomo info at http://vger.kernel.org/majordo=
mo-info.html
Post by sergio.conrad-QFKgK+
Une messagerie gratuite, garantie =C3=A0 vie et des se=
rvices en plus, =C3=A7a
Post by sergio.conrad-QFKgK+
vous tente ?
Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net
--
Thanks,
Steve
--
To unsubscribe from this list: send the line "unsubscrib=
e linux-cifs" in
Post by sergio.conrad-QFKgK+
More majordomo info at http://vger.kernel.org/majordomo-=
info.html
Post by sergio.conrad-QFKgK+
Une messagerie gratuite, garantie =C3=A0 vie et des servic=
es en plus, =C3=A7a vous
Post by sergio.conrad-QFKgK+
tente ?
Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net
Une messagerie gratuite, garantie =C3=A0 vie et des services e=
n plus, =C3=A7a vous tente ?
Post by sergio.conrad-QFKgK+
Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net
--
To unsubscribe from this list: send the line "unsubscribe linu=
x-cifs" in
Post by sergio.conrad-QFKgK+
More majordomo info at http://vger.kernel.org/majordomo-info.h=
tml
Post by sergio.conrad-QFKgK+
--
To unsubscribe from this list: send the line "unsubscribe linux-=
cifs" in
Post by sergio.conrad-QFKgK+
More majordomo info at http://vger.kernel.org/majordomo-info.htm=
l
Post by sergio.conrad-QFKgK+
--
Jeff Layton
--
To unsubscribe from this list: send the line "unsubscribe linux-ci=
fs" in
Post by sergio.conrad-QFKgK+
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-cif=
s" in
Post by sergio.conrad-QFKgK+
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Thanks,
Steve
--
Thanks,
Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs"=
in
More majordomo info at http://vger.kernel.org/majordomo-info.html
Loading...