# chroot /mnt/android /init
Segmentation fault

On Apr 19, 8:42 pm, gowtham gowda <gowth...@gmail.com> wrote:
> i am getting the following error:
> [ 1342.051355] Bulk In Failed. Status=-71, BIIdx=0x4, BIRIdx=0x4,
> actual_length= 0x0
> [ 1399.669726] init[10339]: segfault at 00000020 eip 0804be00 esp
> bfdc0c90 error 6
> [ 1402.741197] init[11162]: segfault at 00000020 eip 0804be00 esp
> bfe234f0 error 6
>
> On Apr 19, 7:01 pm, Chen Yang <sunsety...@gmail.com> wrote:
>
> > You can copy all the out/target/product/eee_701/root directory to one
> > directory, say /home/android
> > cp -raf out/target/product/eee_701/root /home/android
> > cp -raf out/target/product/eee_701/system /home/android
> > cp -raf out/target/product/eee_701/data /home/android
> > before chroot, try to add chmod -R o+r  /home/android
> > Meanwhile, you may need to modify the init.rc to remove those
> > system,data related mounting, as well as those   kernel modules.
>
> > then: chroot /home/android /init
>
> > Hope it helps!
> > --
> >  Chen
>
> > On Sun, Apr 19, 2009 at 11:55 PM, gowtham gowda <gowth...@gmail.com> wrote:
>
> > > If you can give me a how to run android from chroot, it will be very
> > > helpful.
>
> > > Thanks,
> > > Gowtham
>
> > > On Apr 19, 10:52 am, Sean McNeil <seanmcne...@gmail.com> wrote:
> > >> I used to run Android from chroot under a minimal filesystem all the
> > >> time. It helps to debug the init process.
>
> > >> David Turner wrote:
> > >> > in short, no, Android requires its own init system, specific kernel
> > >> > drivers that are probably not in the moblin/ubuntu one, etc...
>
> > >> > there are probably some hacks that could make the two systems co-exist
> > >> > (e.g. like running Debian in a chroot under Android), but they
> > >> > probably require a few non-trivial steps that might be hard to
> > >> > automate right now.
>
> > >> > On Sun, Apr 19, 2009 at 1:40 AM, gowtham gowda <gowth...@gmail.com
> > >> > <mailto:gowth...@gmail.com>> wrote:
>
> > >> >     is it possible to start android on top of moblin or ubuntu 
> > >> > installed
> > >> >     on  a laptop or netbook?
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to