ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: running root filesystem from ramdisk

To:
Subject: Re: [ts-7000] Re: running root filesystem from ramdisk
From:
Date: Wed, 21 Feb 2007 19:26:12 -0500
>... Mark's idea to create a ramdisk on /dev/rd once the system
>is up and then expand a compressed root filesystem into that and
>switch to it.  It's slow and IMHO needlessly complicated though, and
>the simplist option by far is to boot into a ramdisk. 

As far as I can tell, quite a lot of the linux boot sequence is slow
and needlessly complicated.  :)

(That's no reason to make it any worse than it has to be, though...)

>Mark, you are correct that the RAM comes in 8Mb banks, but the error
>is posted before the memory is detected.  I tried again with a much
>smaller ramdisk sizes (<5Mb then <2.3Mb).  Again, the same error.  The
>smallest ramdisk attempt reports:

Hmm... That's odd.  You would think something that small would work.

In my previous email, I gave the wrong file name for where that
error message seems to be coming from.  The correct location is
arch/arm/mm/init.c in check_initrd().  

I looked at it again today, and it looks like maybe mi->bank[] is a
description of all the regions of physical memory in the system.  Near the
end of bootmem_init(), I think the call to reserve_bootmem_node() is
declaring the RAM occupied by the initrd to be unavailable to the system.

You might want to get in to your kernel sources and print the values of
phys_initrd_start and end, and the values it is comparing to in mi->bank[].
That would at least give you some insight into what the system thinks
the problem is.

Mark S.


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/4It09A/fOaOAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups - Join or create groups, clubs, forums &amp; communities. Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups - Join or create groups, clubs, forums &amp; 
communities. is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU