mount.cifs fails with "cannot allocate memory"

Bug #607311 reported by Michael Stevens
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Expired
Low
Unassigned

Bug Description

Binary package hint: samba

mstevens@mstevens-desktop:/export % lsb_release -rd
Description: Ubuntu 10.04 LTS
Release: 10.04

mstevens@mstevens-desktop:/export % uname -a
Linux mstevens-desktop 2.6.32-23-generic #37-Ubuntu SMP Fri Jun 11 07:54:58 UTC 2010 i686 GNU/Linux

Trying to mount a CIFS share with mount.cifs gives an "out of memory" error:

mstevens@mstevens-desktop:/export % sudo mount -t cifs -o credentials=/etc/cifs.credentials,rw,nodev,noexec,nosuid,uid=mstevens,gid=mstevens '\\files.local\backup' /export/backup
mount error(12): Cannot allocate memory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Other shares on the same server can be correctly mounted.

dmesg contains:

[1493914.423643] CIFS VFS: Send error in QFSAttributeInfo = -5
[1493914.424928] CIFS VFS: cifs_read_super: get root inode failed

which may be related.

Revision history for this message
Chuck Short (zulcss) wrote :

What version are you copying from?

Changed in samba (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Michael Stevens (mstevens-etla-deactivatedaccount) wrote :

Server is a ReadyNAS Duo running RAIDiator 4.1.6 [1.00a043].

Client is Ubuntu 10.04 x86.

On further experiment I was able to fix the problem by deleting and recreating the share on the server.

Revision history for this message
freecode (ocrates-deactivatedaccount) wrote :

This appears to be resolved in Ubuntu server bug #570456 if I am reading the thread correctly:

http://<email address hidden>/msg38649.html

Seems there is an unimplemented cp15 register write (c9, c12, {0, 0}) with Ubuntu OMAP image that is at the root of the issue and is fixed in Maverick's qemu-kvm package.

Revision history for this message
Michael Stevens (mstevens-etla-deactivatedaccount) wrote : Re: [Bug 607311] Re: mount.cifs fails with "cannot allocate memory"

Perhaps I'm being dumb, but I can't see the relevance?

On Thu, Sep 09, 2010 at 03:56:38PM -0000, freecode wrote:
> This appears to be resolved in Ubuntu server bug #570456 if I am reading
> the thread correctly:
>
> http://www.mail-archive.com/ubuntu-server-
> <email address hidden>/msg38649.html
>
> Seems there is an unimplemented cp15 register write (c9, c12, {0, 0})
> with Ubuntu OMAP image that is at the root of the issue and is fixed in
> Maverick's qemu-kvm package.
>
> --
> mount.cifs fails with "cannot allocate memory"
> https://bugs.launchpad.net/bugs/607311
> You received this bug notification because you are a direct subscriber
> of the bug.

Revision history for this message
freecode (ocrates-deactivatedaccount) wrote :

You're not being dumb - my mistake. I managed to find the issue locally. The two are unrelated as the issue actually traced down to a misconfigured share in AD and not the same issue as above. Call this one a "mea culpa" - and never mind the report.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for samba (Ubuntu) because there has been no activity for 60 days.]

Changed in samba (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.