On Tue, May 19, 2009 at 12:38 AM,  <[email protected]> wrote:
>
> Derek Spadaro:
>> I am still working on it.  Reproduction is difficult because the
>> application is an embedded system using MIPS processor.  I may need to
>> try 2.6.21.5 kernel, 0.9.30 uClibc, and 3.2 squashfs on a desktop.
>> But this environment is not created very easily.  Also I have still
>> failed thus far to compile glibc for MIPS.
>
> I made a simple test.
> - retrieve 
> http://www.uclibc.org/downloads/binaries/0.9.30/system-image-i686.tar.bz2
>  and plain linux-2.6.21.5 source files
> - extract system-image-i686.tar.bz2
> - ./run-with-home.sh and cp /proc/config.gz /home which is ./hdb.img
> - configure plain linux-2.6.21.5 with the copied config.gz
> - build linux-2.6.21.5
> - replace ./zImage-i686 by the built bzImage
> - build aufs1 for linux-2.6.21.5
> - copy the built aufs.ko into hdb.img, which will be /home in qemu.
> - edit /usr/bin/qemu-setup.sh in ./image-i686.ext2 and rename to /init.
> - in /init, mount aufs and switch_root
>
> No problem.
> How can I reproduce your problem?

The arch is MIPS, so it would be system-image-mips.tar.bz2.  Also aufs
must be the new root after switch_root, as in the init snippet from
the original mail.  Squashfs3.2 with lzma compression being the R/O
branch, and tmpfs R/W.  I successfully compiled a new toolchain with
glibc (2.7) instead of uClibc (thanks Michael for the embedded link)
and the issue still occurs.  So now I will try qemu with these things.
Derek

>
>
> J. R. Okajima
>

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 

Reply via email to