If he is using the old patch, then there maybe a typo in the init.rc
added by me under the line for adbd. If that is the case, just remove
the enabled. But it is unlikely to cause the segfault.
Yi
On Tue, 2009-04-21 at 08:39 +0800, Chen Yang wrote:
> Your init.rc seems to have problem at lne 183, i don't know whether it
> may cause the segfault.
> --
> Chen
> 
> On Tue, Apr 21, 2009 at 4:11 AM, gowtham gowda <gowth...@gmail.com> wrote:
> >
> > 1st time i used the moblin kernel, but when i use the android kernel i
> > am getting the "segmentation fault". The dmesg output is
> >
> > [  165.505690] init: /init.rc: 183: invalid option 'enabled'
> > [  167.114261] init[1230]: segfault at 00000020 eip 0804be00 esp
> > bffde7c0 error 6
> >
> >
> > On Apr 19, 10:00 pm, Chen Yang <sunsety...@gmail.com> wrote:
> >> have you used the android kernel on your host?
> >> --
> >>  Chen
> >>
> >> On Mon, Apr 20, 2009 at 8:50 AM, gowtham gowda <gowth...@gmail.com> wrote:
> >>
> >> > # 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