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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
03-20-2002, 04:58 PM
|
#1
|
|
Member
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510
Rep:
|
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.
|
|
|
|
03-20-2002, 05:10 PM
|
#2
|
|
Senior Member
Registered: Jun 2001
Location: San Antonio, TX
Distribution: distro? what's a distro?
Posts: 1,635
Rep:
|
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.
|
|
|
|
03-20-2002, 05:15 PM
|
#3
|
|
Member
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510
Original Poster
Rep:
|
I'd be pretty amazed if Slackware 8.0 included a kernel that doesn't support smbfs filesystem...
|
|
|
|
03-20-2002, 05:22 PM
|
#4
|
|
Senior Member
Registered: Jun 2001
Location: San Antonio, TX
Distribution: distro? what's a distro?
Posts: 1,635
Rep:
|
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.
|
|
|
|
03-20-2002, 05:29 PM
|
#5
|
|
Senior Member
Registered: Jun 2001
Location: San Antonio, TX
Distribution: distro? what's a distro?
Posts: 1,635
Rep:
|
hey... have you tried running
modprobe smbfs
yet? you'll need to run it as root, i think.
|
|
|
|
03-20-2002, 05:30 PM
|
#6
|
|
Senior Member
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261
Rep:
|
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...
|
|
|
|
03-20-2002, 05:35 PM
|
#7
|
|
Senior Member
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261
Rep:
|
It'll be in the File Systems->Network Filesystems submenu...
|
|
|
|
03-20-2002, 05:56 PM
|
#8
|
|
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Rep:
|
The default slack 2.4.5 kernel has smbfs as a module.
|
|
|
|
03-20-2002, 05:57 PM
|
#9
|
|
Member
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510
Original Poster
Rep:
|
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.
|
|
|
|
03-20-2002, 06:11 PM
|
#10
|
|
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Rep:
|
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.
|
|
|
|
03-20-2002, 06:19 PM
|
#11
|
|
Member
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510
Original Poster
Rep:
|
modprobe smbfs does nothing.
How do I go about getting smbfs support compiled into my kernel?
|
|
|
|
03-20-2002, 06:22 PM
|
#12
|
|
Senior Member
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261
Rep:
|
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.
|
|
|
|
03-20-2002, 06:28 PM
|
#13
|
|
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Rep:
|
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 
|
|
|
|
03-20-2002, 06:30 PM
|
#14
|
|
Member
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510
Original Poster
Rep:
|
After I typed "lsmod", all of a sudden I can mount the samba share now. What did lsmod do that fixed the problem?
|
|
|
|
03-20-2002, 06:34 PM
|
#15
|
|
Senior Member
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:49 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|