You are not logged in.
Hi,
After upgrade to kernel 3.4.2.2 I can't mount some cifs units. I get this error in dmesg:
[ 548.993302] CIFS VFS: Connecting to DFS root not implemented yet
[ 548.993417] CIFS VFS: cifs_mount failed w/return code = -22
Spanish Arch Linux user since 2009
Offline
I am having a similar issue but only with cifs units in fstab. When I mount manualy from the command line it works fine.
Offline
Hi, I'm having the same problem. I've tried editing fstab and also mount it manually via command line, nothing works. Please help..
Offline
Me too. I can't mount it manually.
My fstab:
//wtcdpto/cuentas /mnt/wtcdpto cifs credentials=/etc/red,rw,soft,uid=1000,gid=100,noserverino,_netdev 0 0
Manually I use:
mount -t cifs //wtcdpto/cuentas /mnt/wtcdpto -o username=<myusername>
They don't work.
Spanish Arch Linux user since 2009
Offline
fstab example:
//williamsburg.FQDN/SHARENAME /home/USER/SOMEFOLDER cifs users,noauto,noatime,credentials=/home/USER/.creds 0 0
Manual example:
sudo mount -t cifs //williamsburg.FQDN/SHARE /home/USER/FOLDER -o credentials=/home/USER/.creds
.creds example:
username=USERNAME
password=SOME PASSWORD
domain=DOMAIN
Hope that helps
Last edited by scubanator87 (2012-06-19 15:49:44)
Offline
Thanks, but still the same error. That is how I have it defined in fstab and how I used to mount it manually before, but after upgrade it is not working anymore... I know it can be mounted via sshfs [user@]host:[dir] /mount/point, but then you have to type in the passphrase each time you want to mount the volume or use passwordless ssh login. I do not like this for security reasons. Somebody any other idea please?
Last edited by stredini (2012-06-19 22:09:40)
Offline
I have same problem. It is only affecting DFS root mounts.
I found a patch for opensuse which seems to work. Maybe it is helpfull.
http://bugzillafiles.novell.org/attachm … ?id=494166
I did not tried it for myself.
Last edited by madcow578 (2012-06-21 05:50:14)
Offline
How to apply this patch?
If I try:
patch -p1</tmp/cambios.patch
I get an "File to patch: " message. I ran it from /usr/src/linux-3.4.3-1-ARCH
There is no files called cifs_dfs_ref.c or connect.c in /usr/src/linux-3.4.3-1-ARCH/fs/cifs (there is only a file called Kconfig).
If I do a
make menuconfig
in /usr/src/linux-3.4.3-1-ARCH, path File systems -> Network File Systems ->CIFS support section, I find that "DFS feature support" is checked, so it should work. But NOT. It doesn't work :'(
Last edited by mgmartins (2012-06-22 08:23:06)
Spanish Arch Linux user since 2009
Offline
In my case when I use numeric ip address I always receive the "-22" error. However once I tried with symbolic address it worked like a charm. Shocking but true. In both cases - manual mount
Offline
Here it works removing "noatime".
Don't ask me why, I've found it here: https://bbs.archlinux.org/viewtopic.php?id=143387
Offline
I only mount my samba share via command line like
sudo mount.cifs //server/THESHARE /mnt/babylon-photos -o guest,uid=1000,gid=100,rw
Is there a way to force the mount without the "noatime" option? Does it come from the fact that my local filesystem has noatime enabled?
[MY MISTAKE] It was not working because I have upgraded the kernel without rebooting therefore cifs wouldn't work even from command line. Rebooted and command line mount worked fine.
Last edited by alphazo (2012-06-24 19:52:37)
Offline
Yes, but I have no "noatime" option include in my fstabs :'(
Here it works removing "noatime".
Don't ask me why, I've found it here: https://bbs.archlinux.org/viewtopic.php?id=143387
Spanish Arch Linux user since 2009
Offline
Yes, but I have no "noatime" option include in my fstabs :'(
kimera wrote:Here it works removing "noatime".
Don't ask me why, I've found it here: https://bbs.archlinux.org/viewtopic.php?id=143387
Problems here as well. My error.log shows....
Jun 25 18:58:02 localhost kernel: [ 34.904637] CIFS VFS: Connecting to DFS root not implemented yet
Jun 25 18:58:02 localhost kernel: [ 34.914335] CIFS VFS: cifs_mount failed w/return code = -22
Jun 25 19:07:03 localhost kernel: [ 32.279555] CIFS VFS: default security mechanism requested. The default security mechanism will be upgraded from ntlm to ntlmv2 in kernel release 3.3
My fstab entries also do not have noatime.
FYI, my NAS is a dns-323.
Any assistance would be gratefully accepted, in the mean time I'll just mount using sshfs :-(
Last edited by lambretta (2012-06-25 12:30:44)
Offline
Has anyone file a bug for this issue?
Offline
The fix is included in linux 3.4.5.
It is called "cifs-fix-parsing-of-password-mount-option.patch" and you can see it here, on the 3.4.5 commits.
http://git.kernel.org/?p=linux/kernel/g … 5d#patch46
6 hours ago linux 3.4.5-1 entered Arch testing repository...
Finally
Offline
Yes, finally working for me too after upgrade *yahoo*
Offline
Yep - all fixed after the last update (and what an update it was!)
Offline