Re: close /dev/console casue 30seconds' hang

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



n Sunday, January 20, 2013 01:00:25 PM Denis 'GNUtoo' Carikli wrote:
> On Sun, 20 Jan 2013 19:28:42 +0800
> 
> Yi Qingliang <niqingliang2003@xxxxxxxxx> wrote:
> > I'm running 3.6.9 kernel on my s3c2442 board.
> > the sysvinit freeze 30seconds after print out "INIT:",
> > and then freeze 30seconds after print out "version 2.88 booting".
> > I checked it's code, the 'close(fd)' should be responsible for that.
> 
> I had the exact same problem while trying to boot a recent
> mainline kernel on the GTA02.
> 
> I tried to bisect it many times but I failed because the problem was in
> a reagion that I had to skip...
I also tried to open INITDEBUG and DEBUG in sysvinit's init.h, can solve this 
problem.

the INITDEBUG will fork a process, and then the close(fd) will not call 
release in tty driver.

I have checked the state of uart fifo, if the pclk is 00, it looks like the fifo 
works abnormally.
> 
> Denis.
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux