Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Jf8wX-0000rK-16 for mharc-grub-devel@gnu.org; Fri, 28 Mar 2008 03:24:05 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jf8wV-0000oD-79 for grub-devel@gnu.org; Fri, 28 Mar 2008 03:24:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jf8wT-0000kE-AT for grub-devel@gnu.org; Fri, 28 Mar 2008 03:24:02 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jf8wT-0000jy-4G for grub-devel@gnu.org; Fri, 28 Mar 2008 03:24:01 -0400 Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jf8wS-0000R6-Eh for grub-devel@gnu.org; Fri, 28 Mar 2008 03:24:00 -0400 Received: from ti-out-0910.google.com ([209.85.142.184]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jf8wQ-00012X-O9 for grub-devel@gnu.org; Fri, 28 Mar 2008 03:23:59 -0400 Received: by ti-out-0910.google.com with SMTP id a20so25875tia.10 for ; Fri, 28 Mar 2008 00:23:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=NlGdprSs/PvpfjgsVZxDdBrwYIB6n8n2Fh3DZyqqOdI=; b=B2Fz0UaIIi2LHsamuSRUcx+LeRVD7zWkt7UecfvVGtcyiKHLEkdbfunIO5DSow0vEkTjxkuRMvT8IykR2H8h1yEMCq8snaamLRLPckjCH8l/7q50IGOWaZ4fKaG2sqSa5pYjH2bjFD/TNx4oNPKwD5KaY16oX+bSVb1AhcZWwBI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nWndYaScOtEMZ4aRob1N3ofoVOidot3wYPoN9zYWRgm607t9C0OeH5luFmhXrRB0jcCQmlExo8nC2Z/MIvxiOFKTCrb8LjGII5M02hAEiRfaF5ditSRdu4V5ttEVn61PcLBShEAYO+2+zbVbRgLsFdTSLeTpun3v6saXKvL+tho= Received: by 10.110.73.3 with SMTP id v3mr1895575tia.27.1206689035214; Fri, 28 Mar 2008 00:23:55 -0700 (PDT) Received: by 10.110.62.19 with HTTP; Fri, 28 Mar 2008 00:23:55 -0700 (PDT) Message-ID: Date: Fri, 28 Mar 2008 15:23:55 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <20080328023334.0wubz7sasksw404w@webmail.spamcop.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <512600.60355.qm@web52306.mail.re2.yahoo.com> <20080328023334.0wubz7sasksw404w@webmail.spamcop.net> X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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: Fri, 28 Mar 2008 07:24:03 -0000 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 -- Bean