LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-07-2006, 11:19 AM   #1
kissme1
LQ Newbie
 
Registered: Dec 2005
Posts: 29

Rep: Reputation: 15
problem after kernel upgrade


well i am a novice but i searched for updates for red hat linux 9 which is the distro that i use and i installed some kernel updates from the site http://download.fedoralegacy.org/redhat/9/updates/i386/

and installed them i also installed the kernel updates and now the kernel version is upgraded to 2.4.20-46.9 now i dont remember what the previous version was...now when i try to use the command

mount -t smbfs -o username=root //path //mount dir

it says this is not surrported by the kernel whereas it worked fine before the upgrades also the smbmnt command gives the same error

any help???
 
Old 07-07-2006, 01:02 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
The use of smbfs has been deprecated use cifs (see example below) instead or download the source rpm file and rebuild with smb support added back.

http://www.digitalhermit.com/linux/K...ild-HOWTO.html


Example; mount -t cifs -o username=root //path //mount dir
 
Old 07-08-2006, 06:51 AM   #3
kissme1
LQ Newbie
 
Registered: Dec 2005
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Lenard
The use of smbfs has been deprecated use cifs (see example below) instead or download the source rpm file and rebuild with smb support added back.

http://www.digitalhermit.com/linux/K...ild-HOWTO.html


Example; mount -t cifs -o username=root //path //mount dir
tried the cifs command but it return an error saying

mount: fs type cifs not supported by kernel

and with the smbfs i get this here is the full message with the command i use

[root@localhost root]mount -t smbfs -o username=root //192.168.0.1/dummy /home/mount
2003: session request to 192.168.0.1 failed (Called name not present)
2003: session request to 192 failed (Called name not present)
Password:
ERROR: smbfs filesystem not supported by the kernel
Please refer to the smbmnt(8) manual page
smbmnt failed: 255
 
Old 07-08-2006, 09:41 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Try using something like;

smbmount //192.168.0.1/dummy /home/mount -o username=guest -rw

If guest is a valid user/account on the remote system or else use a user that is known on the remote system.

You may need to also do something like (as root);

chmod u+x /usr/bin/smbmnt
chmod u+x /usr/bin/smbumount


Also check if either smbfs or cifs is infact available;

ls -al /lib/modules/`uname -r`/kernel/fs/smbfs
ls -al /lib/modules/`uname -r`/kernel/fs/cifs

Note that is the backtick (above the 'Tab' key on most keyboards) and not the single quotemark ['] in the commands above.

Last edited by Lenard; 07-08-2006 at 09:42 AM.
 
Old 07-08-2006, 11:35 AM   #5
kissme1
LQ Newbie
 
Registered: Dec 2005
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Lenard
Try using something like;

smbmount //192.168.0.1/dummy /home/mount -o username=guest -rw

If guest is a valid user/account on the remote system or else use a user that is known on the remote system.

You may need to also do something like (as root);

chmod u+x /usr/bin/smbmnt
chmod u+x /usr/bin/smbumount
still the same error not supported

Quote:
Originally Posted by Lenard
Also check if either smbfs or cifs is infact available;

ls -al /lib/modules/`uname -r`/kernel/fs/smbfs
ls -al /lib/modules/`uname -r`/kernel/fs/cifs

Note that is the backtick (above the 'Tab' key on most keyboards) and not the single quotemark ['] in the commands above.
ok i tried the ls command and it gives this message
bash: uname-r command not found

when i tried the command with spaces on both sides of `uname-r`like this

ls -al /lib/modules/ `uname -r` /kernel/fs/smbfs

it showed me a list of files with these files in it
2.4.20-42.9.legacybigmem
2.4.20-42.9.legacy
2.4.20-42.9.legacyBOOT

when i use the same command for cifs it showed not found

i also did a which smbfs but it didnt show anything when i did which smbmnt it found it in the /usr/bin/smbmnt
 
Old 07-08-2006, 08:46 PM   #6
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Quote:
ok i tried the ls command and it gives this message
bash: uname-r command not found
That's uname -r not uname-r (notice the space between the command and the '-r' switch)

It seems that you may have an issue with spacing since you later stated;

Quote:
ls -al /lib/modules/ `uname -r` /kernel/fs/smbfs
If you notice you *did* put the space in this case (makes a big difference).
 
Old 07-14-2006, 08:35 AM   #7
kissme1
LQ Newbie
 
Registered: Dec 2005
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Lenard
That's uname -r not uname-r (notice the space between the command and the '-r' switch)

It seems that you may have an issue with spacing since you later stated;



If you notice you *did* put the space in this case (makes a big difference).

it was just a typing mistake here....i used the space in my query
 
Old 12-17-2007, 04:23 PM   #8
pazo
LQ Newbie
 
Registered: Dec 2007
Posts: 8

Rep: Reputation: 0
Unhappy

I was wondering if someone can help me out, I am experiencing a similar problem. I am trying to
Code:
mount -t cifs //server/share /mnt/net -o username=user,password=secret
I am receiving:
Code:
mount error: cifs filesystem not supported by the system
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
As recommended above I went to check if the file is supported:
Code:
ls -al /lib/modules/`uname -r`/kernel/fs/cifs
I received:
-rwxr--r-- 1 root root 249124 Jun 14 2007 cifs.ko

If anyone can help me mount the Win 2K3 File Share, it will be most appreciated.
 
Old 12-18-2007, 08:35 AM   #9
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Tagging onto an old posting is not the best way to get help..........with that said;

I type something along the same lines as you;

mount -t cifs //<IP address>/share /mnt/somewhere -o credentials=/home/lenard/bin/cifs.txt -rw

Use the IP address of the Windows 2003 Server system, I keep my username and password in the cifs.txt file which reads like;

username=user
password=mypassword

You may want to look into (using google) search: Windows 2003 plain password
 
Old 12-18-2007, 11:36 AM   #10
pazo
LQ Newbie
 
Registered: Dec 2007
Posts: 8

Rep: Reputation: 0
Unhappy

Thanks for your response. I tried both of those methods. (Tried using IP, and tried using a file to keep my credentials.) The error comes out the same:

Code:
mount error: cifs filesystem not supported by the system
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs
Thanks, I appreciate your help.
 
  


Reply


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
Kernel upgrade problem. Ten-shin Slackware 8 06-30-2004 03:20 PM
Problem when upgrade to kernel 2.4.24 little_ball Slackware 19 01-08-2004 07:43 PM
Kernel upgrade problem samble Linux - General 2 11-06-2003 12:07 PM
kernel upgrade problem andy18 Linux - Software 2 08-20-2003 05:24 PM
Kernel Upgrade Problem ppuru Linux - Software 1 07-28-2003 12:09 PM


All times are GMT -5. The time now is 09:07 AM.

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