On Fri, Mar 28, 2008 at 03:23:55PM +0800, Bean wrote:
> On Fri, Mar 28, 2008 at 2:33 PM, Pavel Roskin <[EMAIL PROTECTED]> wrote:
> > Quoting Bean <[EMAIL PROTECTED]>:
> >
> >  > 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

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to