[uClibc]Hmmm. busybox-0.60.3 ash doesn't make it to prompt

Joseph Chiu josephc at idealab.com
Fri Jul 26 03:25:27 UTC 2002


Hmm.  I was mistaken on where the error was (bad debug printf’s on my part).

ash gets stuck at the top of showjobs() where it does
while(dowait(0,NULL)>0);

It just goes into a never-ending loop.

The problem does not happen if you invoke ash with a redirection, however.

Joseph



-----Original Message-----
From: uclibc-admin at uclibc.org [mailto:uclibc-admin at uclibc.org]On Behalf
Of Joseph Chiu
Sent: Thursday, July 25, 2002 7:39 PM
To: Uclibc at Uclibc. Org
Subject: [uClibc]Hmmm. busybox-0.60.3 ash doesn't make it to prompt


Hmmm.  When I grabbed the top of CVS about 8 hours ago this morning, my
busybox ash was working (but some things like date wasn’t).
I just grabbed the top of CVS, and busybox ash (from busybox-0.60.3) no
longer works correctly.

The boot-time init-script processing with an ash-script seems to work
correctly.
But when I try to get into ash, it displays the busybox version banner, and
then does nothing.

I sprinkled some printf’s in ash.c, and it seems to get stuck at some time
after succesfully reading /etc/profile inside “state2:”, but does not get to
“state4:” until I hit ctrl-c the first time.

This is on MIPS, BTW.

Joseph



--
Joseph Chiu, Developer, idealab!
josephc at idealab.com  (626) 535-2819
It's a small change... what could possibly go wR.u6$

_______________________________________________
uClibc mailing list
uClibc at uclibc.org
http://uclibc.org/mailman/listinfo/uclibc




More information about the uClibc mailing list