On Tuesday, January 15, 2013 11:35:08 AM Dr. Werner Fink wrote: > On Tue, Jan 15, 2013 at 10:50:10AM +0000, niqingliang2...@gmail.com wrote: > > when booting, > > I can see > > INIT: version 2.88 booting > > but it stop 30 seconds before and after "version 2.88 booting". > > > > I have debugged the code, found that: > > the 30seconds is about close(fd) in function: > > void print(char *s) (src/init.c) > > > > If I open "INITDEBUG" in src/init.h, I can boot normally. > > > > anyone can give some suggestion? > > THANKS > > Strange as 5 times of 10000 µs are less than 30s ... compare with > console_open() used by print() ... do you have some unusual console devices > around and/or set the environment variable CONSOLE in the kernels > command/parameter line? great thanks for the response.:) the 'print' openned /dev/console. I'm using s3c2442, the argument of kernel is console=ttySAC0,115200. and I have another problem, the getty(busybox) only print out the issue, but no login prompt, after disable the issue( add -i got gettty in inittab), it can display the login prompt.
the two problems are both related with the serial console, but I have no idea. > > Nanjing Jilong > > Yi Qingliang