zygote fails to connect the local socket @property_service

41 views
Skip to first unread message

Alvin Cao

unread,
Apr 2, 2008, 3:32:05 AM4/2/08
to Android Internals
Hi all

I try to start android manually by the a.sh method, not /init. It
turns out that the runtime process ends up with an infinite loop in
which it tries to communicate with zygote but get refused.
=============================================
12:00:00.030344 socket(PF_FILE, SOCK_STREAM, 0) = 7
12:00:00.031303 connect(7, {sa_family=AF_FILE, path=@android.zygote},
17) = -1 ECONNREFUSED (Connection refused)
12:00:00.032589 close(7) = 0
=============================================

I guess there might be something wrong with zygote. So I straced
zygote and get the following error:
=============================================
00:00:29.399183 socket(PF_FILE, SOCK_STREAM, 0) = 3
00:00:29.401464 connect(3, {sa_family=AF_FILE,
path=@property_service}, 19) = -1 ECONNREFUSED (Connection refused)
00:00:29.403824 close(3) = 0
=============================================
Is it normal? Because in the emulator this step should succeed. BTW,
my file system is jffs2. Is it about the jffs2 issues? Any help is
highly appreciated.

Best Regards,
Alvin

roam himalaya

unread,
Apr 7, 2008, 12:29:40 AM4/7/08
to Android Internals
set up loopback first
ifconfig lo 127.0.0.1

On Apr 2, 3:32 pm, Alvin Cao <alvin....@gmail.com> wrote:
> Hi all
>
> I try to start android manually by the a.sh method, not /init. It
> turns out that the runtime process ends up with an infinite loop in
> which it tries to communicate with zygote but get refused.
> =============================================
> 12:00:00.030344 socket(PF_FILE, SOCK_STREAM, 0) = 7
> 12:00:00.031303 connect(7, {sa_family=AF_FILE, pa...@android.zygote},
Reply all
Reply to author
Forward
0 new messages