Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557306 - net-fs/cifs-utils-6.1-r1 make problems
Summary: net-fs/cifs-utils-6.1-r1 make problems
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-11 16:49 UTC by dieter ferdinand
Modified: 2018-06-13 22:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info cifs-utils (cifs,6.61 KB, text/plain)
2015-08-16 15:44 UTC, dieter ferdinand
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dieter ferdinand 2015-08-11 16:49:43 UTC
hello,
i have updated my system since the last 14 days to the actual versions of all packages and the new kernel 4.0.5.

yesterday i have the problem, that a mounted cifs-drive hangs and i can't mount it again. i try to mount the drive to an other mountpoint without success and i can't kill the running mount.cifs because it have the state D and the log is filled with this message very 2-3 minutes:
amd-k8 kernel: CIFS VFS: cifs_mount failed w/return code = -113

i use tcpdump to see if there is any network traffic to mount the cifs-drive, but i can't find any traffic.

today, i mask this package and install the older packe again. with this package i can mount my drive to an other mountpoint, but not to the old mountpoint because this is blocked from the dead mount.cifs. i think, i must reboot my server to solve this problem.

i don't have such a problem before i update my system, but i don't know if this is only a problem from mount.cifs or a problem from cifs-filesystem-driver. i will see what my system doing with the old version of mount.cifs and will inform you, if there are problems in the future.

if this problems happens agoin, i will try the new mount.cifs with the old kernel, which i used over one year without problems.

goodby

Reproducible: Sometimes
Comment 1 Alex Xu (Hello71) 2015-08-16 14:19:41 UTC
please paste the output of emerge --info cifs-utils.
Comment 2 dieter ferdinand 2015-08-16 15:44:39 UTC
Created attachment 409178 [details]
emerge --info cifs-utils
Comment 3 dieter ferdinand 2015-08-16 15:49:46 UTC
hello,
this is not a compiling problem.

my problem is that:
 6402 ?        D      0:00 /sbin/mount.cifs //da-ws/diskm /wfw/da-ws/diskm -s -o rw,file_mode=0644,dir_mode=0755,noserverino,workgroup=ferdinand,username=linux,password=autoda-wsmount
 8773 ?        D      0:00 /sbin/mount.cifs //da-ws/diskm /mnt -s -o rw,file_mode=0644,dir_mode=0755,noserverino,workgroup=ferdinand,username=linux,password=autoda-wsmount

i can't mount //da-ws/diskm again with the new mount.cifs. you can see, i try to mount it to different mount points without success and then i mask the new version and reinstall the older version which works fine.

goodby
Comment 4 Alex Xu (Hello71) 2015-08-16 16:01:25 UTC
I understand; however, emerge --info provides important debugging information in many non-build-related failures.
Comment 5 Mike Pagano gentoo-dev 2015-10-20 22:45:36 UTC
Is this drive mounted via fstab? Can I see that?
Comment 6 dieter ferdinand 2015-10-23 19:08:34 UTC
hello,
i use automount to mount my cifs connections.

i think, for the problem with cifs err -113 i find a setting, which work. i changed the security protocol with option sec=ntlm.
with this option i can mount all my remote drives again.

the problem with the new cifs-package ist not a compiling or install problem. there must be changed something in the source which make problems.
i won't installö this package again on my server because it is importent, that this server runs without problems.
it must always be possible, to unmount a cifs drive if the server for this connection is running. i can't restart my server every time to umount some hanging cifs-mounts.

but i am installing gentoo on some other system this year and if this systems are ready, i can test it again. but not with kernel 4.0.5!

it is also possible, that the kernel insert this bug. i have some crashes after the kernel update because ther must be a new bug in xfs-filesystem (on this drive over 100.000.000 files and hardlinks, daily delete 3% and generate new for backup), daily corrupt and at least hangs, and this crashes corrupt one of my drives with reiserfs and aktivate a bug, which i know over ten years.

i hope, that the server will run without problems after my last changes.

goodby
Comment 7 Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2017-04-28 16:02:22 UTC
any news about this problem ?
Comment 8 dieter ferdinand 2017-04-28 16:19:13 UTC
hello,
the new version 6.4 is installed on one of my servers, if there are no problems in the next time, i will install it on my master server.

goodby
Comment 9 Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2017-04-28 16:33:44 UTC
could you please update us if/when the situation is resolved ?
Comment 10 dieter ferdinand 2017-04-30 09:41:58 UTC
hello,
i use on the system which i have get up to date in the last days automount 5.1.2 and net-fs/cifs-utils 6.4. but yesterday and today, my cifs-mounts hang.

this problem happens without any network-problem or a restart of the server (xp in this case).

yesterday i reinstall autofs 5.0.7-r4 because automount hangs and must be killed.

today, i copy mount.cifs 5.9-r1 from my master server to this system and hope, that this will help.
i hope, someboby will reinsert this version to portage.

i can't reinstall this version of the cifs-tools because it is removed from portage.

but it can take some time to test this on this system, because i only power it on to copy files to or from this server (nas-server with 18 harddisks).

i will try to test it on an other system which can run some days and use very less of power.

goodby
Comment 11 dieter ferdinand 2017-04-30 16:48:58 UTC
hello,
i think, the new cifs-utils are ok, but some other things not.

if my cifs-mount is idle for a longer time, it hangs. i will try to find out why.

but i think also, that the new autofs-package have a bug, because the new automount hangs and the old not! i will test it on an other system.

but today, a manual cifs mount hangs and after umount it, i can't remount it again. not with old cifs-utils and not with the new. after some test, i change settings and add option sec=ntlm. this solve the problem.

is it possible, that the new cifs-utils or driver (kernel 4.9.23) make problems with the default security-settings and windows xp ?

with my samba-server on the master-server, i have no problems to connect it.

goodby
Comment 12 Mike Pagano gentoo-dev 2018-03-05 17:57:10 UTC
Are you still having issues with later kernels and later cifs-utils ?
Comment 13 dieter ferdinand 2018-03-05 18:14:21 UTC
hello,
i must test it on my test-system in the next time. at the monent i use only version which work fine.

goodby
Comment 14 Mike Pagano gentoo-dev 2018-06-13 22:23:02 UTC
Ok, please let us know if the situation changes.