Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Jl0eJ-00060O-IO for mharc-grub-devel@gnu.org; Sun, 13 Apr 2008 07:45:31 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jl0eI-00060I-5T for grub-devel@gnu.org; Sun, 13 Apr 2008 07:45:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jl0eF-000606-Qc for grub-devel@gnu.org; Sun, 13 Apr 2008 07:45:28 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jl0eF-000603-LB for grub-devel@gnu.org; Sun, 13 Apr 2008 07:45:27 -0400 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jl0eF-0005TU-Dc for grub-devel@gnu.org; Sun, 13 Apr 2008 07:45:27 -0400 Received: from [192.168.10.6] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1Jl0eE-0006Mf-3I for grub-devel@gnu.org; Sun, 13 Apr 2008 13:45:26 +0200 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1Jl0du-0005km-60 for grub-devel@gnu.org; Sun, 13 Apr 2008 13:45:06 +0200 Date: Sun, 13 Apr 2008 13:45:06 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080413114506.GE20737@thorin> References: <512600.60355.qm@web52306.mail.re2.yahoo.com> <20080328023334.0wubz7sasksw404w@webmail.spamcop.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: Testing Grub 1.96 on RS/6000 7025-F50 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Apr 2008 11:45:30 -0000 On Fri, Mar 28, 2008 at 03:23:55PM +0800, Bean wrote: > On Fri, Mar 28, 2008 at 2:33 PM, Pavel Roskin wrote: > > Quoting Bean : > > > > > You can add the command you need to use with grub-mkimage, so that > > > they'll be built into the kernel. After grub2 starts, use ls to find > > > out if the disk has been detected. > > > > The ls command is available in the rescue mode, but its result is very > > likely to be "out of memory". The memory is the real problem here, > > not disks. > > > > I've seen a similar problem in qemu-system-ppc, where is was caused by > > the limitations of the open firmware that comes with qemu. But it > > would not print "attempt to claim over our own code". > > This warning is from grub_claim_heap in kern/powerpc/ieee1275/init.c, > i think the problem is it can't find memory to allocate, perhaps we > can add some grub_dprintf to list the memory map. > > you can also check the memory info in openfirmware: > > dev /memory .properties dend Or perhaps it's something wrong with the higher-layer logic that decides which regions are suitable and which are best avoided. See HEAP_MAX_SIZE & HEAP_MAX_ADDR. (I hate this hack...) -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.)