WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Mount a samba share, mount error: cifs filesystem not supported by the system  (Read 197 times)

Offline vincent.t

  • Newbie
  • *
  • Posts: 3
I install piCore64-16.0.0.img on a Rasbberry Pi5

I want to mount a samba share from my linux NAS. so I installed cifs-utils and tried
Code: [Select]
sudo mount -t cifs -o guest //192.168.1.10/media /home/tc/media
and got the following error
Code: [Select]
mount error: cifs filesystem not supported by the system
mount error(19): No such device
mount: mounting //192.168.1.10/media on /home/tc/media failed: No such device

how do I get cifs support?
Thanks

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 806
Why mount samba share, in Linux NAS ?
When you have NFS for Linux.

I think you need to install filesystems extension with the Kernel module cifs.
Code: [Select]
filesystems-$(uname -r)-piCore-v8.tcz
« Last Edit: December 08, 2025, 10:31:56 AM by patrikg »

Offline vincent.t

  • Newbie
  • *
  • Posts: 3
SMB because I also have macos and windows (well not anymore in fact) clients connecting to it. I could set up a nfs share as well if cifs is not working.

I installed with tce-load -wi filesystems-6.12.25-piCore-v8-16k.tcz  (which is my uname -r), I just copy the exact command line because I'm not familiar with tce-load.

rebooted and I still have the same error, cifs filesystem not supported.

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 806
You could try to load the cifs your self with:
Code: [Select]
sudo modprobe cifs
And check if it's being populated into the filesystems list in proc:
Code: [Select]
cat /proc/filesystems
« Last Edit: December 08, 2025, 11:13:37 AM by patrikg »

Offline vincent.t

  • Newbie
  • *
  • Posts: 3
Code: [Select]
sudo modprobe cifs
modprobe: can't load module cifs (kernel.tclocal/fs/smb/client/cifs.ko): unknown symbol in module, or unknown parameter

no cifs in cat /proc/filesystems

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 806
OK, maybe the filesystems haven't that file, but now you you have the name of what file missing.
Code: [Select]
cifs.ko
I think they have develop a bash script tool to search for files in TC and PICore.
Let me search a bit to find it.......

It's the extension provides.tcz that can find files.
And you can read about it here:
https://forum.tinycorelinux.net/index.php/topic,27363.0.html

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12355
Hi vincent.t
unknown symbol in module  can mean a missing dependency.
To see if  cifs  has any dependencies:
Code: [Select]
modinfo cifs | grep depends
If it does, check the loaded modules to see if any of those dependencies missing:
Code: [Select]
lsmod

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1458
Its a packaging error.  The 16.x kernels moved directories of dependencies for cifs.ko, so my sorter script that I used missed it.  I fixed it for the next time I package kernel extensions........was waiting for someone to ask before I went through the effort of fixing for the current release.....

fs/netfs is what is missing.
« Last Edit: December 08, 2025, 12:52:42 PM by Paul_123 »

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1458
Just pushed updated packages for filesystems-6.12.25* kernels