[linux-cifs-client] Re: "Cannot allocate memory"

Ohmster theohmster at comcast.net
Sun Oct 22 19:21:52 GMT 2006


NOT a mailing mistake, this is the correct list to post this issue to. Please help if you can.

Thank you, sorry for any confusion.

Sincerely,
~Ohmster
Paul
---------------------------------------------------------------------
Dear Steven (and anyone else that can help),

You authored this module:

[root at 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 <sfrench at us.ibm.com>
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 at ohmster BUILD]#

...and I even see a google reply from you titled "Re: "Cannot allocate memory"" but there is no information in the post. I am 
pulling my hair out with this error and NOONE on the internet can figure it out. See error below:

[root at ohmster ~]# mount -t cifs //missy/ohmster_music /mnt/test -o username=linux
Password:
mount error 12 = Cannot allocate memory
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
[root at ohmster ~]#

No matter what I try, a credential file, putting the -o first, will fix this problem.

[root at ohmster etc]# mount -t cifs -o 
credentials=/etc/smbpasswd.cifs,directio,uid=ohmster,gid=ohmster,rw,dir_mode=0755,file_mode=0644,iocharset=utf8 
//missy/ohmster_music /mnt/test
mount error 12 = Cannot allocate memory
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
[root at ohmster etc]#

(Mount command is all on one line.)

Can you please, please take a moment and share your thoughts with me on this error if you have any time at all for this? I have 
joined the cifs mailing lists, been through the Usenet networking newsgroups, and googled all over the globe, and nobody has heard 
of this error or knows what to do about it.

Thank you Steven. System Details to follow.

Sincerely,
Paul

Linux System Details:
OS: Fedora Core 5
Kernel: 2.6.18-1.2200.fc5
System Memory:
[ohmster at ohmster ~]$ free -m
                   total       used       free     shared    buffers     cached
Mem:          1519       1128        391          0        239        586
-/+ buffers/cache:        302       1217
Swap:         1983          0       1983
[ohmster at ohmster ~]$
mount.cifs version: 1.10
System Configuration per samba and cifs:
[root at 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 at ohmster ~]#

Windows XP Share Machine Details:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Ohmster>mem

    655360 bytes total conventional memory
    655360 bytes available to MS-DOS
    597824 largest executable program size

   1048576 bytes total contiguous extended memory
         0 bytes available contiguous extended memory
    941056 bytes available XMS memory
           MS-DOS resident in High Memory Area

C:\DOCUME~1\Ohmster>

C:\DOCUME~1\Ohmster>net view
Server Name            Remark

---------------------------------------
\\MISSY                Paul's Computer
\\OHMSTER              Samba Server
The command completed successfully.


C:\DOCUME~1\Ohmster>

Some information from the system log when executing the mount command:

Running command and monitoring the /var/log/messages file...

[root at ohmster etc]# mount -t cifs -o
credentials=/etc/smbpasswd.cifs,directio,uid=ohmster,gid=ohmster,rw,dir_mode=0755,file_mode=0644,iocharset=utf8 
//missy/ohmster_music /mnt/test
mount error 12 = Cannot allocate memory
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
[root at ohmster etc]#

System log with tail -f during the event:
Oct 22 14:12:58 ohmster kernel:  CIFS VFS: cifs_mount failed w/return code = -12
Oct 22 14:12:58 ohmster nmbd[2684]: [2006/10/22 14:12:58, 0] nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(351)
Oct 22 14:12:58 ohmster nmbd[2684]:   find_domain_master_name_query_fail:
Oct 22 14:12:58 ohmster nmbd[2684]:   Unable to find the Domain Master Browser name OHM<1b> for the workgroup OHM.
Oct 22 14:12:58 ohmster nmbd[2684]:   Unable to sync browse lists in this workgroup.

_______________________________________________
linux-cifs-client mailing list
linux-cifs-client at lists.samba.org
https://lists.samba.org/mailman/listinfo/linux-cifs-client



More information about the linux-cifs-client mailing list