LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 03-20-2002, 04:58 PM   #1
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Rep: Reputation: 31
smbfs filesystem not supported by the kernel


I'm mounting a samba share on the network, and I get an error message:

Quote:
ERROR: smbfs filesystem not supported by the kernel
Please refer to the smbmnt(8) manual page
smbmnt failed: 255
I'm running slackware 8.0 with the 2.4.5 kernel. The program I'm using to mount the samba share is LinNeighborhood. This program works just fine on my Red Hat 7.2 machine.
 
Old 03-20-2002, 05:10 PM   #2
isajera
Senior Member
 
Registered: Jun 2001
Location: San Antonio, TX
Distribution: distro? what's a distro?
Posts: 1,635

Rep: Reputation: 45
well... i don't use slackware, but it sounds like you need to recompile your kernel. look under the "file systems" option in either menuconfig or xconfig - it'll be in there somewhere.
 
Old 03-20-2002, 05:15 PM   #3
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Original Poster
Rep: Reputation: 31
I'd be pretty amazed if Slackware 8.0 included a kernel that doesn't support smbfs filesystem...
 
Old 03-20-2002, 05:22 PM   #4
isajera
Senior Member
 
Registered: Jun 2001
Location: San Antonio, TX
Distribution: distro? what's a distro?
Posts: 1,635

Rep: Reputation: 45
me too. i wouldn't be THAT surprised if they shipped it without support compiled in tho, or if you perhaps accidentally compiled it out... i'm kinda hoping that one of our slack fiends will jump in here and help me out with an answer (finny? taz? where are you!)

the option for the smbfs will be in the kernel somewhere... all distro kernels are essentially the same... but the compilation and modules can differ.
 
Old 03-20-2002, 05:29 PM   #5
isajera
Senior Member
 
Registered: Jun 2001
Location: San Antonio, TX
Distribution: distro? what's a distro?
Posts: 1,635

Rep: Reputation: 45
hey... have you tried running

modprobe smbfs

yet? you'll need to run it as root, i think.
 
Old 03-20-2002, 05:30 PM   #6
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
To the semi-rescue! LOL

smbfs doesn't come compiled into the default kernel, so yeah, you'll need to go in and add the support which Slack does have as you''ve all said. I'll have the section in a second here...I'm in windows of course...
 
Old 03-20-2002, 05:35 PM   #7
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
It'll be in the File Systems->Network Filesystems submenu...
 
Old 03-20-2002, 05:56 PM   #8
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
The default slack 2.4.5 kernel has smbfs as a module.
 
Old 03-20-2002, 05:57 PM   #9
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Original Poster
Rep: Reputation: 31
ack I've never re-compiled a kernel before, so this will be yet another learning process in the adventure called linux (sorry for the cheese)

I'm sort of confused at this point (as usual). Do I need to re-compile my kernel?

Last edited by glock19; 03-20-2002 at 06:04 PM.
 
Old 03-20-2002, 06:11 PM   #10
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Your getting the "not supported by kernel" message because the module is not loaded, try "modprobe smbfs" before you mount the samba share, if it works you'll need to load the module at boot before the kernel attemps to mount the samba share. Having fs support compiled into the kernel is recomended though.
 
Old 03-20-2002, 06:19 PM   #11
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Original Poster
Rep: Reputation: 31
modprobe smbfs does nothing.

How do I go about getting smbfs support compiled into my kernel?
 
Old 03-20-2002, 06:22 PM   #12
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
You'll then need to recompile the kernel. It's not that bad really, just do yourself a huge favor and read up first. Linuxdoc.org has a good How-To. Also, there's a bunch of slack compile threads in the forums. There was one yesterday that I replied to that has the commands from start to finish.
 
Old 03-20-2002, 06:28 PM   #13
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Quote:
Originally posted by glock19
modprobe smbfs does nothing.

How do I go about getting smbfs support compiled into my kernel?
Thats right, modprobe only talks back if something goes wrong, do "lsmod" to see the smbfs module and then try mounting the share, if that dosn't work then start reading
 
Old 03-20-2002, 06:30 PM   #14
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Original Poster
Rep: Reputation: 31
After I typed "lsmod", all of a sudden I can mount the samba share now. What did lsmod do that fixed the problem?
 
Old 03-20-2002, 06:34 PM   #15
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Without confusing you any more..Sorry my bad if I did...lsmod "lists" the currently installed modules. if you want it to load on boot everytime, go to /etc/rc.d and edit rc.modules. Scroll down to filesystem support and uncomment the appropriate smbfs line by removing the # sign in front. It'll look like:

#/sbin/modprobe smbfs
 
  


Reply

Tags
cifs, deprecated, novell, smbfs, smbmount


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting another harddrive: Filesystem not supported Arild2 Linux - Hardware 3 10-30-2004 08:23 AM
smbfs not supported? jeopardyracing Linux - Networking 0 04-21-2004 07:13 PM
APM nor supported in kernel? zLinuxz Linux - General 2 08-15-2003 02:01 AM
smbfs on Slak8.0 2.2.19 kernel Dr.Swing Slackware 6 10-23-2002 02:48 AM
SMBFS and the kernel dogphish Linux - Newbie 1 04-24-2001 02:13 AM


All times are GMT -5. The time now is 11:39 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