Networking Forums

Networking Forums > Computer Networking > Linux Networking > Am I in the wrong newsgroup?

Reply
Thread Tools Display Modes

Am I in the wrong newsgroup?

 
 
Ohmster
Guest
Posts: n/a

 
      10-21-2006, 07:01 PM
I am having a bit of trouble with mounting XP shares on my FC5 machine.
Apparently smbfs support has been dropped in favor of cifs and I cannot get
this to work to save my life. I have made two posts in this newsgroup
asking for help, all ignored. Am I in the wrong newsgroup and if so, could
someone please update me as to what the proper newsgroup might be to ask a
samba/cifs mounting question in?

Thank you.
--
~Ohmster
theohmster at comcast dot net
Put "messageforohmster" in message body
to pass my spam filter.
 
Reply With Quote
 
 
 
 
Michael Heiming
Guest
Posts: n/a

 
      10-21-2006, 07:25 PM
In comp.os.linux.networking Ohmster <notareal@emailaddress.>:

> I am having a bit of trouble with mounting XP shares on my FC5
> machine. Apparently smbfs support has been dropped in favor of
> cifs and I cannot get this to work to save my life. I have made
> two posts in this newsgroup asking for help, all ignored.


Perhaps you haven't paid your usenet support fee lately or just
overused? ;-)

> Am I in the wrong newsgroup and if so, could someone please
> update me as to what the proper newsgroup might be to ask a
> samba/cifs mounting question in?


Iirc it has nothing to do with samba, the ability to mount
smb/cif fs is built into the kernel, try:

zgrep -i "smb\|cif" /proc/config.gz

If your distro was clever enough to setup config.gz, otherwise
look in /boot.

grep -i "smb\|cif" /boot/config-`uname -r`

Or so.

Perhaps you don't have the need modules or they are just not
loaded or and you didn't setup things probably?

Sadly you are failing to give any information about your setup,
commands tried, error messages you get and alike. Do we have to
pick it out of your nose on every question?

Good luck

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 246: It must have been the lightning storm we had
(yesterday) (last week) (last month)
 
Reply With Quote
 
Grant
Guest
Posts: n/a

 
      10-21-2006, 07:35 PM
On Sat, 21 Oct 2006 14:01:37 -0500, Ohmster <notareal@emailaddress.> wrote:

>I am having a bit of trouble with mounting XP shares on my FC5 machine.


I run slackware

>Apparently smbfs support has been dropped in favor of cifs and I cannot get
>this to work to save my life. I have made two posts in this newsgroup
>asking for help, all ignored.


So I generally skip queries specific to a distro I'm not using...

On a slackware-11.0 box with 2.6.17.14 kernel (with smbfs + cifs support):

root@sempro:~# mount -t cifs //magpie/music /mnt/hd -o user=grant
Password:
root@sempro:~# df | grep mnt
//magpie/music 32901088 20217524 12683564 62% /mnt/hd

What error message do you get when trying to mount a cifs share?

> Am I in the wrong newsgroup and if so, could
>someone please update me as to what the proper newsgroup might be to ask a
>samba/cifs mounting question in?


There is a linux.samba newsgroup

Grant.
--
http://bugsplatter.mine.nu/
 
Reply With Quote
 
Ohmster
Guest
Posts: n/a

 
      10-21-2006, 09:22 PM
Michael Heiming <michael+(E-Mail Removed)> wrote in news:gq8q04-
(E-Mail Removed):

>
> In comp.os.linux.networking Ohmster <notareal@emailaddress.>:
>
>> I am having a bit of trouble with mounting XP shares on my FC5
>> machine. Apparently smbfs support has been dropped in favor of
>> cifs and I cannot get this to work to save my life. I have made
>> two posts in this newsgroup asking for help, all ignored.

>
> Perhaps you haven't paid your usenet support fee lately or just
> overused? ;-)


LOL!

[snip]

> Perhaps you don't have the need modules or they are just not
> loaded or and you didn't setup things probably?


Module is loaded.

[ohmster@ohmster ~]$ lsmod |grep cifs
cifs 217809 0
[ohmster@ohmster ~]$

> Sadly you are failing to give any information about your setup,
> commands tried, error messages you get and alike. Do we have to
> pick it out of your nose on every question?


Uh, I thought I did give all that info, but for the kernel version in my
last two posts.

[ohmster@ohmster ~]$ uname -r
2.6.18-1.2200.fc5
[ohmster@ohmster ~]$

No you don't have to pick it out of anywhere but the last post. If you
like, I can paste it here to give the info.

> Good luck


Thanks.

The problem is that when I try to mount an XP share using cifs, I get a
memory error like so...

[root@ohmster mnt]# mount -t cifs //missy/MY_Vids_01 /mnt/MY_vid_01/ -o
rw,credentials=/home/ohmster/scripts/cifsauth
mount error 12 = Cannot allocate memory
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
[root@ohmster mnt]#

That is if I do it correctly, if I make a mistake, then I get some other
kind of error. This, SFAIK, should work. What is with the memory issue I
don't know. The machine has 1.5Gb SDRAM on it. Here is my last post with
the information in it...

---------------------------------------------------------------------
I want to mount some of my XP shares on my Fedora Core 5 box on my home
LAN
and used to be able to do this with "mount -t smbfs..." and now that does
not work anymore. I see that cifs is used instead but I am having a very
hard time getting that to work. My old syntax does not work anymore and I
am not sure of the currently required syntax on how to do this.
Previously,
this worked:

mount -t smbfs //missy/MY_vids_01 /mnt/MY_vid_01 -o
username=myuser,password=mypassword,rw

(missy is in my /etc/hosts file as 192.168.0.3)

This does not work anymore, nor does it work by substituting cifs for
smbfs.

Not even mount.cifs works, I get error after error, no matter what I try.
I
thought that for sure this would work but it does not...

[root@ohmster mnt]# mount.cifs -t cifs //192.168.0.3/MY_vids_01
/mnt/MY_vid_01 -o username=user,password=pass,rw

Mounting the DFS root for domain not implemented yet
No ip address specified and hostname not found
[root@ohmster mnt]#

I tried again with a credential file:

[root@ohmster mnt]# mount -t cifs //missy/MY_Vids_01 /mnt/MY_vid_01/ -o
rw,credentials=/home/ohmster/scripts/cifsauth
mount error 12 = Cannot allocate memory
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
[root@ohmster mnt]#

I don't quite understand this memory thing. I googled for it and came up
with this from some kind of Xen page:

Error: Error creating domain: (12, ' Cannot allocate memory')

* Versions: 2.0
* Occurs when: trying to start domain
* Probable cause
o allocated memory for "dom0 + running domUs + domU that you
are trying to start" exceeds physical memory
* Solution
o Reduce the amount of memory required for the new domU, or
balloon down the memory of the running domUs

What does that mean? I am not trying to run any kind of a domain server,
I only want to mount a Windows share with a workgroup name, user name,
and user password.

Does mount -t cifs or mount.cifs actually work at all and could someone
please give me an example that would work for my setup?

Worgroup=workgroup
User=user
Password=pass
XP Machine=192.168.0.3
FC5 Machine=192.168.0.1

I am pulling my hair out with this, can somebody please supply a working
example? Thanks.

---------------------------------------------------------------------
--
~Ohmster
theohmster at comcast dot net
Put "messageforohmster" in message body
to pass my spam filter.
 
Reply With Quote
 
Ohmster
Guest
Posts: n/a

 
      10-21-2006, 09:24 PM
Grant <g_r_a_n_t_@dodo.com.au> wrote in
news:(E-Mail Removed):

>>I am having a bit of trouble with mounting XP shares on my FC5
>>machine.

>
> I run slackware
>
>>Apparently smbfs support has been dropped in favor of cifs and I
>>cannot get this to work to save my life. I have made two posts in this
>>newsgroup asking for help, all ignored.

>
> So I generally skip queries specific to a distro I'm not using...


I hear ya dude.

> On a slackware-11.0 box with 2.6.17.14 kernel (with smbfs + cifs
> support):
>
> root@sempro:~# mount -t cifs //magpie/music /mnt/hd -o user=grant
> Password:
> root@sempro:~# df | grep mnt
> //magpie/music 32901088 20217524 12683564 62% /mnt/hd
>
> What error message do you get when trying to mount a cifs share?


