Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
make menuconfig : make: *** virtual memory exhausted. Stop.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
sinterklaas
n00b
n00b


Joined: 10 Feb 2003
Posts: 20

PostPosted: Thu Jul 10, 2003 2:32 pm    Post subject: make menuconfig : make: *** virtual memory exhausted. Stop. Reply with quote

I've problems building a kernel on my DELL inspiron laptop.
When is do a 'make menuconfig' (or other makeables) it stops with :

make: *** virtual memory exhausted. Stop.

I compiled some kernels before, suddenly it stops working. The strange thing : the laptop works great (I just mis RTC in my kernel and need it).

This is what I tried allready :

- remerged gentoo-sources
- tried using my old kernels
- emerged an old version (3.79-r5) of make, to stop the 3.80 bug :
http://mail.gnu.org/archive/html/bug-make/2003-06/msg00026.html

All this didn't work.

here's some output from my system :

lappie linux # pwd
/usr/src/linux
lappie linux # make -d menuconfig
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i686-pc-linux-gnu
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <bug-make@gnu.org>.

Reading makefiles...
Reading makefile `Makefile'...
Child access: user 0 (real 0), group 0 (real 0)
Got a SIGCHLD; 1 unreaped children.
Child access: user 0 (real 0), group 0 (real 0)
Got a SIGCHLD; 1 unreaped children.
Child access: user 0 (real 0), group 0 (real 0)
Got a SIGCHLD; 1 unreaped children.
Reading makefile `.config' (search path) (no ~ expansion)...
make: *** virtual memory exhausted. Stop.

lappie linux # ulimit
unlimited

lappie linux # free
total used free shared buffers cached
Mem: 61720 24016 37704 0 2176 14952
-/+ buffers/cache: 6888 54832
Swap: 128480 0 128480

lappie linux # cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 63201280 24592384 38608896 0 2228224 15310848
Swap: 131563520 0 131563520
MemTotal: 61720 kB
MemFree: 37704 kB
MemShared: 0 kB
Buffers: 2176 kB
Cached: 14952 kB
SwapCached: 0 kB
Active: 17620 kB
ActiveAnon: 2388 kB
ActiveCache: 15232 kB
Inact_dirty: 204 kB
Inact_laundry: 0 kB
Inact_clean: 1692 kB
Inact_target: 3900 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 61720 kB
LowFree: 37704 kB
SwapTotal: 128480 kB
SwapFree: 128480 kB
Back to top
View user's profile Send private message
snipingkills
Tux's lil' helper
Tux's lil' helper


Joined: 11 May 2003
Posts: 92
Location: Denham Springs, La.

PostPosted: Thu Jul 10, 2003 2:43 pm    Post subject: Reply with quote

With that small amount of RAM I would suggest increasing your swap file size. I would personally go about double what you have. Maybe more. I have 128MB of RAM in this machine and to be on the safe side, I set up the swap file to be about 512MB.
_________________
When the Illusions of Reality fade,
Which is more deceptive; the Illusion or Reality?
Back to top
View user's profile Send private message
sinterklaas
n00b
n00b


Joined: 10 Feb 2003
Posts: 20

PostPosted: Thu Jul 10, 2003 3:30 pm    Post subject: Reply with quote

hmm, playing with strace show something disturbing...

lappie linux # strace make config
execve("/usr/bin/make", ["make", "config"], [/* 35 vars */]) = 0

---snip---

open(".config", O_RDONLY|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=28498, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
read(4, "#\n# Automatically generated by m"..., 4096) = 4096
brk(0x8073000) = 0x8073000

read(4, "bomb-2.1.ebuild\0\t-r1.ebuild\0\367Cha"..., 4096) = 4096
brk(0x8074000) = 0x8074000
brk(0x8076000) = 0x8076000
brk(0x807d000) = 0x807d000
brk(0x8086000) = 0x8086000
brk(0x8099000) = 0x8099000
read(4, "lroids-1.3.4-r1\0\0302\0\343sdlroids-1.3"..., 4096) = 4096
mmap2(NULL, 208896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401b4000
brk(0x8073000) = 0x8073000
mremap(0x401b4000, 208896, 413696, MREMAP_MAYMOVE) = 0x401b4000
mremap(0x401b4000, 413696, 823296, MREMAP_MAYMOVE) = 0x401b4000
mremap(0x401b4000, 823296, 1642496, MREMAP_MAYMOVE) = 0x401b4000
mremap(0x401b4000, 1642496, 3280896, MREMAP_MAYMOVE) = 0x401b4000
read(4, "inball\0\16/Manifest\0\1files\0\5/diges"..., 4096) = 4096
mremap(0x401b4000, 3280896, 6557696, MREMAP_MAYMOVE) = 0x401b4000
mremap(0x401b4000, 6557696, 13111296, MREMAP_MAYMOVE) = 0x401b4000
mremap(0x401b4000, 13111296, 26218496, MREMAP_MAYMOVE) = 0x401b4000
read(4, "k-theme-switch-2.0.0_rc2.ebuild\0"..., 4096) = 4096
mremap(0x401b4000, 26218496, 52432896, MREMAP_MAYMOVE) = 0x401b4000
mremap(0x401b4000, 52432896, 104861696, MREMAP_MAYMOVE) = 0x401b4000
mremap(0x401b4000, 104861696, 209719296, MREMAP_MAYMOVE) = 0x401b4000
read(4, "bo-1.0.22.ebuild\0\v19-r1.ebuild\0\0"..., 4096) = 4096
read(4, "db.xinetd\0\371ChangeLog\0\0dbskkd-cdb"..., 4096) = 3922
mremap(0x401b4000, 209719296, 419434496, MREMAP_MAYMOVE) = -1 ENOMEM (Cannot allocate memory)
mmap2(NULL, 419434496, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
brk(0x21073000) = 0x8073000
mmap2(NULL, 419434496, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
mmap2(NULL, 2097152, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x4c9b5000
munmap(0x4c9b5000, 307200) = 0
munmap(0x4cb00000, 741376) = 0
mprotect(0x4ca00000, 32768, PROT_READ|PROT_WRITE) = 0
mmap2(NULL, 419434496, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
write(2, "make: *** ", 10make: *** ) = 10
write(2, "virtual memory exhausted", 24virtual memory exhausted) = 24
write(2, ". Stop.\n", 9. Stop.
) = 9
chdir("/usr/src/linux-2.4.20-gentoo-r5") = 0
_exit(2) = ?


don't think the games have anything todo with te kernel ?

Jeroen
Back to top
View user's profile Send private message
snipingkills
Tux's lil' helper
Tux's lil' helper


Joined: 11 May 2003
Posts: 92
Location: Denham Springs, La.

PostPosted: Thu Jul 10, 2003 10:54 pm    Post subject: Reply with quote

No I think it has to do with the fact that after you run out of RAM and start swapping stuff out to the hard drive you run out of virtual memory and this install craps out.
_________________
When the Illusions of Reality fade,
Which is more deceptive; the Illusion or Reality?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum