LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This 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

Tags used in this thread
Popular LQ Tags , , , , , , ,

Reply
 
Thread Tools
Old 03-20-2002, 05:58 PM   #1
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510
Thanked: 0
smbfs filesystem not supported by the kernel


[Log in to get rid of this advertisement]
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.
glock19 is offline     Reply With Quote
Old 03-20-2002, 06:10 PM   #2
isajera
Senior Member
 
Registered: Jun 2001
Location: San Antonio, TX
Distribution: distro? what's a distro?
Posts: 1,635
Thanked: 0
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.
isajera is offline     Reply With Quote
Old 03-20-2002, 06:15 PM   #3
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510
Thanked: 0

Original Poster
I'd be pretty amazed if Slackware 8.0 included a kernel that doesn't support smbfs filesystem...
glock19 is offline     Reply With Quote
Old 03-20-2002, 06:22 PM   #4
isajera
Senior Member
 
Registered: Jun 2001
Location: San Antonio, TX
Distribution: distro? what's a distro?
Posts: 1,635
Thanked: 0
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.
isajera is offline     Reply With Quote
Old 03-20-2002, 06:29 PM   #5
isajera
Senior Member
 
Registered: Jun 2001
Location: San Antonio, TX
Distribution: distro? what's a distro?
Posts: 1,635
Thanked: 0
hey... have you tried running

modprobe smbfs

yet? you'll need to run it as root, i think.
isajera is offline     Reply With Quote
Old 03-20-2002, 06:30 PM   #6
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261
Thanked: 0
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...
taz.devil is offline     Reply With Quote
Old 03-20-2002, 06:35 PM   #7
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261
Thanked: 0
It'll be in the File Systems->Network Filesystems submenu...
taz.devil is offline     Reply With Quote
Old 03-20-2002, 06:56 PM   #8
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Thanked: 0
The default slack 2.4.5 kernel has smbfs as a module.
Aussie is offline     Reply With Quote
Old 03-20-2002, 06:57 PM   #9
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510
Thanked: 0

Original Poster
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 07:04 PM..
glock19 is offline     Reply With Quote
Old 03-20-2002, 07:11 PM   #10
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Thanked: 0
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.
Aussie is offline     Reply With Quote
Old 03-20-2002, 07:19 PM   #11
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510
Thanked: 0

Original Poster
modprobe smbfs does nothing.

How do I go about getting smbfs support compiled into my kernel?
glock19 is offline     Reply With Quote
Old 03-20-2002, 07:22 PM   #12
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261
Thanked: 0
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.
taz.devil is offline     Reply With Quote
Old 03-20-2002, 07:28 PM   #13
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Thanked: 0
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
Aussie is offline     Reply With Quote
Old 03-20-2002, 07:30 PM   #14
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510
Thanked: 0

Original Poster
After I typed "lsmod", all of a sudden I can mount the samba share now. What did lsmod do that fixed the problem?
glock19 is offline     Reply With Quote
Old 03-20-2002, 07:34 PM   #15
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261
Thanked: 0
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
taz.devil is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
mounting another harddrive: Filesystem not supported Arild2 Linux - Hardware 3 10-30-2004 09:23 AM
smbfs not supported? jeopardyracing Linux - Networking 0 04-21-2004 08:13 PM
APM nor supported in kernel? zLinuxz Linux - General 2 08-15-2003 03:01 AM
smbfs on Slak8.0 2.2.19 kernel Dr.Swing Slackware 6 10-23-2002 03:48 AM
SMBFS and the kernel dogphish Linux - Newbie 1 04-24-2001 03:13 AM


All times are GMT -5. The time now is 06:55 PM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration