From: Peter Hurley <peter@hurleysoftware.com>
To: Andy Lutomirski <luto@amacapital.net>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-serial@vger.kernel.org, Jiri Slaby <jslaby@suse.cz>,
Theodore Ts'o <tytso@mit.edu>
Subject: Re: console=ttyS1 breaks ttyS1 termios and prevents me from logging in
Date: Wed, 08 Apr 2015 17:29:21 -0400 [thread overview]
Message-ID: <55259DB1.4080104@hurleysoftware.com> (raw)
In-Reply-To: <CALCETrVHeApB0_GxMkc88Giq6vLMpOz+wdZLmwhK7Ytumh2y6g@mail.gmail.com>
Hi Andy,
On 04/08/2015 05:17 PM, Andy Lutomirski wrote:
> Something strange seems to have happened to my serial console setup.
> I boot with console=ttyS1,115200n8 and I have a getty running on
> /dev/ttyS1.
>
> On older kernels, or if I remove the console= boot parameter, then my
> getty works fine. On 3.19.3 with the console= parameter, something's
> wrong with termios and I can't log in. Running:
Thanks for the report.
1. Please attach your dmesg.
2. Is this behavior new to 3.19.3? (iow, what was the last version
that you noticed didn't do this)
Regards,
Peter Hurley
> # stty icanon </dev/ttyS1
>
> breaks line this (partial strace results included):
>
> ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or
> TCGETS, {B115200 opost -isig -icanon -echo ...}) = 0
> ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or
> TCGETS, {B115200 opost -isig -icanon -echo ...}) = 0
> ioctl(0, SNDCTL_TMR_STOP or SNDRV_TIMER_IOCTL_GINFO or TCSETSW,
> {B115200 opost -isig icanon -echo ...}) = 0
> ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or
> TCGETS, {B115200 opost -isig -icanon -echo ...}) = 0
> ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or
> TCGETS, {B115200 opost -isig -icanon -echo ...}) = 0
> write(2, "stty: ", 6stty: ) = 6
> write(2, "standard input: unable to perfor"..., 58standard input:
> unable to perform all requested operations) = 58
>
> IOW, the setting didn't stick. On the bad kernel, stty works just
> fine on ttyS0. If I switch to using console=ttyS0,115200, then stty
> works on ttyS1 and fails on ttyS0.
>
> I have no idea what's going on here. I have two apparently identical
> boxes. One of them has this problem and the other doesn't.
next prev parent reply other threads:[~2015-04-08 21:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-08 21:17 console=ttyS1 breaks ttyS1 termios and prevents me from logging in Andy Lutomirski
2015-04-08 21:29 ` Peter Hurley [this message]
2015-04-08 21:40 ` Andy Lutomirski
2015-04-08 23:32 ` Peter Hurley
2015-04-09 0:45 ` Andy Lutomirski
2015-04-09 1:49 ` Andy Lutomirski
2015-04-09 2:09 ` Peter Hurley
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=55259DB1.4080104@hurleysoftware.com \
--to=peter@hurleysoftware.com \
--cc=gregkh@linuxfoundation.org \
--cc=jslaby@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=luto@amacapital.net \
--cc=tytso@mit.edu \
/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;
as well as URLs for NNTP newsgroup(s).