LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 01-07-2011, 09:17 AM   #1
dashko
LQ Newbie
 
Registered: Jun 2010
Location: Slovakia, Bratislava
Distribution: Gentoo
Posts: 9

Rep: Reputation: 1
CIFS not supported by the system


Hi there,
i am using Slackware 13.1 with my customize version of kernel:

# uname -a
Linux dash-pc 2.6.33.4 #1 SMP Thu Dec 30 15:28:19 CET 2010 i686 Intel(R) Core(TM)2 Duo CPU T5670 @ 1.80GHz GenuineIntel GNU/Linux

I compiled into kernel CIFS module and now i am still not able to mount SAMBA directory.

# mount.cifs //192.168.0.101/music /home/dash/music
Password:
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)

# smbmount //192.168.0.101/music /home/dash/music
Password:
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)

grep '=y$' /usr/src/linux/.config | grep CIFS
CONFIG_CIFS=y
CONFIG_CIFS_XATTR=y
CONFIG_CIFS_POSIX=y
CONFIG_CIFS_DEBUG2=y

grep '=y$' /usr/src/linux/.config | grep SMB
CONFIG_SMB_FS=y

# grep '=y$' /usr/src/linux/.config | grep NTFS
CONFIG_NTFS_FS=y
CONFIG_NTFS_RW=y

# modprobe cifs
# modprobe -r cifs
FATAL: Module cifs is builtin
# modprobe cifs

EDIT: I forgot mention, that with mc i can go to the mount directory, so path is ok.

What's going on? Please help.
Thanks a much!

Last edited by dashko; 01-07-2011 at 09:21 AM. Reason: forgot mention
 
Old 01-07-2011, 10:33 AM   #2
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,474

Rep: Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901
try not setting smbfs (deprecated) and cifs as built-in but build them as modules, this way smbfs shouldn't get on the way.
 
1 members found this post helpful.
Old 01-07-2011, 10:37 AM   #3
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,227

Rep: Reputation: 86
Is samba installed on your client system ?
 
Old 01-07-2011, 12:09 PM   #4
dashko
LQ Newbie
 
Registered: Jun 2010
Location: Slovakia, Bratislava
Distribution: Gentoo
Posts: 9

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by ponce View Post
try not setting smbfs (deprecated) and cifs as built-in but build them as modules, this way smbfs shouldn't get on the way.
Ok, it worked. I am now little confused thanks
 
Old 01-07-2011, 12:29 PM   #5
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,474

Rep: Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901Reputation: 901
- the kernel still gives precedence to smbfs;
- you can't use the two modules at the same time;

so,being both built-in, smbfs always had precedence and the kernel ignored cifs: building them as modules let you choose what you want

Last edited by ponce; 01-08-2011 at 10:46 AM.
 
  


Reply

Tags
cifs, kernel, smbfs


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 file system check. pinga123 Linux - Newbie 6 07-28-2010 11:20 PM
recursive write permission on cifs mounted file system mamunbabu2001 Linux - Newbie 2 05-18-2010 09:23 AM
Trouble with mounting window xp system using samba, smbclient, smbfs and cifs milkies27 Linux - Newbie 3 05-29-2009 04:21 AM
mount error: cifs filesystem not supported by the system pazo Linux - General 2 12-18-2007 11:15 AM
Slack 11.0 - mount -t cifs gives error, not supported by system sickboylives Slackware 3 12-17-2007 02:55 PM


All times are GMT -5. The time now is 06:18 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration