Received: from [140.186.70.92] (port=58596 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OtJ7e-0001AV-8f for qemu-devel@nongnu.org; Wed, 08 Sep 2010 07:47:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OtJ7Z-0003oD-VT for qemu-devel@nongnu.org; Wed, 08 Sep 2010 07:47:26 -0400 Received: from mtagate1.uk.ibm.com ([194.196.100.161]:44502) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OtJ7Z-0003nF-OY for qemu-devel@nongnu.org; Wed, 08 Sep 2010 07:47:21 -0400 Received: from d06nrmr1407.portsmouth.uk.ibm.com (d06nrmr1407.portsmouth.uk.ibm.com [9.149.38.185]) by mtagate1.uk.ibm.com (8.13.1/8.13.1) with ESMTP id o88BlIxj012352 for ; Wed, 8 Sep 2010 11:47:18 GMT Received: from d06av01.portsmouth.uk.ibm.com (d06av01.portsmouth.uk.ibm.com [9.149.37.212]) by d06nrmr1407.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o88BlIZ03092560 for ; Wed, 8 Sep 2010 12:47:18 +0100 Received: from d06av01.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av01.portsmouth.uk.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id o88BlIsp012871 for ; Wed, 8 Sep 2010 12:47:18 +0100 Message-ID: <4C8777C4.5010802@free.fr> Date: Wed, 08 Sep 2010 13:47:16 +0200 From: Daniel Lezcano MIME-Version: 1.0 Subject: Re: [Qemu-devel] [rfc 0/3] arm : dynamically choose initrd load address References: <1283782373-4797-1-git-send-email-daniel.lezcano@free.fr> In-Reply-To: <1283782373-4797-1-git-send-email-daniel.lezcano@free.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: paul@codesourcery.com On 09/06/2010 04:12 PM, Daniel Lezcano wrote: > Hi all, > > after compiling my kernel on the arm architecture I was not able to > start it because qemu was segfaulting or going to an infinite loop. > > After google'ing I found on launchpad the bug: > > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/524893 > > Following the indications, I rebuilt qemu with an higher initrd load > address and the kernel booted correctly. > > I am trying to make the things easier and/or to fail gracefully with > patchset but I am not familiar with the ARM architecture neither qemu > internals, so may be I am totally wrong :) > > The first patch raise an error if there is an overlapping error. > But the two next patches makes to compute automatically an address > for initrd to loaded. > > Daniel Lezcano (3): > arm : raise an error if the kernel size will overlap the initrd > arm : factor out set_kernel_args[_old] > arm : make initrd load address dynamic > > hw/arm-misc.h | 1 + > hw/arm_boot.c | 40 +++++++++++++++++++--------------------- > 2 files changed, 20 insertions(+), 21 deletions(-) > Hi, This patchset fix some issues Linaro people are facing when they are trying to boot a big kernel. Any chance someone has time to review the patchset ? Is the patchset acceptable for upstream merge ? thanks in advance -- Daniel