lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 25 May 2017 16:43:28 +0300
From:   Dmitry Artamonow <mad_soft@...ox.lv>
To:     Rob Herring <robh@...nel.org>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc:     Peter Hurley <peter@...leysoftware.com>,
        linux-serial@...r.kernel.org, linux-kernel@...r.kernel.org,
        Uwe Kleine-König <u.kleine-koenig@...gutronix.de>,
        Fabio Estevam <fabio.estevam@....com>,
        Alan Cox <alan@...ux.intel.com>
Subject: Re: [BUG] tty/serial: stty hangs for 30 seconds after interrupted
 transfer

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

root@...house:~# 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@...house:~# time stty -F /dev/ttyS0
speed 9600 baud; line = 0;
-brkint -imaxbel

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

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

--
Best regards
Dmitry Artamonow

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