You are not logged in.

#1 2022-07-04 12:12:44

joanmanel
Member
Registered: 2012-11-06
Posts: 234

Since kernel 5.18.8 I cannot connect to network drives

I fail to connect to network drives using linux-5.18.8.arch1-1-x86_64 or the current linux-5.18.9.arch1-1-x86_64. It worked fine with linux-5.18.7.arch1-1-x86_64 and the previous ones. I just tested it.

I connect to network drives using autofs and also just mount. I get the following error (I have changed the url just to paste it here)

[juanma@housepc ~]$ sudo mount -o user=Group //aa.bb.cc.dd.ee/ii/group Here/
Password for Group@//aa.bb.cc.dd.ee/ii/group: 
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)

dmesg says

CIFS: VFS: cifs_mount failed w/return code = -22

Adding all the other options I have in my autofs misc file:

-fstype=cifs,credentials=/root/aa-smb-auth,gid=985,file_mode=0770,dir_mode=0770

reports the same error.

As said, with kernel 5.18.7 this works fine, I just tested it. But with this older kernel I have no X.

Offline

#2 2022-07-04 12:44:40

Maniaxx
Member
Registered: 2014-05-14
Posts: 738

Re: Since kernel 5.18.8 I cannot connect to network drives


sys2064

Offline

#3 2022-07-04 12:51:01

joanmanel
Member
Registered: 2012-11-06
Posts: 234

Re: Since kernel 5.18.8 I cannot connect to network drives

Thanks. There doesnt seem to be any solution.

Offline

#4 2022-07-04 16:38:02

Maniaxx
Member
Registered: 2014-05-14
Posts: 738

Re: Since kernel 5.18.8 I cannot connect to network drives

The only solution probably is to update the server.


sys2064

Offline

#5 2022-07-17 12:05:26

ForeverNoob
Member
Registered: 2008-07-18
Posts: 14

Re: Since kernel 5.18.8 I cannot connect to network drives

joanmanel wrote:

I fail to connect to network drives using linux-5.18.8.arch1-1-x86_64 or the current linux-5.18.9.arch1-1-x86_64. It worked fine with linux-5.18.7.arch1-1-x86_64 and the previous ones. I just tested it.

I connect to network drives using autofs and also just mount. I get the following error (I have changed the url just to paste it here)

[juanma@housepc ~]$ sudo mount -o user=Group //aa.bb.cc.dd.ee/ii/group Here/
Password for Group@//aa.bb.cc.dd.ee/ii/group: 
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)

dmesg says

CIFS: VFS: cifs_mount failed w/return code = -22

Adding all the other options I have in my autofs misc file:

-fstype=cifs,credentials=/root/aa-smb-auth,gid=985,file_mode=0770,dir_mode=0770

reports the same error.

As said, with kernel 5.18.7 this works fine, I just tested it. But with this older kernel I have no X.

Had a similar problem. In fstab, try adding "vers=3.0" to the options of the network drive entry. This is how it looks on my system:

//myserver/MyShare /mnt/nas cifs username=anonimous,password=,iocharset=utf8,dir_mode=0777,file_mode=0777,rw,vers=3.0 0 0

HTH

Offline

#6 2022-07-17 12:26:41

Maniaxx
Member
Registered: 2014-05-14
Posts: 738

Re: Since kernel 5.18.8 I cannot connect to network drives

Or wait for 5.18.13.


sys2064

Offline

Board footer

Powered by FluxBB