Products > Computers

CIFS is going crazy (Linux - Windows XP)

(1/3) > >>

legacy:
So, I have always used my IBM/Lenovo X61S laptop with Windows XP + MobaXterm/Professional to access a remote Linux machine running kernel 2.6.39.

This machine is for legacy reasons since I have legacy applications (compilers, and applications) that run better this way or don't run on Windows 7..10.

Anyway, I needed to update the userland, and this required to update the kernel, so now I am on Linux 4.9.16, and I am experimenting a weird problem with CIFS.

The Windows laptop "exports" a part of its filesystem to the Linux machine via CIFS, and ... the problem is that it hangs up if I don't continuously keep it busy.

This is the error I see on Linux when the CIFS filesystem hands up


--- Code: ---CIFS VFS: Server 192.168.1.12 has not responded in 120 seconds. Reconnecting...

--- End code ---

And there is no way to sort it out. I have to unmount, and remount it.

This is how it's mounted


--- Code: ---# cat /etc/fstab | grep idp
//192.168.1.12/idp.do       /idp.do        cifs    noauto,nobrl,noserverino,rw,iocharset=utf8,credentials=/etc/cifspasswd,vers=1.0 0 0


--- End code ---


--- Code: ---# mount | grep idp
//192.168.1.12/idp.do on /idp.do type cifs (rw,relatime,vers=1.0,cache=strict,username=root,domain=IDP,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.12,file_mode=0755,dir_mode=0755,nounix,mapposix,nobrl,rsize=61440,wsize=65536,echo_interval=60,actimeo=1)

--- End code ---

And this script is how I save my day, but it's crazy that I have to do something like that!


--- Code: ---while [ 1 ]
do
    #clear
    #echo "sync"
    #df
    sync
    sync
    sync
    sync
    ls /idp.do/ > /dev/null 2> /dev/null
    sleep 1
done

--- End code ---

"ls /idp.do" is repeated every second and this keeps the comunication between the laptop and the remote Linux machine alive.

magic:
Try

--- Code: ---mv . ../../computing/general_computing
--- End code ---
:P

And the elephant in the room is that you also updated the userland?

legacy:

--- Quote from: magic on August 18, 2019, 10:13:14 am ---And the elephant in the room is that you also updated the userland?

--- End quote ---

I had updated the userland, and the new userland (compiled for the new glibc) required to update the kernel. So now they are both updated.

legacy:
The tool for for Managing Linux CIFS Client Filesystems is version 6.7

magic:
Nevermind, I'm an idiot. You are using the in-kernel CIFS driver and it just stops working for no reason?

Dunno, standard stuff: dmesg, tcpdump. Maybe they modified it so it needs some stupid supporting deamon to keep it alive? No idea, sorry.

Navigation

[0] Message Index

[#] Next page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod