Console/terminal mixup with bb-1.13

Harald Küthe harald-tuxbox at arcor.de
Sun Nov 23 19:46:38 UTC 2008


Hello, 
>        /* Make sure init can't be blocked by writing to stderr */
>        fcntl(STDERR_FILENO, F_SETFL, fcntl(STDERR_FILENO, F_GETFL) | O_NONBLOCK);

>Can you confirm that just removing these lines from 1.13.0
>makes it work? If yes, please describe what device
>do you use as a console? Is it serial? What speed? Etc...

Yes after I removed the fcntl call the terminal seems to behave as before.
It still does not print the closing bracket of
//> init started: BusyBox v1.13.0 (2008-11-12 20:52:59 CET
//but besides that it is working afterwards.

the system is a ppc823, with linux-2.4.36
the kernel command line includes "console=ttyS0,9600"
which is mapped to the SMC1

Regards
Harald





More information about the busybox mailing list