Hi all,

I was using busybox-1.01 for a long time and recently I've switched to
busybox-1.10.2. On x86, there is no problem, but on MIPS architecture,
the console does not work properly: need to type second character to make
the first appear.

If I apply this patch:

--- busybox/init/init.c 2008-04-17 11:13:25.000000000 +0200
+++ busybox-new/init/init.c     2008-05-20 16:47:00.000000000 +0200
@@ -873,6 +873,9 @@ int init_main(int argc ATTRIBUTE_UNUSED,

         /* Figure out where the default console should be */
         console_init();
+       close(0);
+       close(1);
+       close(2);
         set_sane_term();
         chdir("/");
         setsid();

the problem is solved. Of course, some log messages are hidden with this patch.
I didn't find a better way to fix that problem. Any ideas ?


Regards,
Nicolas
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to