From: gshan <gshan@alcatel-lucent.com>
To: linux-kernel@vger.kernel.org
Subject: bash hanged on serial port
Date: Fri, 19 Sep 2008 16:43:14 +0800 [thread overview]
Message-ID: <48D36622.8080307@alcatel-lucent.com> (raw)
Hi All, When I'm booting my card while keeping connect to serial port,
everything is ok.
However, when I issued "reboot" command and disconnect connection to
serial port and
waited for several minutes, shell (bash) hanged. Finally I found it
hanged in following line
of /etc/init.d/rc.
stty onlcr 0>&1
Then I replace this line in /etc/init.d/rc with "strace stty onlcr 0>&1"
and got following cached
output. However sys_ioctl of kernel wasn't called ever.
brk(0x1003b000) = 0x1003b000
brk(0x1003c000) = 0x1003c000
ioctl(0, TCGETS, {B9600 opost isig icanon echo ...}) = 0
ioctl(0, TCGETS, {B9600 opost isig icanon echo ...}) = 0
ioctl(0, TCSETSW
reply other threads:[~2008-09-19 8:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=48D36622.8080307@alcatel-lucent.com \
--to=gshan@alcatel-lucent.com \
--cc=linux-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.