Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] gentoo on a kvm - can't install kernel sources Mick <michaelkintzios@×××××.com>
Re: [gentoo-user] gentoo on a kvm - can't install kernel sources the <the.guard@××××.ru>
Re: [gentoo-user] gentoo on a kvm - can't install kernel sources Alan McKinnon <alan.mckinnon@×××××.com>