Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1650523

Re: [BUG] tty/serial: stty hangs for 30 seconds after interrupted transfer

From Dmitry Artamonow <mad_soft@inbox.lv>
Newsgroups linux.kernel
Subject Re: [BUG] tty/serial: stty hangs for 30 seconds after interrupted transfer
Date 2017-05-25 15:50 +0200
Message-ID <tL1jk-pv-31@gated-at.bofh.it> (permalink)
References <tL0ZZ-iP-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Update: the problem reproduces also on x86-64 with 8250 driver.

root@madhouse:~# uname -a
Linux madhouse 4.12.0-rc2+ #2 SMP Thu May 25 12:08:00 MSK 2017 x86_64 x86_64 x86_64 GNU/Linux
root@madhouse:~# time stty -F /dev/ttyS0
speed 9600 baud; line = 0;
-brkint -imaxbel

real    0m0.010s
user    0m0.011s
sys     0m0.000s
root@madhouse:~# cat blah > /dev/ttyS0
^C
root@madhouse:~# time stty -F /dev/ttyS0
speed 9600 baud; line = 0;
-brkint -imaxbel

real    0m30.732s
user    0m0.011s
sys     0m0.002s
root@madhouse:~#

--
Best regards
Dmitry Artamonow

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[BUG] tty/serial: stty hangs for 30 seconds after interrupted  transfer Dmitry Artamonow <mad_soft@inbox.lv> - 2017-05-25 15:30 +0200
  Re: [BUG] tty/serial: stty hangs for 30 seconds after interrupted  transfer Dmitry Artamonow <mad_soft@inbox.lv> - 2017-05-25 15:50 +0200
  Re: [BUG] tty/serial: stty hangs for 30 seconds after interrupted transfer Rob Herring <robh@kernel.org> - 2017-05-26 00:40 +0200

csiph-web