From: Mauri on
Hi to all debian expert.
I'm running an rsync session over smb client between an debian and win 7.
at one moment the rsync goes down with this error:

rsync: mkstemp "some files" failed: Cannot allocate memory (12)

If I can list in my mount point I have this error:

bemprt:~# uname -a
Linux bemprt 2.6.32-3-686 #1 SMP Thu Feb 25 06:14:20 UTC 2010 i686 GNU/Linux
bemprt:/var/log# dpkg -l | grep rsync
ii gadmin-rsync 0.1.5-2 GTK+
configuration tool for rsync
ii rsync 3.0.7-2 fast
remote file copy program (like rcp)
bemprt:/var/log# dpkg -l | grep smb
ii libsmbclient 2:3.4.8~dfsg-1
shared library for communication with SMB/CI
ii smb4k 0.10.7-1 A
Samba (SMB) share advanced browser for KDE
ii smbclient 2:3.4.8~dfsg-1
command-line SMB/CIFS clients for Unix
ii smbfs 2:4.1-1
Common Internet File System utilities - comp
bemprt:~# l
ls: impossibile accedere a "homewin7": Impossibile allocare della memoria
totale 0
d????????? ? ? ? ? ? "homewin7"/
bemprt:~# smbmount //192.168.0.10/Portatile /mnt/smb/homewin7 -o
username=yyyy,password=xxxx,rw
mount error(12): Cannot allocate memory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)


In my kernel log I have many errors as:

Jun 2 15:35:53 bemprt kernel: [ 6271.987637] CIFS VFS: cifs_mount failed
w/return code = -13
Jun 2 15:35:56 bemprt kernel: [ 6274.682329] CIFS VFS: cifs_mount failed
w/return code = -13
Jun 2 15:35:59 bemprt kernel: [ 6277.894136] CIFS VFS: cifs_mount failed
w/return code = -13
Jun 2 16:08:55 bemprt kernel: [ 8254.041068] CIFS VFS: Write2 ret -28,
wrote 0
Jun 2 16:08:55 bemprt kernel: [ 8254.047177] CIFS VFS: Write2 ret -28,
wrote 0
Jun 2 16:08:55 bemprt kernel: [ 8254.050500] CIFS VFS: Write2 ret -28,
wrote 0
Jun 2 16:08:55 bemprt kernel: [ 8254.075921] CIFS VFS: Write2 ret -28,
wrote 0
Jun 2 16:08:55 bemprt kernel: [ 8254.081525] CIFS VFS: Write2 ret -28,
wrote 0
Jun 2 16:08:55 bemprt kernel: [ 8254.087170] CIFS VFS: Write2 ret -28,
wrote 0
Jun 2 16:08:55 bemprt kernel: [ 8254.092736] CIFS VFS: Write2 ret -28,
wrote 0
Jun 2 16:08:55 bemprt kernel: [ 8254.096300] CIFS VFS: Write2 ret -28,
wrote 0
Jun 2 16:08:55 bemprt kernel: [ 8254.123048] CIFS VFS: Write2 ret -28,
wrote 0
Jun 2 16:08:55 bemprt kernel: [ 8254.129049] CIFS VFS: Write2 ret -28,
wrote 0
[........]
Jun 2 16:48:00 bemprt kernel: [10599.123549] CIFS VFS: Unexpected lookup
error -12
Jun 2 16:48:00 bemprt kernel: [10599.135233] CIFS VFS: Unexpected lookup
error -12
Jun 2 16:48:01 bemprt kernel: [10600.142302] CIFS VFS: Unexpected lookup
error -12
Jun 2 16:48:01 bemprt kernel: [10600.153761] CIFS VFS: Unexpected lookup
error -12
Jun 2 16:48:01 bemprt kernel: [10600.154486] CIFS VFS: Unexpected lookup
error -12
Jun 2 16:48:01 bemprt kernel: [10600.168608] CIFS VFS: Unexpected lookup
error -12
Jun 2 16:48:01 bemprt kernel: [10600.169223] CIFS VFS: Unexpected lookup
error -12
Jun 2 16:48:01 bemprt kernel: [10600.179834] CIFS VFS: Unexpected lookup
error -12
Jun 2 16:48:02 bemprt kernel: [10601.186703] CIFS VFS: Unexpected lookup
error -12
[........]

there are some relationship with my problem? What I can do?

Many thanks for all suggest.

Cheers,
Lain