cifsd-team / ksmbd

ksmbd kernel server(SMB/CIFS server)
151 stars 23 forks source link

Ksmbd mount error(121): Remote I/O error #614

Open wirtualka85 opened 3 days ago

wirtualka85 commented 3 days ago

Hello

I have a problem mounting a resource from the router to the decoder on Linux. I can access the resource on the router from Windows without any problems. If I issue a share on Windows, I can mount it in the decoder without any problem. The problem is between the decoder and the router.

Router R7800 Software version OpenWrt 23.05-SNAPSHOT, r23780-6f70e09a00 IP 192.168.2.1

Executes the command from the decoder level

mount -t cifs -o username=xx,password=xxx//192.168.2.1/hdd /media/r7800

I have an error

mount error(121): Remote I/O error Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) mount: mounting //192.168.2.1/hdd on /media/r7800 failed: Remote I/O error

Decder Enigma2

root@vuuno4kse:~# smbd -V Version 4.15.13 root@vuuno4kse:~# uname -a Linux vuuno4kse 4.1.20-1.9 #1 SMP Fri Jan 12 03:20:39 UTC 2024 armv7l GNU/Linux

Unfortunately, there is nothing in the dmesg decoder log.

I made dozens of combinations with options vers=3.0 vers=2.1 etc

Does anyone know what could be wrong?

namjaejeon commented 3 days ago

let me know dmesg result after enabling debug.

echo all > /sys/class/ksmbd-control/debug

wirtualka85 commented 15 hours ago

How to enable debug on IP router 192.168.2.1?