15.4 kernel 5.14.21-150400.24.38-default not respecting vers=1.0 for OS/2 LAN connectivity
5.14.21-150400.24.38-default boots, but I can't use it, because OS/2 connectivity is a must. 5.14.21-150400.24.33-default solves the problem, keeps OS/2 connected. What changed this time? I looked in the 24.38 changlog since 24.33 release and didn't spot anything. The vers=1.0 hit in the error message doesn't seem could apply, since it's already being used: /etc/fstab includes: //os2/G /smbmnt/os2/G cifs ro,credentials=/etc/samba/os2.cred,noserverino,sec=lanman,vers=1.0,servern=OS2,domain=PEERS,port=139,dir_mode=0555,file_mode=0664,noauto 0 0 # alias | grep mountos2 alias mountos2='mount //os2/G' # mountos2 mount error: Server abruptly closed the connection. This can happen if the server does not support the SMB version you are trying to use. The default SMB version recently changed from SMB1 to SMB2.1 and above. Try mounting with vers=1.0. mount error(112): Host is down Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) With the older kernel and working as expected, the journal contained the following: ## kernel 24.33 - OK # journalctl -b | grep -i -C3 cifs > Jan 01 03:47:59 at-spi-bus-launcher[1378]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry Jan 01 03:48:06 kernel: FS-Cache: Loaded Jan 01 03:48:06 kernel: Key type dns_resolver registered Jan 01 03:48:06 kernel: FS-Cache: Netfs 'cifs' registered for caching Jan 01 03:48:06 kernel: Key type cifs.spnego registered Jan 01 03:48:06 kernel: Key type cifs.idmap registered Jan 01 03:48:06 kernel: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:48:06 kernel: CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:48:06 kernel: CIFS: Attempting to mount \\mazda\E Jan 01 03:48:06 kernel: CIFS: VFS: Send error in QFSAttributeInfo = -95 Jan 01 03:48:06 kernel: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:48:06 kernel: CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:48:06 kernel: CIFS: Attempting to mount \\mazda\G Jan 01 03:48:06 kernel: CIFS: VFS: Send error in QFSAttributeInfo = -95 Jan 01 03:48:06 kernel: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:48:06 kernel: CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:48:06 kernel: CIFS: Attempting to mount \\mazda\I Jan 01 03:48:06 kernel: CIFS: VFS: Send error in QFSAttributeInfo = -95 Jan 01 03:48:06 kernel: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:48:06 kernel: CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:48:06 kernel: CIFS: Attempting to mount \\mazda\J Jan 01 03:48:06 kernel: CIFS: VFS: Send error in QFSAttributeInfo = -95 ... Jan 01 03:54:04 kernel: CIFS: VFS: Invalid date, month 0 day: 0 Jan 01 03:54:04 kernel: CIFS: VFS: Invalid date, month 0 day: 0 Jan 01 03:54:04 kernel: CIFS: VFS: Invalid date, month 0 day: 0 Jan 01 03:54:04 kernel: CIFS: VFS: Invalid date, month 0 day: 0 Jan 01 03:54:04 kernel: CIFS: VFS: Invalid date, month 0 day: 0 Jan 01 03:54:04 kernel: CIFS: VFS: Invalid date, month 0 day: 0 Jan 01 03:54:04 kernel: CIFS: VFS: Invalid date, month 0 day: 0 Jan 01 03:54:04 kernel: CIFS: VFS: Invalid date, month 0 day: 0 Jan 01 03:54:04 kernel: CIFS: VFS: Invalid date, month 0 day: 0 Jan 01 03:54:04 kernel: CIFS: VFS: Invalid date, month 0 day: 0 Jan 01 03:58:04 kernel: CIFS: VFS: bogus file nlink value 0 Jan 01 03:58:04 kernel: CIFS: VFS: bogus file nlink value 0 ... Jan 01 04:18:25 kernel: CIFS: VFS: bogus file nlink value 0 Jan 01 04:18:25 kernel: CIFS: VFS: bogus file nlink value 0 With the 5.14.21-150400.24.38 kernel, I get the following excerpts instead from a full journal at https://susepaste.org/29524759 : Jan 01 03:23:52 kernel: CIFS: Attempting to mount \\os2\E Jan 01 03:23:52 kernel: CIFS: VFS: cifs_mount failed w/return code = -112 Jan 01 03:23:52 kernel: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:23:52 kernel: CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:23:52 kernel: CIFS: Attempting to mount \\os2\G Jan 01 03:23:52 kernel: CIFS: VFS: cifs_mount failed w/return code = -112 Jan 01 03:23:52 kernel: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:23:52 kernel: CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:23:52 kernel: CIFS: Attempting to mount \\os2\I Jan 01 03:23:53 kernel: CIFS: VFS: cifs_mount failed w/return code = -112 Jan 01 03:23:53 kernel: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:23:53 kernel: CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:23:53 kernel: CIFS: Attempting to mount \\os2\J Jan 01 03:23:53 kernel: CIFS: VFS: cifs_mount failed w/return code = -112 Jan 01 03:36:00 systemd[1]: Starting Cleanup of Temporary Directories... Jan 01 03:36:00 systemd[1]: systemd-tmpfiles-clean.service: Deactivated successfully. Jan 01 03:36:00 systemd[1]: Finished Cleanup of Temporary Directories. Jan 01 03:37:57 kernel: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:37:57 kernel: CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:37:57 kernel: CIFS: Attempting to mount \\os2\E Jan 01 03:37:58 kernel: CIFS: VFS: cifs_mount failed w/return code = -112 Jan 01 03:37:58 kernel: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:37:58 kernel: CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:37:58 kernel: CIFS: Attempting to mount \\os2\G Jan 01 03:37:58 kernel: CIFS: VFS: cifs_mount failed w/return code = -112 Jan 01 03:37:58 kernel: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:37:58 kernel: CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:37:58 kernel: CIFS: Attempting to mount \\os2\I Jan 01 03:37:59 kernel: CIFS: VFS: cifs_mount failed w/return code = -112 Jan 01 03:38:13 systemd-logind[843]: New session 3 of user root. Jan 01 03:38:13 systemd[1]: Started Session 3 of User root. Jan 01 03:38:13 kdm[1021]: :0[1021]: pam_unix(xdm:session): session opened for user root by (uid=0) -- Jan 01 03:38:16 at-spi-bus-launcher[1499]: dbus-daemon[1499]: Successfully activated service 'org.a11y.atspi.Registry' Jan 01 03:38:16 at-spi-bus-launcher[1516]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry Jan 01 03:38:37 kernel: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:38:37 kernel: CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:38:37 kernel: CIFS: Attempting to mount \\os2\E Jan 01 03:38:38 kernel: CIFS: VFS: cifs_mount failed w/return code = -112 Jan 01 03:38:38 kernel: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:38:38 kernel: CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:38:38 kernel: CIFS: Attempting to mount \\os2\G Jan 01 03:38:38 kernel: CIFS: VFS: cifs_mount failed w/return code = -112 Jan 01 03:38:38 kernel: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:38:38 kernel: CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:38:38 kernel: CIFS: Attempting to mount \\os2\I Jan 01 03:38:39 kernel: CIFS: VFS: cifs_mount failed w/return code = -112 Jan 01 03:38:39 kernel: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:38:39 kernel: CIFS: VFS: Use of the less secure dialect vers=1.0 is not recommended unless required for access to very old servers Jan 01 03:38:39 kernel: CIFS: Attempting to mount \\os2\J Jan 01 03:38:39 kernel: CIFS: VFS: cifs_mount failed w/return code = -112 Jan 01 03:46:41 kdm[1021]: :0[1021]: pam_unix(xdm:session): session closed for user root Jan 01 03:46:41 at-spi-bus-launcher[1516]: XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0" Jan 01 03:46:41 at-spi-bus-launcher[1516]: after 157 requests (157 known processed) with 0 events remaining. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
Hi Felix, Thanks for the report. Sorry for the delayed answer. I created a new bug[1] to better track this and am already working on it. Besides, there are similar upstream bugs[2][3] that I'm also handling and I've proposed a potential fix for them. Still waiting for feedback. I'm gonna update the new bug[1] as soon as I get some feedback and then provide you a TEST kernel with such fix. [1] https://bugzilla.opensuse.org/show_bug.cgi?id=1206935 [2] https://bugzilla.kernel.org/show_bug.cgi?id=216881 [3] https://bugzilla.kernel.org/show_bug.cgi?id=216889
participants (2)
-
Felix Miata
-
Paulo Alcantara