* Re: [gentoo-user] gentoo on a kvm - can't install kernel sources
@ 2013-08-25 14:02 99% ` Mick
0 siblings, 0 replies; 1+ results
From: Mick @ 2013-08-25 14:02 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 2108 bytes --]
On Sunday 25 Aug 2013 14:51:33 Michael Mair-Keimberger wrote:
> Hi List,
>
> Since a few days i'm trying to install gentoo on a kvm guest from edis.at.
> They support to boot from a gentoo minimal live-cd in order to install your
> own gentoo. The system has 5GB storage and 256MB ram. Actually that
> should be enough for a minimal installation. However, till now i couldn't
> get over that point where i'm trying to install the kernel sources...
>
> The partition of the hd looks like this right now:
>
> 64MB /boot
> 256MB swap
> ~4,3GB /
>
> Swap is active and i also made sure there are enough inodes on / (i had to
> raised them).
>
> Even though there is enough space and 256mb ram + 256mb swap should
> be enough ram i can't install (copy) the kernel sources. They just stop
>
> suddenly. There is nothing in the build.log. Last view lines are:
> >>> /usr/src/linux-3.10.7-gentoo/sound/soc/pxa/pxa2xx-ac97.c
> >>> /usr/src/linux-3.10.7-gentoo/sound/soc/pxa/pxa2xx-pcm.c
> >>> /usr/src/linux-3.10.7-gentoo/sound/soc/pxa/pxa-ssp.c
> >>> /usr/src/linux-3.10.7-gentoo/sound/soc/pxa/pxa2xx-i2s.c
>
> However i'll get errors in dmesg and it seems i'll get out of memory while
> installing:
>
> [snip]
> [63599.551452] emerge invoked oom-killer: gfp_mask=0x201da, order=0,
> oom_score_adj=0
> [63599.551466] Pid: 12358, comm: emerge Not tainted 3.8.13-gentoo #1
> .
> .
> .
> [63599.552434] Out of memory: Kill process 13382 (emerge) score 635 or
> sacrifice child
> [63599.552435] Killed process 13382 (emerge) total-vm:438472kB, anon-
> rss:206552kB, file-rss:0kB
> [snip]
>
> Any idea what i can do here, except buying an better kvm? From the docs
> 256MB should be fine so i don't know why it doesn't work?
>
> thx
> mmike
I don't know why the docs say 256MB is enough, or if the statement is out of
date. Did you try increasing swap just for now to see if it completes the
installation? Some packages like gcc would eat up a lot RAM and it may never
be able to finish compiling without more memory and/or swap.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2013-08-25 13:51 [gentoo-user] gentoo on a kvm - can't install kernel sources Michael Mair-Keimberger
2013-08-25 14:02 99% ` Mick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox