public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: Peter Hurley <peter@hurleysoftware.com>
Cc: Andi Kleen <andi@firstfloor.org>,
	linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org,
	viro@zeniv.linux.org.uk
Subject: Re: pty FIONREAD returning zero breaks emacs in 3.11rc3
Date: Wed, 14 Aug 2013 00:03:14 +0200	[thread overview]
Message-ID: <20130813220314.GB19750@two.firstfloor.org> (raw)
In-Reply-To: <52098F4F.8070508@hurleysoftware.com>

[-- Attachment #1: Type: text/plain, Size: 1213 bytes --]

On Mon, Aug 12, 2013 at 09:43:43PM -0400, Peter Hurley wrote:
> On 08/09/2013 05:11 PM, Andi Kleen wrote:
> >
> >When I run emacs over ssh terminal (no X) on 3.11-rc3 it often ignores key
> >strokes.  I first thought the system was busy or so, but when
> >stracing the emacs it was not blocked.
> 
> Andi,
> 
> More information might help me narrow this down since I can't
> reproduce this.
> 
> Is the ssh session remote?

Yes.

> Can you reproduce this on a local ssh session?

Yes.

> What version of emacs is this? Is it the nox flavor?

emacs-24.3-6.11.x86_64

It's emacs-gtk


> What distribution/version?

Current Tumbleweed

> What platform?

x86_64 2S Westmere

> 
> >Here's a typical sequence. select/SIGIO wakes it up, but then
> >FIONREAD returns 0.
> >
> >I'm not fully sure when it started.
> 
> In the 3.11 cycle? or could have started back on 3.9 or earlier?

Ok I tried and it actually happens on 3.9 too. For some reason 
I didn't notice it earlier (or blamed my bad typing)
Haven't tried earlier

> 
> Could you try to reproduce this on linux-next?

Happens on linux-next too.
> 
> Would you please attach the full strace of emacs from this session?

Attached (from a different session)

-Andi

[-- Attachment #2: log.xz --]
[-- Type: application/octet-stream, Size: 14428 bytes --]

  reply	other threads:[~2013-08-13 22:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-09 21:11 pty FIONREAD returning zero breaks emacs in 3.11rc3 Andi Kleen
2013-08-13  1:43 ` Peter Hurley
2013-08-13 22:03   ` Andi Kleen [this message]
2013-08-14 16:07     ` 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=20130813220314.GB19750@two.firstfloor.org \
    --to=andi@firstfloor.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peter@hurleysoftware.com \
    --cc=viro@zeniv.linux.org.uk \
    /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