Discussion:
Tr:Re: CIFS VFS: Unexpected SMB signature ...NULL inode in lookup
sergio.conrad-QFKgK+
2013-11-20 11:22:08 UTC
Permalink
I can reproduce the error with this procedure :
=C2=A0

a script:

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 ?


=C2=A0
Message du 20/11/13 08:48
Objet : Re: CIFS VFS: Unexpected SMB signature ...NULL inode in looku=
p
Hello
I have open a bug quite a while ago https://bugzilla.samba.org/show_b=
ug.cgi?id=3D9477 and=20
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=20
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 Jan 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 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 loo=
kup
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 d=
on'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 inode in=
lookup
Could you open a bugzilla bug at bugzilla.samba.org and if poss=
ible
attach a network trace around the time that this is triggered (=
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 with =
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 inode=
in lookup
What kernel version?
I would not expect the "noserverino" mount option to be a fa=
ctor.
Jeff did fix one warning relating to unexpected signatures i=
n 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 sock=
et
When signing is enabled, the first session that's establishe=
d 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 sock=
et until
the
first session has been established. Also, eliminate the spec=
ific check
for SMB_COM_NEGOTIATE since this check covers that case too.
Hi,
I have a problem with users losing their connections from =
linux
clients with cifs
share. (Windows 2008) :CIFS VFS: Unexpected SMB signature
I am using two methods for mounting: pam_mount and autofs,=
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
Unexpected lookup error
-512
Unexpected SMB signature
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
cifs.spnego;0;0;3f000000
;ver=3D0x2;host=3Dfigue;ip4=3D130.xxx.xxx.xxx;sec=3Dkrb5;uid=3D0x=
1000005;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.11
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=3D16777221
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: consid=
ering
/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 word c=
ount
[ 3735.422403] fs/cifs/transport.c: cifs_sync_mid_result: =
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 code 0=
xc0000022
to POSIX err
-13
[ 3735.422413] fs/cifs/cifssmb.c: Send error in QPathInfo =
=3D -13
[ 3735.422415] fs/cifs/dir.c: CIFS VFS: leaving cifs_looku=
p (xid =3D
76854) rc =3D -13
[ 3735.422424] fs/cifs/dir.c: CIFS VFS: in cifs_lookup as =
16777221
[ 3735.422427] fs/cifs/dir.c: parent inode =3D 0xf14481f0 =
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 ino=
de =3D 0x
(null)
I don't understand what happens...
NULL inode in lookup ... What about noserverino option ?
Perhaps an unresponsive server... The network infrastructu=
re is
old. Last year I
got this working very well, but the server was in a better place =
(switch
and network
infrastructure speaking)
Regards,
Thanks in advance
Serge Conrad
Une messagerie gratuite, garantie =C3=A0 vie et des servic=
es 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 "unsubscribe
linux-cifs" in
More majordomo info at http://vger.kernel.org/majordomo-in=
fo.html
--
Thanks,
Steve
--
To unsubscribe from this list: send the line "unsubscribe li=
nux-cifs"
in
More majordomo info at http://vger.kernel.org/majordomo-info=
=2Ehtml
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
--
Thanks,
Steve
--
To unsubscribe from this list: send the line "unsubscribe linux=
-cifs" in
More majordomo info at http://vger.kernel.org/majordomo-info.ht=
ml
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
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
--
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
Jeff Layton
2013-11-20 11:33:01 UTC
Permalink
On Wed, 20 Nov 2013 12:22:08 +0100
Post by sergio.conrad-QFKgK+
=20
=A0
=20
=20
for num in $(seq 1 200)
do=A0
dd if=3D/dev/zero of=3Dcifsmount/file${num} bs=3D1024 count=3D1000
done
=20
=A0
=20
Execute the script, and send control-C several time when running
=20
50 % chance i got unexpected SMB signature
=20
=A0any idea ?
=20
=20
You need a more recent kernel, or a backport of commit
ad313cb86dfba27f8f2306da304974ef17c91c56.
Post by sergio.conrad-QFKgK+
=A0
Message du 20/11/13 08:48
Objet : Re: CIFS VFS: Unexpected SMB signature ...NULL inode in loo=
kup
Post by sergio.conrad-QFKgK+
Hello
I have open a bug quite a while ago https://bugzilla.samba.org/show=
_bug.cgi?id=3D9477 and=20
Post by sergio.conrad-QFKgK+
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=20
http://support.microsoft.com/kb/957441 ?
Perhaps I have to put a more recent driver in my server: It is a De=
ll 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 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)
The environnement is the same as described in https://bugzilla.samb=
a.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 l=
ookup
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. 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 hi=
de 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 inode =
in lookup
Post by sergio.conrad-QFKgK+
Could you open a bugzilla bug at bugzilla.samba.org and if po=
ssible
Post by sergio.conrad-QFKgK+
attach a network trace around the time that this is triggered=
(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 wit=
h 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 ino=
de 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 signatures=
in this
Post by sergio.conrad-QFKgK+
patch, see below (which I don't think is your issue (if th=
e 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 so=
cket
Post by sergio.conrad-QFKgK+
When signing is enabled, the first session that's establis=
hed on a
Post by sergio.conrad-QFKgK+
CIFS VFS: Unexpected SMB signature
This is because the key exchange hasn't happened yet, so t=
he signature
Post by sergio.conrad-QFKgK+
field is bogus. Don't try to check the signature on the so=
cket until
Post by sergio.conrad-QFKgK+
the
first session has been established. Also, eliminate the sp=
ecific check
Post by sergio.conrad-QFKgK+
for SMB_COM_NEGOTIATE since this check covers that case to=
o.
Post by sergio.conrad-QFKgK+
Hi,
I have a problem with users losing their connections fro=
m 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 autof=
s, 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 VFS=
Unexpected lookup error
-512
Dec 3 17:31:01 u1205-08l kernel: [ 3732.334939] CIFS VFS=
Unexpected SMB signature
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
cifs.spnego;0;0;3f000000
;ver=3D0x2;host=3Dfigue;ip4=3D130.xxx.xxx.xxx;sec=3Dkrb5;uid=3D=
0x1000005;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
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=3D16777221
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: cons=
idering
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
[ 3735.419615] fs/cifs/transport.c: Sending smb: total_l=
en 104
Post by sergio.conrad-QFKgK+
[ 3735.420257] fs/cifs/connect.c: RFC1002 header 0x23
[ 3735.420261] fs/cifs/connect.c: invalid transact2 word=
count
Post by sergio.conrad-QFKgK+
[ 3735.422403] fs/cifs/transport.c: cifs_sync_mid_result=
: 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 QPathInf=
o =3D -13
Post by sergio.conrad-QFKgK+
[ 3735.422415] fs/cifs/dir.c: CIFS VFS: leaving cifs_loo=
kup (xid =3D
Post by sergio.conrad-QFKgK+
76854) rc =3D -13
[ 3735.422424] fs/cifs/dir.c: CIFS VFS: in cifs_lookup a=
16777221
[ 3735.422427] fs/cifs/dir.c: parent inode =3D 0xf14481f=
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 i=
node =3D 0x
Post by sergio.conrad-QFKgK+
(null)
I don't understand what happens...
NULL inode in lookup ... What about noserverino option ?
Perhaps an unresponsive server... The network infrastruc=
ture is
Post by sergio.conrad-QFKgK+
old. Last year I
got this working very well, but the server was in a better plac=
e (switch
Post by sergio.conrad-QFKgK+
and network
infrastructure speaking)
Regards,
Thanks in advance
Serge Conrad
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
--
To unsubscribe from this list: send the line "unsubscrib=
e
Post by sergio.conrad-QFKgK+
linux-cifs" in
More majordomo info at http://vger.kernel.org/majordomo-=
info.html
Post by sergio.conrad-QFKgK+
--
Thanks,
Steve
--
To unsubscribe from this list: send the line "unsubscribe =
linux-cifs"
Post by sergio.conrad-QFKgK+
in
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 e=
n 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 lin=
ux-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 =E0 vie et des services en pl=
us, =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 plus, =
=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-cif=
s" in
Post by sergio.conrad-QFKgK+
More majordomo info at http://vger.kernel.org/majordomo-info.html
=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>

Loading...