LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-11-2006, 07:14 PM   #1
sickboylives
Member
 
Registered: Mar 2003
Location: Cambridge, Ohio, USA
Distribution: Slackware 11.0, FreeBSD 6.2
Posts: 98

Rep: Reputation: 15
Slack 11.0 - mount -t cifs gives error, not supported by system


Recently in another thread I was instructed that smbfs is on the way out and that I should use cifs as the filesystem type when mounting a SMB share from Windows.

I issued as root both

Code:
/sbin/mount.cifs //192.168.1.65/D /mnt/verdelet
and

Code:
mount -t cifs //192.168.1.65/D /mnt/verdelet
Both have failed with the following error

Code:
mount error: cifs filesystem not supported by the system
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
My kernel is 2.4.33.3 with no modifications made to it.

What do I need to do to be able to use cifs instead of smbfs?
 
Old 12-11-2006, 08:42 PM   #2
fordeck
Member
 
Registered: Oct 2006
Location: Utah
Posts: 520

Rep: Reputation: 61
Have you tried:

Code:
smbmount //<servername-here>/<share-name-here> /path-to-mount-here
 
Old 12-11-2006, 09:19 PM   #3
sunman
Member
 
Registered: Jun 2005
Distribution: Slackware64 13.0 (multilib)
Posts: 67

Rep: Reputation: 15
From the message I'd say that cifs support wasn't compiled into the kernel, you might have to compile your own or see if it's available as a module. It should be in /lib/modules/*kernelver*/fs/cifs where kernelversion should be the version number of your kernel.
On my system it's compiled as a module in /lib/modules/2.6.17.13/kernel/fs/cifs

A quick way to check if you're using a stock kernel would be to grep the config in boot as well - grep CIFS /boot/config

In my case the config for my current kernel is named config-2.6.17.13 and the above command returns:
CONFIG_CIFS=m
# CONFIG_CIFS_STATS is not set
# CONFIG_CIFS_XATTR is not set
# CONFIG_CIFS_EXPERIMENTAL is not set

Issuing: modprobe cifs - loaded the module right up for me.

P.S. I keep a stock 2.4 kernel installed as well so that I can boot it from lilo
in the event I screw something up too bad to boot, and grepping the config for it returned nothing. You might have to do a compile


Hope this helps a bit.

Regards,
Tim

Last edited by sunman; 12-11-2006 at 09:23 PM.
 
Old 12-17-2007, 01:55 PM   #4
pazo
LQ Newbie
 
Registered: Dec 2007
Posts: 8

Rep: Reputation: 0
I am experiencing the same exact problem. It started out with a permissions issue. So I started poking around, and one of the things I did was "unmount" a mount point. After unmounting, I was unable to mount it back with the command below, logged in as root:

Code:
mount -t cifs //servername/share /mnt/net -o username=user,password=password
OR

Note: For the command below I did not specify the type of filesystem because I read somewhere that the system can auto identify the type of filesystem.
Code:
mount //servername/share /mnt/net -o username=user,password=password
For both commands I receive the following error message:
Code:
mount error: cifs filesystem not supported by the system
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
It worked fine & cifs filesystem was supported by the system until I unmounted it. So why can't I mount it back?

Also, I tried the modprobe cifs command and it returned the following:
Code:
[root@10 ~]# modprobe cifs
FATAL: Error inserting cifs (/lib/modules/2.6.18-8.1.6.e15/kernel/fs/cifs/cifs.ko):
Cannot allocate memory
Any help will be most appreciated. Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cifs "mount error 13 = Permission denied" CIFS SUCKS humbletech99 Linux - Networking 45 04-06-2020 05:31 AM
Cifs "mount error 5 = Input/output error" but smbfs works! humbletech99 Linux - Networking 36 12-18-2019 02:59 AM
mount.cifs - mount error 20 = Not a directory da_kidd_er Linux - Networking 10 10-16-2008 12:55 PM
cifs read error when accessing a samba mount mathfeel Linux - Networking 0 12-09-2006 02:18 AM
mount error with CIFS Sylak Linux - Networking 1 08-17-2006 01:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration