ls: can't open '.': Cannot allocate memory

Luis Alves <[email protected]>
Newsgroups gmane.linux.uclinux.devel
Message-ID <CAGj5WxAVhnQoaFhRsjZvB7xF1pML-fnv2XD8s8SRb3AdFdRYBg@mail.gmail.com>
Hi,

Just like the mail subject says, I'm getting a lot of these errors
when 'ls'ing' NFS mounts (but only NFS mounts).

Full error sample text:

# ls
ls: page allocation failure: order:8, mode:0xd0
Call Trace:
        [<008446e8>] 0x8446e8
 [<0084683a>] 0x84683a
 [<00851e34>] 0x851e34
 [<008526c2>] 0x8526c2
 [<008526c2>] 0x8526c2

        [<0084e200>] 0x84e200
 [<0085270a>] 0x85270a
 [<008127d2>] 0x8127d2

Mem-Info:
DMA per-cpu:
CPU    0: hi:    0, btch:   1 usd:   0
active_anon:0 inactive_anon:0 isolated_anon:0
 active_file:0 inactive_file:16 isolated_file:0
 unevictable:1 dirty:0 writeback:0 unstable:0
 free:1340 slab_reclaimable:24 slab_unreclaimable:255
 mapped:0 shmem:0 pagetables:0 bounce:0
 free_cma:0
DMA free:5360kB min:500kB low:624kB high:748kB active_anon:0kB
inactive_anon:0kB active_file:0kB inactive_file:64kB unevictable:4kB
isolated(anon):0kB isolated(file):0kB present:15704kB mlocked:0kB
dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:96kB
slab_unreclaimable:1020kB kernel_stack:84kB pagetables:0kB
unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0
all_unreclaimable? no
lowmem_reserve[]: 0 0 0
DMA: 36*4kB 30*8kB 29*16kB 21*32kB 6*64kB 7*128kB 4*256kB 3*512kB
0*1024kB 0*2048kB 0*4096kB = 5360kB
17 total pagecache pages
2046 pages RAM
152 pages reserved
261998 pages shared
541 pages non-shared
Allocation of length 528384 from process 94 (ls) failed
DMA per-cpu:
CPU    0: hi:    0, btch:   1 usd:   0
active_anon:0 inactive_anon:0 isolated_anon:0
 active_file:0 inactive_file:16 isolated_file:0
 unevictable:1 dirty:0 writeback:0 unstable:0
 free:1340 slab_reclaimable:24 slab_unreclaimable:255
 mapped:0 shmem:0 pagetables:0 bounce:0
 free_cma:0
DMA free:5360kB min:500kB low:624kB high:748kB active_anon:0kB
inactive_anon:0kB active_file:0kB inactive_file:64kB unevictable:4kB
isolated(anon):0kB isolated(file):0kB present:15704kB mlocked:0kB
dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:96kB
slab_unreclaimable:1020kB kernel_stack:84kB pagetables:0kB
unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0
all_unreclaimable? no
lowmem_reserve[]: 0 0 0
DMA: 36*4kB 30*8kB 29*16kB 21*32kB 6*64kB 7*128kB 4*256kB 3*512kB
0*1024kB 0*2048kB 0*4096kB = 5360kB
17 total pagecache pages
ls: can't open '.': Cannot allocate memory
#


call trace address description:

        [<008446e8>] 0x8446e8 (inside <warn_alloc_failed>)
 [<0084683a>] 0x84683a (inside <__alloc_pages_nodemask>)
 [<00851e34>] 0x851e34 (inside <do_mmap_pgoff>)
 [<008526c2>] 0x8526c2 <sys_old_mmap>
 [<008526c2>] 0x8526c2 <sys_old_mmap>

        [<0084e200>] 0x84e200 (inside <vm_mmap_pgoff>)
 [<0085270a>] 0x85270a (inside <sys_old_mmap>)
 [<008127d2>] 0x8127d2 (inside <enosys>)


Usually I have around 4 ~ 5 Mb free memory, so even if 'ls' needs
around 500k (like it says it needs in the dump - Allocation of length
528384 from process 94 (ls) failed) it would be enough.
Using busybox 'ls'.

Any sugestion?

Regards,
Luis
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.