public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: simon@nuit.ca
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Cannot access '/dev/pts/292': Value too large for defined data type
Date: Wed, 30 Jun 2004 09:16:16 +0000	[thread overview]
Message-ID: <20040630091616.GA3103@nuit.ca> (raw)
In-Reply-To: <20040626135948.7b4396e9.akpm@osdl.org>

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

Ce jour Sat, 26 Jun 2004, Andrew Morton a dit:

> simon@nuit.ca wrote:
> >
> > whenever i try open a new pseudo-pty, i get a similar message to 
> >  the one in the subject, and one like "fstat: Value too large for defined data
> >  type" if i open an xterm.
> 
> It appears that you're using some variant of the 2.6.7 kernel, yes?
> 
> That kernel (and many preceding ones) will create large pty indexes and old
> (and/or buggy) userspace fails to handle it correctly.
> 
> Post-2.6.7, the allocation of pty indexes was switched to first-fit and
> things should now work OK.
> 
> Please test a current kernel and send a report.

ok. well, i'm currently running the 2.6.7-bk10, and it runs really
nicely for one thing, and the other is that the pty behaviour is exactly
like the old one (which i've just been told 'first fit' *is* the old
behaviour). 

in a way i like the newer behaviour, but hmm, maybe have both
behaviours? first fit for some old/buggy apps, and the new one for ones
that correctly detect the new capabilities. though IME most of the
applications i've used don't recognise the new one, and having varying
levels of freakiness - from a warning to outright not working as
expected (e.g., my problem with screen, the "Value too large" message).

thanks :)


-- 
Software Patents are patently wrong:
http://swpat.ffii.org/papiere/eubsa-swpat0202/ustr0309/index.en.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 652 bytes --]

      parent reply	other threads:[~2004-06-30  9:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-26 15:11 Cannot access '/dev/pts/292': Value too large for defined data type simon
2004-06-26 20:59 ` Andrew Morton
2004-06-26 23:21   ` simon
2004-06-27 10:24   ` simon
2004-06-27 17:52     ` Andrew Morton
2004-06-30  9:16   ` simon [this message]

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=20040630091616.GA3103@nuit.ca \
    --to=simon@nuit.ca \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /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