From: sposelenov@emcraft.com (Sergei Poselenov)
To: linux-arm-kernel@lists.infradead.org
Subject: nommu Linux: not enough memory to start an application?
Date: Fri, 2 Oct 2015 20:07:26 +0300 [thread overview]
Message-ID: <20151002200726.18428ee4@skywanderer.emcraft.com> (raw)
Hello,
I'm trying to start a big BFLT application on ARM/noMMU Linux 4.2.0 and
getting the following output:
...
nommu: Allocation of length 5226496 from process 21 (qt) failed
active_anon:0 inactive_anon:0 isolated_anon:0
active_file:0 inactive_file:13 isolated_file:0
unevictable:1900 dirty:0 writeback:0 unstable:0
slab_reclaimable:27 slab_unreclaimable:112
mapped:0 shmem:0 pagetables:0 bounce:0
free:5535 free_pcp:0 free_cma:0
Normal free:22140kB min:620kB low:772kB high:928kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:52kB unevictable:7600kB isolated(anon):0kB isolated(file):0kB present:32768kB managed:31568kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:108kB slab_unreclaimable:448kB kernel_stack:112kB pagetables:0kB unstable:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:1836 all_unreclaimable? yes
lowmem_reserve[]: 0 0
Normal: 3*4kB (UM) 2*8kB (M) 0*16kB 1*32kB (M) 3*64kB (UM) 3*128kB (UM) 4*256kB (UM) 2*512kB (M) 5*1024kB (UM) 5*2048kB (UM) 1*4096kB (M) 0*8192kB = 22140kB
1913 total pagecache pages
Unable to allocate RAM for process text/data, errno 12
SEGV
Kernel configuration includes a pretty big INITRD image, about 7MB. Total number of memory
on the board is 32MB.
I already increased CONFIG_FORCE_MAX_ZONEORDER from the default 11 to 12
and turned off everything (networking, usb etc) but this doesn't help,
as you see the number of 8192kB chunks is zero.
I can't believe that the system has >20 MB of free memory and still
unable to run 5MB application. That's completely unlike of the old 2.6.33
kernel with the same INITRD which works fine even in "normal" configuration,
with networking and drivers enabled.
Any ideas?
Thanks is advance.
Regards,
Sergei
reply other threads:[~2015-10-02 17:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151002200726.18428ee4@skywanderer.emcraft.com \
--to=sposelenov@emcraft.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).