Cannot allocate memory, like this:

[root@ohmster mnt]# mount -t cifs //missy/MY_Vids_01 /mnt/MY_vid_01/ -o
rw,credentials=/home/ohmster/scripts/cifsauth
mount error 12 = Cannot allocate memory
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
[root@ohmster mnt]#

>> Am I in the wrong newsgroup and if so, could
>>someone please update me as to what the proper newsgroup might be to
>>ask a samba/cifs mounting question in?

>
> There is a linux.samba newsgroup


Tried that but for whatever reason, cannot seem to make a post go there.
I think it is a mailing list newsgroup or something, I subscribed to it
but so far have not gotten any responses.

> Grant.


Thanks Grant.

--
~Ohmster
theohmster at comcast dot net
Put "messageforohmster" in message body
to pass my spam filter.
 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      10-21-2006, 10:01 PM
In comp.os.linux.networking Ohmster <notareal@emailaddress.>:
> Michael Heiming <michael+(E-Mail Removed)> wrote in news:gq8q04-
> (E-Mail Removed):
>> In comp.os.linux.networking Ohmster <notareal@emailaddress.>:


[ problems mounting doze network share ]

>> Sadly you are failing to give any information about your setup,
>> commands tried, error messages you get and alike. Do we have to
>> pick it out of your nose on every question?


> Uh, I thought I did give all that info, but for the kernel version in my
> last two posts.


> [ohmster@ohmster ~]$ uname -r
> 2.6.18-1.2200.fc5


Doesn't look like a FC5 distro kernel?

> [ohmster@ohmster ~]$


> No you don't have to pick it out of anywhere but the last post. If you


There was no information in your last post.

[..]

> The problem is that when I try to mount an XP share using cifs, I get a
> memory error like so...


> [root@ohmster mnt]# mount -t cifs //missy/MY_Vids_01 /mnt/MY_vid_01/ -o
> rw,credentials=/home/ohmster/scripts/cifsauth
> mount error 12 = Cannot allocate memory
> Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
> [root@ohmster mnt]#


> That is if I do it correctly, if I make a mistake, then I get some other
> kind of error. This, SFAIK, should work. What is with the memory issue I
> don't know. The machine has 1.5Gb SDRAM on it. Here is my last post with
> the information in it...


> ---------------------------------------------------------------------
> I want to mount some of my XP shares on my Fedora Core 5 box on my home
> LAN
> and used to be able to do this with "mount -t smbfs..." and now that does
> not work anymore. I see that cifs is used instead but I am having a very
> hard time getting that to work. My old syntax does not work anymore and I
> am not sure of the currently required syntax on how to do this.
> Previously,
> this worked:


> mount -t smbfs //missy/MY_vids_01 /mnt/MY_vid_01 -o
> username=myuser,password=mypassword,rw


> (missy is in my /etc/hosts file as 192.168.0.3)


> This does not work anymore, nor does it work by substituting cifs for
> smbfs.


You might not have the needed modules, both are still available
in the recent kernel, it doesn't seem to be true that it has been
replaced, I don't know perhaps it is still in the go?

But I don't see why I should read up about the assumptions you
seem to make out of thin air and let others do your homework?

