Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => RK3188 => Topic started by: hzg_it on July 24, 2019, 05:38:30 PM

Title: Mounting CIFS share?
Post by: hzg_it on July 24, 2019, 05:38:30 PM
Hi there,

I am runnning the RK3188-SOM-EVB now with the stock-image downloaded from ftp://staging.olimex.com/Lub-clients/RK3188_debian_3.0.36_SD_release2.img.7z (ftp://staging.olimex.com/Lub-clients/RK3188_debian_3.0.36_SD_release2.img.7z) - thanks again to LubOlimex.

Since this is a Debian 7, I had to switch to the archived repos to be able to install stuff. Here is my /etc/sources.list:
deb http://archive.debian.org/debian wheezy main contrib non-free
deb-src http://archive.debian.org/debian wheezy main contrib non-free
deb http://archive.debian.org/debian-security wheezy/updates main contrib non-free
deb-src http://archive.debian.org/debian-security wheezy/updates main contrib non-free


I need to mount a Windows share from the RK3188 to put data there so I installed cifs-utils:

hzg_it@olimex01:/$ sudo mount.cifs -V
mount.cifs version: 5.5


But I am unable mount any Windows share. The shares are working from other machines (Ubuntu, CentOS) without any issue so I am fairly certain that there is "something wrong with the systemTM".
Here is an example output and my mount command:
hzg_it@olimex01:/$ sudo mount --verbose -t cifs //192.168.10.112/sharetest /mnt/share/ -o user=hzg_it
Password:
mount.cifs kernel mount options: ip=192.168.10.112,unc=\\192.168.10.112\sharetest,user=hzg_it,pass=***********
mount error: cifs filesystem not supported by the system
mount error(19): No such device
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

After googeling "mount error: cifs filesystem not supported by the system" for a bit, I found something which got me wondering if it might be related here: https://answers.launchpad.net/ubuntu/+source/cifs-utils/+question/192701 (https://answers.launchpad.net/ubuntu/+source/cifs-utils/+question/192701)
"Stephen Le Bas (meyevue)" seems to have had a similar Problem with an old version (back then, it was up to date) of Ubuntu on his Panda board.
Also, as far as I understand "PIstolero" here: https://www.raspberrypi.org/forums/viewtopic.php?t=14818 (https://www.raspberrypi.org/forums/viewtopic.php?t=14818)
the error can indicate a missmatch between cifs-utils and the kernel?  ???
In the first post, the modules were rebuilt, in the second, apparantly the kernel was rebuilt.
Please correct me if I missunderstood something...

So my questions would be:
- Am I thinking in the absolutely wrong direction?
- Has anyone encountered a similar issue with the image mentioned above?
- Has anyone another hint on how to resolve this issue?
- Are there (by any chance) special mirrors for the RK3188-Debian which are still being maintained?

Sadly, switching to NFS or something else is not an option as the device is intended to be used in a Windows Domain Controlled enviroment. :(

Thanks in advance,
hzg_it