Linux - GeneralThis 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.
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.
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.
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.
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...
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.
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.
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
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:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.