mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* bash hanged on serial port
@ 2008-09-19  8:43 gshan
  0 siblings, 0 replies; only message in thread
From: gshan @ 2008-09-19  8:43 UTC (permalink / raw)
  To: linux-kernel

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-19  8:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-19  8:43 bash hanged on serial port gshan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome