[linux-cifs-client] CIFS mount broken on 2.6.25

Jeff Layton jlayton at redhat.com
Tue May 6 11:06:22 GMT 2008


On Tue, 6 May 2008 12:25:09 +0200
mkoegler at auto.tuwien.ac.at (Martin Koegler) wrote:

> I upgraded a system from a vanilla 2.6.24 to a vanilla 2.6.25 and mounting CIFS
> filesystems is not working any more:
> 
> | $mount -t cifs -o username=XXXXX //XXXXXX.tuwien.ac.at/XXXXX /mnt
> | Password:
> | mount error 20 = Not a directory
> | Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
> 
> Error message in the syslog:
> May  6 11:49:41 localhost kernel:  CIFS VFS: cifs_mount failed w/return code = -6
> 
> Using the IP address instead of the DNS name does not change anything.
> 
> On 2.6.24, this mount command works.
> 
> Replacing -t cifs with -t smbfs results in a successful mount, but this is deprecated:
> May  6 11:49:56 localhost kernel: smbfs is deprecated and will be removed from the 2.6.27 kernel. Please migrate to cifs
> 
> The SMB and CIFS configuration is the same on both kernels:
> CONFIG_SMB_FS=m
> # CONFIG_SMB_NLS_DEFAULT is not set
> CONFIG_CIFS=m
> # CONFIG_CIFS_STATS is not set
> # CONFIG_CIFS_WEAK_PW_HASH is not set
> CONFIG_CIFS_XATTR=y
> CONFIG_CIFS_POSIX=y
> # CONFIG_CIFS_DEBUG2 is not set
> # CONFIG_CIFS_EXPERIMENTAL is not set
> 
> mfg Martin Kögler
> PS: Please CC me on replies

This is a known regression with 2.6.25 against some servers. This RHBZ
has the details:

https://bugzilla.redhat.com/show_bug.cgi?id=443681

There's a patch in Steve's git tree that should fix it. Not sure if
it's made mainline yet.

Cheers,
-- 
Jeff Layton <jlayton at redhat.com>


More information about the linux-cifs-client mailing list