Still you fail to give the information, even after I gave you the
commands you just needed to cut and past....;(

I think I'll give up on you for today, I dislike questions
surrounding doze anyway...

Good luck

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 281: The co-locator cannot verify the frame-relay
gateway to the ISDN server.
 
Reply With Quote
 
Grant
Guest
Posts: n/a

 
      10-21-2006, 10:05 PM
On Sat, 21 Oct 2006 16:24:35 -0500, Ohmster <notareal@emailaddress.> wrote:

>Grant <g_r_a_n_t_@dodo.com.au> wrote in

....
>> What error message do you get when trying to mount a cifs share?

>
>Cannot allocate memory, like this:
>
>[root@ohmster mnt]# mount -t cifs //missy/MY_Vids_01 /mnt/MY_vid_01/ -o
>rw,credentials=/home/ohmster/scripts/cifsauth
>mount error 12 = Cannot allocate memory
>Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
>[root@ohmster mnt]#


Try it without the credentials file:

root@sempro:~# mount -t cifs //magpie/music /mnt/hd -o credentials=/usr/local/etc/xsmb
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
root@sempro:~# mount -t smbfs //magpie/music /mnt/hd -o credentials=/usr/local/etc/xsmb
root@sempro:~# df |grep mnt
//magpie/music 32900608 20217344 12683264 62% /mnt/hd

Seems samba 3 has a problem with credentials and cifs?

root@sempro:~# ls /var/adm/packages/ |grep samba
samba-3.0.23c-i486-1

Grant.
--
http://bugsplatter.mine.nu/
 
Reply With Quote
 
Ohmster
Guest
Posts: n/a

 
      10-21-2006, 11:12 PM
Michael Heiming <michael+(E-Mail Removed)> wrote in news:luhq04-
(E-Mail Removed):

> [ohmster@ohmster ~]$ uname -r
> 2.6.18-1.2200.fc5


Doesn't look like a FC5 distro kernel?

Yes, it is a Fedora Core 5 kernel.

[snip]
> You might not have the needed modules, both are still available
> in the recent kernel, it doesn't seem to be true that it has been
> replaced, I don't know perhaps it is still in the go?
>
> But I don't see why I should read up about the assumptions you
> seem to make out of thin air and let others do your homework?
>
> Still you fail to give the information, even after I gave you the
> commands you just needed to cut and past....;(



What assumptions!? smbfs does not work anymore. "unknown file system". I
already looked this up, replaced with cifs. There is a cifs.ko module for
this and it has loaded. I have googled till I am blue in the face, it
seems that others have had success by just replacing smbfs with cifs in
the mount -t command. When I get that done right it get the memory error.

Again with the information. I have a Fedora Core 5 system, said that.
Using kernel 2.6.18-1.2200.fc5, that I failed to give, sorry. I posted
the error, "mount error 12 = Cannot allocate memory". What more
information do you need? Alright, you had specific questions that you
wanted me to run, okay. I did not think they were relevent but I could be
wrong. You are a very good helper, Michael, I do not want to piss you
off. ;>)

[root@ohmster ~]# zgrep -i "smb\|cif" /proc/config.gz
gzip: /proc/config.gz: No such file or directory
[root@ohmster ~]#

[root@ohmster ~]# grep -i "smb\|cif" /boot/config-`uname -r`
# CONFIG_SMB_FS is not set
CONFIG_CIFS=m
# CONFIG_CIFS_STATS is not set
CONFIG_CIFS_WEAK_PW_HASH=y
CONFIG_CIFS_XATTR=y
CONFIG_CIFS_POSIX=y
# CONFIG_CIFS_DEBUG2 is not set
# CONFIG_CIFS_EXPERIMENTAL is not set
[root@ohmster ~]#

I really don't know what all that means but that is why I am asking you
for help.

>
> I think I'll give up on you for today, I dislike questions
> surrounding doze anyway...


Awwww, come on Mike, no...
It is a real life question, it matters, it will help me and it will help
others because there does not seem to be any info on this particular
error anywhere on the net. I really need your help, Micheal.

> Good luck

Thanks.
--
~Ohmster
theohmster at comcast dot net
Put "messageforohmster" in message body
to pass my spam filter.
 
Reply With Quote
 
Ohmster
Guest
Posts: n/a

 
      10-21-2006, 11:22 PM
Grant <g_r_a_n_t_@dodo.com.au> wrote in
news:(E-Mail Removed):

> Try it without the credentials file:


I can do it without the credentials file.

[root@ohmster ~]# mount -t cifs //missy/ohmster_music /mnt/test -o
username=my_user,password=my_password,rw
mount error 12 = Cannot allocate memory
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
[root@ohmster ~]#

Same thing.

[root@ohmster ~]# rpm -q samba
samba-3.0.23c-1.fc5
[root@ohmster ~]#

> root@sempro:~# mount -t cifs //magpie/music /mnt/hd -o
> credentials=/usr/local/etc/xsmb mount error 13 = Permission denied
> Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
> root@sempro:~# mount -t smbfs //magpie/music /mnt/hd -o
> credentials=/usr/local/etc/xsmb root@sempro:~# df |grep mnt
> //magpie/music 32900608 20217344 12683264 62% /mnt/hd
>
> Seems samba 3 has a problem with credentials and cifs?
>
> root@sempro:~# ls /var/adm/packages/ |grep samba
> samba-3.0.23c-i486-1
>
> Grant.


There seem to be some kind of options for loading the kernel module, that
is the only place that I can think of that has anything to do with memory
allocation:

[root@ohmster BUILD]# modinfo /lib/modules/2.6.17-1.2187
_FC5/kernel/fs/cifs/cifs.ko
filename: /lib/modules/2.6.17-1.2187_FC5/kernel/fs/cifs/cifs.ko
author: Steve French <(E-Mail Removed)>
license: GPL
description: VFS to access servers complying with the SNIA CIFS
Specification e.g. Samba and Windows
version: 1.43
vermagic: 2.6.17-1.2187_FC5 mod_unload 686 REGPARM 4KSTACKS gcc-4.1
depends:
srcversion: 3E7172305CDDC0B8EFC1119
parm: cifs_max_pending:Simultaneous requests to server.
Default: 50 Range: 2 to 256 (int)
parm: cifs_min_small:Small network buffers in pool. Default: 30
Range: 2 to 256 (int)
parm: cifs_min_rcv:Network buffers in pool. Default: 4 Range: 1
to 64 (int)
parm: CIFSMaxBufSize:Network buffer size (not including
header). Default: 16384 Range: 8192 to 130048 (int)
[root@ohmster BUILD]#

The default in most cases have always worked for me with Fedora. I just
don't understand what this mount memory error is about, it does not seem
to make sense. I have never had this kind of problem before with samba. I
hope that somebody can come up with some new way of looking at this. It
is not a matter of doing my homework as Michael says, I really have spent
a lot of time on this and I am totally stumped.

--
~Ohmster
theohmster at comcast dot net
Put "messageforohmster" in message body
to pass my spam filter.
 
Reply With Quote
 
Grant
Guest
Posts: n/a

 
      10-22-2006, 01:02 AM
On Sat, 21 Oct 2006 18:12:04 -0500, Ohmster <notareal@emailaddress.> wrote:

>[root@ohmster ~]# grep -i "smb\|cif" /boot/config-`uname -r`
># CONFIG_SMB_FS is not set

^^^^^^^^^^^^^^^^^^^^^^^^^^^^--> no smbfs
>CONFIG_CIFS=m
># CONFIG_CIFS_STATS is not set
>CONFIG_CIFS_WEAK_PW_HASH=y
>CONFIG_CIFS_XATTR=y
>CONFIG_CIFS_POSIX=y
># CONFIG_CIFS_DEBUG2 is not set
># CONFIG_CIFS_EXPERIMENTAL is not set


Do you compile own kernel? I have no idea why you get memory error, but
I'd turn on smbfs and use that. Also try 2.6.17.14 kernel, works for me.

grant@sempro:~$ grep -i "smb\|cif" /boot/config-`uname -r`
CONFIG_SMB_FS=m
# CONFIG_SMB_NLS_DEFAULT is not set
CONFIG_CIFS=m
# CONFIG_CIFS_STATS is not set
# CONFIG_CIFS_XATTR is not set
grant@sempro:~$ uname -r
2.6.17.14a

Grant.
--
http://bugsplatter.mine.nu/
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OT: Skype newsgroup? Terry Pinnell Broadband 5 12-12-2010 03:03 PM
Apple newsgroup ewastudent Wireless Networks 1 12-12-2008 08:25 PM
Is there a newsgroup for WSUS? Spin Windows Networking 2 09-02-2008 09:52 AM
Wrong Address to this Newsgroup =?Utf-8?B?TWFyY2lhIEIu?= Broadband Hardware 3 05-31-2005 01:08 AM
Newsgroup access Richard Rollins Broadband 6 05-01-2004 08:01 PM



1 2 3 4 5 6 7 8 9 10 11