Linux Serial subsystem development
 help / color / mirror / Atom feed
From: Yi Qingliang <niqingliang2003@gmail.com>
To: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Cc: linux-serial@vger.kernel.org
Subject: Re: close /dev/console casue 30seconds' hang
Date: Sun, 20 Jan 2013 20:53:38 +0800	[thread overview]
Message-ID: <6093467.AFuYjWa6KM@ll-pc> (raw)
In-Reply-To: <20130120130025.7bba6cdf@x60.lan>


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@gmail.com> 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.

  parent reply	other threads:[~2013-01-20 12:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-20 11:28 close /dev/console casue 30seconds' hang Yi Qingliang
2013-01-20 12:00 ` Denis 'GNUtoo' Carikli
2013-01-20 12:50   ` Yi Qingliang
2013-01-20 12:53   ` Yi Qingliang [this message]
2013-01-20 12:57   ` Yi Qingliang
2013-01-20 15:27     ` Denis 'GNUtoo' Carikli
2013-01-21 13:09       ` Yi Qingliang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6093467.AFuYjWa6KM@ll-pc \
    --to=niqingliang2003@gmail.com \
    --cc=GNUtoo@no-log.org \
    --cc=linux-serial@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox