Hi everyone!
I'm using batocera.linux 5.25 on an ODROID-N2 and I'm currently failing to mount a CIFS volume.
After reading Store games on a nas I got the impression that cifs
should be supported by batocera.linux, but every attempt to mount an existing CIFS volume fails.
According to /proc/filesystems
, CIFS isn't supported:
# cat /proc/filesystems
nodev sysfs
nodev tmpfs
nodev bdev
nodev proc
nodev cgroup
nodev cgroup2
nodev cpuset
nodev devtmpfs
nodev configfs
nodev debugfs
nodev securityfs
nodev sockfs
nodev pipefs
nodev ramfs
nodev hugetlbfs
nodev rpc_pipefs
nodev devpts
ext3
ext4
ext2
squashfs
vfat
nodev nfs
nodev nfs4
nodev autofs
nodev overlay
nodev 9p
nodev mqueue
nodev pstore
And the kernel also doesn't seem to have support for CIFS built-in:
# zcat /proc/config.gz | grep -i cifs
# CONFIG_CIFS is not set
smbclient
can successfully list the files in the share:
# smbclient -U batocera //nas.lan/home
WARNING: The "syslog" option is deprecated
WARNING: The "encrypt passwords" option is deprecated
WARNING: The "syslog" option is deprecated
WARNING: The "encrypt passwords" option is deprecated
Enter WORKGROUP\batocera's password:
Try "help" to get a list of possible commands.
smb: \> ls
. D 0 Sun Apr 19 11:42:41 2020
.. D 0 Sun Mar 29 15:21:57 2020
bios D 0 Sun Mar 29 15:10:58 2020
@Recycle DS 0 Sun Apr 19 11:42:41 2020
roms D 0 Sun Jan 5 15:22:46 2020
saves D 0 Sun Jan 5 16:39:38 2020
8670916964 blocks of size 1024. 3345391376 blocks available
smb: \> # exit
logout
And finally, here's the error message of mount.cifs
:
# mount.cifs -o username=batocera //nas.lan/homes /mnt/
Password for batocera@//nas.lan/homes:
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) and kernel log messages (dmesg)
Is the wiki wrong or outdated or is the ODROID-N2 setup broken?