linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* CIFS Unmount Issue
@ 2012-02-03 23:47 Mark Moseley
       [not found] ` <CAOH1cH=WsgDhwz1Dp5UsU3KV5Ocb3My9W3yjfEXiftHhHQ36ig-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Moseley @ 2012-02-03 23:47 UTC (permalink / raw)
  To: linux-fsdevel

I've got a slew of Netapp Filers talking CIFS to some Debian Squeeze
64-bit boxes. I've noticed that in the kernel switch from 3.1 to 3.2,
the clients are no longer able to unmount a CIFS volume from an older
Filer. The Netapp versions in question are 7.2.7 and 7.0.6. I can
unmount on a 3.2.x kernel from a 7.2.7 Filer just fine. With a 7.0.6
Filer, I get the following error printed to /proc/kmsg:

<3>[  277.363460] CIFS VFS: RFC1001 size 35 smaller than SMB for mid=12
<7>[  277.363466] Bad SMB: : dump of 39 bytes of data at 0xffff880213e7e000
<7>[  277.363472]  23000000 424d53ff 00000074 00018800 . . . # � S M B
t . . . . . . .
<7>[  277.363478]  00000000 00000000 00000000 0e1000................<>
27338] 0c0000f0

but the umount call never returns, which makes reboots fun. I've
replicated this on 3.2.1 and 3.2.2. I've seen it print the same "Bad
SMB..." message as pasted above with 3.1.10 but the umount call
returns successfully. And unmounting from the 7.2.7 Filers does not
cause a "Bad SMB" message to get logged to /proc/kmsg.

The client is still responsive, and I can run whatever would helpful
to debug this. If I'm doing the unmount on the CLI, it hangs on the
'umount' syscall. If I kill the umount command, the mount is gone. As
far as I can see, the unmount is succeeding, but for whatever reason,
the umount system call isn't ever returning. Looking at a network
dump, the last client call is for a logoff, which seems to succeed.

There are no oops's or tracebacks logged.

I can post my whole .config if it's helpful, though for brevity sake,
here's the CIFS section:

CONFIG_CIFS=m
CONFIG_CIFS_STATS=y
# CONFIG_CIFS_STATS2 is not set
CONFIG_CIFS_WEAK_PW_HASH=y
CONFIG_CIFS_UPCALL=y
CONFIG_CIFS_XATTR=y
CONFIG_CIFS_POSIX=y
# CONFIG_CIFS_DEBUG2 is not set
CONFIG_CIFS_DFS_UPCALL=y
# CONFIG_CIFS_FSCACHE is not set
# CONFIG_CIFS_ACL is not set

Let me know what I can post to be of help here, or if I should repost
to LKML, or if I should just dust off git bisect. Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2012-02-07  1:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-03 23:47 CIFS Unmount Issue Mark Moseley
     [not found] ` <CAOH1cH=WsgDhwz1Dp5UsU3KV5Ocb3My9W3yjfEXiftHhHQ36ig-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-02-05 12:32   ` Jeff Layton
2012-02-05 21:10     ` Jeff Layton
2012-02-07  1:02       ` Mark Moseley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).