samba problem: SMBFS: need mount version 6

Viggo L. Norum (Viggo.L.Norum@imm.ntnu.no)
11 Mar 1998 21:05:32 +0100


I get these errors when trying to mount with smbmount:

> mount error: Invalid argument
> Please look at smbmount's manual page for possible reasons

and in the kernel log:

> "SMBFS: need mount version 6"

I get the same messages even if I try to mount locally (from and to
the box with the smb server). What does mount version 6 refer to?
My machine has mount version 2.71.

The "version 6" message comes from /usr/src/linux/fs/smbfs/inode.c.

if (((struct smb_mount_data *) raw_data)->version != SMB_MOUNT_VERSION)
goto out_wrong_data;

where "out_wrong_data" prints the message.
SMB_MOUNT_VERSION is defined to 6 in /usr/src/linux/fs/smbfs/smb_mount.h

System info: RedHat 5.0 with kernel 2.1.88.
The file system kernel config reads:

CONFIG_EXT2_FS=y
CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
# CONFIG_UMSDOS_FS is not set
CONFIG_VFAT_FS=m
CONFIG_PROC_FS=y
CONFIG_NFS_FS=m
CONFIG_NFSD=m
CONFIG_SUNRPC=m
CONFIG_LOCKD=m
# CONFIG_CODA_FS is not set
CONFIG_SMB_FS=m
CONFIG_SMB_WIN95=y

-- 
Viggo

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu