1 |
On Sunday 25 Aug 2013 14:51:33 Michael Mair-Keimberger wrote: |
2 |
> Hi List, |
3 |
> |
4 |
> Since a few days i'm trying to install gentoo on a kvm guest from edis.at. |
5 |
> They support to boot from a gentoo minimal live-cd in order to install your |
6 |
> own gentoo. The system has 5GB storage and 256MB ram. Actually that |
7 |
> should be enough for a minimal installation. However, till now i couldn't |
8 |
> get over that point where i'm trying to install the kernel sources... |
9 |
> |
10 |
> The partition of the hd looks like this right now: |
11 |
> |
12 |
> 64MB /boot |
13 |
> 256MB swap |
14 |
> ~4,3GB / |
15 |
> |
16 |
> Swap is active and i also made sure there are enough inodes on / (i had to |
17 |
> raised them). |
18 |
> |
19 |
> Even though there is enough space and 256mb ram + 256mb swap should |
20 |
> be enough ram i can't install (copy) the kernel sources. They just stop |
21 |
> |
22 |
> suddenly. There is nothing in the build.log. Last view lines are: |
23 |
> >>> /usr/src/linux-3.10.7-gentoo/sound/soc/pxa/pxa2xx-ac97.c |
24 |
> >>> /usr/src/linux-3.10.7-gentoo/sound/soc/pxa/pxa2xx-pcm.c |
25 |
> >>> /usr/src/linux-3.10.7-gentoo/sound/soc/pxa/pxa-ssp.c |
26 |
> >>> /usr/src/linux-3.10.7-gentoo/sound/soc/pxa/pxa2xx-i2s.c |
27 |
> |
28 |
> However i'll get errors in dmesg and it seems i'll get out of memory while |
29 |
> installing: |
30 |
> |
31 |
> [snip] |
32 |
> [63599.551452] emerge invoked oom-killer: gfp_mask=0x201da, order=0, |
33 |
> oom_score_adj=0 |
34 |
> [63599.551466] Pid: 12358, comm: emerge Not tainted 3.8.13-gentoo #1 |
35 |
> . |
36 |
> . |
37 |
> . |
38 |
> [63599.552434] Out of memory: Kill process 13382 (emerge) score 635 or |
39 |
> sacrifice child |
40 |
> [63599.552435] Killed process 13382 (emerge) total-vm:438472kB, anon- |
41 |
> rss:206552kB, file-rss:0kB |
42 |
> [snip] |
43 |
> |
44 |
> Any idea what i can do here, except buying an better kvm? From the docs |
45 |
> 256MB should be fine so i don't know why it doesn't work? |
46 |
> |
47 |
> thx |
48 |
> mmike |
49 |
|
50 |
I don't know why the docs say 256MB is enough, or if the statement is out of |
51 |
date. Did you try increasing swap just for now to see if it completes the |
52 |
installation? Some packages like gcc would eat up a lot RAM and it may never |
53 |
be able to finish compiling without more memory and/or swap. |
54 |
-- |
55 |
Regards, |
56 |
Mick |