From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0177E138291 for ; Thu, 3 Jan 2013 23:21:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5193521C034; Thu, 3 Jan 2013 23:21:16 +0000 (UTC) Received: from mail-vb0-f49.google.com (mail-vb0-f49.google.com [209.85.212.49]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 62CEDE0618 for ; Thu, 3 Jan 2013 23:20:08 +0000 (UTC) Received: by mail-vb0-f49.google.com with SMTP id r6so15761650vbi.22 for ; Thu, 03 Jan 2013 15:20:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; bh=tODc8WxDjfp3tl2AWzGwukLhDP5UWgzxFf0QLYqCLpo=; b=LT+W+98VBmtKvW82ggQDGnfdj0dMiDnU2DI/lzKW812RWOTGAI9zyUmgssUdtMXbfs B99JAQ7t+L4blINtNxUucuUzwlAbmLzxQlYAnFyGn3ghfxvWt0MMk5xMZee9ZWG5/pJL b5b5gJpzj100idHlW1LS97M1627Rj9ChqOZBWJooMy1YhM07+DIelNilK43LZVvkwqp0 80+16hKMirt6680zo8013staLlsXn5Pazk0MUqO5KAmVJCay0Mz6ljbwjbYmYEJyMPkP mIZmw5SVYMXHPv0g9Ss+f02KSZBYM/CynDEswWvURRjrY0HIsprjDl/dHtXYNP2Wu9pS +YCA== Received: by 10.58.214.231 with SMTP id od7mr77605657vec.44.1357255207531; Thu, 03 Jan 2013 15:20:07 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Sender: paul.hartman@gmail.com Received: by 10.58.217.195 with HTTP; Thu, 3 Jan 2013 15:19:46 -0800 (PST) In-Reply-To: References: From: Paul Hartman Date: Thu, 3 Jan 2013 17:19:46 -0600 X-Google-Sender-Auth: gNCN-HjtSc2eS68U8LH1MJeD6Kk Message-ID: Subject: Re: [gentoo-user] Ram Problem! To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 8ebe0431-a4a4-4bff-8da6-d58227afd8e0 X-Archives-Hash: fa2377b1db1f3e9130bb1e884c49378c On Mon, Dec 24, 2012 at 9:05 AM, Teodor Sp=E6ren = wrote: > Hello! > > I am trying to install gentoo on an old armada m700. The specs that I thi= nk > is relevant for this problem is the clocking speed of the cpu and the ram= . > It got 223mhz of clocking speed and 116mb ram. I have added 512mb of swap > since I knew the ram was going to be a problem. > > The command I issue is: "emerge gentoo-sources" and the output of the > command is this: http://bpaste.net/raw/66293/ > > The only thing I can really read from the error message is that it runs o= ut > of ram. This surprises me because all it is really doing is moving the > kernel sources into place? I asked around in #gentoo on irc.freenode.net = and > someone adviced me to turn of "MAKEOPTS=3D"-j2" and "-pipe", but this doe= sn't > fix it. And in the case of this sources package, I think nothing is being compiled anyway. It simply unpacks, patches and copies the files to /usr/src/xxxxx so I don't think either of those options ever come into play. You can manually emerge using the "ebuild" command, would be interesting to see if it makes any difference. Could be some RAM usage by emerge is just too much for your system. You may need to use ulimit to keep python from using too much RAM when you run emerge. Do you have any daemons running in the background? Could you disable any to free up more RAM as a test? I think you will need even more than 512mb swap to be honest, I have a server with 256mb of RAM and have to use 1gb of swap or else I get out of memory conditions on occasion. I think you want 1gb or more if it is possible. In this case because it's out of memory while copying files, I wonder if some of sysctl vm.* options will have influence. Kernel sources have thousands of files and maybe I/O is not fast enough. I use nice and ionice to make emerge running at the lowest priority (meaning the least important) > The possible work around I have thought of is just getting the vanilla > kernel from kernel.org, but the gentoo wiki advise against it, since > gentoo-sources is a patched kernel. You can use vanilla, no problems. Please review the genpatches patch set and determine if you use/need any of the Gentoo patches: https://dev.gentoo.org/~mpagano/genpatches/ You can also manually apply this patchset to vanilla if you like, of course= . Good luck and welcome to the list! :)